Home | History | Annotate | Download | only in camera

Lines Matching refs:params

213    @param[in] params Camera parameters to configure the camera
223 CameraParameters params;
226 params.unflatten(str_params);
230 return setParameters(params);
236 @param[in] params Camera parameters to configure the camera
241 int CameraHal::setParameters(const CameraParameters& params)
266 CAMHAL_LOGDB("PreviewFormat %s", params.getPreviewFormat());
268 if ((valstr = params.getPreviewFormat()) != NULL) {
277 varint = params.getInt(TICameraParameters::KEY_VNF);
278 valstr = params.get(TICameraParameters::KEY_VNF);
289 if ((valstr = params.get(CameraParameters::KEY_VIDEO_STABILIZATION)) != NULL) {
307 if( (valstr = params.get(TICameraParameters::KEY_CAP_MODE)) != NULL)
313 if ((valstr = params.get(TICameraParameters::KEY_IPP)) != NULL) {
325 if((valstr = params.get(TICameraParameters::KEY_S3D2D_PREVIEW)) != NULL)
327 CAMHAL_LOGDB("Stereo 3D->2D Preview mode is %s", params.get(TICameraParameters::KEY_S3D2D_PREVIEW));
331 if((valstr = params.get(TICameraParameters::KEY_AUTOCONVERGENCE)) != NULL)
333 CAMHAL_LOGDB("AutoConvergence mode is %s", params.get(TICameraParameters::KEY_AUTOCONVERGENCE));
340 params.getPreviewSize(&w, &h);
352 if((valstr = params.get(TICameraParameters::KEY_SENSOR_ORIENTATION)) != NULL)
354 CAMHAL_LOGDB("Sensor Orientation is set to %s", params.get(TICameraParameters::KEY_SENSOR_ORIENTATION));
356 orientation = params.getInt(TICameraParameters::KEY_SENSOR_ORIENTATION);
405 valstr = params.get(CameraParameters::KEY_RECORDING_HINT);
415 params.getPreviewSize(&w, &h);
431 restartPreviewRequired |= setVideoModeParameters(params);
438 params.getPreviewSize(&mVideoWidth, &mVideoHeight);
455 params.getPreviewSize(&mVideoWidth, &mVideoHeight);
458 if ((valstr = params.get(CameraParameters::KEY_FOCUS_MODE)) != NULL) {
467 restartPreviewRequired |= setVideoModeParameters(params);
478 if ( (valstr = params.getPictureFormat()) != NULL ) {
487 params.getPictureSize(&w, &h);
499 if ((valstr = params.get(TICameraParameters::KEY_BURST)) != NULL) {
500 if (params.getInt(TICameraParameters::KEY_BURST) >=0) {
511 framerate = params.getPreviewFrameRate();
512 valstr = params.get(CameraParameters::KEY_PREVIEW_FPS_RANGE);
540 params.getPreviewFpsRange(&minFPS, &maxFPS);
598 mParameters.set(CameraParameters::KEY_PREVIEW_FPS_RANGE, params.get(CameraParameters::KEY_PREVIEW_FPS_RANGE));
604 if( ( valstr = params.get(TICameraParameters::KEY_GBCE) ) != NULL )
610 if( ( valstr = params.get(TICameraParameters::KEY_GLBCE) ) != NULL )
619 if( (valstr = params.get(TICameraParameters::KEY_AUTOCONVERGENCE)) != NULL)
621 CAMHAL_LOGDB("AutoConvergence Mode is set = %s", params.get(TICameraParameters::KEY_AUTOCONVERGENCE));
625 if( (valstr = params.get(TICameraParameters::KEY_MANUALCONVERGENCE_VALUES)) !=NULL )
627 CAMHAL_LOGDB("ManualConvergence Value = %s", params.get(TICameraParameters::KEY_MANUALCONVERGENCE_VALUES));
631 if ((valstr = params.get(TICameraParameters::KEY_EXPOSURE_MODE)) != NULL) {
643 if ((valstr = params.get(CameraParameters::KEY_WHITE_BALANCE)) != NULL) {
655 if ((valstr = params.get(TICameraParameters::KEY_CONTRAST)) != NULL) {
656 if (params.getInt(TICameraParameters::KEY_CONTRAST) >= 0 ) {
665 if ((valstr =params.get(TICameraParameters::KEY_SHARPNESS)) != NULL) {
666 if (params.getInt(TICameraParameters::KEY_SHARPNESS) >= 0 ) {
675 if ((valstr = params.get(TICameraParameters::KEY_SATURATION)) != NULL) {
676 if (params.getInt(TICameraParameters::KEY_SATURATION) >= 0 ) {
685 if ((valstr = params.get(TICameraParameters::KEY_BRIGHTNESS)) != NULL) {
686 if (params.getInt(TICameraParameters::KEY_BRIGHTNESS) >= 0 ) {
697 if ((valstr = params.get(CameraParameters::KEY_ANTIBANDING)) != NULL) {
709 if ((valstr = params.get(TICameraParameters::KEY_ISO)) != NULL) {
721 if( (valstr = params.get(CameraParameters::KEY_FOCUS_AREAS)) != NULL )
729 if( (valstr = params.get(TICameraParameters::KEY_MEASUREMENT_ENABLE)) != NULL )
731 CAMHAL_LOGDB("Measurements set to %s", params.get(TICameraParameters::KEY_MEASUREMENT_ENABLE));
751 if( (valstr = params.get(CameraParameters::KEY_EXPOSURE_COMPENSATION)) != NULL)
757 if ((valstr = params.get(CameraParameters::KEY_SCENE_MODE)) != NULL) {
770 if ((valstr = params.get(CameraParameters::KEY_FLASH_MODE)) != NULL) {
780 if ((valstr = params.get(CameraParameters::KEY_EFFECT)) != NULL) {
790 varint = params.getInt(CameraParameters::KEY_ROTATION);
797 varint = params.getInt(CameraParameters::KEY_JPEG_QUALITY);
804 varint = params.getInt(CameraParameters::KEY_JPEG_THUMBNAIL_WIDTH);
811 varint = params.getInt(CameraParameters::KEY_JPEG_THUMBNAIL_HEIGHT);
818 varint = params.getInt(CameraParameters::KEY_JPEG_THUMBNAIL_QUALITY);
825 if( (valstr = params.get(CameraParameters::KEY_GPS_LATITUDE)) != NULL )
833 if( (valstr = params.get(CameraParameters::KEY_GPS_LONGITUDE)) != NULL )
841 if( (valstr = params.get(CameraParameters::KEY_GPS_ALTITUDE)) != NULL )
849 if( (valstr = params.get(CameraParameters::KEY_GPS_TIMESTAMP)) != NULL )
857 if( (valstr = params.get(TICameraParameters::KEY_GPS_DATESTAMP)) != NULL )
865 if( (valstr = params.get(CameraParameters::KEY_GPS_PROCESSING_METHOD)) != NULL )
873 if( (valstr = params.get(TICameraParameters::KEY_GPS_MAPDATUM )) != NULL )
881 if( (valstr = params.get(TICameraParameters::KEY_GPS_VERSION)) != NULL )
889 if( (valstr = params.get(TICameraParameters::KEY_EXIF_MODEL)) != NULL )
895 if( (valstr = params.get(TICameraParameters::KEY_EXIF_MAKE)) != NULL )
903 if( (valstr = params.get(TICameraParameters::KEY_EXP_BRACKETING_RANGE)) != NULL )
905 CAMHAL_LOGDB("Exposure Bracketing set %s", params.get(TICameraParameters::KEY_EXP_BRACKETING_RANGE));
915 valstr = params.get(CameraParameters::KEY_ZOOM);
916 varint = params.getInt(CameraParameters::KEY_ZOOM);
930 if( (valstr = params.get(CameraParameters::KEY_AUTO_EXPOSURE_LOCK)) != NULL )
939 if( (valstr = params.get(CameraParameters::KEY_AUTO_WHITEBALANCE_LOCK)) != NULL )
947 if( (valstr = params.get(CameraParameters::KEY_METERING_AREAS)) != NULL )
963 if( NULL != params.get(TICameraParameters::KEY_TEMP_BRACKETING_RANGE_POS) )
965 int posBracketRange = params.getInt(TICameraParameters::KEY_TEMP_BRACKETING_RANGE_POS);
974 if( NULL != params.get(TICameraParameters::KEY_TEMP_BRACKETING_RANGE_NEG) )
976 int negBracketRange = params.getInt(TICameraParameters::KEY_TEMP_BRACKETING_RANGE_NEG);
984 if( ( (valstr = params.get(TICameraParameters::KEY_TEMP_BRACKETING)) != NULL) &&
1003 else if ( ( (valstr = params.get(TICameraParameters::KEY_TEMP_BRACKETING)) != NULL ) &&
1021 if( ( (valstr = params.get(TICameraParameters::KEY_SHUTTER_ENABLE)) != NULL ) &&
1030 else if ( ( (valstr = params.get(TICameraParameters::KEY_SHUTTER_ENABLE)) != NULL ) &&
1941 bool CameraHal::setVideoModeParameters(const CameraParameters& params)
1963 valstrRemote = params.get(CameraParameters::KEY_VIDEO_STABILIZATION);
1984 valstrRemote = params.get(TICameraParameters::KEY_VNF);
3204 // if params mismatch we should update parameters for camera adapter