Home | History | Annotate | Download | only in CameraHal

Lines Matching refs:params

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