Home
last modified time | relevance | path

Searched refs:CameraParameters (Results 1 – 13 of 13) 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.mk24 CameraParameters.cpp \
/frameworks/av/services/camera/libcameraservice/api1/client2/
DParameters.cpp107 params.set(CameraParameters::KEY_PREFERRED_PREVIEW_SIZE_FOR_VIDEO, in initialize()
119 params.set(CameraParameters::KEY_SUPPORTED_PREVIEW_SIZES, in initialize()
130 params.set(CameraParameters::KEY_SUPPORTED_VIDEO_SIZES, in initialize()
139 params.set(CameraParameters::KEY_PREVIEW_FORMAT, in initialize()
155 CameraParameters::PIXEL_FORMAT_YUV422SP; in initialize()
159 CameraParameters::PIXEL_FORMAT_YUV420SP; in initialize()
163 CameraParameters::PIXEL_FORMAT_YUV422I; in initialize()
167 CameraParameters::PIXEL_FORMAT_YUV420P; in initialize()
171 CameraParameters::PIXEL_FORMAT_RGB565; in initialize()
175 CameraParameters::PIXEL_FORMAT_RGBA8888; in initialize()
[all …]
/frameworks/av/media/libstagefright/
DCameraSource.cpp101 if (!strcmp(colorFormat, CameraParameters::PIXEL_FORMAT_YUV420P)) { in getColorFormat()
105 if (!strcmp(colorFormat, CameraParameters::PIXEL_FORMAT_YUV422SP)) { in getColorFormat()
109 if (!strcmp(colorFormat, CameraParameters::PIXEL_FORMAT_YUV420SP)) { in getColorFormat()
113 if (!strcmp(colorFormat, CameraParameters::PIXEL_FORMAT_YUV422I)) { in getColorFormat()
117 if (!strcmp(colorFormat, CameraParameters::PIXEL_FORMAT_RGB565)) { in getColorFormat()
125 if (!strcmp(colorFormat, CameraParameters::PIXEL_FORMAT_ANDROID_OPAQUE)) { in getColorFormat()
272 const CameraParameters& params, in getSupportedVideoSizes()
291 const CameraParameters& params) { in isCameraColorFormatSupported()
293 CameraParameters::KEY_VIDEO_FRAME_FORMAT)); in isCameraColorFormatSupported()
316 CameraParameters* params, in configureCamera()
[all …]
DCameraSourceTimeLapse.cpp129 CameraParameters params(s); in trySettingVideoSize()
/frameworks/av/include/camera/
DCameraParameters.h40 class CameraParameters
43 CameraParameters();
44 CameraParameters(const String8 &params) { unflatten(params); } in CameraParameters() function
45 ~CameraParameters();
/frameworks/av/include/media/stagefright/
DCameraSource.h226 status_t isCameraColorFormatSupported(const CameraParameters& params);
227 status_t configureCamera(CameraParameters* params,
231 status_t checkVideoSize(const CameraParameters& params,
234 status_t checkFrameRate(const CameraParameters& params,
/frameworks/av/services/camera/libcameraservice/
DCameraService.h424 KeyedVector<int, CameraParameters> mShimParams;
439 status_t getLegacyParametersLazy(int cameraId, /*out*/CameraParameters* parameters);
DCameraService.cpp265 CameraParameters shimParams; in generateShimMetadata()
509 CameraParameters params(rawParams); in initializeShimMetadata()
522 CameraParameters* parameters) { in getLegacyParametersLazy()
1084 CameraParameters shimParams; in getLegacyParameters()
/frameworks/av/services/camera/libcameraservice/device1/
DCameraHardwareInterface.h389 status_t setParameters(const CameraParameters &params) in setParameters()
399 CameraParameters getParameters() const in getParameters()
402 CameraParameters parms; in getParameters()
/frameworks/av/services/camera/libcameraservice/api1/
DCameraClient.h146 CameraParameters mLatestSetParameters;
DCameraClient.cpp563 mLatestSetParameters = CameraParameters(params); in setParameters()
564 CameraParameters p(params); in setParameters()