Home | History | Annotate | Download | only in OMXCameraAdapter

Lines Matching refs:CameraProperties

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