Home
last modified time | relevance | path

Searched refs:CameraParameters (Results 1 – 15 of 15) 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.mk41 CameraParameters.cpp \
/frameworks/av/services/camera/libcameraservice/api1/client2/
DParameters.cpp122 params.set(CameraParameters::KEY_PREFERRED_PREVIEW_SIZE_FOR_VIDEO, in initialize()
134 params.set(CameraParameters::KEY_SUPPORTED_PREVIEW_SIZES, in initialize()
145 params.set(CameraParameters::KEY_SUPPORTED_VIDEO_SIZES, in initialize()
154 params.set(CameraParameters::KEY_PREVIEW_FORMAT, in initialize()
170 CameraParameters::PIXEL_FORMAT_YUV422SP; in initialize()
174 CameraParameters::PIXEL_FORMAT_YUV420SP; in initialize()
178 CameraParameters::PIXEL_FORMAT_YUV422I; in initialize()
182 CameraParameters::PIXEL_FORMAT_YUV420P; in initialize()
186 CameraParameters::PIXEL_FORMAT_RGB565; in initialize()
190 CameraParameters::PIXEL_FORMAT_RGBA8888; in initialize()
[all …]
/frameworks/av/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.cpp114 if (!strcmp(colorFormat, CameraParameters::PIXEL_FORMAT_YUV420P)) { in getColorFormat()
118 if (!strcmp(colorFormat, CameraParameters::PIXEL_FORMAT_YUV422SP)) { in getColorFormat()
122 if (!strcmp(colorFormat, CameraParameters::PIXEL_FORMAT_YUV420SP)) { in getColorFormat()
126 if (!strcmp(colorFormat, CameraParameters::PIXEL_FORMAT_YUV422I)) { in getColorFormat()
130 if (!strcmp(colorFormat, CameraParameters::PIXEL_FORMAT_RGB565)) { in getColorFormat()
138 if (!strcmp(colorFormat, CameraParameters::PIXEL_FORMAT_ANDROID_OPAQUE)) { in getColorFormat()
288 const CameraParameters& params, in getSupportedVideoSizes()
307 const CameraParameters& params) { in isCameraColorFormatSupported()
309 CameraParameters::KEY_VIDEO_FRAME_FORMAT)); in isCameraColorFormatSupported()
332 CameraParameters* params, in configureCamera()
[all …]
DCameraSourceTimeLapse.cpp131 CameraParameters params(s); in trySettingVideoSize()
/frameworks/av/include/media/stagefright/
DCameraSource.h298 status_t isCameraColorFormatSupported(const CameraParameters& params);
299 status_t configureCamera(CameraParameters* params,
303 status_t checkVideoSize(const CameraParameters& params,
306 status_t checkFrameRate(const CameraParameters& params,
/frameworks/av/services/camera/libcameraservice/
DCameraFlashlight.cpp751 mParameters.get(CameraParameters::KEY_SUPPORTED_FLASH_MODES); in hasFlashUnitLocked()
752 if (flashMode && strstr(flashMode, CameraParameters::FLASH_MODE_TORCH)) { in hasFlashUnitLocked()
779 mParameters.set(CameraParameters::KEY_FLASH_MODE, in startPreviewAndTorch()
780 CameraParameters::FLASH_MODE_TORCH); in startPreviewAndTorch()
891 if (mParameters.get(CameraParameters::KEY_FLASH_MODE)) { in disconnectCameraDevice()
894 mParameters.set(CameraParameters::KEY_FLASH_MODE, in disconnectCameraDevice()
895 CameraParameters::FLASH_MODE_OFF); in disconnectCameraDevice()
DCameraService.h456 CameraParameters getShimParams() const;
461 void setShimParams(const CameraParameters& params);
484 CameraParameters mShimParams;
728 binder::Status getLegacyParametersLazy(int cameraId, /*out*/CameraParameters* parameters);
951 CameraParameters params(rawParams); in connectHelper()
DCameraService.cpp332 state->setShimParams(CameraParameters()); in onDeviceStatusChanged()
512 CameraParameters shimParams; in generateShimMetadata()
851 CameraParameters* parameters) { in getLegacyParametersLazy()
874 CameraParameters p = cameraState->getShimParams(); in getLegacyParametersLazy()
899 CameraParameters p = cameraState->getShimParams(); in getLegacyParametersLazy()
1574 CameraParameters shimParams; in getLegacyParameters()
2325 CameraParameters CameraService::CameraState::getShimParams() const { in getShimParams()
2329 void CameraService::CameraState::setShimParams(const CameraParameters& params) { in setShimParams()
2566 CameraParameters p = state.second->getShimParams(); in dump()
DCameraFlashlight.h216 CameraParameters mParameters;
/frameworks/av/services/camera/libcameraservice/device1/
DCameraHardwareInterface.h425 status_t setParameters(const CameraParameters &params) in setParameters()
435 CameraParameters getParameters() const in getParameters()
438 CameraParameters parms; in getParameters()
/frameworks/av/services/camera/libcameraservice/api1/
DCameraClient.h150 CameraParameters mLatestSetParameters;
DCameraClient.cpp618 mLatestSetParameters = CameraParameters(params); in setParameters()
619 CameraParameters p(params); in setParameters()