Home
last modified time | relevance | path

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

/frameworks/av/camera/
DCameraParameters.cpp28 const char CameraParameters::KEY_PREVIEW_SIZE[] = "preview-size";
29 const char CameraParameters::KEY_SUPPORTED_PREVIEW_SIZES[] = "preview-size-values";
30 const char CameraParameters::KEY_PREVIEW_FORMAT[] = "preview-format";
31 const char CameraParameters::KEY_SUPPORTED_PREVIEW_FORMATS[] = "preview-format-values";
32 const char CameraParameters::KEY_PREVIEW_FRAME_RATE[] = "preview-frame-rate";
33 const char CameraParameters::KEY_SUPPORTED_PREVIEW_FRAME_RATES[] = "preview-frame-rate-values";
34 const char CameraParameters::KEY_PREVIEW_FPS_RANGE[] = "preview-fps-range";
35 const char CameraParameters::KEY_SUPPORTED_PREVIEW_FPS_RANGE[] = "preview-fps-range-values";
36 const char CameraParameters::KEY_PICTURE_SIZE[] = "picture-size";
37 const char CameraParameters::KEY_SUPPORTED_PICTURE_SIZES[] = "picture-size-values";
[all …]
DCameraParameters2.cpp239 set(CameraParameters::KEY_PREVIEW_SIZE, str); in setPreviewSize()
246 const char *p = get(CameraParameters::KEY_PREVIEW_SIZE); in getPreviewSize()
254 const char *p = get(CameraParameters::KEY_PREFERRED_PREVIEW_SIZE_FOR_VIDEO); in getPreferredPreviewSizeForVideo()
261 const char *previewSizesStr = get(CameraParameters::KEY_SUPPORTED_PREVIEW_SIZES); in getSupportedPreviewSizes()
269 set(CameraParameters::KEY_VIDEO_SIZE, str); in setVideoSize()
275 const char *p = get(CameraParameters::KEY_VIDEO_SIZE); in getVideoSize()
282 const char *videoSizesStr = get(CameraParameters::KEY_SUPPORTED_VIDEO_SIZES); in getSupportedVideoSizes()
288 set(CameraParameters::KEY_PREVIEW_FRAME_RATE, fps); in setPreviewFrameRate()
293 return getInt(CameraParameters::KEY_PREVIEW_FRAME_RATE); in getPreviewFrameRate()
299 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.h550 CameraParameters getShimParams() const;
555 void setShimParams(const CameraParameters& params);
596 CameraParameters mShimParams;
1027 binder::Status getLegacyParametersLazy(int cameraId, /*out*/CameraParameters* parameters);
DCameraService.cpp409 state->setShimParams(CameraParameters()); in onDeviceStatusChanged()
971 CameraParameters* parameters) { in getLegacyParametersLazy()
994 CameraParameters p = cameraState->getShimParams(); in getLegacyParametersLazy()
1019 CameraParameters p = cameraState->getShimParams(); in getLegacyParametersLazy()
1749 CameraParameters params(rawParams); in connectHelper()
2281 CameraParameters shimParams; in getLegacyParameters()
3362 CameraParameters CameraService::CameraState::getShimParams() const { in getShimParams()
3366 void CameraService::CameraState::setShimParams(const CameraParameters& params) { in setShimParams()
3581 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.cpp685 status_t CameraHardwareInterface::setParameters(const CameraParameters &params) in setParameters()
695 CameraParameters CameraHardwareInterface::getParameters() const in getParameters()
698 CameraParameters parms; in getParameters()
/frameworks/av/services/camera/libcameraservice/api1/
DCameraClient.h161 CameraParameters mLatestSetParameters;
DCameraClient.cpp687 mLatestSetParameters = CameraParameters(params); in setParameters()
688 CameraParameters p(params); in setParameters()
/frameworks/av/services/camera/libcameraservice/common/
DCameraProviderManager.cpp2150 mDefaultParameters.get(CameraParameters::KEY_SUPPORTED_FLASH_MODES);
2151 if (flashMode && strstr(flashMode, CameraParameters::FLASH_MODE_TORCH)) {