Lines Matching defs:in
5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
61 // The directory name is choosed in so weird way to enable RAW images saving only when
173 @param[in] notify_cb Notify callback for notifying the app about events and errors
174 @param[in] data_cb Buffer callback for sending the preview/raw frames to the app
175 @param[in] data_cb_timestamp Buffer callback for sending the video frames w/ timestamp
176 @param[in] user Callback cookie
208 @param[in] msgtype Bitmask of the messages to enable (defined in include/ui/Camera.h)
222 // we will enable internally in autoFocus call
259 @param[in] msgtype Bitmask of the messages to disable (defined in include/ui/Camera.h)
289 @param[in] msgtype Bitmask of the messages to query (defined in include/ui/Camera.h)
313 @param[in] params Camera parameters to configure the camera
336 @param[in] params Camera parameters to configure the camera
546 // This check is required in following case.
549 // then Video Mode parameters may remain present in ImageCapture activity as well.
653 // be cleared by the client in order for constant FPS to get
1249 // will be called in startPreview()
1291 CAMHAL_LOGDA("Restarting preview in paused mode");
1328 // Memory allocation of preview buffers is now placed in gralloc
1556 ///@todo Enhance this method allocImageBufs() to take in a flag for burst capture
1724 // When tunneling is enabled during VTC, startPreview happens in 2 steps:
1726 // cameraPreviewInitialization() is called, which in turn causes the CameraAdapter
1732 // AND startPreview() are executed. In other words, if the application calls
1734 // then the CameraAdapter moves from loaded to idle to executing state in one shot.
1869 CAMHAL_LOGD("Preview not started. Preview in progress flag set");
1881 CAMHAL_LOGDA("Preview is in paused state");
2016 @param[in] window The ANativeWindow object created by Surface flinger
2097 // ALREADY_EXISTS should be treated as a noop in this case
2120 @param[in] window The ANativeWindow object created by Surface flinger
2142 // in case dimensions have changed
2226 @param[in] window The ANativeWindow object created by Surface flinger
2275 Buffers provided to CameraHal via this object for tap-in
2278 @param[in] window The ANativeWindow object created by Surface flinger
2297 // 1. Check name of tap-in
2300 // in case dimensions have changed
2302 android::sp<DisplayAdapter> in;
2303 in = mInAdapters.itemAt(i);
2304 ret = in->setPreviewWindow(tapin);
2306 CAMHAL_LOGD("Tap In already set at index = %d", i);
2313 android::sp<DisplayAdapter> in = new BufferSourceAdapter();
2315 ret = in->initialize();
2317 in.clear();
2323 in->setExtendedOps(mExtendedPreviewStreamOps);
2326 in->setFrameProvider(mCameraAdapter);
2330 in->setErrorHandler(mAppCallbackNotifier.get());
2333 ret = in->setPreviewWindow(tapin);
2339 mInAdapters.add(in);
2353 @param[in] window The ANativeWindow object created by Surface flinger
2378 // 1. Check name of tap-in
2381 CAMHAL_LOGD("REMOVE tap in %p previously set as current", tapin);
2385 android::sp<DisplayAdapter> in;
2386 in = mInAdapters.itemAt(i);
2387 if (in->match(id)) {
2388 CAMHAL_LOGD("REMOVE tap in %p \"%s\" at position %d", tapin, id, i);
2403 Buffers provided to CameraHal via this object for tap-in/tap-out
2409 @param[in] window The ANativeWindow object created by Surface flinger
2452 @param[in] window The ANativeWindow object created by Surface flinger
2476 CAMHAL_LOGE("Error %d to release tap in", ret);
2552 @todo Update the header with possible error values in failure scenarios
2576 // set internal recording hint in case camera adapter needs to make some
2580 // if application starts recording in continuous focus picture mode...
2716 // In such case, there is support in Ducati for combination of VSTAB & VNF requiring padded width < 2048.
2786 // Retain CAPTURE_MODE before calling stopPreview(), since it is reset in stopPreview().
2848 // reset internal recording hint in case camera adapter needs to make some
2875 @param[in] mem MemoryBase pointer to the frame being released. Must be one of the buffers
2940 CAMHAL_LOGI("Ignoring start-AF (already in progress)");
2964 If the auto-focus is still in progress, this function will cancel it.
2965 Whether the auto-focus is in progress or not, this function will return the
3009 CAMHAL_LOGEA("Error in creating EventProvider");
3223 // however, we can queue a capture when in cpcam mode
3233 // we only support video snapshot if we are in video mode (recording hint is set)
3245 // add new APIs in CameraHal to utilize android::ShotParameters later, so
3247 // in camera adapter
3319 // if we are already in the middle of a capture and using the same
3344 //Allocate all buffers only in burst capture case
3646 // 0. Get tap in surface
3662 CAMHAL_LOGE("Invalid tap in surface passed to camerahal");
3665 CAMHAL_LOGD("Found matching in adapter at %d", index);
3668 CAMHAL_LOGE("No tap in surface sent with shot config!");
3723 CAMHAL_LOGE("Error enabling tap in point");
3871 Note that this is *not* done in the destructor.
3890 @param[in] fd File descriptor
3891 @param[in] args Arguments
3914 don't use c++ exceptions in the code.
3986 //Initialize the CameraHAL constructor timestamp, which is used in the
4134 ///@remarks setEventProvider API takes in a bit mask of events for registering a provider for the different events
4135 /// That way, if events can come from DisplayAdapter in future, we will be able to add it as provider
4600 // according to javadoc...FD should be stopped in stopPreview