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