Lines Matching refs:params

36 extern CameraParameters params;
269 camera->setParameters(params.flatten()); in execute_functional_script()
355 camera->setParameters(params.flatten()); in execute_functional_script()
365 params.set(CameraParameters::KEY_ROTATION, rotation); in execute_functional_script()
368 camera->setParameters(params.flatten()); in execute_functional_script()
374 params.set(KEY_SENSOR_ORIENTATION, previewRotation); in execute_functional_script()
377 camera->setParameters(params.flatten()); in execute_functional_script()
386params.setPreviewSize(preview_Array[resol_index]->width, preview_Array[resol_index]->height); in execute_functional_script()
393 camera->setParameters(params.flatten()); in execute_functional_script()
396 camera->setParameters(params.flatten()); in execute_functional_script()
409params.setPictureSize(capture_Array[resol_index]->width, capture_Array[resol_index]->height); in execute_functional_script()
419params.setPictureSize(capture_Array[resol_index]->width, capture_Array[resol_index]->height); in execute_functional_script()
431 params.setPictureSize(widthC,heightC); in execute_functional_script()
438 camera->setParameters(params.flatten()); in execute_functional_script()
482 params.set(KEY_COMPENSATION, (int) (compensation * 10)); in execute_functional_script()
485 camera->setParameters(params.flatten()); in execute_functional_script()
493 params.set(params.KEY_WHITE_BALANCE, (cmd + 1)); in execute_functional_script()
499 camera->setParameters(params.flatten()); in execute_functional_script()
534 params.setPreviewFormat(cmd + 1); in execute_functional_script()
540 camera->setParameters(params.flatten()); in execute_functional_script()
548 params.setPictureFormat(cmd + 1); in execute_functional_script()
560 camera->setParameters(params.flatten()); in execute_functional_script()
598 params.set(params.KEY_GPS_LATITUDE, temp_str); in execute_functional_script()
601 params.set(params.KEY_GPS_LONGITUDE, temp_str); in execute_functional_script()
604 params.set(params.KEY_GPS_ALTITUDE, temp_str); in execute_functional_script()
607 camera->setParameters(params.flatten()); in execute_functional_script()
624 params.set(KEY_S3D_PRV_FRAME_LAYOUT, cmd + 1); in execute_functional_script()
633 camera->setParameters(params.flatten()); in execute_functional_script()
636 camera->setParameters(params.flatten()); in execute_functional_script()
647 params.set(KEY_S3D_CAP_FRAME_LAYOUT_VALUES, cmd + 1); in execute_functional_script()
656 camera->setParameters(params.flatten()); in execute_functional_script()
659 camera->setParameters(params.flatten()); in execute_functional_script()
679params.set(CameraParameters::KEY_JPEG_THUMBNAIL_WIDTH, thumbnail_Array[resol_index]->width); in execute_functional_script()
680params.set(CameraParameters::KEY_JPEG_THUMBNAIL_HEIGHT,thumbnail_Array[resol_index]->height); in execute_functional_script()
687 camera->setParameters(params.flatten()); in execute_functional_script()
696 params.set(CameraParameters::KEY_JPEG_THUMBNAIL_QUALITY, thumbQuality); in execute_functional_script()
698 camera->setParameters(params.flatten()); in execute_functional_script()
707 params.setPreviewFormat((cmd + 1)); in execute_functional_script()
709 camera->setParameters(params.flatten()); in execute_functional_script()
714 params.set(CameraParameters::KEY_JPEG_QUALITY, jpegQuality); in execute_functional_script()
717 camera->setParameters(params.flatten()); in execute_functional_script()
731 params.set(KEY_IPP, atoi(cmd + 1)); in execute_functional_script()
733 camera->setParameters(params.flatten()); in execute_functional_script()
740 params.set(KEY_GBCE, (cmd+1)); in execute_functional_script()
742 camera->setParameters(params.flatten()); in execute_functional_script()
755 params.set(KEY_AF_TIMEOUT, (cmd + 1)); in execute_functional_script()
758 camera->setParameters(params.flatten()); in execute_functional_script()
772 params.set(KEY_GLBCE, (cmd+1)); in execute_functional_script()
774 camera->setParameters(params.flatten()); in execute_functional_script()
784 params.set(KEY_IPP, ipp_mode[ippIDX]); in execute_functional_script()
785 params.set(CameraParameters::KEY_RECORDING_HINT, CameraParameters::FALSE); in execute_functional_script()
787 params.set(KEY_SENSOR_ORIENTATION, previewRotation); in execute_functional_script()
789 params.set(CameraParameters::KEY_RECORDING_HINT, CameraParameters::TRUE); in execute_functional_script()
793 params.set(KEY_SENSOR_ORIENTATION, previewRotation); in execute_functional_script()
798 params.set(CameraParameters::KEY_RECORDING_HINT, CameraParameters::FALSE); in execute_functional_script()
800 params.set(KEY_SENSOR_ORIENTATION, previewRotation); in execute_functional_script()
804 params.set(KEY_MODE, (cmd + 1)); in execute_functional_script()
813 camera->setParameters(params.flatten()); in execute_functional_script()
815 params = camera->getParameters(); in execute_functional_script()
822params.set(CameraParameters::KEY_PREVIEW_FPS_RANGE, fps_const_str[frameRateIDX]); in execute_functional_script()
823params.setPictureSize(capture_Array[captureSizeIDX]->width, capture_Array[captureSizeIDX]->height); in execute_functional_script()
824 camera->setParameters(params.flatten()); in execute_functional_script()
833 params.set(KEY_TEMP_BRACKETING, (cmd + 1)); in execute_functional_script()
836 camera->setParameters(params.flatten()); in execute_functional_script()
878 params.set(KEY_TEMP_BRACKETING_NEG, tempBracketRange); in execute_functional_script()
879 params.set(KEY_TEMP_BRACKETING_POS, tempBracketRange); in execute_functional_script()
882 camera->setParameters(params.flatten()); in execute_functional_script()
888 params.set(KEY_TI_BURST, atoi(cmd + 1)); in execute_functional_script()
892 camera->setParameters(params.flatten()); in execute_functional_script()
900 params.set(CameraParameters::KEY_FLASH_MODE, (cmd + 1)); in execute_functional_script()
906 camera->setParameters(params.flatten()); in execute_functional_script()
914 params.set(params.KEY_SCENE_MODE, (cmd + 1)); in execute_functional_script()
919 camera->setParameters(params.flatten()); in execute_functional_script()
937 camera->setParameters(params.flatten()); in execute_functional_script()
957 camera->setParameters(params.flatten()); in execute_functional_script()
968 params.unflatten(camera->getParameters()); in execute_functional_script()
975 params.set(KEY_ISO, isoMode[iso_mode]); in execute_functional_script()
981 camera->setParameters(params.flatten()); in execute_functional_script()
987 params.set(KEY_SHARPNESS, sharpness); in execute_functional_script()
990 camera->setParameters(params.flatten()); in execute_functional_script()
1008 params.set(KEY_CONTRAST, contrast); in execute_functional_script()
1011 camera->setParameters(params.flatten()); in execute_functional_script()
1033 params.set(CameraParameters::KEY_ZOOM, zoom[zoomIDX].idx); in execute_functional_script()
1036 camera->setParameters(params.flatten()); in execute_functional_script()
1066 params.set(KEY_EXPOSURE, (cmd + 1)); in execute_functional_script()
1072 camera->setParameters(params.flatten()); in execute_functional_script()
1078 params.set(KEY_BRIGHTNESS, brightness); in execute_functional_script()
1081 camera->setParameters(params.flatten()); in execute_functional_script()
1087 params.set(KEY_SATURATION, saturation); in execute_functional_script()
1090 camera->setParameters(params.flatten()); in execute_functional_script()
1097 params.set(params.KEY_EFFECT, (cmd + 1)); in execute_functional_script()
1103 camera->setParameters(params.flatten()); in execute_functional_script()
1116params.set(CameraParameters::KEY_PREVIEW_FPS_RANGE, fps_const_str[frameRConst]); in execute_functional_script()
1125params.set(CameraParameters::KEY_PREVIEW_FPS_RANGE, fps_const_str[frameRConst]); in execute_functional_script()
1133 camera->setParameters(params.flatten()); in execute_functional_script()
1136 camera->setParameters(params.flatten()); in execute_functional_script()
1143 params.set(CameraParameters::KEY_PREVIEW_FPS_RANGE, fps_range_str[frameRRange]); in execute_functional_script()
1153 params.set(params.KEY_ANTIBANDING, (cmd + 1)); in execute_functional_script()
1159 camera->setParameters(params.flatten()); in execute_functional_script()
1165 params.set(params.KEY_FOCUS_MODE, (cmd + 1)); in execute_functional_script()
1171 camera->setParameters(params.flatten()); in execute_functional_script()
1176 params.set(CameraParameters::KEY_FOCUS_AREAS, (cmd + 1)); in execute_functional_script()
1179 camera->setParameters(params.flatten()); in execute_functional_script()
1185 params.set(CameraParameters::KEY_METERING_AREAS, (cmd + 1)); in execute_functional_script()
1188 camera->setParameters(params.flatten()); in execute_functional_script()
1204 const char *format = params.getPictureFormat(); in execute_functional_script()
1233 ret = camera->setParameters(params.flatten()); in execute_functional_script()
1280 if (hardwareActive) camera->setParameters(params.flatten()); in execute_functional_script()
1284 bufferSourceInput->setInput(info, params.getPictureFormat(), reprocParams); in execute_functional_script()
1315 params.set(KEY_S3D2D_PREVIEW_MODE, "on"); in execute_functional_script()
1317 params.set(KEY_S3D2D_PREVIEW_MODE, "off"); in execute_functional_script()
1319 camera->setParameters(params.flatten()); in execute_functional_script()
1323 params.set(KEY_MEASUREMENT, (cmd + 1)); in execute_functional_script()
1325 camera->setParameters(params.flatten()); in execute_functional_script()
1329 params.set(KEY_METERING_MODE, (cmd + 1)); in execute_functional_script()
1332 camera->setParameters(params.flatten()); in execute_functional_script()
1345 params.set(params.KEY_GPS_LATITUDE, coord_str); in execute_functional_script()
1348 camera->setParameters(params.flatten()); in execute_functional_script()
1362 params.set(params.KEY_GPS_LONGITUDE, coord_str); in execute_functional_script()
1365 camera->setParameters(params.flatten()); in execute_functional_script()
1379 params.set(params.KEY_GPS_ALTITUDE, coord_str); in execute_functional_script()
1382 camera->setParameters(params.flatten()); in execute_functional_script()
1405 params.set(KEY_AUTOCONVERGENCE, autoconvergencemode[AutoConvergenceModeIDX]); in execute_functional_script()
1407 params.set(KEY_MANUAL_CONVERGENCE, manualConv); in execute_functional_script()
1410 camera->setParameters(params.flatten()); in execute_functional_script()
1420 params.set(KEY_MANUAL_CONVERGENCE, manC); in execute_functional_script()
1425 params.set(KEY_MANUAL_CONVERGENCE, manualConvMin); in execute_functional_script()
1430 params.set(KEY_MANUAL_CONVERGENCE, manualConvMax); in execute_functional_script()
1433 camera->setParameters(params.flatten()); in execute_functional_script()
1443 params.set(KEY_MANUAL_EXPOSURE, manE); in execute_functional_script()
1444 params.set(KEY_MANUAL_EXPOSURE_RIGHT, manE); in execute_functional_script()
1449 params.set(KEY_MANUAL_EXPOSURE, manualExpMin); in execute_functional_script()
1450 params.set(KEY_MANUAL_EXPOSURE_RIGHT, manualExpMin); in execute_functional_script()
1455 params.set(KEY_MANUAL_EXPOSURE, manualExpMax); in execute_functional_script()
1456 params.set(KEY_MANUAL_EXPOSURE_RIGHT, manualExpMax); in execute_functional_script()
1460 camera->setParameters(params.flatten()); in execute_functional_script()
1469 params.set(KEY_MANUAL_GAIN_ISO, manG); in execute_functional_script()
1470 params.set(KEY_MANUAL_GAIN_ISO_RIGHT, manG); in execute_functional_script()
1475 params.set(KEY_MANUAL_GAIN_ISO, manualGainMin); in execute_functional_script()
1476 params.set(KEY_MANUAL_GAIN_ISO_RIGHT, manualGainMin); in execute_functional_script()
1481 params.set(KEY_MANUAL_GAIN_ISO, manualGainMax); in execute_functional_script()
1482 params.set(KEY_MANUAL_GAIN_ISO_RIGHT, manualGainMax); in execute_functional_script()
1486 camera->setParameters(params.flatten()); in execute_functional_script()
1723 params.set(KEY_BUFF_STARV, bufferStarvationTest); //enable buffer starvation in execute_error_script()
1820 params.setPictureFormat("invalid-format"); in execute_error_script()
1821 params.setPreviewFormat("invalid-format"); in execute_error_script()
1823 stat = camera->setParameters(params.flatten()); in execute_error_script()
1841 params.setPictureSize(-1, -1); in execute_error_script()
1842 params.setPreviewSize(-1, -1); in execute_error_script()
1844 stat = camera->setParameters(params.flatten()); in execute_error_script()
1862 params.setPreviewFrameRate(-1); in execute_error_script()
1864 stat = camera->setParameters(params.flatten()); in execute_error_script()