/hardware/ti/omap4xxx/camera/ |
CameraParameters.cpp | 18 * @file CameraProperties.cpp 25 #include "CameraProperties.h" 29 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" [all...] |
CameraProperties.cpp | 18 * @file CameraProperties.cpp 28 #include "CameraProperties.h" 46 CameraProperties - public function implemetation 49 CameraProperties::CameraProperties() : mCamerasSupported(0) 59 CameraProperties::~CameraProperties() 67 // Initializes the CameraProperties class 68 status_t CameraProperties::initialize() 88 extern "C" int CameraAdapter_Capabilities(CameraProperties::Properties* properties_array [all...] |
CameraHal.cpp | 29 #include "CameraProperties.h" 42 ////@todo Have a CameraProperties class to store these parameters as constants for every camera 269 if ( isParameterValid(valstr, mCameraProperties->get(CameraProperties::SUPPORTED_PREVIEW_FORMATS))) { 272 CAMHAL_LOGEB("Invalid preview format.Supported: %s", mCameraProperties->get(CameraProperties::SUPPORTED_PREVIEW_FORMATS)); 292 if (strcmp(mCameraProperties->get(CameraProperties::VSTAB_SUPPORTED), 314 if (isParameterValid(valstr,mCameraProperties->get(CameraProperties::SUPPORTED_IPP_MODES))) { 361 if ( !isResolutionValid(h,w, mCameraProperties->get(CameraProperties::SUPPORTED_PREVIEW_SIZES))) 375 if ( !isResolutionValid(w, h, mCameraProperties->get(CameraProperties::SUPPORTED_PREVIEW_SIZES))) 389 if ( !isResolutionValid(w, h, mCameraProperties->get(CameraProperties::SUPPORTED_PREVIEW_SIZES))) { 459 if (isParameterValid(valstr, mCameraProperties->get(CameraProperties::SUPPORTED_FOCUS_MODES))) [all...] |
CameraHal_Module.cpp | 29 #include "CameraProperties.h" 33 static android::CameraProperties gCameraProperties; 492 android::CameraProperties::Properties* properties = NULL; 630 CAMHAL_LOGEA("Unable to create or initialize CameraProperties"); 646 android::CameraProperties::Properties* properties = NULL; 652 CAMHAL_LOGEA("Unable to create or initialize CameraProperties"); 666 valstr = properties->get(android::CameraProperties::FACING_INDEX); 679 valstr = properties->get(android::CameraProperties::ORIENTATION_INDEX);
|
Android.mk | 14 CameraProperties.cpp \
|
/hardware/ti/omap4-aah/camera/ |
CameraParameters.cpp | 18 * @file CameraProperties.cpp 24 #include "CameraProperties.h" 29 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-values" [all...] |
CameraProperties.cpp | 18 * @file CameraProperties.cpp 24 #include "CameraProperties.h" 43 CameraProperties - public function implemetation 46 CameraProperties::CameraProperties() : mCamerasSupported(0) 56 CameraProperties::~CameraProperties() 64 // Initializes the CameraProperties class 65 status_t CameraProperties::initialize() 87 extern "C" status_t CameraAdapter_Capabilities(CameraProperties::Properties* properties_array [all...] |
CameraHal.cpp | 28 #include "CameraProperties.h" 43 ////@todo Have a CameraProperties class to store these parameters as constants for every camera 358 if (strcmp (V4L_CAMERA_NAME_USB, mCameraProperties->get(CameraProperties::CAMERA_NAME)) == 0 ) { 370 if ( isParameterValid(valstr, mCameraProperties->get(CameraProperties::SUPPORTED_PREVIEW_FORMATS))) { 375 mCameraProperties->get(CameraProperties::SUPPORTED_PREVIEW_FORMATS)); 381 if (strcmp(mCameraProperties->get(CameraProperties::VNF_SUPPORTED), 397 if (strcmp(mCameraProperties->get(CameraProperties::VSTAB_SUPPORTED), 459 if (isParameterValid(valstr,mCameraProperties->get(CameraProperties::SUPPORTED_IPP_MODES))) { 555 if ( (!isResolutionValid(w, h, mCameraProperties->get(CameraProperties::SUPPORTED_PREVIEW_SIZES))) 556 && (!isResolutionValid(w, h, mCameraProperties->get(CameraProperties::SUPPORTED_PREVIEW_SUBSAMPLED_SIZES)) [all...] |
CameraHal_Module.cpp | 27 #include "CameraProperties.h" 41 static CameraProperties gCameraProperties; 635 CameraProperties::Properties* properties = NULL; 770 CAMHAL_LOGEA("Unable to create or initialize CameraProperties"); 785 CameraProperties::Properties* properties = NULL; 791 CAMHAL_LOGEA("Unable to create or initialize CameraProperties"); 806 valstr = properties->get(CameraProperties::FACING_INDEX); 819 valstr = properties->get(CameraProperties::ORIENTATION_INDEX);
|
Android.mk | 73 CameraProperties.cpp \
|
/hardware/ti/omap4xxx/camera/OMXCameraAdapter/ |
OMXCapabilities.cpp | 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) [all...] |
/hardware/ti/omap4-aah/camera/V4LCameraAdapter/ |
V4LCapabilities.cpp | 66 status_t V4LCameraAdapter::insertDefaults(CameraProperties::Properties* params, V4L_TI_CAPTYPE &caps) 71 params->set(CameraProperties::PREVIEW_FORMAT, DEFAULT_PREVIEW_FORMAT); 73 params->set(CameraProperties::PICTURE_FORMAT, DEFAULT_PICTURE_FORMAT); 74 params->set(CameraProperties::PICTURE_SIZE, DEFAULT_PICTURE_SIZE); 75 params->set(CameraProperties::PREVIEW_SIZE, DEFAULT_PREVIEW_SIZE); 76 params->set(CameraProperties::PREVIEW_FRAME_RATE, DEFAULT_FRAMERATE); 77 params->set(CameraProperties::REQUIRED_PREVIEW_BUFS, DEFAULT_NUM_PREV_BUFS); 78 params->set(CameraProperties::FOCUS_MODE, DEFAULT_FOCUS_MODE); 80 params->set(CameraProperties::CAMERA_NAME, "USBCAMERA"); 81 params->set(CameraProperties::JPEG_THUMBNAIL_SIZE, "320x240") [all...] |
/hardware/ti/omap4-aah/camera/OMXCameraAdapter/ |
OMXCapabilities.cpp | 598 status_t OMXCameraAdapter::insertImageSizes(CameraProperties::Properties* params, OMX_TI_CAPTYPE &caps) 638 params->set(CameraProperties::SUPPORTED_PICTURE_SIZES, supported); 640 params->set(CameraProperties::MAX_PICTURE_WIDTH, caps.tImageResRange.nWidthMax); 641 params->set(CameraProperties::MAX_PICTURE_HEIGHT, caps.tImageResRange.nHeightMax); 656 params->set(CameraProperties::SUPPORTED_PICTURE_TOPBOTTOM_SIZES, supported); 661 params->set(CameraProperties::SUPPORTED_PICTURE_TOPBOTTOM_SIZES, supported); 677 params->set(CameraProperties::SUPPORTED_PICTURE_SIDEBYSIDE_SIZES, supported); 682 params->set(CameraProperties::SUPPORTED_PICTURE_SIDEBYSIDE_SIZES, supported); 698 params->set(CameraProperties::SUPPORTED_PICTURE_SUBSAMPLED_SIZES, supported); 701 params->set(CameraProperties::SUPPORTED_PICTURE_SUBSAMPLED_SIZES, supported) [all...] |
OMXCameraAdapter.cpp | 54 status_t OMXCameraAdapter::initialize(CameraProperties::Properties* caps) 270 mountOrientationString = mCapabilities->get(CameraProperties::ORIENTATION_INDEX); 279 if (mCapabilities->get(CameraProperties::SUPPORTED_ZOOM_STAGES) != NULL) { 280 mMaxZoomSupported = mCapabilities->getInt(CameraProperties::SUPPORTED_ZOOM_STAGES) + 1; 809 entry = getSceneModeEntry(mCapabilities->get(CameraProperties::CAMERA_NAME), 928 mCapabilities->get(CameraProperties::SUPPORTED_PICTURE_SIZES)); 932 mCapabilities->get(CameraProperties::SUPPORTED_PREVIEW_FRAME_RATES)); 935 mCapabilities->get(CameraProperties::SUPPORTED_PREVIEW_FRAME_RATES_EXT)); [all...] |
/hardware/ti/omap4-aah/camera/inc/V4LCameraAdapter/ |
V4LCameraAdapter.h | 107 virtual status_t initialize(CameraProperties::Properties*); 117 static status_t getCaps(const int sensorId, CameraProperties::Properties* params, V4L_HANDLETYPE handle); 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/omap4-aah/camera/inc/OMXCameraAdapter/ |
OMXCameraAdapter.h | 400 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/omap4-aah/camera/inc/ |
CameraProperties.h | 57 class CameraProperties 188 CameraProperties(); 189 ~CameraProperties(); 223 ///Initializes the CameraProperties class
|
BaseCameraAdapter.h | 46 virtual status_t initialize(CameraProperties::Properties*) = 0;
|
CameraHal.h | 56 #include "CameraProperties.h" 952 virtual int initialize(CameraProperties::Properties*) = 0; [all...] |
/hardware/ti/omap4xxx/camera/inc/ |
CameraProperties.h | 44 class CameraProperties 143 CameraProperties(); 144 ~CameraProperties(); 179 ///Initializes the CameraProperties class
|
BaseCameraAdapter.h | 35 virtual status_t initialize(CameraProperties::Properties*) = 0;
|
CameraHal.h | 42 #include "CameraProperties.h" 798 virtual int initialize(CameraProperties::Properties*) = 0; 1066 status_t initialize(CameraProperties::Properties*); [all...] |
/hardware/ti/omap4xxx/camera/inc/OMXCameraAdapter/ |
OMXCameraAdapter.h | 356 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/omap4xxx/camera/inc/V4LCameraAdapter/ |
V4LCameraAdapter.h | 72 virtual status_t initialize(CameraProperties::Properties*, int sensor_index=0);
|
/hardware/ti/omap4xxx/camera/V4LCameraAdapter/ |
V4LCameraAdapter.cpp | 64 status_t V4LCameraAdapter::initialize(CameraProperties::Properties* caps) 582 extern "C" int CameraAdapter_Capabilities(CameraProperties::Properties* properties_array, 586 CameraProperties::Properties* properties = NULL; 599 properties->set(CameraProperties::CAMERA_NAME, "USBCamera");
|