Home
last modified time | relevance | path

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

/frameworks/av/camera/
DCameraParameters.cpp27 const char CameraParameters::KEY_PREVIEW_SIZE[] = "preview-size";
28 const char CameraParameters::KEY_SUPPORTED_PREVIEW_SIZES[] = "preview-size-values";
29 const char CameraParameters::KEY_PREVIEW_FORMAT[] = "preview-format";
30 const char CameraParameters::KEY_SUPPORTED_PREVIEW_FORMATS[] = "preview-format-values";
31 const char CameraParameters::KEY_PREVIEW_FRAME_RATE[] = "preview-frame-rate";
32 const char CameraParameters::KEY_SUPPORTED_PREVIEW_FRAME_RATES[] = "preview-frame-rate-values";
33 const char CameraParameters::KEY_PREVIEW_FPS_RANGE[] = "preview-fps-range";
34 const char CameraParameters::KEY_SUPPORTED_PREVIEW_FPS_RANGE[] = "preview-fps-range-values";
35 const char CameraParameters::KEY_PICTURE_SIZE[] = "picture-size";
36 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.mk10 CameraParameters.cpp \
/frameworks/av/services/camera/libcameraservice/api1/client2/
DParameters.cpp73 params.set(CameraParameters::KEY_PREFERRED_PREVIEW_SIZE_FOR_VIDEO, in initialize()
85 params.set(CameraParameters::KEY_SUPPORTED_PREVIEW_SIZES, in initialize()
87 params.set(CameraParameters::KEY_SUPPORTED_VIDEO_SIZES, in initialize()
96 params.set(CameraParameters::KEY_PREVIEW_FORMAT, in initialize()
114 CameraParameters::PIXEL_FORMAT_YUV422SP; in initialize()
118 CameraParameters::PIXEL_FORMAT_YUV420SP; in initialize()
122 CameraParameters::PIXEL_FORMAT_YUV422I; in initialize()
126 CameraParameters::PIXEL_FORMAT_YUV420P; in initialize()
130 CameraParameters::PIXEL_FORMAT_RGB565; in initialize()
134 CameraParameters::PIXEL_FORMAT_RGBA8888; in initialize()
[all …]
/frameworks/av/media/libstagefright/
DCameraSource.cpp90 if (!strcmp(colorFormat, CameraParameters::PIXEL_FORMAT_YUV420P)) { in getColorFormat()
94 if (!strcmp(colorFormat, CameraParameters::PIXEL_FORMAT_YUV422SP)) { in getColorFormat()
98 if (!strcmp(colorFormat, CameraParameters::PIXEL_FORMAT_YUV420SP)) { in getColorFormat()
102 if (!strcmp(colorFormat, CameraParameters::PIXEL_FORMAT_YUV422I)) { in getColorFormat()
106 if (!strcmp(colorFormat, CameraParameters::PIXEL_FORMAT_RGB565)) { in getColorFormat()
114 if (!strcmp(colorFormat, CameraParameters::PIXEL_FORMAT_ANDROID_OPAQUE)) { in getColorFormat()
261 const CameraParameters& params, in getSupportedVideoSizes()
280 const CameraParameters& params) { in isCameraColorFormatSupported()
282 CameraParameters::KEY_VIDEO_FRAME_FORMAT)); in isCameraColorFormatSupported()
305 CameraParameters* params, in configureCamera()
[all …]
DCameraSourceTimeLapse.cpp126 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.h224 status_t isCameraColorFormatSupported(const CameraParameters& params);
225 status_t configureCamera(CameraParameters* params,
229 status_t checkVideoSize(const CameraParameters& params,
232 status_t checkFrameRate(const CameraParameters& params,
/frameworks/av/services/camera/libcameraservice/device1/
DCameraHardwareInterface.h375 status_t setParameters(const CameraParameters &params) in setParameters()
385 CameraParameters getParameters() const in getParameters()
388 CameraParameters parms; in getParameters()
/frameworks/av/services/camera/libcameraservice/api1/
DCameraClient.cpp552 CameraParameters p(params); in setParameters()