Lines Matching refs:params

458 status_t OMXCameraAdapter::insertImageSizes(CameraProperties::Properties* params, OMX_TI_CAPTYPE &c…  in insertImageSizes()  argument
476 params->set(CameraProperties::SUPPORTED_PICTURE_SIZES, supported); in insertImageSizes()
484 status_t OMXCameraAdapter::insertPreviewSizes(CameraProperties::Properties* params, OMX_TI_CAPTYPE … in insertPreviewSizes() argument
502 params->set(CameraProperties::SUPPORTED_PREVIEW_SIZES, supported); in insertPreviewSizes()
510 status_t OMXCameraAdapter::insertVideoSizes(CameraProperties::Properties* params, OMX_TI_CAPTYPE &c… in insertVideoSizes() argument
528 params->set(CameraProperties::SUPPORTED_VIDEO_SIZES, supported); in insertVideoSizes()
536 status_t OMXCameraAdapter::insertThumbSizes(CameraProperties::Properties* params, OMX_TI_CAPTYPE &c… in insertThumbSizes() argument
555 params->set(CameraProperties::SUPPORTED_THUMBNAIL_SIZES, supported); in insertThumbSizes()
563 status_t OMXCameraAdapter::insertZoomStages(CameraProperties::Properties* params, OMX_TI_CAPTYPE &c… in insertZoomStages() argument
579 params->set(CameraProperties::SUPPORTED_ZOOM_RATIOS, supported); in insertZoomStages()
580params->set(CameraProperties::SUPPORTED_ZOOM_STAGES, zoomStageCount - 1); //As per CTS requirement in insertZoomStages()
583 params->set(CameraProperties::ZOOM_SUPPORTED, TICameraParameters::ZOOM_UNSUPPORTED); in insertZoomStages()
584 params->set(CameraProperties::SMOOTH_ZOOM_SUPPORTED, TICameraParameters::ZOOM_UNSUPPORTED); in insertZoomStages()
586 params->set(CameraProperties::ZOOM_SUPPORTED, TICameraParameters::ZOOM_SUPPORTED); in insertZoomStages()
587 params->set(CameraProperties::SMOOTH_ZOOM_SUPPORTED, TICameraParameters::ZOOM_SUPPORTED); in insertZoomStages()
595 status_t OMXCameraAdapter::insertImageFormats(CameraProperties::Properties* params, OMX_TI_CAPTYPE … in insertImageFormats() argument
618 params->set(CameraProperties::SUPPORTED_PICTURE_FORMATS, supported); in insertImageFormats()
626 status_t OMXCameraAdapter::insertPreviewFormats(CameraProperties::Properties* params, OMX_TI_CAPTYP… in insertPreviewFormats() argument
650 params->set(CameraProperties::SUPPORTED_PREVIEW_FORMATS, supported); in insertPreviewFormats()
658 status_t OMXCameraAdapter::insertFramerates(CameraProperties::Properties* params, OMX_TI_CAPTYPE &c… in insertFramerates() argument
676 params->set(CameraProperties::SUPPORTED_PREVIEW_FRAME_RATES, supported); in insertFramerates()
684 status_t OMXCameraAdapter::insertVFramerates(CameraProperties::Properties* params, OMX_TI_CAPTYPE &… in insertVFramerates() argument
703 params->set(CameraProperties::FRAMERATE_RANGE_SUPPORTED, supported); in insertVFramerates()
705 params->set(CameraProperties::FRAMERATE_RANGE, DEFAULT_FRAMERATE_RANGE_IMAGE); in insertVFramerates()
706 params->set(CameraProperties::FRAMERATE_RANGE_VIDEO, DEFAULT_FRAMERATE_RANGE_VIDEO); in insertVFramerates()
707 params->set(CameraProperties::FRAMERATE_RANGE_IMAGE, DEFAULT_FRAMERATE_RANGE_IMAGE); in insertVFramerates()
716 status_t OMXCameraAdapter::insertEVs(CameraProperties::Properties* params, OMX_TI_CAPTYPE &caps) { in insertEVs() argument
725 params->set(CameraProperties::SUPPORTED_EV_MIN, supported); in insertEVs()
728 params->set(CameraProperties::SUPPORTED_EV_MAX, supported); in insertEVs()
735 status_t OMXCameraAdapter::insertISOModes(CameraProperties::Properties* params, OMX_TI_CAPTYPE &cap… in insertISOModes() argument
751 params->set(CameraProperties::SUPPORTED_ISO_VALUES, supported); in insertISOModes()
759 status_t OMXCameraAdapter::insertIPPModes(CameraProperties::Properties* params, OMX_TI_CAPTYPE &cap… in insertIPPModes() argument
787 params->set(CameraProperties::SUPPORTED_IPP_MODES, supported); in insertIPPModes()
794 status_t OMXCameraAdapter::insertWBModes(CameraProperties::Properties* params, OMX_TI_CAPTYPE &caps… in insertWBModes() argument
811 params->set(CameraProperties::SUPPORTED_WHITE_BALANCE, supported); in insertWBModes()
818 status_t OMXCameraAdapter::insertEffects(CameraProperties::Properties* params, OMX_TI_CAPTYPE &caps… in insertEffects() argument
835 params->set(CameraProperties::SUPPORTED_EFFECTS, supported); in insertEffects()
842 status_t OMXCameraAdapter::insertExpModes(CameraProperties::Properties* params, OMX_TI_CAPTYPE &cap… in insertExpModes() argument
859 params->set(CameraProperties::SUPPORTED_EXPOSURE_MODES, supported); in insertExpModes()
866 status_t OMXCameraAdapter::insertFlashModes(CameraProperties::Properties* params, OMX_TI_CAPTYPE &c… in insertFlashModes() argument
884 params->set(CameraProperties::SUPPORTED_FLASH_MODES, supported); in insertFlashModes()
891 status_t OMXCameraAdapter::insertSceneModes(CameraProperties::Properties* params, OMX_TI_CAPTYPE &c… in insertSceneModes() argument
909 params->set(CameraProperties::SUPPORTED_SCENE_MODES, supported); in insertSceneModes()
916 status_t OMXCameraAdapter::insertFocusModes(CameraProperties::Properties* params, OMX_TI_CAPTYPE &c… in insertFocusModes() argument
945 params->set(CameraProperties::SUPPORTED_FOCUS_MODES, supported); in insertFocusModes()
952 status_t OMXCameraAdapter::insertFlickerModes(CameraProperties::Properties* params, OMX_TI_CAPTYPE … in insertFlickerModes() argument
969 params->set(CameraProperties::SUPPORTED_ANTIBANDING, supported); in insertFlickerModes()
976 status_t OMXCameraAdapter::insertAreas(CameraProperties::Properties* params, OMX_TI_CAPTYPE &caps) { in insertAreas() argument
986 params->set(CameraProperties::MAX_FOCUS_AREAS, supported); in insertAreas()
991 params->set(CameraProperties::MAX_NUM_METERING_AREAS, supported); in insertAreas()
999 status_t OMXCameraAdapter::insertLocks(CameraProperties::Properties* params, OMX_TI_CAPTYPE &caps) { in insertLocks() argument
1004 params->set(CameraProperties::AUTO_EXPOSURE_LOCK_SUPPORTED, DEFAULT_LOCK_SUPPORTED); in insertLocks()
1005 params->set(CameraProperties::AUTO_WHITEBALANCE_LOCK_SUPPORTED, DEFAULT_LOCK_SUPPORTED); in insertLocks()
1012 status_t OMXCameraAdapter::insertDefaults(CameraProperties::Properties* params, OMX_TI_CAPTYPE &cap… in insertDefaults() argument
1019 params->set(CameraProperties::ANTIBANDING, DEFAULT_ANTIBANDING); in insertDefaults()
1020 params->set(CameraProperties::BRIGHTNESS, DEFAULT_BRIGHTNESS); in insertDefaults()
1021 params->set(CameraProperties::CONTRAST, DEFAULT_CONTRAST); in insertDefaults()
1022 params->set(CameraProperties::EFFECT, DEFAULT_EFFECT); in insertDefaults()
1023 params->set(CameraProperties::EV_COMPENSATION, DEFAULT_EV_COMPENSATION); in insertDefaults()
1024 params->set(CameraProperties::SUPPORTED_EV_STEP, DEFAULT_EV_STEP); in insertDefaults()
1025 params->set(CameraProperties::EXPOSURE_MODE, DEFAULT_EXPOSURE_MODE); in insertDefaults()
1026 params->set(CameraProperties::FLASH_MODE, DEFAULT_FLASH_MODE); in insertDefaults()
1027 …char *pos = strstr(params->get(CameraProperties::SUPPORTED_FOCUS_MODES), DEFAULT_FOCUS_MODE_PREFER… in insertDefaults()
1030 params->set(CameraProperties::FOCUS_MODE, DEFAULT_FOCUS_MODE_PREFERRED); in insertDefaults()
1034 params->set(CameraProperties::FOCUS_MODE, DEFAULT_FOCUS_MODE); in insertDefaults()
1036 params->set(CameraProperties::IPP, DEFAULT_IPP); in insertDefaults()
1037 params->set(CameraProperties::GBCE, DEFAULT_GBCE); in insertDefaults()
1038 params->set(CameraProperties::ISO_MODE, DEFAULT_ISO_MODE); in insertDefaults()
1039 params->set(CameraProperties::JPEG_QUALITY, DEFAULT_JPEG_QUALITY); in insertDefaults()
1040 params->set(CameraProperties::JPEG_THUMBNAIL_QUALITY, DEFAULT_THUMBNAIL_QUALITY); in insertDefaults()
1041 params->set(CameraProperties::JPEG_THUMBNAIL_SIZE, DEFAULT_THUMBNAIL_SIZE); in insertDefaults()
1042 params->set(CameraProperties::PICTURE_FORMAT, DEFAULT_PICTURE_FORMAT); in insertDefaults()
1043 params->set(CameraProperties::PICTURE_SIZE, DEFAULT_PICTURE_SIZE); in insertDefaults()
1044 params->set(CameraProperties::PREVIEW_FORMAT, DEFAULT_PREVIEW_FORMAT); in insertDefaults()
1045 params->set(CameraProperties::PREVIEW_FRAME_RATE, DEFAULT_FRAMERATE); in insertDefaults()
1046 params->set(CameraProperties::PREVIEW_SIZE, DEFAULT_PREVIEW_SIZE); in insertDefaults()
1047 params->set(CameraProperties::REQUIRED_PREVIEW_BUFS, DEFAULT_NUM_PREV_BUFS); in insertDefaults()
1048 params->set(CameraProperties::REQUIRED_IMAGE_BUFS, DEFAULT_NUM_PIC_BUFS); in insertDefaults()
1049 params->set(CameraProperties::SATURATION, DEFAULT_SATURATION); in insertDefaults()
1050 params->set(CameraProperties::SCENE_MODE, DEFAULT_SCENE_MODE); in insertDefaults()
1051 params->set(CameraProperties::SHARPNESS, DEFAULT_SHARPNESS); in insertDefaults()
1052 params->set(CameraProperties::VSTAB, DEFAULT_VSTAB); in insertDefaults()
1053 params->set(CameraProperties::VSTAB_SUPPORTED, DEFAULT_VSTAB_SUPPORTED); in insertDefaults()
1054 params->set(CameraProperties::WHITEBALANCE, DEFAULT_WB); in insertDefaults()
1055 params->set(CameraProperties::ZOOM, DEFAULT_ZOOM); in insertDefaults()
1056 params->set(CameraProperties::MAX_FD_HW_FACES, DEFAULT_MAX_FD_HW_FACES); in insertDefaults()
1057 params->set(CameraProperties::MAX_FD_SW_FACES, DEFAULT_MAX_FD_SW_FACES); in insertDefaults()
1058 params->set(CameraProperties::AUTO_EXPOSURE_LOCK, DEFAULT_AE_LOCK); in insertDefaults()
1059 params->set(CameraProperties::AUTO_WHITEBALANCE_LOCK, DEFAULT_AWB_LOCK); in insertDefaults()
1061 params->set(CameraProperties::FOCAL_LENGTH, DEFAULT_FOCAL_LENGTH_PRIMARY); in insertDefaults()
1063 params->set(CameraProperties::FOCAL_LENGTH, DEFAULT_FOCAL_LENGTH_SECONDARY); in insertDefaults()
1065 params->set(CameraProperties::HOR_ANGLE, DEFAULT_HOR_ANGLE); in insertDefaults()
1066 params->set(CameraProperties::VER_ANGLE, DEFAULT_VER_ANGLE); in insertDefaults()
1067 params->set(CameraProperties::VIDEO_SNAPSHOT_SUPPORTED, DEFAULT_VIDEO_SNAPSHOT_SUPPORTED); in insertDefaults()
1068 params->set(CameraProperties::VIDEO_SIZE, DEFAULT_VIDEO_SIZE); in insertDefaults()
1069params->set(CameraProperties::PREFERRED_PREVIEW_SIZE_FOR_VIDEO, DEFAULT_PREFERRED_PREVIEW_SIZE_FOR… in insertDefaults()
1076 status_t OMXCameraAdapter::insertSenMount(CameraProperties::Properties* params, OMX_TI_CAPTYPE &cap… in insertSenMount() argument
1099 params->set(CameraProperties::CAMERA_NAME, supported); in insertSenMount()
1102 params->set(CameraProperties::ORIENTATION_INDEX, caps.tSenMounting.nRotation); in insertSenMount()
1109 status_t OMXCameraAdapter::insertCapabilities(CameraProperties::Properties* params, OMX_TI_CAPTYPE … in insertCapabilities() argument
1116 ret = insertImageSizes(params, caps); in insertCapabilities()
1120 ret = insertPreviewSizes(params, caps); in insertCapabilities()
1124 ret = insertThumbSizes(params, caps); in insertCapabilities()
1128 ret = insertZoomStages(params, caps); in insertCapabilities()
1132 ret = insertImageFormats(params, caps); in insertCapabilities()
1136 ret = insertPreviewFormats(params, caps); in insertCapabilities()
1140 ret = insertFramerates(params, caps); in insertCapabilities()
1144 ret = insertVFramerates(params, caps); in insertCapabilities()
1148 ret = insertEVs(params, caps); in insertCapabilities()
1152 ret = insertISOModes(params, caps); in insertCapabilities()
1156 ret = insertIPPModes(params, caps); in insertCapabilities()
1160 ret = insertWBModes(params, caps); in insertCapabilities()
1164 ret = insertEffects(params, caps); in insertCapabilities()
1168 ret = insertExpModes(params, caps); in insertCapabilities()
1172 ret = insertFlashModes(params, caps); in insertCapabilities()
1176 ret = insertSceneModes(params, caps); in insertCapabilities()
1180 ret = insertFocusModes(params, caps); in insertCapabilities()
1184 ret = insertFlickerModes(params, caps); in insertCapabilities()
1188 ret = insertSenMount(params, caps); in insertCapabilities()
1192 ret = insertLocks(params, caps); in insertCapabilities()
1195 ret = insertAreas(params, caps); in insertCapabilities()
1203 ret = insertVideoSizes(params, caps); in insertCapabilities()
1207 ret = insertDefaults(params, caps); in insertCapabilities()
1221 status_t OMXCameraAdapter::getCaps(CameraProperties::Properties* params, OMX_HANDLETYPE handle) { in getCaps() argument
1262 ret = insertCapabilities(params, *caps[0]); in getCaps()