Home
last modified time | relevance | path

Searched refs:CameraParameters (Results 1 – 18 of 18) sorted by relevance

/frameworks/av/camera/
DCameraParameters.cpp29 const char CameraParameters::KEY_PREVIEW_SIZE[] = "preview-size";
30 const char CameraParameters::KEY_SUPPORTED_PREVIEW_SIZES[] = "preview-size-values";
31 const char CameraParameters::KEY_PREVIEW_FORMAT[] = "preview-format";
32 const char CameraParameters::KEY_SUPPORTED_PREVIEW_FORMATS[] = "preview-format-values";
33 const char CameraParameters::KEY_PREVIEW_FRAME_RATE[] = "preview-frame-rate";
34 const char CameraParameters::KEY_SUPPORTED_PREVIEW_FRAME_RATES[] = "preview-frame-rate-values";
35 const char CameraParameters::KEY_PREVIEW_FPS_RANGE[] = "preview-fps-range";
36 const char CameraParameters::KEY_SUPPORTED_PREVIEW_FPS_RANGE[] = "preview-fps-range-values";
37 const char CameraParameters::KEY_PICTURE_SIZE[] = "picture-size";
38 const char CameraParameters::KEY_SUPPORTED_PICTURE_SIZES[] = "picture-size-values";
[all …]
DCameraParameters2.cpp240 set(CameraParameters::KEY_PREVIEW_SIZE, str); in setPreviewSize()
247 const char *p = get(CameraParameters::KEY_PREVIEW_SIZE); in getPreviewSize()
255 const char *p = get(CameraParameters::KEY_PREFERRED_PREVIEW_SIZE_FOR_VIDEO); in getPreferredPreviewSizeForVideo()
262 const char *previewSizesStr = get(CameraParameters::KEY_SUPPORTED_PREVIEW_SIZES); in getSupportedPreviewSizes()
270 set(CameraParameters::KEY_VIDEO_SIZE, str); in setVideoSize()
276 const char *p = get(CameraParameters::KEY_VIDEO_SIZE); in getVideoSize()
283 const char *videoSizesStr = get(CameraParameters::KEY_SUPPORTED_VIDEO_SIZES); in getSupportedVideoSizes()
289 set(CameraParameters::KEY_PREVIEW_FRAME_RATE, fps); in setPreviewFrameRate()
294 return getInt(CameraParameters::KEY_PREVIEW_FRAME_RATE); in getPreviewFrameRate()
300 const char *p = get(CameraParameters::KEY_PREVIEW_FPS_RANGE); in getPreviewFpsRange()
[all …]
DAndroid.bp35 "CameraParameters.cpp",
/frameworks/av/services/camera/libcameraservice/api1/client2/
DParameters.cpp133 params.set(CameraParameters::KEY_PREFERRED_PREVIEW_SIZE_FOR_VIDEO, in initialize()
145 params.set(CameraParameters::KEY_SUPPORTED_PREVIEW_SIZES, in initialize()
156 params.set(CameraParameters::KEY_SUPPORTED_VIDEO_SIZES, in initialize()
165 params.set(CameraParameters::KEY_PREVIEW_FORMAT, in initialize()
181 CameraParameters::PIXEL_FORMAT_YUV422SP; in initialize()
185 CameraParameters::PIXEL_FORMAT_YUV420SP; in initialize()
189 CameraParameters::PIXEL_FORMAT_YUV422I; in initialize()
193 CameraParameters::PIXEL_FORMAT_YUV420P; in initialize()
197 CameraParameters::PIXEL_FORMAT_RGB565; in initialize()
201 CameraParameters::PIXEL_FORMAT_RGBA8888; in initialize()
[all …]
/frameworks/av/camera/tests/
DCameraZSLTests.cpp213 CameraParameters params(cameraDevice->getParameters()); in TEST_F()
216 CameraParameters::KEY_SUPPORTED_FOCUS_MODES)); in TEST_F()
219 if (focusModes.contains(CameraParameters::FOCUS_MODE_AUTO)) { in TEST_F()
223 CameraParameters::FOCUS_MODE_CONTINUOUS_PICTURE)) { in TEST_F()
225 focusMode = CameraParameters::FOCUS_MODE_CONTINUOUS_PICTURE; in TEST_F()
227 CameraParameters::FOCUS_MODE_CONTINUOUS_VIDEO)) { in TEST_F()
229 focusMode = CameraParameters::FOCUS_MODE_CONTINUOUS_VIDEO; in TEST_F()
230 } else if (focusModes.contains(CameraParameters::FOCUS_MODE_MACRO)) { in TEST_F()
232 focusMode = CameraParameters::FOCUS_MODE_MACRO; in TEST_F()
241 params.set(CameraParameters::KEY_FOCUS_MODE, focusMode); in TEST_F()
[all …]
/frameworks/av/camera/include/camera/
DCameraParameters.h40 class CameraParameters
43 CameraParameters();
44 CameraParameters(const String8 &params) { unflatten(params); } in CameraParameters() function
45 ~CameraParameters();
/frameworks/av/services/camera/libcameraservice/
DCameraFlashlight.cpp417 mParameters.get(CameraParameters::KEY_SUPPORTED_FLASH_MODES); in hasFlashUnitLocked()
418 if (flashMode && strstr(flashMode, CameraParameters::FLASH_MODE_TORCH)) { in hasFlashUnitLocked()
445 mParameters.set(CameraParameters::KEY_FLASH_MODE, in startPreviewAndTorch()
446 CameraParameters::FLASH_MODE_TORCH); in startPreviewAndTorch()
557 if (mParameters.get(CameraParameters::KEY_FLASH_MODE)) { in disconnectCameraDevice()
560 mParameters.set(CameraParameters::KEY_FLASH_MODE, in disconnectCameraDevice()
561 CameraParameters::FLASH_MODE_OFF); in disconnectCameraDevice()
DCameraFlashlight.h169 CameraParameters mParameters;
DCameraService.h507 CameraParameters getShimParams() const;
512 void setShimParams(const CameraParameters& params);
540 CameraParameters mShimParams;
929 binder::Status getLegacyParametersLazy(int cameraId, /*out*/CameraParameters* parameters);
DCameraService.cpp368 state->setShimParams(CameraParameters()); in onDeviceStatusChanged()
823 CameraParameters* parameters) { in getLegacyParametersLazy()
846 CameraParameters p = cameraState->getShimParams(); in getLegacyParametersLazy()
871 CameraParameters p = cameraState->getShimParams(); in getLegacyParametersLazy()
1535 CameraParameters params(rawParams); in connectHelper()
1910 CameraParameters shimParams; in getLegacyParameters()
2925 CameraParameters CameraService::CameraState::getShimParams() const { in getShimParams()
2929 void CameraService::CameraState::setShimParams(const CameraParameters& params) { in setShimParams()
3130 CameraParameters p = state.second->getShimParams(); in dump()
/frameworks/av/media/libstagefright/
DCameraSource.cpp137 if (!strcmp(colorFormat, CameraParameters::PIXEL_FORMAT_YUV420P)) { in getColorFormat()
141 if (!strcmp(colorFormat, CameraParameters::PIXEL_FORMAT_YUV422SP)) { in getColorFormat()
145 if (!strcmp(colorFormat, CameraParameters::PIXEL_FORMAT_YUV420SP)) { in getColorFormat()
149 if (!strcmp(colorFormat, CameraParameters::PIXEL_FORMAT_YUV422I)) { in getColorFormat()
153 if (!strcmp(colorFormat, CameraParameters::PIXEL_FORMAT_RGB565)) { in getColorFormat()
161 if (!strcmp(colorFormat, CameraParameters::PIXEL_FORMAT_ANDROID_OPAQUE)) { in getColorFormat()
313 const CameraParameters& params, in getSupportedVideoSizes()
332 const CameraParameters& params) { in isCameraColorFormatSupported()
334 CameraParameters::KEY_VIDEO_FRAME_FORMAT)); in isCameraColorFormatSupported()
357 CameraParameters* params, in configureCamera()
[all …]
DCameraSourceTimeLapse.cpp132 CameraParameters params(s); in trySettingVideoSize()
/frameworks/av/media/libstagefright/include/media/stagefright/
DCameraSource.h318 status_t isCameraColorFormatSupported(const CameraParameters& params);
319 status_t configureCamera(CameraParameters* params,
323 status_t checkVideoSize(const CameraParameters& params,
326 status_t checkFrameRate(const CameraParameters& params,
/frameworks/av/services/camera/libcameraservice/device1/
DCameraHardwareInterface.h279 status_t setParameters(const CameraParameters &params);
282 CameraParameters getParameters() const;
DCameraHardwareInterface.cpp669 status_t CameraHardwareInterface::setParameters(const CameraParameters &params) in setParameters()
679 CameraParameters CameraHardwareInterface::getParameters() const in getParameters()
682 CameraParameters parms; in getParameters()
/frameworks/av/services/camera/libcameraservice/api1/
DCameraClient.h156 CameraParameters mLatestSetParameters;
DCameraClient.cpp687 mLatestSetParameters = CameraParameters(params); in setParameters()
688 CameraParameters p(params); in setParameters()
/frameworks/av/services/camera/libcameraservice/common/
DCameraProviderManager.cpp1840 mDefaultParameters.get(CameraParameters::KEY_SUPPORTED_FLASH_MODES);
1841 if (flashMode && strstr(flashMode, CameraParameters::FLASH_MODE_TORCH)) {