Home
last modified time | relevance | path

Searched refs:CameraProperties (Results 1 – 25 of 27) sorted by relevance

12

/hardware/ti/omap4-aah/camera/
DCameraParameters.cpp29 const char CameraProperties::INVALID[]="prop-invalid-key";
30 const char CameraProperties::CAMERA_NAME[]="prop-camera-name";
31 const char CameraProperties::CAMERA_SENSOR_INDEX[]="prop-sensor-index";
32 const char CameraProperties::CAMERA_SENSOR_ID[] = "prop-sensor-id";
33 const char CameraProperties::ORIENTATION_INDEX[]="prop-orientation";
34 const char CameraProperties::FACING_INDEX[]="prop-facing";
35 const char CameraProperties::SUPPORTED_PREVIEW_SIZES[] = "prop-preview-size-values";
36 const char CameraProperties::SUPPORTED_PREVIEW_SUBSAMPLED_SIZES[] = "prop-preview-subsampled-size-v…
37 const char CameraProperties::SUPPORTED_PREVIEW_TOPBOTTOM_SIZES[] = "prop-preview-topbottom-size-val…
38 const char CameraProperties::SUPPORTED_PREVIEW_SIDEBYSIDE_SIZES[] = "prop-preview-sidebyside-size-v…
[all …]
DCameraProperties.cpp46 CameraProperties::CameraProperties() : mCamerasSupported(0) in CameraProperties() function in Ti::Camera::CameraProperties
56 CameraProperties::~CameraProperties() in ~CameraProperties()
65 status_t CameraProperties::initialize() in initialize()
87 extern "C" status_t CameraAdapter_Capabilities(CameraProperties::Properties* properties_array,
91 status_t CameraProperties::loadProperties() in loadProperties()
128 int CameraProperties::camerasSupported() in camerasSupported()
DCameraHal.cpp358 if (strcmp (V4L_CAMERA_NAME_USB, mCameraProperties->get(CameraProperties::CAMERA_NAME)) == 0 ) { in setParameters()
370 …if ( isParameterValid(valstr, mCameraProperties->get(CameraProperties::SUPPORTED_PREVIEW_FORMATS))… in setParameters()
375 mCameraProperties->get(CameraProperties::SUPPORTED_PREVIEW_FORMATS)); in setParameters()
381 if (strcmp(mCameraProperties->get(CameraProperties::VNF_SUPPORTED), in setParameters()
397 if (strcmp(mCameraProperties->get(CameraProperties::VSTAB_SUPPORTED), in setParameters()
459 … if (isParameterValid(valstr,mCameraProperties->get(CameraProperties::SUPPORTED_IPP_MODES))) { in setParameters()
555 … if ( (!isResolutionValid(w, h, mCameraProperties->get(CameraProperties::SUPPORTED_PREVIEW_SIZES))) in setParameters()
556 …&& (!isResolutionValid(w, h, mCameraProperties->get(CameraProperties::SUPPORTED_PREVIEW_SUBSAMPLED… in setParameters()
557 …&& (!isResolutionValid(w, h, mCameraProperties->get(CameraProperties::SUPPORTED_PREVIEW_SIDEBYSIDE… in setParameters()
558 …&& (!isResolutionValid(w, h, mCameraProperties->get(CameraProperties::SUPPORTED_PREVIEW_TOPBOTTOM_… in setParameters()
[all …]
DCameraHal_Module.cpp41 static CameraProperties gCameraProperties;
635 CameraProperties::Properties* properties = NULL; in camera_device_open()
785 CameraProperties::Properties* properties = NULL; in camera_get_camera_info()
806 valstr = properties->get(CameraProperties::FACING_INDEX); in camera_get_camera_info()
819 valstr = properties->get(CameraProperties::ORIENTATION_INDEX); in camera_get_camera_info()
/hardware/ti/omap4xxx/camera/
DCameraParameters.cpp29 const char CameraProperties::INVALID[]="prop-invalid-key";
30 const char CameraProperties::CAMERA_NAME[]="prop-camera-name";
31 const char CameraProperties::CAMERA_SENSOR_INDEX[]="prop-sensor-index";
32 const char CameraProperties::ORIENTATION_INDEX[]="prop-orientation";
33 const char CameraProperties::FACING_INDEX[]="prop-facing";
34 const char CameraProperties::S3D_SUPPORTED[]="prop-s3d-supported";
35 const char CameraProperties::SUPPORTED_PREVIEW_SIZES[] = "prop-preview-size-values";
36 const char CameraProperties::SUPPORTED_PREVIEW_FORMATS[] = "prop-preview-format-values";
37 const char CameraProperties::SUPPORTED_PREVIEW_FRAME_RATES[] = "prop-preview-frame-rate-values";
38 const char CameraProperties::SUPPORTED_PICTURE_SIZES[] = "prop-picture-size-values";
[all …]
DCameraProperties.cpp49 CameraProperties::CameraProperties() : mCamerasSupported(0) in CameraProperties() function in android::CameraProperties
59 CameraProperties::~CameraProperties() in ~CameraProperties()
68 status_t CameraProperties::initialize() in initialize()
88 extern "C" int CameraAdapter_Capabilities(CameraProperties::Properties* properties_array,
93 status_t CameraProperties::loadProperties() in loadProperties()
123 int CameraProperties::camerasSupported() in camerasSupported()
DCameraHal.cpp269 …if ( isParameterValid(valstr, mCameraProperties->get(CameraProperties::SUPPORTED_PREVIEW_FORMATS))… in setParameters()
272 …GEB("Invalid preview format.Supported: %s", mCameraProperties->get(CameraProperties::SUPPORTED_PR… in setParameters()
292 if (strcmp(mCameraProperties->get(CameraProperties::VSTAB_SUPPORTED), in setParameters()
314 … if (isParameterValid(valstr,mCameraProperties->get(CameraProperties::SUPPORTED_IPP_MODES))) { in setParameters()
361 … if ( !isResolutionValid(h,w, mCameraProperties->get(CameraProperties::SUPPORTED_PREVIEW_SIZES))) in setParameters()
375 … if ( !isResolutionValid(w, h, mCameraProperties->get(CameraProperties::SUPPORTED_PREVIEW_SIZES))) in setParameters()
389 …if ( !isResolutionValid(w, h, mCameraProperties->get(CameraProperties::SUPPORTED_PREVIEW_SIZES))) { in setParameters()
459 … if (isParameterValid(valstr, mCameraProperties->get(CameraProperties::SUPPORTED_FOCUS_MODES))) { in setParameters()
479 …if (isParameterValid(valstr, mCameraProperties->get(CameraProperties::SUPPORTED_PICTURE_FORMATS)))… in setParameters()
488 … if ( isResolutionValid(w, h, mCameraProperties->get(CameraProperties::SUPPORTED_PICTURE_SIZES))) { in setParameters()
[all …]
DCameraHal_Module.cpp33 static android::CameraProperties gCameraProperties;
492 android::CameraProperties::Properties* properties = NULL; in camera_device_open()
646 android::CameraProperties::Properties* properties = NULL; in camera_get_camera_info()
666 valstr = properties->get(android::CameraProperties::FACING_INDEX); in camera_get_camera_info()
679 valstr = properties->get(android::CameraProperties::ORIENTATION_INDEX); in camera_get_camera_info()
DAndroid.mk14 CameraProperties.cpp \
/hardware/ti/omap4xxx/camera/OMXCameraAdapter/
DOMXCapabilities.cpp458 status_t OMXCameraAdapter::insertImageSizes(CameraProperties::Properties* params, OMX_TI_CAPTYPE &c… in insertImageSizes()
476 params->set(CameraProperties::SUPPORTED_PICTURE_SIZES, supported); in insertImageSizes()
484 status_t OMXCameraAdapter::insertPreviewSizes(CameraProperties::Properties* params, OMX_TI_CAPTYPE … in insertPreviewSizes()
502 params->set(CameraProperties::SUPPORTED_PREVIEW_SIZES, supported); in insertPreviewSizes()
510 status_t OMXCameraAdapter::insertVideoSizes(CameraProperties::Properties* params, OMX_TI_CAPTYPE &c… in insertVideoSizes()
528 params->set(CameraProperties::SUPPORTED_VIDEO_SIZES, supported); in insertVideoSizes()
536 status_t OMXCameraAdapter::insertThumbSizes(CameraProperties::Properties* params, OMX_TI_CAPTYPE &c… in insertThumbSizes()
555 params->set(CameraProperties::SUPPORTED_THUMBNAIL_SIZES, supported); in insertThumbSizes()
563 status_t OMXCameraAdapter::insertZoomStages(CameraProperties::Properties* params, OMX_TI_CAPTYPE &c… in insertZoomStages()
579 params->set(CameraProperties::SUPPORTED_ZOOM_RATIOS, supported); in insertZoomStages()
[all …]
DOMXCameraAdapter.cpp53 status_t OMXCameraAdapter::initialize(CameraProperties::Properties* caps) in initialize()
650 entry = getSceneModeEntry(mCapabilities->get(CameraProperties::CAMERA_NAME), in getParameters()
2538 if (mCapabilities->get(CameraProperties::ORIENTATION_INDEX)) { in onOrientationEvent()
2539 mount_orientation = atoi(mCapabilities->get(CameraProperties::ORIENTATION_INDEX)); in onOrientationEvent()
2541 facing_direction = mCapabilities->get(CameraProperties::FACING_INDEX); in onOrientationEvent()
3636 extern "C" int CameraAdapter_Capabilities(CameraProperties::Properties* properties_array, in CameraAdapter_Capabilities()
3640 CameraProperties::Properties* properties = NULL; in CameraAdapter_Capabilities()
3688 properties->set(CameraProperties::FACING_INDEX, TICameraParameters::FACING_BACK); in CameraAdapter_Capabilities()
3690 properties->set(CameraProperties::FACING_INDEX, TICameraParameters::FACING_FRONT); in CameraAdapter_Capabilities()
/hardware/ti/omap4-aah/camera/OMXCameraAdapter/
DOMXCapabilities.cpp598 status_t OMXCameraAdapter::insertImageSizes(CameraProperties::Properties* params, OMX_TI_CAPTYPE &c… in insertImageSizes()
638 params->set(CameraProperties::SUPPORTED_PICTURE_SIZES, supported); in insertImageSizes()
640 params->set(CameraProperties::MAX_PICTURE_WIDTH, caps.tImageResRange.nWidthMax); in insertImageSizes()
641 params->set(CameraProperties::MAX_PICTURE_HEIGHT, caps.tImageResRange.nHeightMax); in insertImageSizes()
656 params->set(CameraProperties::SUPPORTED_PICTURE_TOPBOTTOM_SIZES, supported); in insertImageSizes()
661 params->set(CameraProperties::SUPPORTED_PICTURE_TOPBOTTOM_SIZES, supported); in insertImageSizes()
677 params->set(CameraProperties::SUPPORTED_PICTURE_SIDEBYSIDE_SIZES, supported); in insertImageSizes()
682 params->set(CameraProperties::SUPPORTED_PICTURE_SIDEBYSIDE_SIZES, supported); in insertImageSizes()
698 params->set(CameraProperties::SUPPORTED_PICTURE_SUBSAMPLED_SIZES, supported); in insertImageSizes()
701 params->set(CameraProperties::SUPPORTED_PICTURE_SUBSAMPLED_SIZES, supported); in insertImageSizes()
[all …]
DOMXCameraAdapter.cpp54 status_t OMXCameraAdapter::initialize(CameraProperties::Properties* caps) in initialize()
270 mountOrientationString = mCapabilities->get(CameraProperties::ORIENTATION_INDEX); in initialize()
279 if (mCapabilities->get(CameraProperties::SUPPORTED_ZOOM_STAGES) != NULL) { in initialize()
280 mMaxZoomSupported = mCapabilities->getInt(CameraProperties::SUPPORTED_ZOOM_STAGES) + 1; in initialize()
809 entry = getSceneModeEntry(mCapabilities->get(CameraProperties::CAMERA_NAME), in getParameters()
928 mCapabilities->get(CameraProperties::SUPPORTED_PICTURE_SIZES)); in getParameters()
932 mCapabilities->get(CameraProperties::SUPPORTED_PREVIEW_FRAME_RATES)); in getParameters()
935 mCapabilities->get(CameraProperties::SUPPORTED_PREVIEW_FRAME_RATES_EXT)); in getParameters()
938 mCapabilities->get(CameraProperties::FRAMERATE_RANGE_SUPPORTED)); in getParameters()
941 mCapabilities->get(CameraProperties::FRAMERATE_RANGE_EXT_SUPPORTED)); in getParameters()
[all …]
/hardware/ti/omap4-aah/camera/V4LCameraAdapter/
DV4LCapabilities.cpp66 status_t V4LCameraAdapter::insertDefaults(CameraProperties::Properties* params, V4L_TI_CAPTYPE &cap… in insertDefaults()
71 params->set(CameraProperties::PREVIEW_FORMAT, DEFAULT_PREVIEW_FORMAT); in insertDefaults()
73 params->set(CameraProperties::PICTURE_FORMAT, DEFAULT_PICTURE_FORMAT); in insertDefaults()
74 params->set(CameraProperties::PICTURE_SIZE, DEFAULT_PICTURE_SIZE); in insertDefaults()
75 params->set(CameraProperties::PREVIEW_SIZE, DEFAULT_PREVIEW_SIZE); in insertDefaults()
76 params->set(CameraProperties::PREVIEW_FRAME_RATE, DEFAULT_FRAMERATE); in insertDefaults()
77 params->set(CameraProperties::REQUIRED_PREVIEW_BUFS, DEFAULT_NUM_PREV_BUFS); in insertDefaults()
78 params->set(CameraProperties::FOCUS_MODE, DEFAULT_FOCUS_MODE); in insertDefaults()
80 params->set(CameraProperties::CAMERA_NAME, "USBCAMERA"); in insertDefaults()
81 params->set(CameraProperties::JPEG_THUMBNAIL_SIZE, "320x240"); in insertDefaults()
[all …]
/hardware/ti/omap4-aah/camera/inc/OMXCameraAdapter/
DOMXCameraAdapter.h400 virtual status_t initialize(CameraProperties::Properties*);
416 … static status_t getCaps(int sensorId, CameraProperties::Properties* props, OMX_HANDLETYPE handle);
660 static status_t insertCapabilities(CameraProperties::Properties*, OMX_TI_CAPTYPE&);
680 static status_t insertImageSizes(CameraProperties::Properties*, OMX_TI_CAPTYPE&);
681 static status_t insertPreviewSizes(CameraProperties::Properties*, OMX_TI_CAPTYPE&);
682 static status_t insertThumbSizes(CameraProperties::Properties*, OMX_TI_CAPTYPE&);
683 static status_t insertZoomStages(CameraProperties::Properties*, OMX_TI_CAPTYPE&);
684 static status_t insertImageFormats(CameraProperties::Properties*, OMX_TI_CAPTYPE&);
685 static status_t insertPreviewFormats(CameraProperties::Properties*, OMX_TI_CAPTYPE&);
686 static status_t insertFramerates(CameraProperties::Properties*, OMX_TI_CAPTYPE&);
[all …]
/hardware/ti/omap4xxx/camera/inc/OMXCameraAdapter/
DOMXCameraAdapter.h356 virtual status_t initialize(CameraProperties::Properties*);
372 static status_t getCaps(CameraProperties::Properties* props, OMX_HANDLETYPE handle);
572 static status_t insertCapabilities(CameraProperties::Properties*, OMX_TI_CAPTYPE&);
583 static status_t insertImageSizes(CameraProperties::Properties*, OMX_TI_CAPTYPE&);
584 static status_t insertPreviewSizes(CameraProperties::Properties*, OMX_TI_CAPTYPE&);
585 static status_t insertThumbSizes(CameraProperties::Properties*, OMX_TI_CAPTYPE&);
586 static status_t insertZoomStages(CameraProperties::Properties*, OMX_TI_CAPTYPE&);
587 static status_t insertImageFormats(CameraProperties::Properties*, OMX_TI_CAPTYPE&);
588 static status_t insertPreviewFormats(CameraProperties::Properties*, OMX_TI_CAPTYPE&);
589 static status_t insertFramerates(CameraProperties::Properties*, OMX_TI_CAPTYPE&);
[all …]
/hardware/ti/omap4-aah/camera/inc/V4LCameraAdapter/
DV4LCameraAdapter.h107 virtual status_t initialize(CameraProperties::Properties*);
117 …static status_t getCaps(const int sensorId, CameraProperties::Properties* params, V4L_HANDLETYPE h…
181 static status_t insertDefaults(CameraProperties::Properties*, V4L_TI_CAPTYPE&);
182 static status_t insertCapabilities(CameraProperties::Properties*, V4L_TI_CAPTYPE&);
183 static status_t insertPreviewFormats(CameraProperties::Properties* , V4L_TI_CAPTYPE&);
184 static status_t insertPreviewSizes(CameraProperties::Properties* , V4L_TI_CAPTYPE&);
185 static status_t insertImageSizes(CameraProperties::Properties* , V4L_TI_CAPTYPE&);
186 static status_t insertFrameRates(CameraProperties::Properties* , V4L_TI_CAPTYPE&);
/hardware/ti/omap4xxx/camera/inc/
DCameraProperties.h44 class CameraProperties
143 CameraProperties();
144 ~CameraProperties();
DCameraHal.h798 virtual int initialize(CameraProperties::Properties*) = 0;
1066 status_t initialize(CameraProperties::Properties*);
1146 void dumpProperties(CameraProperties::Properties& cameraProps);
1254 CameraProperties::Properties* mCameraProperties;
DBaseCameraAdapter.h35 virtual status_t initialize(CameraProperties::Properties*) = 0;
/hardware/ti/omap4-aah/camera/inc/
DCameraProperties.h57 class CameraProperties
188 CameraProperties();
189 ~CameraProperties();
DCameraHal.h952 virtual int initialize(CameraProperties::Properties*) = 0;
1260 status_t initialize(CameraProperties::Properties*);
1358 void dumpProperties(CameraProperties::Properties& cameraProps);
1492 CameraProperties::Properties* mCameraProperties;
DBaseCameraAdapter.h46 virtual status_t initialize(CameraProperties::Properties*) = 0;
/hardware/ti/omap4xxx/camera/V4LCameraAdapter/
DV4LCameraAdapter.cpp64 status_t V4LCameraAdapter::initialize(CameraProperties::Properties* caps) in initialize()
582 extern "C" int CameraAdapter_Capabilities(CameraProperties::Properties* properties_array, in CameraAdapter_Capabilities()
586 CameraProperties::Properties* properties = NULL; in CameraAdapter_Capabilities()
599 properties->set(CameraProperties::CAMERA_NAME, "USBCamera"); in CameraAdapter_Capabilities()
/hardware/ti/omap4xxx/camera/inc/V4LCameraAdapter/
DV4LCameraAdapter.h72 virtual status_t initialize(CameraProperties::Properties*, int sensor_index=0);

12