Home | History | Annotate | Download | only in camera

Lines Matching refs:params

1365 status_t QCameraHardwareInterface::setParameters(const QCameraParameters& params)
1373 if ((rc = setPowerMode(params))) final_rc = rc;
1374 if ((rc = setPreviewSize(params))) final_rc = rc;
1375 if ((rc = setVideoSize(params))) final_rc = rc;
1376 if ((rc = setPictureSize(params))) final_rc = rc;
1377 if ((rc = setJpegThumbnailSize(params))) final_rc = rc;
1378 if ((rc = setJpegQuality(params))) final_rc = rc;
1379 if ((rc = setEffect(params))) final_rc = rc;
1380 if ((rc = setGpsLocation(params))) final_rc = rc;
1381 if ((rc = setRotation(params))) final_rc = rc;
1382 if ((rc = setZoom(params))) final_rc = rc;
1383 if ((rc = setOrientation(params))) final_rc = rc;
1384 if ((rc = setLensshadeValue(params))) final_rc = rc;
1385 if ((rc = setMCEValue(params))) final_rc = rc;
1386 if ((rc = setPictureFormat(params))) final_rc = rc;
1387 if ((rc = setSharpness(params))) final_rc = rc;
1388 if ((rc = setSaturation(params))) final_rc = rc;
1389 if ((rc = setSceneMode(params))) final_rc = rc;
1390 if ((rc = setContrast(params))) final_rc = rc;
1391 // if ((rc = setFaceDetect(params))) final_rc = rc;
1392 if ((rc = setStrTextures(params))) final_rc = rc;
1393 if ((rc = setPreviewFormat(params))) final_rc = rc;
1394 if ((rc = setSkinToneEnhancement(params))) final_rc = rc;
1395 if ((rc = setWaveletDenoise(params))) final_rc = rc;
1396 if ((rc = setAntibanding(params))) final_rc = rc;
1397 // if ((rc = setOverlayFormats(params))) final_rc = rc;
1398 if ((rc = setRedeyeReduction(params))) final_rc = rc;
1401 const char *str_val = params.get("capture-burst-exposures");
1412 mParameters.set("num-snaps-per-shutter", params.get("num-snaps-per-shutter"));
1414 if ((rc = setAEBracket(params))) final_rc = rc;
1415 // if ((rc = setDenoise(params))) final_rc = rc;
1416 if ((rc = setPreviewFpsRange(params))) final_rc = rc;
1417 if((rc = setRecordingHint(params))) final_rc = rc;
1418 if ((rc = setNumOfSnapshot(params))) final_rc = rc;
1419 if ((rc = setAecAwbLock(params))) final_rc = rc;
1420 if ((rc = setWhiteBalance(params))) final_rc = rc;
1421 const char *str = params.get(QCameraParameters::KEY_SCENE_MODE);
1425 //if ((rc = setPreviewFrameRateMode(params))) final_rc = rc;
1426 if ((rc = setPreviewFrameRate(params))) final_rc = rc;
1427 if ((rc = setBrightness(params))) final_rc = rc;
1428 if ((rc = setISOValue(params))) final_rc = rc;
1429 if ((rc = setFocusAreas(params))) final_rc = rc;
1430 if ((rc = setMeteringAreas(params))) final_rc = rc;
1432 if ((rc = setFocusMode(params))) final_rc = rc;
1433 if ((rc = setAutoExposure(params))) final_rc = rc;
1434 if ((rc = setExposureCompensation(params))) final_rc = rc;
1435 if ((rc = setFlash(params))) final_rc = rc;
1437 if ((rc = setSelectableZoneAf(params))) final_rc = rc;
1440 if ((rc = setHighFrameRate(params))) final_rc = rc;
1441 if ((rc = setZSLBurstLookBack(params))) final_rc = rc;
1442 if ((rc = setZSLBurstInterval(params))) final_rc = rc;
1443 if ((rc = setNoDisplayMode(params))) final_rc = rc;
1515 status_t QCameraHardwareInterface::setSharpness(const QCameraParameters& params)
1525 int sharpness = params.getInt(QCameraParameters::KEY_SHARPNESS);
1537 status_t QCameraHardwareInterface::setSaturation(const QCameraParameters& params)
1548 int saturation = params.getInt(QCameraParameters::KEY_SATURATION);
1563 status_t QCameraHardwareInterface::setContrast(const QCameraParameters& params)
1572 const char *str = params.get(QCameraParameters::KEY_SCENE_MODE);
1576 int contrast = params.getInt(QCameraParameters::KEY_CONTRAST);
1610 status_t QCameraHardwareInterface::setSceneDetect(const QCameraParameters& params)
1622 const char *str = params.get(QCameraParameters::KEY_SCENE_DETECT);
1639 status_t QCameraHardwareInterface::setZoom(const QCameraParameters& params)
1660 int32_t zoom_level = params.getInt("zoom");
1678 status_t QCameraHardwareInterface::setISOValue(const QCameraParameters& params) {
1688 const char *str = params.get(QCameraParameters::KEY_ISO_MODE);
1848 status_t QCameraHardwareInterface::setFocusAreas(const QCameraParameters& params)
1856 const char *str = params.get(QCameraParameters::KEY_FOCUS_AREAS);
1953 status_t QCameraHardwareInterface::setMeteringAreas(const QCameraParameters& params)
1962 const char *str = params.get(QCameraParameters::KEY_METERING_AREAS);
2063 status_t QCameraHardwareInterface::setFocusMode(const QCameraParameters& params)
2065 const char *str = params.get(QCameraParameters::KEY_FOCUS_MODE);
2124 status_t QCameraHardwareInterface::setSceneMode(const QCameraParameters& params)
2134 const char *str = params.get(QCameraParameters::KEY_SCENE_MODE);
2182 status_t QCameraHardwareInterface::setSelectableZoneAf(const QCameraParameters& params)
2187 const char *str = params.get(QCameraParameters::KEY_SELECTABLE_ZONE_AF);
2210 status_t QCameraHardwareInterface::setEffect(const QCameraParameters& params)
2214 const char *str = params.get(QCameraParameters::KEY_EFFECT);
2252 status_t QCameraHardwareInterface::setBrightness(const QCameraParameters& params) {
2261 int brightness = params.getInt("luma-adaptation");
2274 status_t QCameraHardwareInterface::setAutoExposure(const QCameraParameters& params)
2284 const char *str = params.get(QCameraParameters::KEY_AUTO_EXPOSURE);
2299 const QCameraParameters & params){
2307 int numerator = params.getInt(QCameraParameters::KEY_EXPOSURE_COMPENSATION);
2315 const char *sce_str = params.get(QCameraParameters::KEY_SCENE_MODE);
2338 status_t QCameraHardwareInterface::setWhiteBalance(const QCameraParameters& params)
2351 const char *sce_str = params.get(QCameraParameters::KEY_SCENE_MODE);
2358 str = params.get(QCameraParameters::KEY_WHITE_BALANCE);
2365 str = params.get(QCameraParameters::KEY_WHITE_BALANCE);
2384 status_t QCameraHardwareInterface::setAntibanding(const QCameraParameters& params)
2395 const char *str = params.get(QCameraParameters::KEY_ANTIBANDING);
2416 status_t QCameraHardwareInterface::setPreviewFrameRate(const QCameraParameters& params)
2426 uint16_t fps = (uint16_t)params.getPreviewFrameRate();
2444 status_t QCameraHardwareInterface::setPreviewFrameRateMode(const QCameraParameters& params) {
2460 const char *str = params.getPreviewFrameRateMode();
2476 int16_t fps = (uint16_t)params.getPreviewFrameRate();
2491 status_t QCameraHardwareInterface::setSkinToneEnhancement(const QCameraParameters& params) {
2499 int skinToneValue = params.getInt("skinToneEnhancement");
2511 status_t QCameraHardwareInterface::setWaveletDenoise(const QCameraParameters& params) {
2520 const char *str = params.get(QCameraParameters::KEY_DENOISE);
2547 status_t QCameraHardwareInterface::setVideoSize(const QCameraParameters& params)
2553 str = params.get(QCameraParameters::KEY_VIDEO_SIZE);
2585 status_t QCameraHardwareInterface::setCameraMode(const QCameraParameters& params) {
2586 int32_t value = params.getInt(QCameraParameters::KEY_CAMERA_MODE);
2599 status_t QCameraHardwareInterface::setPowerMode(const QCameraParameters& params) {
2603 powermode = params.get(QCameraParameters::KEY_POWER_MODE);
2627 status_t QCameraHardwareInterface::setPreviewSize(const QCameraParameters& params)
2630 params.getPreviewSize(&width, &height);
2660 status_t QCameraHardwareInterface::setPreviewFpsRange(const QCameraParameters& params)
2670 params.getPreviewFpsRange(&minFps,&maxFps);
2729 status_t QCameraHardwareInterface::setJpegThumbnailSize(const QCameraParameters& params){
2730 int width = params.getInt(QCameraParameters::KEY_JPEG_THUMBNAIL_WIDTH);
2731 int height = params.getInt(QCameraParameters::KEY_JPEG_THUMBNAIL_HEIGHT);
2749 status_t QCameraHardwareInterface::setPictureSize(const QCameraParameters& params)
2753 params.getPictureSize(&width, &height);
2802 status_t QCameraHardwareInterface::setJpegQuality(const QCameraParameters& params) {
2804 int quality = params.getInt(QCameraParameters::KEY_JPEG_QUALITY);
2814 quality = params.getInt(QCameraParameters::KEY_JPEG_THUMBNAIL_QUALITY);
2826 setNumOfSnapshot(const QCameraParameters& params) {
2829 int num_of_snapshot = getNumOfSnapshots(params);
2845 status_t QCameraHardwareInterface::setPreviewFormat(const QCameraParameters& params) {
2846 const char *str = params.getPreviewFormat();
2882 status_t QCameraHardwareInterface::setStrTextures(const QCameraParameters& params) {
2883 const char *str = params.get("strtextures");
2909 status_t QCameraHardwareInterface::setFlash(const QCameraParameters& params)
2920 const char *sce_str = params.get(QCameraParameters::KEY_SCENE_MODE);
2928 str = params.get(QCameraParameters::KEY_FLASH_MODE);
2935 str = params.get(QCameraParameters::KEY_FLASH_MODE);
2953 status_t QCameraHardwareInterface::setAecAwbLock(const QCameraParameters & params)
2961 str = params.get(QCameraParameters::KEY_AUTO_EXPOSURE_LOCK);
2968 str = params.get(QCameraParameters::KEY_AUTO_WHITEBALANCE_LOCK);
2977 status_t QCameraHardwareInterface::setOverlayFormats(const QCameraParameters& params)
2987 status_t QCameraHardwareInterface::setMCEValue(const QCameraParameters& params)
2996 const char *str = params.get(QCameraParameters::KEY_MEMORY_COLOR_ENHANCEMENT);
3013 status_t QCameraHardwareInterface::setHighFrameRate(const QCameraParameters& params)
3024 const char *str = params.get(QCameraParameters::KEY_VIDEO_HIGH_FRAME_RATE);
3062 status_t QCameraHardwareInterface::setLensshadeValue(const QCameraParameters& params)
3071 const char *str = params.get(QCameraParameters::KEY_LENSSHADE);
3086 status_t QCameraHardwareInterface::setFaceDetect(const QCameraParameters& params)
3093 int requested_faces = params.getInt(QCameraParameters::KEY_MAX_NUM_REQUESTED_FACES);
3099 const char *str = params.get(QCameraParameters::KEY_FACE_DETECTION);
3143 status_t QCameraHardwareInterface::setAEBracket(const QCameraParameters& params)
3161 const char *str2 = params.get(QCameraParameters::KEY_SCENE_MODE);
3165 str = params.get(QCameraParameters::KEY_AE_BRACKET_HDR);
3182 const char *str_val = params.get("capture-burst-exposures");
3232 status_t QCameraHardwareInterface::setRedeyeReduction(const QCameraParameters& params)
3239 const char *str = params.get(QCameraParameters::KEY_REDEYE_REDUCTION);
3255 status_t QCameraHardwareInterface::setGpsLocation(const QCameraParameters& params)
3257 const char *method = params.get(QCameraParameters::KEY_GPS_PROCESSING_METHOD);
3264 const char *latitude = params.get(QCameraParameters::KEY_GPS_LATITUDE);
3271 const char *latitudeRef = params.get(QCameraParameters::KEY_GPS_LATITUDE_REF);
3278 const char *longitude = params.get(QCameraParameters::KEY_GPS_LONGITUDE);
3285 const char *longitudeRef = params.get(QCameraParameters::KEY_GPS_LONGITUDE_REF);
3292 const char *altitudeRef = params.get(QCameraParameters::KEY_GPS_ALTITUDE_REF);
3299 const char *altitude = params.get(QCameraParameters::KEY_GPS_ALTITUDE);
3306 const char *status = params.get(QCameraParameters::KEY_GPS_STATUS);
3311 const char *dateTime = params.get(QCameraParameters::KEY_EXIF_DATETIME);
3318 const char *timestamp = params.get(QCameraParameters::KEY_GPS_TIMESTAMP);
3328 status_t QCameraHardwareInterface::setRotation(const QCameraParameters& params)
3331 int rotation = params.getInt(QCameraParameters::KEY_ROTATION);
3346 status_t QCameraHardwareInterface::setDenoise(const QCameraParameters& params)
3353 const char *str = params.get(QCameraParameters::KEY_DENOISE);
3371 status_t QCameraHardwareInterface::setOrientation(const QCameraParameters& params)
3373 const char *str = params.get("orientation");
3388 status_t QCameraHardwareInterface::setPictureFormat(const QCameraParameters& params)
3390 const char * str = params.get(QCameraParameters::KEY_PICTURE_FORMAT);
3418 status_t QCameraHardwareInterface::setRecordingHint(const QCameraParameters& params)
3421 const char * str = params.get(QCameraParameters::KEY_RECORDING_HINT);
3482 const QCameraParameters& params)
3548 int QCameraHardwareInterface::getNumOfSnapshots(const QCameraParameters& params)
3559 return params.getInt("num-snaps-per-shutter");
3877 status_t QCameraHardwareInterface::setZSLBurstLookBack(const QCameraParameters& params)
3879 const char *v = params.get("capture-burst-retroactive");
3888 status_t QCameraHardwareInterface::setZSLBurstInterval(const QCameraParameters& params)
3891 const char *v = params.get("capture-burst-interval");
4269 status_t QCameraHardwareInterface::setNoDisplayMode(const QCameraParameters& params)
4277 const char *str_val = params.get("no-display-mode");