Home
last modified time | relevance | path

Searched refs:CameraParameters (Results 1 – 16 of 16) 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.bp91 "CameraParameters.cpp",
/frameworks/av/services/camera/libcameraservice/api1/client2/
DParameters.cpp156 params.set(CameraParameters::KEY_PREFERRED_PREVIEW_SIZE_FOR_VIDEO, in initialize()
168 params.set(CameraParameters::KEY_SUPPORTED_PREVIEW_SIZES, in initialize()
179 params.set(CameraParameters::KEY_SUPPORTED_VIDEO_SIZES, in initialize()
188 params.set(CameraParameters::KEY_PREVIEW_FORMAT, in initialize()
204 CameraParameters::PIXEL_FORMAT_YUV422SP; in initialize()
208 CameraParameters::PIXEL_FORMAT_YUV420SP; in initialize()
212 CameraParameters::PIXEL_FORMAT_YUV422I; in initialize()
216 CameraParameters::PIXEL_FORMAT_YUV420P; in initialize()
220 CameraParameters::PIXEL_FORMAT_RGB565; in initialize()
224 CameraParameters::PIXEL_FORMAT_RGBA8888; in initialize()
[all …]
DFrameProcessor.cpp63 mLastFocalLength = l.mParameters.params.getFloat(CameraParameters::KEY_FOCAL_LENGTH); in FrameProcessor()
115 CameraParameters::KEY_FOCAL_LENGTH, in processLensState()
/frameworks/av/camera/tests/fuzzer/
Dcamera_Parameters_fuzzer.cpp33 CameraParameters::PIXEL_FORMAT_YUV422SP, CameraParameters::PIXEL_FORMAT_YUV420SP,
34 CameraParameters::PIXEL_FORMAT_YUV422I, CameraParameters::PIXEL_FORMAT_YUV420P,
35 CameraParameters::PIXEL_FORMAT_RGB565, CameraParameters::PIXEL_FORMAT_RGBA8888,
36 CameraParameters::PIXEL_FORMAT_JPEG, CameraParameters::PIXEL_FORMAT_BAYER_RGGB,
37 CameraParameters::PIXEL_FORMAT_ANDROID_OPAQUE};
49 unique_ptr<CameraParameters> mCameraParameters;
66 : CameraParameters::KEY_SUPPORTED_VIDEO_SIZES; in initCameraParameters()
70 : CameraParameters::KEY_PREVIEW_FPS_RANGE; in initCameraParameters()
75 : CameraParameters::KEY_SUPPORTED_PICTURE_SIZES; in initCameraParameters()
80 : CameraParameters::KEY_SUPPORTED_PREVIEW_FORMATS; in initCameraParameters()
[all …]
DREADME.md26CameraParameters::PIXEL_FORMAT_YUV422SP` 1.`CameraParameters::PIXEL_FORMAT_YUV420SP` 2.`CameraPara…
Dcamera_fuzzer.cpp153 CameraParameters params(s); in invokeSetParameters()
/frameworks/av/camera/tests/
DCameraZSLTests.cpp220 CameraParameters params(cameraDevice->getParameters()); in TEST_F()
223 CameraParameters::KEY_SUPPORTED_FOCUS_MODES)); in TEST_F()
226 if (focusModes.contains(CameraParameters::FOCUS_MODE_AUTO)) { in TEST_F()
230 CameraParameters::FOCUS_MODE_CONTINUOUS_PICTURE)) { in TEST_F()
232 focusMode = CameraParameters::FOCUS_MODE_CONTINUOUS_PICTURE; in TEST_F()
234 CameraParameters::FOCUS_MODE_CONTINUOUS_VIDEO)) { in TEST_F()
236 focusMode = CameraParameters::FOCUS_MODE_CONTINUOUS_VIDEO; in TEST_F()
237 } else if (focusModes.contains(CameraParameters::FOCUS_MODE_MACRO)) { in TEST_F()
239 focusMode = CameraParameters::FOCUS_MODE_MACRO; in TEST_F()
248 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/media/libstagefright/
DCameraSource.cpp56 if (!strcmp(colorFormat, CameraParameters::PIXEL_FORMAT_YUV420P)) { in getColorFormat()
60 if (!strcmp(colorFormat, CameraParameters::PIXEL_FORMAT_YUV422SP)) { in getColorFormat()
64 if (!strcmp(colorFormat, CameraParameters::PIXEL_FORMAT_YUV420SP)) { in getColorFormat()
68 if (!strcmp(colorFormat, CameraParameters::PIXEL_FORMAT_YUV422I)) { in getColorFormat()
72 if (!strcmp(colorFormat, CameraParameters::PIXEL_FORMAT_RGB565)) { in getColorFormat()
80 if (!strcmp(colorFormat, CameraParameters::PIXEL_FORMAT_ANDROID_OPAQUE)) { in getColorFormat()
221 const CameraParameters& params, in getSupportedVideoSizes()
240 const CameraParameters& params) { in isCameraColorFormatSupported()
242 CameraParameters::KEY_VIDEO_FRAME_FORMAT)); in isCameraColorFormatSupported()
265 CameraParameters* params, in configureCamera()
[all …]
DCameraSourceTimeLapse.cpp128 CameraParameters params(s); in trySettingVideoSize()
/frameworks/av/services/camera/libcameraservice/libcameraservice_fuzzer/
Dcamera_service_fuzzer.cpp366 CameraParameters params(cameraDevice->getParameters()); in invokeCameraAPIs()
367 String8 focusModes(params.get(CameraParameters::KEY_SUPPORTED_FOCUS_MODES)); in invokeCameraAPIs()
371 if (focusModes.contains(CameraParameters::FOCUS_MODE_AUTO)) { in invokeCameraAPIs()
373 } else if (focusModes.contains(CameraParameters::FOCUS_MODE_CONTINUOUS_PICTURE)) { in invokeCameraAPIs()
375 focusMode = CameraParameters::FOCUS_MODE_CONTINUOUS_PICTURE; in invokeCameraAPIs()
376 } else if (focusModes.contains(CameraParameters::FOCUS_MODE_CONTINUOUS_VIDEO)) { in invokeCameraAPIs()
378 focusMode = CameraParameters::FOCUS_MODE_CONTINUOUS_VIDEO; in invokeCameraAPIs()
379 } else if (focusModes.contains(CameraParameters::FOCUS_MODE_MACRO)) { in invokeCameraAPIs()
381 focusMode = CameraParameters::FOCUS_MODE_MACRO; in invokeCameraAPIs()
384 params.set(CameraParameters::KEY_FOCUS_MODE, focusMode); in invokeCameraAPIs()
[all …]
/frameworks/av/media/libstagefright/include/media/stagefright/
DCameraSource.h266 status_t isCameraColorFormatSupported(const CameraParameters& params);
267 status_t configureCamera(CameraParameters* params,
271 status_t checkVideoSize(const CameraParameters& params,
274 status_t checkFrameRate(const CameraParameters& params,
/frameworks/av/services/camera/libcameraservice/
DCameraService.h764 CameraParameters getShimParams() const;
769 void setShimParams(const CameraParameters& params);
818 CameraParameters mShimParams;
1393 binder::Status getLegacyParametersLazy(int cameraId, /*out*/CameraParameters* parameters);
DCameraService.cpp558 state->setShimParams(CameraParameters()); in onDeviceStatusChanged()
1623 CameraParameters* parameters) { in getLegacyParametersLazy()
1646 CameraParameters p = cameraState->getShimParams(); in getLegacyParametersLazy()
1671 CameraParameters p = cameraState->getShimParams(); in getLegacyParametersLazy()
2581 CameraParameters params(rawParams); in connectHelper()
3536 CameraParameters shimParams; in getLegacyParameters()
5043 CameraParameters CameraService::CameraState::getShimParams() const { in getShimParams()
5047 void CameraService::CameraState::setShimParams(const CameraParameters& params) { in setShimParams()
5417 CameraParameters p = state.second->getShimParams(); in dump()