/frameworks/av/camera/ |
D | CameraParameters.cpp | 28 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 …]
|
D | CameraParameters2.cpp | 239 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 …]
|
D | Android.bp | 35 "CameraParameters.cpp",
|
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
D | Parameters.cpp | 133 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/ |
D | CameraZSLTests.cpp | 213 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/ |
D | CameraParameters.h | 40 class CameraParameters 43 CameraParameters(); 44 CameraParameters(const String8 ¶ms) { unflatten(params); } in CameraParameters() function 45 ~CameraParameters();
|
/frameworks/av/services/camera/libcameraservice/ |
D | CameraFlashlight.cpp | 417 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()
|
D | CameraFlashlight.h | 169 CameraParameters mParameters;
|
D | CameraService.h | 550 CameraParameters getShimParams() const; 555 void setShimParams(const CameraParameters& params); 596 CameraParameters mShimParams; 1027 binder::Status getLegacyParametersLazy(int cameraId, /*out*/CameraParameters* parameters);
|
D | CameraService.cpp | 409 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/ |
D | CameraSource.cpp | 137 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 …]
|
D | CameraSourceTimeLapse.cpp | 132 CameraParameters params(s); in trySettingVideoSize()
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
D | CameraSource.h | 318 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/ |
D | CameraHardwareInterface.h | 279 status_t setParameters(const CameraParameters ¶ms); 282 CameraParameters getParameters() const;
|
D | CameraHardwareInterface.cpp | 685 status_t CameraHardwareInterface::setParameters(const CameraParameters ¶ms) in setParameters() 695 CameraParameters CameraHardwareInterface::getParameters() const in getParameters() 698 CameraParameters parms; in getParameters()
|
/frameworks/av/services/camera/libcameraservice/api1/ |
D | CameraClient.h | 161 CameraParameters mLatestSetParameters;
|
D | CameraClient.cpp | 687 mLatestSetParameters = CameraParameters(params); in setParameters() 688 CameraParameters p(params); in setParameters()
|
/frameworks/av/services/camera/libcameraservice/common/ |
D | CameraProviderManager.cpp | 2150 mDefaultParameters.get(CameraParameters::KEY_SUPPORTED_FLASH_MODES); 2151 if (flashMode && strstr(flashMode, CameraParameters::FLASH_MODE_TORCH)) {
|