Lines Matching refs:params

29 extern CameraParameters params;
161 camera->setParameters(params.flatten()); in execute_functional_script()
255 camera->setParameters(params.flatten()); in execute_functional_script()
264 params.set(CameraParameters::KEY_ROTATION, rotation); in execute_functional_script()
267 camera->setParameters(params.flatten()); in execute_functional_script()
295 if ( NULL != params.get(KEY_STEREO_CAMERA) ) { in execute_functional_script()
296 if ( strcmp(params.get(KEY_STEREO_CAMERA), "true") == 0 ) { in execute_functional_script()
302 params.setPreviewSize(width, height); in execute_functional_script()
307 camera->setParameters(params.flatten()); in execute_functional_script()
310 camera->setParameters(params.flatten()); in execute_functional_script()
323 params.setPictureSize(captureSize[i].width, captureSize[i].height); in execute_functional_script()
328 camera->setParameters(params.flatten()); in execute_functional_script()
368 params.set(KEY_COMPENSATION, (int) (compensation * 10)); in execute_functional_script()
371 camera->setParameters(params.flatten()); in execute_functional_script()
376 params.set(params.KEY_WHITE_BALANCE, (cmd + 1)); in execute_functional_script()
379 camera->setParameters(params.flatten()); in execute_functional_script()
411 params.setPreviewFormat(cmd + 1); in execute_functional_script()
413 camera->setParameters(params.flatten()); in execute_functional_script()
418 params.setPictureFormat(cmd + 1); in execute_functional_script()
420 camera->setParameters(params.flatten()); in execute_functional_script()
440 params.set(KEY_STEREO_CAMERA, "true"); in execute_functional_script()
442 params.set(KEY_STEREO_CAMERA, "false"); in execute_functional_script()
455 if (camera_index == 0) params.setPreviewFrameRate(30); in execute_functional_script()
456 else params.setPreviewFrameRate(27); in execute_functional_script()
466 params.set(params.KEY_GPS_LATITUDE, temp_str); in execute_functional_script()
469 params.set(params.KEY_GPS_LONGITUDE, temp_str); in execute_functional_script()
472 params.set(params.KEY_GPS_ALTITUDE, temp_str); in execute_functional_script()
475 camera->setParameters(params.flatten()); in execute_functional_script()
523 params.set(CameraParameters::KEY_JPEG_THUMBNAIL_WIDTH, width); in execute_functional_script()
524 params.set(CameraParameters::KEY_JPEG_THUMBNAIL_HEIGHT, height); in execute_functional_script()
527 camera->setParameters(params.flatten()); in execute_functional_script()
534 params.set(CameraParameters::KEY_JPEG_THUMBNAIL_QUALITY, thumbQuality); in execute_functional_script()
536 camera->setParameters(params.flatten()); in execute_functional_script()
545 params.setPreviewFormat((cmd + 1)); in execute_functional_script()
547 camera->setParameters(params.flatten()); in execute_functional_script()
552 params.set(CameraParameters::KEY_JPEG_QUALITY, jpegQuality); in execute_functional_script()
555 camera->setParameters(params.flatten()); in execute_functional_script()
569 params.set(KEY_IPP, atoi(cmd + 1)); in execute_functional_script()
571 camera->setParameters(params.flatten()); in execute_functional_script()
576 params.set(KEY_GBCE, (cmd+1)); in execute_functional_script()
578 camera->setParameters(params.flatten()); in execute_functional_script()
594 params.set(KEY_GLBCE, (cmd+1)); in execute_functional_script()
596 camera->setParameters(params.flatten()); in execute_functional_script()
606 params.set(KEY_IPP, ipp_mode[ippIDX]); in execute_functional_script()
611 params.set(KEY_MODE, (cmd + 1)); in execute_functional_script()
613 camera->setParameters(params.flatten()); in execute_functional_script()
619 params.set(KEY_TEMP_BRACKETING, (cmd + 1)); in execute_functional_script()
622 camera->setParameters(params.flatten()); in execute_functional_script()
634 params.set(KEY_TEMP_BRACKETING_NEG, tempBracketRange); in execute_functional_script()
635 params.set(KEY_TEMP_BRACKETING_POS, tempBracketRange); in execute_functional_script()
638 camera->setParameters(params.flatten()); in execute_functional_script()
644 params.set(KEY_BURST, atoi(cmd + 1)); in execute_functional_script()
647 camera->setParameters(params.flatten()); in execute_functional_script()
652 params.set(CameraParameters::KEY_FLASH_MODE, (cmd+1)); in execute_functional_script()
655 camera->setParameters(params.flatten()); in execute_functional_script()
660 params.set(params.KEY_SCENE_MODE, (cmd + 1)); in execute_functional_script()
663 camera->setParameters(params.flatten()); in execute_functional_script()
668 params.set(KEY_VNF, (cmd + 1)); in execute_functional_script()
671 camera->setParameters(params.flatten()); in execute_functional_script()
675 params.set(KEY_VSTAB, (cmd + 1)); in execute_functional_script()
678 camera->setParameters(params.flatten()); in execute_functional_script()
688 params.unflatten(camera->getParameters()); in execute_functional_script()
694 params.set(KEY_ISO, iso_mode); in execute_functional_script()
697 camera->setParameters(params.flatten()); in execute_functional_script()
703 params.set(KEY_SHARPNESS, sharpness); in execute_functional_script()
706 camera->setParameters(params.flatten()); in execute_functional_script()
724 params.set(KEY_CONTRAST, contrast); in execute_functional_script()
727 camera->setParameters(params.flatten()); in execute_functional_script()
736 params.set(CameraParameters::KEY_ZOOM, atoi(cmd + 1)); in execute_functional_script()
748 params.set(CameraParameters::KEY_ZOOM, zoom[zoomIDX].idx); in execute_functional_script()
752 camera->setParameters(params.flatten()); in execute_functional_script()
757 params.set(KEY_EXPOSURE, (cmd + 1)); in execute_functional_script()
760 camera->setParameters(params.flatten()); in execute_functional_script()
766 params.set(KEY_BRIGHTNESS, brightness); in execute_functional_script()
769 camera->setParameters(params.flatten()); in execute_functional_script()
775 params.set(KEY_SATURATION, saturation); in execute_functional_script()
778 camera->setParameters(params.flatten()); in execute_functional_script()
783 params.set(params.KEY_EFFECT, (cmd + 1)); in execute_functional_script()
786 camera->setParameters(params.flatten()); in execute_functional_script()
810params.set(CameraParameters::KEY_PREVIEW_FPS_RANGE, fpsConstRanges[frameRateIndex].range); in execute_functional_script()
812params.set(CameraParameters::KEY_PREVIEW_FPS_RANGE, fpsConstRangesSec[frameRateIndex].range); in execute_functional_script()
817 camera->setParameters(params.flatten()); in execute_functional_script()
820 camera->setParameters(params.flatten()); in execute_functional_script()
833 params.set(CameraParameters::KEY_PREVIEW_FPS_RANGE, fpsRanges[i].range); in execute_functional_script()
834 params.remove(CameraParameters::KEY_PREVIEW_FRAME_RATE); in execute_functional_script()
835 camera->setParameters(params.flatten()); in execute_functional_script()
843 params.set(params.KEY_ANTIBANDING, (cmd + 1)); in execute_functional_script()
846 camera->setParameters(params.flatten()); in execute_functional_script()
851 params.set(params.KEY_FOCUS_MODE, (cmd + 1)); in execute_functional_script()
854 camera->setParameters(params.flatten()); in execute_functional_script()
860 params.set(CameraParameters::KEY_FOCUS_AREAS, (cmd + 1)); in execute_functional_script()
863 camera->setParameters(params.flatten()); in execute_functional_script()
865 params.remove(CameraParameters::KEY_FOCUS_AREAS); in execute_functional_script()
909 params.set(KEY_S3D2D_PREVIEW_MODE, "on"); in execute_functional_script()
911 params.set(KEY_S3D2D_PREVIEW_MODE, "off"); in execute_functional_script()
913 camera->setParameters(params.flatten()); in execute_functional_script()
917 params.set(KEY_MEASUREMENT, (cmd + 1)); in execute_functional_script()
919 camera->setParameters(params.flatten()); in execute_functional_script()
923 params.set(KEY_METERING_MODE, (cmd + 1)); in execute_functional_script()
926 camera->setParameters(params.flatten()); in execute_functional_script()
939 params.set(params.KEY_GPS_LATITUDE, coord_str); in execute_functional_script()
942 camera->setParameters(params.flatten()); in execute_functional_script()
956 params.set(params.KEY_GPS_LONGITUDE, coord_str); in execute_functional_script()
959 camera->setParameters(params.flatten()); in execute_functional_script()
973 params.set(params.KEY_GPS_ALTITUDE, coord_str); in execute_functional_script()
976 camera->setParameters(params.flatten()); in execute_functional_script()
997 params.set(KEY_AUTOCONVERGENCE, autoconvergencemode[AutoConvergenceModeIDX]); in execute_functional_script()
999params.set(KEY_MANUALCONVERGENCE_VALUES, manualconvergencevalues[ManualConvergenceDefaultValueIDX]… in execute_functional_script()
1001 camera->setParameters(params.flatten()); in execute_functional_script()
1010 params.set(KEY_MANUALCONVERGENCE_VALUES, strtmpval); in execute_functional_script()
1012 camera->setParameters(params.flatten()); in execute_functional_script()
1215 params.set(KEY_BUFF_STARV, bufferStarvationTest); //enable buffer starvation in execute_error_script()
1312 params.setPictureFormat("invalid-format"); in execute_error_script()
1313 params.setPreviewFormat("invalid-format"); in execute_error_script()
1315 stat = camera->setParameters(params.flatten()); in execute_error_script()
1333 params.setPictureSize(-1, -1); in execute_error_script()
1334 params.setPreviewSize(-1, -1); in execute_error_script()
1336 stat = camera->setParameters(params.flatten()); in execute_error_script()
1354 params.setPreviewFrameRate(-1); in execute_error_script()
1356 stat = camera->setParameters(params.flatten()); in execute_error_script()