/frameworks/av/camera/ |
CameraParameters.cpp | 23 #include <camera/CameraParameters.h> 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" [all...] |
CameraParameters2.cpp | 239 set(CameraParameters::KEY_PREVIEW_SIZE, str); 246 const char *p = get(CameraParameters::KEY_PREVIEW_SIZE); 254 const char *p = get(CameraParameters::KEY_PREFERRED_PREVIEW_SIZE_FOR_VIDEO); 261 const char *previewSizesStr = get(CameraParameters::KEY_SUPPORTED_PREVIEW_SIZES); 269 set(CameraParameters::KEY_VIDEO_SIZE, str); 275 const char *p = get(CameraParameters::KEY_VIDEO_SIZE); 282 const char *videoSizesStr = get(CameraParameters::KEY_SUPPORTED_VIDEO_SIZES); 288 set(CameraParameters::KEY_PREVIEW_FRAME_RATE, fps); 293 return getInt(CameraParameters::KEY_PREVIEW_FRAME_RATE); 299 const char *p = get(CameraParameters::KEY_PREVIEW_FPS_RANGE) [all...] |
/hardware/ti/omap4-aah/camera/inc/ |
General3A_Settings.h | 57 { android::CameraParameters::EFFECT_NONE, OMX_ImageFilterNone }, 58 { android::CameraParameters::EFFECT_NEGATIVE, OMX_ImageFilterNegative }, 59 { android::CameraParameters::EFFECT_SOLARIZE, OMX_ImageFilterSolarize }, 60 { android::CameraParameters::EFFECT_SEPIA, OMX_ImageFilterSepia }, 61 { android::CameraParameters::EFFECT_MONO, OMX_ImageFilterGrayScale }, 62 { android::CameraParameters::EFFECT_BLACKBOARD, OMX_TI_ImageFilterBlackBoard }, 63 { android::CameraParameters::EFFECT_WHITEBOARD, OMX_TI_ImageFilterWhiteBoard }, 64 { android::CameraParameters::EFFECT_AQUA, OMX_TI_ImageFilterAqua }, 65 { android::CameraParameters::EFFECT_POSTERIZE, OMX_TI_ImageFilterPosterize }, 75 { android::CameraParameters::SCENE_MODE_AUTO, OMX_Manual } [all...] |
/hardware/ti/omap4-aah/camera/ |
CameraHalCommon.cpp | 127 if (strcmp(format, android::CameraParameters::PIXEL_FORMAT_YUV422I) == 0) { 129 } else if (strcmp(format, android::CameraParameters::PIXEL_FORMAT_RGB565) == 0 || 130 strcmp(format, android::CameraParameters::PIXEL_FORMAT_BAYER_RGGB) == 0) { 132 } else if (strcmp(format, android::CameraParameters::PIXEL_FORMAT_YUV420SP) == 0) { 156 if ( 0 == strcmp(parametersFormat, (const char *) android::CameraParameters::PIXEL_FORMAT_YUV422I) ) { 158 pixelFormat = (const char *) android::CameraParameters::PIXEL_FORMAT_YUV422I; 159 } else if ( (0 == strcmp(parametersFormat, (const char *) android::CameraParameters::PIXEL_FORMAT_YUV420SP)) || 160 (0 == strcmp(parametersFormat, (const char *) android::CameraParameters::PIXEL_FORMAT_YUV420P)) ) { 163 pixelFormat = (const char *) android::CameraParameters::PIXEL_FORMAT_YUV420SP; 164 } else if ( 0 == strcmp(parametersFormat, (const char *) android::CameraParameters::PIXEL_FORMAT_RGB565) ) [all...] |
CameraHal.cpp | 323 android::CameraParameters params; 341 int CameraHal::setParameters(const android::CameraParameters& params) 355 android::CameraParameters oldParams = mParameters; 382 android::CameraParameters::TRUE) == 0) { 385 } else if (strcmp(valstr, android::CameraParameters::TRUE) == 0) { 390 android::CameraParameters::FALSE); 394 if ((valstr = params.get(android::CameraParameters::KEY_VIDEO_STABILIZATION)) != NULL) { 398 android::CameraParameters::TRUE) == 0) { 400 mParameters.set(android::CameraParameters::KEY_VIDEO_STABILIZATION, valstr); 401 } else if (strcmp(valstr, android::CameraParameters::TRUE) == 0) [all...] |
/hardware/ti/omap4xxx/camera/inc/ |
General3A_Settings.h | 61 { CameraParameters::EFFECT_NONE, OMX_ImageFilterNone }, 62 { CameraParameters::EFFECT_NEGATIVE, OMX_ImageFilterNegative }, 63 { CameraParameters::EFFECT_SOLARIZE, OMX_ImageFilterSolarize }, 64 { CameraParameters::EFFECT_SEPIA, OMX_ImageFilterSepia }, 65 { CameraParameters::EFFECT_MONO, OMX_ImageFilterGrayScale }, 66 { CameraParameters::EFFECT_BLACKBOARD, OMX_TI_ImageFilterBlackBoard }, 67 { CameraParameters::EFFECT_WHITEBOARD, OMX_TI_ImageFilterWhiteBoard }, 68 { CameraParameters::EFFECT_AQUA, OMX_TI_ImageFilterAqua }, 69 { CameraParameters::EFFECT_POSTERIZE, OMX_TI_ImageFilterPosterize }, 79 { CameraParameters::SCENE_MODE_AUTO, OMX_Manual } [all...] |
/hardware/ti/omap4-aah/camera/OMXCameraAdapter/ |
OMXDefaults.cpp | 64 const char * OMXCameraAdapter::DEFAULT_VSTAB = android::CameraParameters::FALSE; 65 const char * OMXCameraAdapter::DEFAULT_VNF = android::CameraParameters::FALSE; 72 const char * OMXCameraAdapter::DEFAULT_AE_LOCK = android::CameraParameters::FALSE; 73 const char * OMXCameraAdapter::DEFAULT_AWB_LOCK = android::CameraParameters::FALSE; 78 const char * OMXCameraAdapter::DEFAULT_MECHANICAL_MISALIGNMENT_CORRECTION_MODE = android::CameraParameters::TRUE;
|
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
Parameters.cpp | 122 params.set(CameraParameters::KEY_PREFERRED_PREVIEW_SIZE_FOR_VIDEO, 134 params.set(CameraParameters::KEY_SUPPORTED_PREVIEW_SIZES, 145 params.set(CameraParameters::KEY_SUPPORTED_VIDEO_SIZES, 154 params.set(CameraParameters::KEY_PREVIEW_FORMAT, 170 CameraParameters::PIXEL_FORMAT_YUV422SP; 174 CameraParameters::PIXEL_FORMAT_YUV420SP; 178 CameraParameters::PIXEL_FORMAT_YUV422I; 182 CameraParameters::PIXEL_FORMAT_YUV420P; 186 CameraParameters::PIXEL_FORMAT_RGB565; 190 CameraParameters::PIXEL_FORMAT_RGBA8888 [all...] |
/device/generic/goldfish/camera/ |
EmulatedCamera.cpp | 45 static void PrintParamDiff(const CameraParameters& current, const char* new_par); 89 CameraParameters::PIXEL_FORMAT_YUV420SP, 90 CameraParameters::PIXEL_FORMAT_YUV420P, 91 CameraParameters::PIXEL_FORMAT_RGBA8888); 97 mParameters.set(CameraParameters::KEY_SUPPORTED_JPEG_THUMBNAIL_SIZES, "320x240,0x0"); 99 mParameters.set(CameraParameters::KEY_JPEG_THUMBNAIL_WIDTH, "512"); 100 mParameters.set(CameraParameters::KEY_JPEG_THUMBNAIL_HEIGHT, "384"); 101 mParameters.set(CameraParameters::KEY_JPEG_QUALITY, "90"); 102 mParameters.set(CameraParameters::KEY_FOCAL_LENGTH, "4.31"); 103 mParameters.set(CameraParameters::KEY_HORIZONTAL_VIEW_ANGLE, "54.8") [all...] |
EmulatedFakeCamera.cpp | 75 mParameters.set(CameraParameters::KEY_SUPPORTED_PICTURE_SIZES, 77 mParameters.set(CameraParameters::KEY_SUPPORTED_PREVIEW_SIZES,
|
EmulatedQemuCamera.cpp | 72 mParameters.set(CameraParameters::KEY_SUPPORTED_PICTURE_SIZES, frame_dims); 73 mParameters.set(CameraParameters::KEY_SUPPORTED_PREVIEW_SIZES, frame_dims);
|
EmulatedCamera.h | 29 #include <camera/CameraParameters.h> 369 CameraParameters mParameters;
|
/hardware/ti/omap4xxx/camera/ |
CameraHal.cpp | 223 CameraParameters params; 241 int CameraHal::setParameters(const CameraParameters& params) 253 CameraParameters oldParams = mParameters; 289 if ((valstr = params.get(CameraParameters::KEY_VIDEO_STABILIZATION)) != NULL) { 293 CameraParameters::TRUE) == 0) { 295 mParameters.set(CameraParameters::KEY_VIDEO_STABILIZATION, valstr); 296 } else if (strcmp(valstr, CameraParameters::TRUE) == 0) { 300 mParameters.set(CameraParameters::KEY_VIDEO_STABILIZATION, 301 CameraParameters::FALSE); 405 valstr = params.get(CameraParameters::KEY_RECORDING_HINT) [all...] |
ANativeWindowDisplayAdapter.cpp | 44 if (strcmp(parameters_format, (const char *) CameraParameters::PIXEL_FORMAT_YUV422I) == 0) 49 else if(strcmp(parameters_format, (const char *) CameraParameters::PIXEL_FORMAT_YUV420SP) == 0) 54 else if(strcmp(parameters_format, (const char *) CameraParameters::PIXEL_FORMAT_RGB565) == 0) 79 if (strcmp(parameters_format, (const char *) CameraParameters::PIXEL_FORMAT_YUV422I) == 0) 82 pixFormat = (const char *) CameraParameters::PIXEL_FORMAT_YUV422I; 84 else if(strcmp(parameters_format, (const char *) CameraParameters::PIXEL_FORMAT_YUV420SP) == 0 || 85 strcmp(parameters_format, (const char *) CameraParameters::PIXEL_FORMAT_YUV420P) == 0) 89 pixFormat = (const char *) CameraParameters::PIXEL_FORMAT_YUV420SP; 91 else if(strcmp(parameters_format, (const char *) CameraParameters::PIXEL_FORMAT_RGB565) == 0) 94 pixFormat = (const char *) CameraParameters::PIXEL_FORMAT_RGB565 [all...] |
/device/huawei/angler/camera/ |
QCameraParameters.h | 22 #include <camera/CameraParameters.h> 38 class QCameraParameters: public CameraParameters 42 QCameraParameters() : CameraParameters() {}; 43 QCameraParameters(const String8 ¶ms): CameraParameters(params) {}; 45 QCameraParameters() : CameraParameters() {};
|
/device/lge/bullhead/camera/ |
QCameraParameters.h | 22 #include <camera/CameraParameters.h> 38 class QCameraParameters: public CameraParameters 42 QCameraParameters() : CameraParameters() {}; 43 QCameraParameters(const String8 ¶ms): CameraParameters(params) {}; 45 QCameraParameters() : CameraParameters() {};
|
/device/moto/shamu/camera/QCamera/HAL2/core/inc/ |
QCameraParameters.h | 22 #include <camera/CameraParameters.h> 38 class QCameraParameters: public CameraParameters 42 QCameraParameters() : CameraParameters() {}; 43 QCameraParameters(const String8 ¶ms): CameraParameters(params) {}; 45 QCameraParameters() : CameraParameters() {};
|
/device/moto/shamu/camera/ |
QCameraParameters.h | 22 #include <camera/CameraParameters.h> 38 class QCameraParameters: public CameraParameters 42 QCameraParameters() : CameraParameters() {}; 43 QCameraParameters(const String8 ¶ms): CameraParameters(params) {}; 45 QCameraParameters() : CameraParameters() {};
|
/hardware/qcom/camera/ |
QCameraParameters.h | 21 #include <camera/CameraParameters.h> 37 class QCameraParameters: public CameraParameters 41 QCameraParameters() : CameraParameters() {}; 42 QCameraParameters(const String8 ¶ms): CameraParameters(params) {}; 44 QCameraParameters() : CameraParameters() {};
|
/hardware/ti/omap4xxx/camera/inc/V4LCameraAdapter/ |
V4LCameraAdapter.h | 75 virtual status_t setParameters(const CameraParameters& params); 76 virtual void getParameters(CameraParameters& params); 129 CameraParameters mParams;
|
/hardware/ti/omap4xxx/test/CameraHal/ |
camera_test_menu.cpp | 21 #include <camera/CameraParameters.h> 41 CameraParameters params; 141 const char CameraParameters::FLASH_MODE_OFF[] = "off"; 142 const char CameraParameters::FLASH_MODE_AUTO[] = "auto"; 143 const char CameraParameters::FLASH_MODE_ON[] = "on"; 144 const char CameraParameters::FLASH_MODE_RED_EYE[] = "red-eye"; 145 const char CameraParameters::FLASH_MODE_TORCH[] = "torch"; 382 { HAL_PIXEL_FORMAT_YCbCr_422_I, CameraParameters::PIXEL_FORMAT_YUV422I }, 383 { HAL_PIXEL_FORMAT_YCrCb_420_SP, CameraParameters::PIXEL_FORMAT_YUV420SP }, 384 { HAL_PIXEL_FORMAT_RGB_565, CameraParameters::PIXEL_FORMAT_RGB565 } [all...] |
/hardware/ti/omap4-aah/test/CameraHal/ |
camera_test_menu.cpp | 27 #include <camera/CameraParameters.h> 60 CameraParameters params; 496 { HAL_PIXEL_FORMAT_YCbCr_422_I, CameraParameters::PIXEL_FORMAT_YUV422I }, 497 { HAL_PIXEL_FORMAT_YCrCb_420_SP, CameraParameters::PIXEL_FORMAT_YUV420SP }, 498 { HAL_PIXEL_FORMAT_RGB_565, CameraParameters::PIXEL_FORMAT_RGB565 }, 499 { -1, CameraParameters::PIXEL_FORMAT_JPEG }, 500 { -1, CameraParameters::PIXEL_FORMAT_BAYER_RGGB }, 525 const char *algoFixedGamma[] = {CameraParameters::FALSE, CameraParameters::TRUE}; 526 const char *algoNSF1[] = {CameraParameters::FALSE, CameraParameters::TRUE} [all...] |
/frameworks/av/include/camera/ |
CameraParameters.h | 40 class CameraParameters 43 CameraParameters(); 44 CameraParameters(const String8 ¶ms) { unflatten(params); } 45 ~CameraParameters(); [all...] |
/frameworks/av/include/media/stagefright/ |
CameraSource.h | 26 #include <camera/CameraParameters.h> 298 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,
|
/hardware/ti/omap4-aah/camera/inc/V4LCameraAdapter/ |
V4LCameraAdapter.h | 110 virtual status_t setParameters(const android::CameraParameters& params); 111 virtual void getParameters(android::CameraParameters& params); 208 android::CameraParameters mParams;
|