Lines Matching refs:params

60 CameraParameters params;  variable
917 printf("\n\r\tSupported Cameras: %s", params.get("camera-indexes")); in printSupportedParams()
918 …printf("\n\r\tSupported Picture Sizes: %s", params.get(CameraParameters::KEY_SUPPORTED_PICTURE_SIZ… in printSupportedParams()
919 …printf("\n\r\tSupported Picture Formats: %s", params.get(CameraParameters::KEY_SUPPORTED_PICTURE_F… in printSupportedParams()
920 …printf("\n\r\tSupported Video Formats: %s", params.get(CameraParameters::KEY_SUPPORTED_PREVIEW_SIZ… in printSupportedParams()
921 …printf("\n\r\tSupported Preview Sizes: %s", params.get(CameraParameters::KEY_SUPPORTED_PREVIEW_SIZ… in printSupportedParams()
922 …printf("\n\r\tSupported Preview Formats: %s", params.get(CameraParameters::KEY_SUPPORTED_PREVIEW_F… in printSupportedParams()
923 …printf("\n\r\tSupported Preview Frame Rates: %s", params.get(CameraParameters::KEY_SUPPORTED_PREVI… in printSupportedParams()
924 …printf("\n\r\tSupported Thumbnail Sizes: %s", params.get(CameraParameters::KEY_SUPPORTED_JPEG_THUM… in printSupportedParams()
925 …printf("\n\r\tSupported Whitebalance Modes: %s", params.get(CameraParameters::KEY_SUPPORTED_WHITE_… in printSupportedParams()
926 printf("\n\r\tSupported Effects: %s", params.get(CameraParameters::KEY_SUPPORTED_EFFECTS)); in printSupportedParams()
927 …printf("\n\r\tSupported Scene Modes: %s", params.get(CameraParameters::KEY_SUPPORTED_SCENE_MODES)); in printSupportedParams()
928 printf("\n\r\tSupported ISO Modes: %s", params.get("iso-mode-values")); in printSupportedParams()
929 …printf("\n\r\tSupported Focus Modes: %s", params.get(CameraParameters::KEY_SUPPORTED_FOCUS_MODES)); in printSupportedParams()
930 …printf("\n\r\tSupported Antibanding Options: %s", params.get(CameraParameters::KEY_SUPPORTED_ANTIB… in printSupportedParams()
931 …printf("\n\r\tSupported Flash Modes: %s", params.get(CameraParameters::KEY_SUPPORTED_FLASH_MODES)); in printSupportedParams()
932 …printf("\n\r\tSupported Focus Areas: %d", params.getInt(CameraParameters::KEY_MAX_NUM_FOCUS_AREAS)… in printSupportedParams()
933 …printf("\n\r\tSupported Metering Areas: %d", params.getInt(CameraParameters::KEY_MAX_NUM_METERING_… in printSupportedParams()
934 …printf("\n\r\tSupported Preview FPS Range: %s", params.get(CameraParameters::KEY_SUPPORTED_PREVIEW… in printSupportedParams()
935 printf("\n\r\tSupported Exposure modes: %s", params.get("exposure-mode-values")); in printSupportedParams()
936 …printf("\n\r\tSupported VSTAB modes: %s", params.get(CameraParameters::KEY_VIDEO_STABILIZATION_SUP… in printSupportedParams()
937 printf("\n\r\tSupported VNF modes: %s", params.get("vnf-supported")); in printSupportedParams()
938 …printf("\n\r\tSupported AutoExposureLock: %s", params.get(CameraParameters::KEY_AUTO_EXPOSURE_LOCK… in printSupportedParams()
939 …printf("\n\r\tSupported AutoWhiteBalanceLock: %s", params.get(CameraParameters::KEY_AUTO_WHITEBALA… in printSupportedParams()
940 printf("\n\r\tSupported Zoom: %s", params.get(CameraParameters::KEY_ZOOM_SUPPORTED)); in printSupportedParams()
941 …printf("\n\r\tSupported Smooth Zoom: %s", params.get(CameraParameters::KEY_SMOOTH_ZOOM_SUPPORTED)); in printSupportedParams()
942 …printf("\n\r\tSupported Video Snapshot: %s", params.get(CameraParameters::KEY_VIDEO_SNAPSHOT_SUPPO… in printSupportedParams()
943 printf("\n\r\tSupported Capture modes: %s", params.get("mode-values")); in printSupportedParams()
945 if ( NULL != params.get(CameraParameters::KEY_FOCUS_DISTANCES) ) { in printSupportedParams()
946 printf("\n\r\tFocus Distances: %s \n", params.get(CameraParameters::KEY_FOCUS_DISTANCES)); in printSupportedParams()
1209 params = camera->getParameters(); in openCamera()
1214 camera->setParameters(params.flatten()); in openCamera()
1333 params.set(KEY_S3D_PRV_FRAME_LAYOUT, stereoLayout[stereoLayoutIDX]); in startPreview()
1334 params.set(KEY_S3D_CAP_FRAME_LAYOUT, stereoCapLayout[stereoCapLayoutIDX]); in startPreview()
1338 params.setPreviewSize(previewHeight, previewWidth); in startPreview()
1340 params.setPreviewSize(previewWidth, previewHeight); in startPreview()
1342params.setPictureSize(capture_Array[captureSizeIDX]->width, capture_Array[captureSizeIDX]->height); in startPreview()
1353 if(!strcmp(params.get(KEY_MODE), "video-mode") ) { in startPreview()
1359 camera->setParameters(params.flatten()); in startPreview()
1368 const char *format = params.getPictureFormat(); in startPreview()
1382 params.unflatten(camera->getParameters()); in getParametersFromCapabilities()
1384 valstr = params.get(KEY_AUTOCONVERGENCE_MODE_VALUES); in getParametersFromCapabilities()
1392 valstr = params.get(CameraParameters::KEY_SUPPORTED_EFFECTS); in getParametersFromCapabilities()
1400 valstr = params.get(CameraParameters::KEY_SUPPORTED_ANTIBANDING); in getParametersFromCapabilities()
1408 valstr = params.get(CameraParameters::KEY_SUPPORTED_WHITE_BALANCE); in getParametersFromCapabilities()
1416 valstr = params.get(KEY_S3D_PRV_FRAME_LAYOUT_VALUES); in getParametersFromCapabilities()
1426 valstr = params.get(KEY_S3D_CAP_FRAME_LAYOUT_VALUES); in getParametersFromCapabilities()
1434 valstr = params.get(CameraParameters::KEY_SUPPORTED_SCENE_MODES); in getParametersFromCapabilities()
1442 valstr = params.get(CameraParameters::KEY_SUPPORTED_FOCUS_MODES); in getParametersFromCapabilities()
1450 valstr = params.get(CameraParameters::KEY_SUPPORTED_FLASH_MODES); in getParametersFromCapabilities()
1458 valstr = params.get(CameraParameters::KEY_SUPPORTED_PREVIEW_SIZES); in getParametersFromCapabilities()
1466 valstr = params.get(CameraParameters::KEY_SUPPORTED_PREVIEW_FPS_RANGE); in getParametersFromCapabilities()
1474 valstr = params.get(CameraParameters::KEY_SUPPORTED_PREVIEW_FORMATS); in getParametersFromCapabilities()
1482 valstr = params.get(CameraParameters::KEY_SUPPORTED_PICTURE_FORMATS); in getParametersFromCapabilities()
1490 valstr = params.get("exposure-mode-values"); in getParametersFromCapabilities()
1498 valstr = params.get("iso-mode-values"); in getParametersFromCapabilities()
1506 valstr = params.get(CameraParameters::KEY_SUPPORTED_JPEG_THUMBNAIL_SIZES); in getParametersFromCapabilities()
1514 valstr = params.get(CameraParameters::KEY_VIDEO_STABILIZATION_SUPPORTED); in getParametersFromCapabilities()
1521 valstr = params.get("vnf-supported"); in getParametersFromCapabilities()
1528 valstr = params.get(CameraParameters::KEY_AUTO_EXPOSURE_LOCK_SUPPORTED); in getParametersFromCapabilities()
1535 valstr = params.get(CameraParameters::KEY_AUTO_WHITEBALANCE_LOCK_SUPPORTED); in getParametersFromCapabilities()
1542 valstr = params.get(CameraParameters::KEY_ZOOM_SUPPORTED); in getParametersFromCapabilities()
1549 valstr = params.get(CameraParameters::KEY_SMOOTH_ZOOM_SUPPORTED); in getParametersFromCapabilities()
1556 valstr = params.get("mode-values"); in getParametersFromCapabilities()
1564 valstr = params.get(CameraParameters::KEY_VIDEO_SNAPSHOT_SUPPORTED); in getParametersFromCapabilities()
1571 if (params.get(KEY_SUPPORTED_MANUAL_CONVERGENCE_MIN) != NULL) { in getParametersFromCapabilities()
1572 manualConvMin = params.getInt(KEY_SUPPORTED_MANUAL_CONVERGENCE_MIN); in getParametersFromCapabilities()
1577 if (params.get(KEY_SUPPORTED_MANUAL_CONVERGENCE_MAX) != NULL) { in getParametersFromCapabilities()
1578 manualConvMax = params.getInt(KEY_SUPPORTED_MANUAL_CONVERGENCE_MAX); in getParametersFromCapabilities()
1583 if (params.get(KEY_SUPPORTED_MANUAL_CONVERGENCE_STEP) != NULL) { in getParametersFromCapabilities()
1584 manualConvStep = params.getInt(KEY_SUPPORTED_MANUAL_CONVERGENCE_STEP); in getParametersFromCapabilities()
1589 if (params.get(KEY_SUPPORTED_MANUAL_EXPOSURE_MIN) != NULL) { in getParametersFromCapabilities()
1590 manualExpMin = params.getInt(KEY_SUPPORTED_MANUAL_EXPOSURE_MIN); in getParametersFromCapabilities()
1595 if (params.get(KEY_SUPPORTED_MANUAL_EXPOSURE_MAX) != NULL) { in getParametersFromCapabilities()
1596 manualExpMax = params.getInt(KEY_SUPPORTED_MANUAL_EXPOSURE_MAX); in getParametersFromCapabilities()
1601 if (params.get(KEY_SUPPORTED_MANUAL_EXPOSURE_STEP) != NULL) { in getParametersFromCapabilities()
1602 manualExpStep = params.getInt(KEY_SUPPORTED_MANUAL_EXPOSURE_STEP); in getParametersFromCapabilities()
1607 if (params.get(KEY_SUPPORTED_MANUAL_GAIN_ISO_MIN) != NULL) { in getParametersFromCapabilities()
1608 manualGainMin = params.getInt(KEY_SUPPORTED_MANUAL_GAIN_ISO_MIN); in getParametersFromCapabilities()
1613 if (params.get(KEY_SUPPORTED_MANUAL_GAIN_ISO_MAX) != NULL) { in getParametersFromCapabilities()
1614 manualGainMax = params.getInt(KEY_SUPPORTED_MANUAL_GAIN_ISO_MAX); in getParametersFromCapabilities()
1619 if (params.get(KEY_SUPPORTED_MANUAL_GAIN_ISO_STEP) != NULL) { in getParametersFromCapabilities()
1620 manualGainStep = params.getInt(KEY_SUPPORTED_MANUAL_GAIN_ISO_STEP); in getParametersFromCapabilities()
1630 if (params.get(CameraParameters::KEY_SUPPORTED_PICTURE_SIZES) != NULL) { in getSizeParametersFromCapabilities()
1631 strcpy(captureSizeStr, params.get(CameraParameters::KEY_SUPPORTED_PICTURE_SIZES)); in getSizeParametersFromCapabilities()
1636 if (params.get(CameraParameters::KEY_SUPPORTED_PREVIEW_SIZES) != NULL) { in getSizeParametersFromCapabilities()
1637 strcpy(previewSizeStr, params.get(CameraParameters::KEY_SUPPORTED_PREVIEW_SIZES)); in getSizeParametersFromCapabilities()
1638 strcpy(VcaptureSizeStr, params.get(CameraParameters::KEY_SUPPORTED_PREVIEW_SIZES)); in getSizeParametersFromCapabilities()
1645 if (params.get(KEY_SUPPORTED_PREVIEW_TOPBOTTOM_SIZES) != NULL) { in getSizeParametersFromCapabilities()
1646 strcpy(previewSizeStr, params.get(KEY_SUPPORTED_PREVIEW_TOPBOTTOM_SIZES)); in getSizeParametersFromCapabilities()
1647 strcpy(VcaptureSizeStr, params.get(KEY_SUPPORTED_PREVIEW_TOPBOTTOM_SIZES)); in getSizeParametersFromCapabilities()
1654 if (params.get(KEY_SUPPORTED_PREVIEW_SIDEBYSIDE_SIZES) != NULL) { in getSizeParametersFromCapabilities()
1655 strcpy(previewSizeStr, params.get(KEY_SUPPORTED_PREVIEW_SIDEBYSIDE_SIZES)); in getSizeParametersFromCapabilities()
1656 strcpy(VcaptureSizeStr, params.get(KEY_SUPPORTED_PREVIEW_SIDEBYSIDE_SIZES)); in getSizeParametersFromCapabilities()
1663 if (params.get(CameraParameters::KEY_SUPPORTED_PREVIEW_SIZES) != NULL) { in getSizeParametersFromCapabilities()
1664 … strcpy(previewSizeStr, params.get(CameraParameters::KEY_SUPPORTED_PREVIEW_SIZES)); in getSizeParametersFromCapabilities()
1665 … strcpy(VcaptureSizeStr, params.get(CameraParameters::KEY_SUPPORTED_PREVIEW_SIZES)); in getSizeParametersFromCapabilities()
1672 if (params.get(KEY_SUPPORTED_PREVIEW_SUBSAMPLED_SIZES) != NULL) { in getSizeParametersFromCapabilities()
1673 strcpy(previewSizeStr, params.get(KEY_SUPPORTED_PREVIEW_SUBSAMPLED_SIZES)); in getSizeParametersFromCapabilities()
1674 strcpy(VcaptureSizeStr, params.get(KEY_SUPPORTED_PREVIEW_SUBSAMPLED_SIZES)); in getSizeParametersFromCapabilities()
1685 if (params.get(KEY_SUPPORTED_PICTURE_TOPBOTTOM_SIZES) != NULL) { in getSizeParametersFromCapabilities()
1686 strcpy(captureSizeStr, params.get(KEY_SUPPORTED_PICTURE_TOPBOTTOM_SIZES)); in getSizeParametersFromCapabilities()
1693 if (params.get(KEY_SUPPORTED_PICTURE_SIDEBYSIDE_SIZES) != NULL) { in getSizeParametersFromCapabilities()
1694 strcpy(captureSizeStr, params.get(KEY_SUPPORTED_PICTURE_SIDEBYSIDE_SIZES)); in getSizeParametersFromCapabilities()
2062 params.set(params.KEY_VIDEO_STABILIZATION, toggle ? params.TRUE : params.FALSE); in trySetVideoStabilization()
2070 params.set("vnf", toggle ? params.TRUE : params.FALSE); in trySetVideoNoiseFilter()
2078 params.set(KEY_AUTO_EXPOSURE_LOCK, toggle ? params.TRUE : params.FALSE); in trySetAutoExposureLock()
2086 params.set(KEY_AUTO_WHITEBALANCE_LOCK, toggle ? params.TRUE : params.FALSE); in trySetAutoWhiteBalanceLock()
2189 params.set(params.KEY_VIDEO_STABILIZATION, params.FALSE); in initDefaults()
2190 params.set("vnf", params.FALSE); in initDefaults()
2191params.setPreviewSize(preview_Array[previewSizeIDX]->width, preview_Array[previewSizeIDX]->height); in initDefaults()
2192params.setPictureSize(capture_Array[captureSizeIDX]->width, capture_Array[captureSizeIDX]->height); in initDefaults()
2193 params.set(CameraParameters::KEY_ROTATION, rotation); in initDefaults()
2194 params.set(KEY_SENSOR_ORIENTATION, previewRotation); in initDefaults()
2195 params.set(KEY_COMPENSATION, (int) (compensation * 10)); in initDefaults()
2196 params.set(params.KEY_WHITE_BALANCE, awb[awb_mode]); in initDefaults()
2197 params.set(KEY_MODE, (modevalues[capture_mode])); in initDefaults()
2198 params.set(params.KEY_SCENE_MODE, scene[scene_mode]); in initDefaults()
2199 params.set(KEY_CAF, caf_mode); in initDefaults()
2200 params.set(KEY_ISO, isoMode[iso_mode]); in initDefaults()
2201 params.set(KEY_GBCE, gbce[gbceIDX]); in initDefaults()
2202 params.set(KEY_GLBCE, gbce[glbceIDX]); in initDefaults()
2203 params.set(KEY_SHARPNESS, sharpness); in initDefaults()
2204 params.set(KEY_CONTRAST, contrast); in initDefaults()
2205 params.set(CameraParameters::KEY_ZOOM, zoom[zoomIDX].idx); in initDefaults()
2206 params.set(KEY_EXPOSURE, exposureMode[exposure_mode]); in initDefaults()
2207 params.set(KEY_BRIGHTNESS, brightness); in initDefaults()
2208 params.set(KEY_SATURATION, saturation); in initDefaults()
2209 params.set(params.KEY_EFFECT, effectss[effects_mode]); in initDefaults()
2210 params.set(CameraParameters::KEY_PREVIEW_FPS_RANGE, fps_const_str[frameRateIDX]); in initDefaults()
2211 params.set(params.KEY_ANTIBANDING, antiband[antibanding_mode]); in initDefaults()
2212 params.set(params.KEY_FOCUS_MODE, focus[focus_mode]); in initDefaults()
2213 params.set(KEY_IPP, ipp_mode[ippIDX]); in initDefaults()
2214 params.set(CameraParameters::KEY_JPEG_QUALITY, jpegQuality); in initDefaults()
2215 params.setPreviewFormat(previewFormatArray[previewFormat]); in initDefaults()
2216 params.setPictureFormat(pictureFormatArray[pictureFormat]); in initDefaults()
2217 params.set(KEY_BUFF_STARV, bufferStarvationTest); in initDefaults()
2218 params.set(KEY_METERING_MODE, metering[meter_mode]); in initDefaults()
2219 params.set(CameraParameters::KEY_JPEG_THUMBNAIL_WIDTH, thumbnail_Array[thumbSizeIDX]->width); in initDefaults()
2220 params.set(CameraParameters::KEY_JPEG_THUMBNAIL_HEIGHT, thumbnail_Array[thumbSizeIDX]->height); in initDefaults()
2221 params.set(KEY_MANUAL_CONVERGENCE, manualConv); in initDefaults()
2222 params.set(KEY_MANUAL_EXPOSURE, manualExp); in initDefaults()
2223 params.set(KEY_MANUAL_GAIN_ISO, manualGain); in initDefaults()
2224 params.set(KEY_MANUAL_EXPOSURE_RIGHT, manualExp); in initDefaults()
2225 params.set(KEY_MANUAL_GAIN_ISO_RIGHT, manualGain); in initDefaults()
2226 params.set(KEY_S3D2D_PREVIEW_MODE, "off"); in initDefaults()
2227 params.set(KEY_EXIF_MODEL, MODEL); in initDefaults()
2228 params.set(KEY_EXIF_MAKE, MAKE); in initDefaults()
2233 void setDefaultExpGainPreset(ShotParameters &params, int idx) { in setDefaultExpGainPreset() argument
2235 …setExpGainPreset(params, expBracketing[idx].value, false, expBracketing[idx].param_type, shotConfi… in setDefaultExpGainPreset()
2241 void setSingleExpGainPreset(ShotParameters &params, int idx, int exp, int gain) { in setSingleExpGainPreset() argument
2266 setExpGainPreset(params, val, false, expBracketing[idx].param_type, false); in setSingleExpGainPreset()
2269 void setExpGainPreset(ShotParameters &params, const char *input, bool force, param_ExpBracketParamT… in setExpGainPreset() argument
2288 params.set(ShotParameters::KEY_BURST, burst); in setExpGainPreset()
2289 params.set(ShotParameters::KEY_EXP_COMPENSATION, input); in setExpGainPreset()
2290 params.remove(ShotParameters::KEY_EXP_GAIN_PAIRS); in setExpGainPreset()
2291 params.set(ShotParameters::KEY_FLUSH_CONFIG, in setExpGainPreset()
2304 params.set(ShotParameters::KEY_BURST, burst); in setExpGainPreset()
2305 params.set(ShotParameters::KEY_EXP_GAIN_PAIRS, input); in setExpGainPreset()
2306 params.remove(ShotParameters::KEY_EXP_COMPENSATION); in setExpGainPreset()
2307 params.set(ShotParameters::KEY_FLUSH_CONFIG, in setExpGainPreset()
2311 params.remove(ShotParameters::KEY_EXP_GAIN_PAIRS); in setExpGainPreset()
2312 params.remove(ShotParameters::KEY_EXP_COMPENSATION); in setExpGainPreset()
2313 params.remove(ShotParameters::KEY_BURST); in setExpGainPreset()
2314 params.remove(ShotParameters::KEY_FLUSH_CONFIG); in setExpGainPreset()
2387 params.set(params.KEY_GPS_LATITUDE, coord_str); in menu_gps()
2390 camera->setParameters(params.flatten()); in menu_gps()
2402 params.set(params.KEY_GPS_LONGITUDE, coord_str); in menu_gps()
2405 camera->setParameters(params.flatten()); in menu_gps()
2417 params.set(params.KEY_GPS_ALTITUDE, coord_str); in menu_gps()
2420 camera->setParameters(params.flatten()); in menu_gps()
2463 params.set(KEY_ALGO_FIXED_GAMMA, (algoFixedGamma[algoFixedGammaIDX])); in menu_algo()
2466 camera->setParameters(params.flatten()); in menu_algo()
2474 params.set(KEY_ALGO_NSF1, (algoNSF1[algoNSF1IDX])); in menu_algo()
2477 camera->setParameters(params.flatten()); in menu_algo()
2485 params.set(KEY_ALGO_NSF2, (algoNSF2[algoNSF2IDX])); in menu_algo()
2488 camera->setParameters(params.flatten()); in menu_algo()
2496 params.set(KEY_ALGO_SHARPENING, (algoSharpening[algoSharpeningIDX])); in menu_algo()
2499 camera->setParameters(params.flatten()); in menu_algo()
2507 params.set(KEY_ALGO_THREELINCOLORMAP, (algoThreeLinColorMap[algoThreeLinColorMapIDX])); in menu_algo()
2510 camera->setParameters(params.flatten()); in menu_algo()
2518 params.set(KEY_ALGO_GIC, (algoGIC[algoGICIDX])); in menu_algo()
2521 camera->setParameters(params.flatten()); in menu_algo()
2583 …snprintf(area1[j++], MAX_SYMBOLS, "{. 2D Preview in 3D Stereo Mode: %s", params.get(KEY_S3D2D_PREV… in functional_menu()
2670 params.set(KEY_AUTOCONVERGENCE, autoconvergencemode[AutoConvergenceModeIDX]); in functional_menu()
2672 params.set(KEY_MANUAL_CONVERGENCE, manualConv); in functional_menu()
2675 params.set(CameraParameters::KEY_METERING_AREAS, MeteringAreas); in functional_menu()
2678 params.set(KEY_MANUAL_CONVERGENCE, manualConv); in functional_menu()
2680 camera->setParameters(params.flatten()); in functional_menu()
2689 params.set(KEY_MANUAL_CONVERGENCE, manualConv); in functional_menu()
2690 camera->setParameters(params.flatten()); in functional_menu()
2705 camera->setParameters(params.flatten()); in functional_menu()
2741 camera->setParameters(params.flatten()); in functional_menu()
2752 params.set(CameraParameters::KEY_ROTATION, rotation); in functional_menu()
2754 camera->setParameters(params.flatten()); in functional_menu()
2761 params.set(KEY_SENSOR_ORIENTATION, previewRotation); in functional_menu()
2764 camera->setParameters(params.flatten()); in functional_menu()
2771params.setPreviewSize(preview_Array[previewSizeIDX]->width, preview_Array[previewSizeIDX]->height); in functional_menu()
2777 camera->setParameters(params.flatten()); in functional_menu()
2780 camera->setParameters(params.flatten()); in functional_menu()
2789params.setPictureSize(capture_Array[captureSizeIDX]->width, capture_Array[captureSizeIDX]->height); in functional_menu()
2792 camera->setParameters(params.flatten()); in functional_menu()
2810 params.set(KEY_S3D_PRV_FRAME_LAYOUT, stereoLayout[stereoLayoutIDX]); in functional_menu()
2817 camera->setParameters(params.flatten()); in functional_menu()
2820 camera->setParameters(params.flatten()); in functional_menu()
2831 params.set(KEY_S3D_CAP_FRAME_LAYOUT, stereoCapLayout[stereoCapLayoutIDX]); in functional_menu()
2838 camera->setParameters(params.flatten()); in functional_menu()
2841 camera->setParameters(params.flatten()); in functional_menu()
2893 params.set(KEY_COMPENSATION, (int) (compensation * 10)); in functional_menu()
2896 camera->setParameters(params.flatten()); in functional_menu()
2903 params.set(params.KEY_WHITE_BALANCE, awb[awb_mode]); in functional_menu()
2906 camera->setParameters(params.flatten()); in functional_menu()
2917 params.setPreviewFormat(previewFormatArray[previewFormat]); in functional_menu()
2920 camera->setParameters(params.flatten()); in functional_menu()
2928 params.setPictureFormat(pictureFormatArray[pictureFormat]); in functional_menu()
2937 camera->setParameters(params.flatten()); in functional_menu()
2946params.set(CameraParameters::KEY_JPEG_THUMBNAIL_WIDTH, thumbnail_Array[thumbSizeIDX]->width); in functional_menu()
2947params.set(CameraParameters::KEY_JPEG_THUMBNAIL_HEIGHT,thumbnail_Array[thumbSizeIDX]->height); in functional_menu()
2950 camera->setParameters(params.flatten()); in functional_menu()
2961 params.set(CameraParameters::KEY_JPEG_THUMBNAIL_QUALITY, thumbQuality); in functional_menu()
2963 camera->setParameters(params.flatten()); in functional_menu()
2982 camera->setParameters(params.flatten()); in functional_menu()
3002 camera->setParameters(params.flatten()); in functional_menu()
3008 params.unflatten(camera->getParameters()); in functional_menu()
3024 params.set(CameraParameters::KEY_JPEG_QUALITY, jpegQuality); in functional_menu()
3026 camera->setParameters(params.flatten()); in functional_menu()
3031 params.set(KEY_MEASUREMENT, measurement[measurementIdx]); in functional_menu()
3033 camera->setParameters(params.flatten()); in functional_menu()
3038 params.set(KEY_METERING_MODE, metering[meter_mode]); in functional_menu()
3040 camera->setParameters(params.flatten()); in functional_menu()
3048 params.set(KEY_IPP, ipp_mode[ippIDX]); in functional_menu()
3051 camera->setParameters(params.flatten()); in functional_menu()
3060 params.set(KEY_GBCE, gbce[gbceIDX]); in functional_menu()
3063 camera->setParameters(params.flatten()); in functional_menu()
3069 params.set(KEY_GLBCE, gbce[glbceIDX]); in functional_menu()
3072 camera->setParameters(params.flatten()); in functional_menu()
3088 params.set(KEY_AF_TIMEOUT, afTimeout[afTimeoutIdx]); in functional_menu()
3090 camera->setParameters(params.flatten()); in functional_menu()
3118 params.set(KEY_TI_BURST, burst); in functional_menu()
3121 camera->setParameters(params.flatten()); in functional_menu()
3128 params.set(CameraParameters::KEY_FLASH_MODE, (flash[flashIdx])); in functional_menu()
3131 camera->setParameters(params.flatten()); in functional_menu()
3144 params.set(KEY_IPP, ipp_mode[ippIDX]); in functional_menu()
3145 params.set(CameraParameters::KEY_RECORDING_HINT, CameraParameters::FALSE); in functional_menu()
3147 params.set(KEY_SENSOR_ORIENTATION, previewRotation); in functional_menu()
3149 params.set(CameraParameters::KEY_RECORDING_HINT, CameraParameters::TRUE); in functional_menu()
3153 params.set(KEY_SENSOR_ORIENTATION, previewRotation); in functional_menu()
3157 params.set(CameraParameters::KEY_RECORDING_HINT, CameraParameters::FALSE); in functional_menu()
3159 params.set(KEY_SENSOR_ORIENTATION, previewRotation); in functional_menu()
3162 params.set(KEY_MODE, (modevalues[capture_mode])); in functional_menu()
3168 camera->setParameters(params.flatten()); in functional_menu()
3170 params = camera->getParameters(); in functional_menu()
3177 params.set(CameraParameters::KEY_PREVIEW_FPS_RANGE, fps_const_str[frameRateIDX]); in functional_menu()
3178params.setPictureSize(capture_Array[captureSizeIDX]->width, capture_Array[captureSizeIDX]->height); in functional_menu()
3179 camera->setParameters(params.flatten()); in functional_menu()
3189 params.set(KEY_TEMP_BRACKETING, tempBracketing[tempBracketIdx]); in functional_menu()
3192 camera->setParameters(params.flatten()); in functional_menu()
3228 params.set(KEY_TEMP_BRACKETING_NEG, tempBracketRange); in functional_menu()
3229 params.set(KEY_TEMP_BRACKETING_POS, tempBracketRange); in functional_menu()
3232 camera->setParameters(params.flatten()); in functional_menu()
3239 params.set(params.KEY_SCENE_MODE, scene[scene_mode]); in functional_menu()
3242 camera->setParameters(params.flatten()); in functional_menu()
3249 params.set(KEY_ISO, isoMode[iso_mode]); in functional_menu()
3251 camera->setParameters(params.flatten()); in functional_menu()
3266 params.set(KEY_SHARPNESS, sharpness); in functional_menu()
3268 camera->setParameters(params.flatten()); in functional_menu()
3289 params.set(CameraParameters::KEY_ZOOM, zoom[zoomIDX].idx); in functional_menu()
3292 camera->setParameters(params.flatten()); in functional_menu()
3309 params.set(KEY_EXPOSURE, exposureMode[exposure_mode]); in functional_menu()
3311 params.set(KEY_MANUAL_EXPOSURE, manualExp); in functional_menu()
3312 params.set(KEY_MANUAL_GAIN_ISO, manualGain); in functional_menu()
3313 params.set(KEY_MANUAL_EXPOSURE_RIGHT, manualExp); in functional_menu()
3314 params.set(KEY_MANUAL_GAIN_ISO_RIGHT, manualGain); in functional_menu()
3319 params.set(KEY_MANUAL_EXPOSURE, manualExp); in functional_menu()
3320 params.set(KEY_MANUAL_EXPOSURE_RIGHT, manualExp); in functional_menu()
3322 params.set(KEY_MANUAL_GAIN_ISO, manualGain); in functional_menu()
3323 params.set(KEY_MANUAL_GAIN_ISO_RIGHT, manualGain); in functional_menu()
3327 camera->setParameters(params.flatten()); in functional_menu()
3338 params.set(KEY_MANUAL_EXPOSURE, manualExp); in functional_menu()
3339 params.set(KEY_MANUAL_EXPOSURE_RIGHT, manualExp); in functional_menu()
3340 camera->setParameters(params.flatten()); in functional_menu()
3350 params.set(KEY_MANUAL_GAIN_ISO, manualGain); in functional_menu()
3351 params.set(KEY_MANUAL_GAIN_ISO_RIGHT, manualGain); in functional_menu()
3352 camera->setParameters(params.flatten()); in functional_menu()
3362 params.set(KEY_CONTRAST, contrast); in functional_menu()
3364 camera->setParameters(params.flatten()); in functional_menu()
3379 params.set(KEY_BRIGHTNESS, brightness); in functional_menu()
3382 camera->setParameters(params.flatten()); in functional_menu()
3394 params.set(KEY_SATURATION, saturation); in functional_menu()
3397 camera->setParameters(params.flatten()); in functional_menu()
3405 params.set(params.KEY_EFFECT, effectss[effects_mode]); in functional_menu()
3409 camera->setParameters(params.flatten()); in functional_menu()
3416 params.set(CameraParameters::KEY_PREVIEW_FPS_RANGE, fps_const_str[frameRateIDX]); in functional_menu()
3420 camera->setParameters(params.flatten()); in functional_menu()
3428 params.set(CameraParameters::KEY_PREVIEW_FPS_RANGE, fps_range_str[fpsRangeIdx]); in functional_menu()
3432 camera->setParameters(params.flatten()); in functional_menu()
3441 params.set(params.KEY_ANTIBANDING, antiband[antibanding_mode]); in functional_menu()
3444 camera->setParameters(params.flatten()); in functional_menu()
3451 params.set(params.KEY_FOCUS_MODE, focus[focus_mode]); in functional_menu()
3454 camera->setParameters(params.flatten()); in functional_menu()
3459 params.set(CameraParameters::KEY_FOCUS_AREAS, TEST_FOCUS_AREA); in functional_menu()
3462 camera->setParameters(params.flatten()); in functional_menu()
3467 params.set(CameraParameters::KEY_METERING_AREAS, TEST_METERING_AREA); in functional_menu()
3470 camera->setParameters(params.flatten()); in functional_menu()
3477 params.set(CameraParameters::KEY_METERING_AREAS, TEST_METERING_AREA_CENTER); in functional_menu()
3480 camera->setParameters(params.flatten()); in functional_menu()
3487 params.set(CameraParameters::KEY_METERING_AREAS, TEST_METERING_AREA_AVERAGE); in functional_menu()
3490 camera->setParameters(params.flatten()); in functional_menu()
3526 camera->setParameters(params.flatten()); in functional_menu()
3561 if (hardwareActive) camera->setParameters(params.flatten()); in functional_menu()
3580 valstr = params.get(KEY_S3D2D_PREVIEW_MODE); in functional_menu()
3583 params.set(KEY_S3D2D_PREVIEW_MODE, "off"); in functional_menu()
3587 params.set(KEY_S3D2D_PREVIEW_MODE, "on"); in functional_menu()
3590 camera->setParameters(params.flatten()); in functional_menu()
3636 camera->setParameters(params.flatten()); in functional_menu()
3653 camera->setParameters(params.flatten()); in functional_menu()
3661params.set(KEY_MECHANICAL_MISALIGNMENT_CORRECTION, misalignmentCorrection[enableMisalignmentCorrec… in functional_menu()
3663 camera->setParameters(params.flatten()); in functional_menu()
3735 params.set(KEY_BUFF_STARV, bufferStarvationTest); //enable buffer starvation in error_scenario()
3833 params.setPictureFormat("invalid-format"); in error_scenario()
3834 params.setPreviewFormat("invalid-format"); in error_scenario()
3836 stat = camera->setParameters(params.flatten()); in error_scenario()
3854 params.setPictureSize(-1, -1); in error_scenario()
3855 params.setPreviewSize(-1, -1); in error_scenario()
3857 stat = camera->setParameters(params.flatten()); in error_scenario()
3875 params.setPreviewFrameRate(-1); in error_scenario()
3877 stat = camera->setParameters(params.flatten()); in error_scenario()