Lines Matching refs:CameraParameters

35 const char CameraParameters::KEY_PREVIEW_SIZE[] = "preview-size";
36 const char CameraParameters::KEY_SUPPORTED_PREVIEW_SIZES[] = "preview-size-values";
37 const char CameraParameters::KEY_PREVIEW_FORMAT[] = "preview-format";
38 const char CameraParameters::KEY_SUPPORTED_PREVIEW_FORMATS[] = "preview-format-values";
39 const char CameraParameters::KEY_PREVIEW_FRAME_RATE[] = "preview-frame-rate";
40 const char CameraParameters::KEY_SUPPORTED_PREVIEW_FRAME_RATES[] = "preview-frame-rate-values";
41 const char CameraParameters::KEY_PREVIEW_FPS_RANGE[] = "preview-fps-range";
42 const char CameraParameters::KEY_SUPPORTED_PREVIEW_FPS_RANGE[] = "preview-fps-range-values";
43 const char CameraParameters::KEY_PICTURE_SIZE[] = "picture-size";
44 const char CameraParameters::KEY_SUPPORTED_PICTURE_SIZES[] = "picture-size-values";
45 const char CameraParameters::KEY_PICTURE_FORMAT[] = "picture-format";
46 const char CameraParameters::KEY_SUPPORTED_PICTURE_FORMATS[] = "picture-format-values";
47 const char CameraParameters::KEY_JPEG_THUMBNAIL_WIDTH[] = "jpeg-thumbnail-width";
48 const char CameraParameters::KEY_JPEG_THUMBNAIL_HEIGHT[] = "jpeg-thumbnail-height";
49 const char CameraParameters::KEY_SUPPORTED_JPEG_THUMBNAIL_SIZES[] = "jpeg-thumbnail-size-values";
50 const char CameraParameters::KEY_JPEG_THUMBNAIL_QUALITY[] = "jpeg-thumbnail-quality";
51 const char CameraParameters::KEY_JPEG_QUALITY[] = "jpeg-quality";
52 const char CameraParameters::KEY_ROTATION[] = "rotation";
53 const char CameraParameters::KEY_GPS_LATITUDE[] = "gps-latitude";
54 const char CameraParameters::KEY_GPS_LONGITUDE[] = "gps-longitude";
55 const char CameraParameters::KEY_GPS_ALTITUDE[] = "gps-altitude";
56 const char CameraParameters::KEY_GPS_TIMESTAMP[] = "gps-timestamp";
57 const char CameraParameters::KEY_GPS_PROCESSING_METHOD[] = "gps-processing-method";
58 const char CameraParameters::KEY_WHITE_BALANCE[] = "whitebalance";
59 const char CameraParameters::KEY_SUPPORTED_WHITE_BALANCE[] = "whitebalance-values";
60 const char CameraParameters::KEY_EFFECT[] = "effect";
61 const char CameraParameters::KEY_SUPPORTED_EFFECTS[] = "effect-values";
62 const char CameraParameters::KEY_ANTIBANDING[] = "antibanding";
63 const char CameraParameters::KEY_SUPPORTED_ANTIBANDING[] = "antibanding-values";
64 const char CameraParameters::KEY_SCENE_MODE[] = "scene-mode";
65 const char CameraParameters::KEY_SUPPORTED_SCENE_MODES[] = "scene-mode-values";
66 const char CameraParameters::KEY_FLASH_MODE[] = "flash-mode";
67 const char CameraParameters::KEY_SUPPORTED_FLASH_MODES[] = "flash-mode-values";
68 const char CameraParameters::KEY_FOCUS_MODE[] = "focus-mode";
69 const char CameraParameters::KEY_SUPPORTED_FOCUS_MODES[] = "focus-mode-values";
70 const char CameraParameters::KEY_MAX_NUM_FOCUS_AREAS[] = "max-num-focus-areas";
71 const char CameraParameters::KEY_FOCUS_AREAS[] = "focus-areas";
72 const char CameraParameters::KEY_FOCAL_LENGTH[] = "focal-length";
73 const char CameraParameters::KEY_HORIZONTAL_VIEW_ANGLE[] = "horizontal-view-angle";
74 const char CameraParameters::KEY_VERTICAL_VIEW_ANGLE[] = "vertical-view-angle";
75 const char CameraParameters::KEY_EXPOSURE_COMPENSATION[] = "exposure-compensation";
76 const char CameraParameters::KEY_MAX_EXPOSURE_COMPENSATION[] = "max-exposure-compensation";
77 const char CameraParameters::KEY_MIN_EXPOSURE_COMPENSATION[] = "min-exposure-compensation";
78 const char CameraParameters::KEY_EXPOSURE_COMPENSATION_STEP[] = "exposure-compensation-step";
79 const char CameraParameters::KEY_AUTO_EXPOSURE_LOCK[] = "auto-exposure-lock";
80 const char CameraParameters::KEY_AUTO_EXPOSURE_LOCK_SUPPORTED[] = "auto-exposure-lock-supported";
81 const char CameraParameters::KEY_AUTO_WHITEBALANCE_LOCK[] = "auto-whitebalance-lock";
82 const char CameraParameters::KEY_AUTO_WHITEBALANCE_LOCK_SUPPORTED[] = "auto-whitebalance-lock-suppo…
83 const char CameraParameters::KEY_MAX_NUM_METERING_AREAS[] = "max-num-metering-areas";
84 const char CameraParameters::KEY_METERING_AREAS[] = "metering-areas";
85 const char CameraParameters::KEY_ZOOM[] = "zoom";
86 const char CameraParameters::KEY_MAX_ZOOM[] = "max-zoom";
87 const char CameraParameters::KEY_ZOOM_RATIOS[] = "zoom-ratios";
88 const char CameraParameters::KEY_ZOOM_SUPPORTED[] = "zoom-supported";
89 const char CameraParameters::KEY_SMOOTH_ZOOM_SUPPORTED[] = "smooth-zoom-supported";
90 const char CameraParameters::KEY_FOCUS_DISTANCES[] = "focus-distances";
91 const char CameraParameters::KEY_VIDEO_FRAME_FORMAT[] = "video-frame-format";
92 const char CameraParameters::KEY_VIDEO_SIZE[] = "video-size";
93 const char CameraParameters::KEY_SUPPORTED_VIDEO_SIZES[] = "video-size-values";
94 const char CameraParameters::KEY_PREFERRED_PREVIEW_SIZE_FOR_VIDEO[] = "preferred-preview-size-for-v…
95 const char CameraParameters::KEY_MAX_NUM_DETECTED_FACES_HW[] = "max-num-detected-faces-hw";
96 const char CameraParameters::KEY_MAX_NUM_DETECTED_FACES_SW[] = "max-num-detected-faces-sw";
97 const char CameraParameters::KEY_RECORDING_HINT[] = "recording-hint";
98 const char CameraParameters::KEY_VIDEO_SNAPSHOT_SUPPORTED[] = "video-snapshot-supported";
99 const char CameraParameters::KEY_VIDEO_STABILIZATION[] = "video-stabilization";
100 const char CameraParameters::KEY_VIDEO_STABILIZATION_SUPPORTED[] = "video-stabilization-supported";
101 const char CameraParameters::KEY_LIGHTFX[] = "light-fx";
103 const char CameraParameters::TRUE[] = "true";
104 const char CameraParameters::FALSE[] = "false";
105 const char CameraParameters::FOCUS_DISTANCE_INFINITY[] = "Infinity";
108 const char CameraParameters::WHITE_BALANCE_AUTO[] = "auto";
109 const char CameraParameters::WHITE_BALANCE_INCANDESCENT[] = "incandescent";
110 const char CameraParameters::WHITE_BALANCE_FLUORESCENT[] = "fluorescent";
111 const char CameraParameters::WHITE_BALANCE_WARM_FLUORESCENT[] = "warm-fluorescent";
112 const char CameraParameters::WHITE_BALANCE_DAYLIGHT[] = "daylight";
113 const char CameraParameters::WHITE_BALANCE_CLOUDY_DAYLIGHT[] = "cloudy-daylight";
114 const char CameraParameters::WHITE_BALANCE_TWILIGHT[] = "twilight";
115 const char CameraParameters::WHITE_BALANCE_SHADE[] = "shade";
118 const char CameraParameters::EFFECT_NONE[] = "none";
119 const char CameraParameters::EFFECT_MONO[] = "mono";
120 const char CameraParameters::EFFECT_NEGATIVE[] = "negative";
121 const char CameraParameters::EFFECT_SOLARIZE[] = "solarize";
122 const char CameraParameters::EFFECT_SEPIA[] = "sepia";
123 const char CameraParameters::EFFECT_POSTERIZE[] = "posterize";
124 const char CameraParameters::EFFECT_WHITEBOARD[] = "whiteboard";
125 const char CameraParameters::EFFECT_BLACKBOARD[] = "blackboard";
126 const char CameraParameters::EFFECT_AQUA[] = "aqua";
129 const char CameraParameters::ANTIBANDING_AUTO[] = "auto";
130 const char CameraParameters::ANTIBANDING_50HZ[] = "50hz";
131 const char CameraParameters::ANTIBANDING_60HZ[] = "60hz";
132 const char CameraParameters::ANTIBANDING_OFF[] = "off";
135 const char CameraParameters::FLASH_MODE_OFF[] = "off";
136 const char CameraParameters::FLASH_MODE_AUTO[] = "auto";
137 const char CameraParameters::FLASH_MODE_ON[] = "on";
138 const char CameraParameters::FLASH_MODE_RED_EYE[] = "red-eye";
139 const char CameraParameters::FLASH_MODE_TORCH[] = "torch";
142 const char CameraParameters::SCENE_MODE_AUTO[] = "auto";
143 const char CameraParameters::SCENE_MODE_ACTION[] = "action";
144 const char CameraParameters::SCENE_MODE_PORTRAIT[] = "portrait";
145 const char CameraParameters::SCENE_MODE_LANDSCAPE[] = "landscape";
146 const char CameraParameters::SCENE_MODE_NIGHT[] = "night";
147 const char CameraParameters::SCENE_MODE_NIGHT_PORTRAIT[] = "night-portrait";
148 const char CameraParameters::SCENE_MODE_THEATRE[] = "theatre";
149 const char CameraParameters::SCENE_MODE_BEACH[] = "beach";
150 const char CameraParameters::SCENE_MODE_SNOW[] = "snow";
151 const char CameraParameters::SCENE_MODE_SUNSET[] = "sunset";
152 const char CameraParameters::SCENE_MODE_STEADYPHOTO[] = "steadyphoto";
153 const char CameraParameters::SCENE_MODE_FIREWORKS[] = "fireworks";
154 const char CameraParameters::SCENE_MODE_SPORTS[] = "sports";
155 const char CameraParameters::SCENE_MODE_PARTY[] = "party";
156 const char CameraParameters::SCENE_MODE_CANDLELIGHT[] = "candlelight";
157 const char CameraParameters::SCENE_MODE_BARCODE[] = "barcode";
158 const char CameraParameters::SCENE_MODE_HDR[] = "hdr";
160 const char CameraParameters::PIXEL_FORMAT_YUV422SP[] = "yuv422sp";
161 const char CameraParameters::PIXEL_FORMAT_YUV420SP[] = "yuv420sp";
162 const char CameraParameters::PIXEL_FORMAT_YUV422I[] = "yuv422i-yuyv";
163 const char CameraParameters::PIXEL_FORMAT_YUV420P[] = "yuv420p";
164 const char CameraParameters::PIXEL_FORMAT_RGB565[] = "rgb565";
165 const char CameraParameters::PIXEL_FORMAT_RGBA8888[] = "rgba8888";
166 const char CameraParameters::PIXEL_FORMAT_JPEG[] = "jpeg";
167 const char CameraParameters::PIXEL_FORMAT_BAYER_RGGB[] = "bayer-rggb";
168 const char CameraParameters::PIXEL_FORMAT_ANDROID_OPAQUE[] = "android-opaque";
171 const char CameraParameters::FOCUS_MODE_AUTO[] = "auto";
172 const char CameraParameters::FOCUS_MODE_INFINITY[] = "infinity";
173 const char CameraParameters::FOCUS_MODE_MACRO[] = "macro";
174 const char CameraParameters::FOCUS_MODE_FIXED[] = "fixed";
175 const char CameraParameters::FOCUS_MODE_EDOF[] = "edof";
176 const char CameraParameters::FOCUS_MODE_CONTINUOUS_VIDEO[] = "continuous-video";
177 const char CameraParameters::FOCUS_MODE_CONTINUOUS_PICTURE[] = "continuous-picture";
180 const char CameraParameters::LIGHTFX_LOWLIGHT[] = "low-light";
181 const char CameraParameters::LIGHTFX_HDR[] = "high-dynamic-range";
183 CameraParameters::CameraParameters() in CameraParameters() function in android::hardware::camera::common::V1_0::helper::CameraParameters
188 CameraParameters::~CameraParameters() in ~CameraParameters()
192 String8 CameraParameters::flatten() const in flatten()
212 void CameraParameters::unflatten(const String8 &params) in unflatten()
245 void CameraParameters::set(const char *key, const char *value) in set()
261 void CameraParameters::set(const char *key, int value) in set()
268 void CameraParameters::setFloat(const char *key, float value) in setFloat()
275 const char *CameraParameters::get(const char *key) const in get()
283 int CameraParameters::getInt(const char *key) const in getInt()
291 float CameraParameters::getFloat(const char *key) const in getFloat()
298 void CameraParameters::remove(const char *key) in remove()
354 void CameraParameters::setPreviewSize(int width, int height) in setPreviewSize()
361 void CameraParameters::getPreviewSize(int *width, int *height) const in getPreviewSize()
370 void CameraParameters::getPreferredPreviewSizeForVideo(int *width, int *height) const in getPreferredPreviewSizeForVideo()
378 void CameraParameters::getSupportedPreviewSizes(Vector<Size> &sizes) const in getSupportedPreviewSizes()
384 void CameraParameters::setVideoSize(int width, int height) in setVideoSize()
391 void CameraParameters::getVideoSize(int *width, int *height) const in getVideoSize()
399 void CameraParameters::getSupportedVideoSizes(Vector<Size> &sizes) const in getSupportedVideoSizes()
405 void CameraParameters::setPreviewFrameRate(int fps) in setPreviewFrameRate()
410 int CameraParameters::getPreviewFrameRate() const in getPreviewFrameRate()
415 void CameraParameters::getPreviewFpsRange(int *min_fps, int *max_fps) const in getPreviewFpsRange()
423 void CameraParameters::setPreviewFormat(const char *format) in setPreviewFormat()
428 const char *CameraParameters::getPreviewFormat() const in getPreviewFormat()
433 void CameraParameters::setPictureSize(int width, int height) in setPictureSize()
440 void CameraParameters::getPictureSize(int *width, int *height) const in getPictureSize()
449 void CameraParameters::getSupportedPictureSizes(Vector<Size> &sizes) const in getSupportedPictureSizes()
455 void CameraParameters::setPictureFormat(const char *format) in setPictureFormat()
460 const char *CameraParameters::getPictureFormat() const in getPictureFormat()
465 void CameraParameters::dump() const in dump()
476 status_t CameraParameters::dump(int fd, const Vector<String16>& /*args*/) const in dump()
494 void CameraParameters::getSupportedPreviewFormats(Vector<int>& formats) const { in getSupportedPreviewFormats()
496 get(CameraParameters::KEY_SUPPORTED_PREVIEW_FORMATS); in getSupportedPreviewFormats()
519 int CameraParameters::previewFormatToEnum(const char* format) { in previewFormatToEnum()
540 bool CameraParameters::isEmpty() const { in isEmpty()