Home
last modified time | relevance | path

Searched refs:mParameters (Results 1 – 25 of 42) sorted by relevance

12

/device/lge/mako/camera/
DQCameraHWI_Parm.cpp799 mParameters.set( in initDefaultParameters()
802 mParameters.setPreviewFpsRange(MINIMUM_FPS*1000,MAXIMUM_FPS*1000); in initDefaultParameters()
892 mParameters.set(QCameraParameters::KEY_SUPPORTED_VIDEO_SIZES, mVideoSizeValues.string()); in initDefaultParameters()
896 mParameters.set(QCameraParameters::KEY_VIDEO_SIZE, vSize.string()); in initDefaultParameters()
904 mParameters.setPreviewSize(default_preview_width, default_preview_height); in initDefaultParameters()
905 mParameters.set(QCameraParameters::KEY_SUPPORTED_PREVIEW_SIZES, in initDefaultParameters()
921 mParameters.set(QCameraParameters::KEY_SUPPORTED_PREVIEW_FRAME_RATES, in initDefaultParameters()
924 mParameters.set( in initDefaultParameters()
930 mParameters.setPreviewFrameRateMode("frame-rate-auto"); in initDefaultParameters()
934 mParameters.set(QCameraParameters::KEY_SUPPORTED_PREVIEW_FRAME_RATE_MODES, in initDefaultParameters()
[all …]
DQualcommCameraHardware.cpp1355 : mParameters(), in QualcommCameraHardware()
1661 mParameters.set(QCameraParameters::KEY_SUPPORTED_PREVIEW_SIZES, in initDefaultParameters()
1664 mParameters.set(QCameraParameters::KEY_SUPPORTED_VIDEO_SIZES, in initDefaultParameters()
1667 mParameters.set(QCameraParameters::KEY_SUPPORTED_PICTURE_SIZES, in initDefaultParameters()
1669 mParameters.set(QCameraParameters::KEY_VIDEO_SNAPSHOT_SUPPORTED, in initDefaultParameters()
1671 mParameters.set(QCameraParameters::KEY_SUPPORTED_FOCUS_MODES, in initDefaultParameters()
1673 mParameters.set(QCameraParameters::KEY_FOCUS_MODE, in initDefaultParameters()
1675 mParameters.set(QCameraParameters::KEY_MAX_NUM_FOCUS_AREAS, "1"); in initDefaultParameters()
1677 mParameters.set(QCameraParameters::KEY_FOCUS_AREAS, FOCUS_AREA_INIT); in initDefaultParameters()
1678 mParameters.set(QCameraParameters::KEY_METERING_AREAS, FOCUS_AREA_INIT); in initDefaultParameters()
[all …]
DQCameraHWI.cpp134 mParameters(), in QCameraHardwareInterface()
540 mCurrentZoom = mParameters.getInt("zoom"); in sendCommand()
559 mParameters.set("zoom", mCurrentZoom); in sendCommand()
560 setZoom(mParameters); in sendCommand()
1072 const char *str = mParameters.get(QCameraParameters::KEY_SCENE_MODE); in startPreview2()
1076 mParameters.set(QCameraParameters::KEY_CAMERA_MODE, 0); in startPreview2()
1078 mParameters.setPreviewFrameRateMode("frame-rate-auto"); in startPreview2()
1079 setPreviewFrameRateMode(mParameters); in startPreview2()
1082 mParameters.set(QCameraParameters::KEY_CAMERA_MODE, 1); in startPreview2()
1084 mParameters.setPreviewFrameRateMode("frame-rate-auto"); in startPreview2()
[all …]
/device/lge/mako/camera/QCamera/HAL/core/src/
DQCameraHWI_Parm.cpp769 mParameters.set( in initDefaultParameters()
772 mParameters.setPreviewFpsRange(MINIMUM_FPS*1000,MAXIMUM_FPS*1000); in initDefaultParameters()
862 mParameters.set(CameraParameters::KEY_SUPPORTED_VIDEO_SIZES, mVideoSizeValues.string()); in initDefaultParameters()
866 mParameters.set(CameraParameters::KEY_VIDEO_SIZE, vSize.string()); in initDefaultParameters()
874 mParameters.setPreviewSize(default_preview_width, default_preview_height); in initDefaultParameters()
875 mParameters.set(CameraParameters::KEY_SUPPORTED_PREVIEW_SIZES, in initDefaultParameters()
891 mParameters.set(CameraParameters::KEY_SUPPORTED_PREVIEW_FRAME_RATES, in initDefaultParameters()
894 mParameters.set( in initDefaultParameters()
900 mParameters.setPreviewFrameRateMode("frame-rate-auto"); in initDefaultParameters()
904 mParameters.set(CameraParameters::KEY_SUPPORTED_PREVIEW_FRAME_RATE_MODES, in initDefaultParameters()
[all …]
DQCameraHWI.cpp133 mParameters(), in QCameraHardwareInterface()
511 mCurrentZoom = mParameters.getInt("zoom"); in sendCommand()
530 mParameters.set("zoom", mCurrentZoom); in sendCommand()
531 setZoom(mParameters); in sendCommand()
1036 initPreview = preview_parm_config (&dim, mParameters); in startPreview2()
1055 mParameters.setPictureSize(dim.picture_width, dim.picture_height); in startPreview2()
1075 mParameters.setPictureSize(dim.picture_width, dim.picture_height); in startPreview2()
1138 const char * str = mParameters.get(CameraParameters::KEY_RECORDING_HINT); in stopPreview()
1722 isp3a_af_mode_t afMode = getAutoFocusMode(mParameters); in autoFocus()
/device/moto/shamu/camera/QCamera/HAL/core/src/
DQCameraHWI_Parm.cpp843 mParameters.set(CameraParameters::KEY_SUPPORTED_PREVIEW_FPS_RANGE, in initDefaultParameters()
845 mParameters.setPreviewFpsRange(minFps, maxFps); in initDefaultParameters()
937 mParameters.set(QCameraParameters::KEY_SUPPORTED_VIDEO_SIZES, mVideoSizeValues.string()); in initDefaultParameters()
941 mParameters.set(QCameraParameters::KEY_VIDEO_SIZE, vSize.string()); in initDefaultParameters()
949 mParameters.setPreviewSize(default_preview_width, default_preview_height); in initDefaultParameters()
950 mParameters.set(QCameraParameters::KEY_SUPPORTED_PREVIEW_SIZES, in initDefaultParameters()
961 mParameters.set(CameraParameters::KEY_SUPPORTED_PREVIEW_FRAME_RATES, in initDefaultParameters()
964 mParameters.set( in initDefaultParameters()
970 mParameters.setPreviewFormat(QCameraParameters::PIXEL_FORMAT_YUV420SP); in initDefaultParameters()
974 mParameters.set(QCameraParameters::KEY_SUPPORTED_PREVIEW_FORMATS, in initDefaultParameters()
[all …]
/device/moto/shamu/camera/QCamera2/HAL/
DQCamera2HWI.cpp642 __func__, hw->mParameters.getNumOfRetroSnapshots(), in take_picture()
646 if ((hw->mParameters.getNumOfRetroSnapshots() > 0) && in take_picture()
681 if (hw->mFlashNeeded == 1 || hw->mParameters.isChromaFlashEnabled()) { in take_picture()
1217 mParameters.init(gCamCaps[mCameraId], mCameraHandle, this, this); in openCamera()
1250 mParameters.deinit(); in closeCamera()
1442 int minCaptureBuffers = mParameters.getNumOfSnapshots(); in getBufNumRequired()
1446 int zslQBuffers = mParameters.getZSLQueueDepth(); in getBufNumRequired()
1448 int minCircularBufNum = mParameters.getMaxUnmatchedFramesInQueue() + in getBufNumRequired()
1451 int maxStreamBuf = minCaptureBuffers + mParameters.getMaxUnmatchedFramesInQueue() + in getBufNumRequired()
1452 mParameters.getNumOfExtraHDRInBufsIfNeeded() - in getBufNumRequired()
[all …]
DQCamera2HWI.h410 bool isNoDisplayMode() {return mParameters.isNoDisplayMode();}; in isNoDisplayMode()
411 bool isZSLMode() {return mParameters.isZSLMode();}; in isZSLMode()
412 bool isRdiMode() {return mParameters.isRdiMode();}; in isRdiMode()
414 return mParameters.isUbiRefocus() ? 1 : mParameters.getNumOfSnapshots();}; in numOfSnapshotsExpected()
415 bool isSecureMode() {return mParameters.isSecureMode();}; in isSecureMode()
417 bool isHFRMode() {return mParameters.isHfrMode();}; in isHFRMode()
421 bool isHDRMode() {return mParameters.isHDREnabled();}; in isHDRMode()
508 QCameraParameters mParameters; variable
DQCameraPostProc.cpp230 if ( !m_parent->mParameters.getRecordingHintValue() && in start()
274 if (m_parent->mParameters.generateThumbFromMain()) { in start()
356 bool hdr_output_crop = m_parent->mParameters.isHDROutputCropEnabled(); in getJpegEncodingConfig()
639 } else if (m_parent->mParameters.isNV16PictureFormat() || in processData()
640 m_parent->mParameters.isNV21PictureFormat()) { in processData()
642 if(m_parent->mParameters.isYUVFrameInfoNeeded()) in processData()
775 if (m_parent->mParameters.isUbiRefocus() && in processJpegEvt()
777 m_parent->mParameters.UfOutputCount())) { in processJpegEvt()
850 bool needSuperBufMatch = m_parent->mParameters.generateThumbFromMain(); in processPPData()
863 if (!needSuperBufMatch && (m_parent->mParameters.isNV16PictureFormat() || in processPPData()
[all …]
DQCamera2HWICallbacks.cpp79 if(pme->mParameters.isSceneSelectionEnabled() && in zsl_channel_cb()
90 pme->mParameters.setAecLock("false"); in zsl_channel_cb()
91 pme->mParameters.commitParameters(); in zsl_channel_cb()
286 selectedScene = mParameters.getSelectedScene(); in selectScene()
338 mParameters.setSelectedScene(CAM_SCENE_MODE_MAX); in selectScene()
586 (!pme->mParameters.isSceneSelectionEnabled())) { in preview_stream_cb_routine()
988 if(pme->mParameters.isAVTimerEnabled() == true) { in video_stream_cb_routine()
1271 if (pMetaData->is_tuning_params_valid && pme->mParameters.getRecordingHintValue() == true) { in metadata_stream_cb_routine()
1726 mParameters.getStreamDimension(CAM_STREAM_TYPE_SNAPSHOT, dim); in dumpFrameToFile()
1742 mParameters.getStreamDimension(CAM_STREAM_TYPE_RAW, dim); in dumpFrameToFile()
[all …]
/device/generic/goldfish/camera/
DEmulatedCamera.cpp97 mParameters.set(CameraParameters::KEY_SUPPORTED_JPEG_THUMBNAIL_SIZES, "320x240,0x0"); in Initialize()
99 mParameters.set(CameraParameters::KEY_JPEG_THUMBNAIL_WIDTH, "512"); in Initialize()
100 mParameters.set(CameraParameters::KEY_JPEG_THUMBNAIL_HEIGHT, "384"); in Initialize()
101 mParameters.set(CameraParameters::KEY_JPEG_QUALITY, "90"); in Initialize()
102 mParameters.set(CameraParameters::KEY_FOCAL_LENGTH, "4.31"); in Initialize()
103 mParameters.set(CameraParameters::KEY_HORIZONTAL_VIEW_ANGLE, "54.8"); in Initialize()
104 mParameters.set(CameraParameters::KEY_VERTICAL_VIEW_ANGLE, "42.5"); in Initialize()
105 mParameters.set(CameraParameters::KEY_JPEG_THUMBNAIL_QUALITY, "90"); in Initialize()
111 mParameters.set(CameraParameters::KEY_SUPPORTED_PREVIEW_FORMATS, in Initialize()
113 mParameters.setPreviewFormat(CameraParameters::PIXEL_FORMAT_YUV420SP); in Initialize()
[all …]
DEmulatedFakeCamera.cpp58 mParameters.set(EmulatedCamera::FACING_KEY, facing); in Initialize()
61 mParameters.set(EmulatedCamera::ORIENTATION_KEY, in Initialize()
75 mParameters.set(CameraParameters::KEY_SUPPORTED_PICTURE_SIZES, in Initialize()
77 mParameters.set(CameraParameters::KEY_SUPPORTED_PREVIEW_SIZES, in Initialize()
79 mParameters.setPreviewSize(640, 480); in Initialize()
80 mParameters.setPictureSize(640, 480); in Initialize()
DEmulatedQemuCamera.cpp69 mParameters.set(EmulatedCamera::FACING_KEY, facing_dir); in Initialize()
70 mParameters.set(EmulatedCamera::ORIENTATION_KEY, in Initialize()
72 mParameters.set(CameraParameters::KEY_SUPPORTED_PICTURE_SIZES, frame_dims); in Initialize()
73 mParameters.set(CameraParameters::KEY_SUPPORTED_PREVIEW_SIZES, frame_dims); in Initialize()
105 mParameters.setPreviewSize(x, y); in Initialize()
106 mParameters.setPictureSize(x, y); in Initialize()
DEmulatedCamera.h369 CameraParameters mParameters; variable
/device/asus/flo/camera/QCamera2/HAL/
DQCamera2HWI.cpp1055 mParameters.init(gCamCapability[mCameraId], mCameraHandle); in openCamera()
1084 mParameters.deinit(); in closeCamera()
1243 int minCaptureBuffers = mParameters.getNumOfSnapshots(); in getBufNumRequired()
1245 int zslQBuffers = mParameters.getZSLQueueDepth() + in getBufNumRequired()
1246 mParameters.getMaxUnmatchedFramesInQueue(); in getBufNumRequired()
1250 mParameters.getMaxUnmatchedFramesInQueue() + in getBufNumRequired()
1251 mParameters.getNumOfHDRBufsIfNeeded(); in getBufNumRequired()
1257 if (mParameters.isZSLMode()) { in getBufNumRequired()
1261 mParameters.getMaxUnmatchedFramesInQueue(); in getBufNumRequired()
1268 mParameters.getMaxUnmatchedFramesInQueue() + in getBufNumRequired()
[all …]
DQCamera2HWICallbacks.cpp845 mParameters.getStreamDimension(CAM_STREAM_TYPE_PREVIEW, dim); in dumpFrameToFile()
852 mParameters.getStreamDimension(CAM_STREAM_TYPE_POSTVIEW, dim); in dumpFrameToFile()
859 if (mParameters.isZSLMode()) in dumpFrameToFile()
860 mParameters.getStreamDimension(CAM_STREAM_TYPE_SNAPSHOT, dim); in dumpFrameToFile()
862mParameters.getStreamDimension(CAM_STREAM_TYPE_NON_ZSL_SNAPSHOT, dim); in dumpFrameToFile()
869 mParameters.getStreamDimension(CAM_STREAM_TYPE_VIDEO, dim); in dumpFrameToFile()
876 mParameters.getStreamDimension(CAM_STREAM_TYPE_RAW, dim); in dumpFrameToFile()
883 if (mParameters.isZSLMode()) in dumpFrameToFile()
884 mParameters.getStreamDimension(CAM_STREAM_TYPE_SNAPSHOT, dim); in dumpFrameToFile()
886mParameters.getStreamDimension(CAM_STREAM_TYPE_NON_ZSL_SNAPSHOT, dim); in dumpFrameToFile()
DQCamera2HWI.h336 bool isNoDisplayMode() {return mParameters.isNoDisplayMode();}; in isNoDisplayMode()
337 bool isZSLMode() {return mParameters.isZSLMode();}; in isZSLMode()
338 uint8_t numOfSnapshotsExpected() {return mParameters.getNumOfSnapshots();}; in numOfSnapshotsExpected()
393 QCameraParameters mParameters; variable
/device/lge/hammerhead/camera/QCamera2/HAL/
DQCamera2HWI.cpp1055 mParameters.init(gCamCapability[mCameraId], mCameraHandle); in openCamera()
1084 mParameters.deinit(); in closeCamera()
1243 int minCaptureBuffers = mParameters.getNumOfSnapshots(); in getBufNumRequired()
1245 int zslQBuffers = mParameters.getZSLQueueDepth() + in getBufNumRequired()
1246 mParameters.getMaxUnmatchedFramesInQueue(); in getBufNumRequired()
1250 mParameters.getMaxUnmatchedFramesInQueue() + in getBufNumRequired()
1251 mParameters.getNumOfHDRBufsIfNeeded(); in getBufNumRequired()
1257 if (mParameters.isZSLMode()) { in getBufNumRequired()
1261 mParameters.getMaxUnmatchedFramesInQueue(); in getBufNumRequired()
1268 mParameters.getMaxUnmatchedFramesInQueue() + in getBufNumRequired()
[all …]
DQCamera2HWICallbacks.cpp845 mParameters.getStreamDimension(CAM_STREAM_TYPE_PREVIEW, dim); in dumpFrameToFile()
852 mParameters.getStreamDimension(CAM_STREAM_TYPE_POSTVIEW, dim); in dumpFrameToFile()
859 if (mParameters.isZSLMode()) in dumpFrameToFile()
860 mParameters.getStreamDimension(CAM_STREAM_TYPE_SNAPSHOT, dim); in dumpFrameToFile()
862mParameters.getStreamDimension(CAM_STREAM_TYPE_NON_ZSL_SNAPSHOT, dim); in dumpFrameToFile()
869 mParameters.getStreamDimension(CAM_STREAM_TYPE_VIDEO, dim); in dumpFrameToFile()
876 mParameters.getStreamDimension(CAM_STREAM_TYPE_RAW, dim); in dumpFrameToFile()
883 if (mParameters.isZSLMode()) in dumpFrameToFile()
884 mParameters.getStreamDimension(CAM_STREAM_TYPE_SNAPSHOT, dim); in dumpFrameToFile()
886mParameters.getStreamDimension(CAM_STREAM_TYPE_NON_ZSL_SNAPSHOT, dim); in dumpFrameToFile()
DQCamera2HWI.h336 bool isNoDisplayMode() {return mParameters.isNoDisplayMode();}; in isNoDisplayMode()
337 bool isZSLMode() {return mParameters.isZSLMode();}; in isZSLMode()
338 uint8_t numOfSnapshotsExpected() {return mParameters.getNumOfSnapshots();}; in numOfSnapshotsExpected()
393 QCameraParameters mParameters; variable
/device/asus/flo/camera/QCamera2/HAL3/
DQCamera3HWI.cpp164 mParameters(NULL), in QCamera3HardwareInterface()
630 memset(mParameters, 0, sizeof(parm_buffer_t)); in configureStreams()
1707 mParameters = (parm_buffer_t*) DATA_PTR(mParamHeap,0); in initParameters()
1729 mParameters = NULL; in deinitParameters()
2599 memset(mParameters, 0, sizeof(parm_buffer_t)); in setFrameParameters()
2600 mParameters->first_flagged_entry = CAM_INTF_PARM_MAX; in setFrameParameters()
2601 AddSetParmEntryToBatch(mParameters, CAM_INTF_PARM_HAL_VERSION, in setFrameParameters()
2605 rc = AddSetParmEntryToBatch(mParameters, CAM_INTF_META_FRAME_NUMBER, in setFrameParameters()
2613 rc = AddSetParmEntryToBatch(mParameters, CAM_INTF_META_STREAM_TYPE_MASK, in setFrameParameters()
2624 mCameraHandle->ops->set_parms(mCameraHandle->camera_handle, mParameters); in setFrameParameters()
[all …]
DQCamera3HWI.h189 parm_buffer_t* mParameters; variable
/device/lge/hammerhead/camera/QCamera2/HAL3/
DQCamera3HWI.cpp238 mParameters(NULL), in QCamera3HardwareInterface()
917 memset(mParameters, 0, sizeof(metadata_buffer_t)); in configureStreams()
919 mParameters->first_flagged_entry = CAM_INTF_PARM_MAX; in configureStreams()
920 AddSetMetaEntryToBatch(mParameters, CAM_INTF_PARM_HAL_VERSION, in configureStreams()
923 AddSetMetaEntryToBatch(mParameters, CAM_INTF_META_STREAM_INFO, in configureStreams()
926 mCameraHandle->ops->set_parms(mCameraHandle->camera_handle, mParameters); in configureStreams()
1617 memset(mParameters, 0, sizeof(metadata_buffer_t)); in processCaptureRequest()
1618 mParameters->first_flagged_entry = CAM_INTF_PARM_MAX; in processCaptureRequest()
1619 AddSetMetaEntryToBatch(mParameters, CAM_INTF_PARM_HAL_VERSION, in processCaptureRequest()
1621 AddSetMetaEntryToBatch(mParameters, CAM_INTF_META_CAPTURE_INTENT, in processCaptureRequest()
[all …]
DQCamera3HWI.h224 metadata_buffer_t* mParameters; variable
/device/moto/shamu/camera/QCamera2/HAL3/
DQCamera3HWI.cpp258 mParameters(NULL), in QCamera3HardwareInterface()
1216 memset(mParameters, 0, sizeof(metadata_buffer_t)); in configureStreams()
1218 AddSetParmEntryToBatch(mParameters, CAM_INTF_PARM_HAL_VERSION, in configureStreams()
1221 AddSetParmEntryToBatch(mParameters, CAM_INTF_META_STREAM_INFO, in configureStreams()
1225 AddSetParmEntryToBatch(mParameters,CAM_INTF_PARM_TINTLESS, in configureStreams()
1228 mCameraHandle->ops->set_parms(mCameraHandle->camera_handle, mParameters); in configureStreams()
2006 memset(mParameters, 0, sizeof(parm_buffer_t)); in processCaptureRequest()
2007 AddSetParmEntryToBatch(mParameters, CAM_INTF_PARM_HAL_VERSION, in processCaptureRequest()
2009 AddSetParmEntryToBatch(mParameters, CAM_INTF_META_CAPTURE_INTENT, in processCaptureRequest()
2020 rc = AddSetParmEntryToBatch(mParameters, in processCaptureRequest()
[all …]

12