Home
last modified time | relevance | path

Searched refs:OMXCameraAdapter (Results 1 – 25 of 26) sorted by relevance

12

/hardware/ti/omap4xxx/camera/OMXCameraAdapter/
DOMXDefaults.cpp35 const char OMXCameraAdapter::DEFAULT_ANTIBANDING[] = "auto";
36 const char OMXCameraAdapter::DEFAULT_BRIGHTNESS[] = "50";
37 const char OMXCameraAdapter::DEFAULT_CONTRAST[] = "100";
38 const char OMXCameraAdapter::DEFAULT_EFFECT[] = "none";
39 const char OMXCameraAdapter::DEFAULT_EV_COMPENSATION[] = "0";
40 const char OMXCameraAdapter::DEFAULT_EV_STEP[] = "0.1";
41 const char OMXCameraAdapter::DEFAULT_EXPOSURE_MODE[] = "auto";
42 const char OMXCameraAdapter::DEFAULT_FLASH_MODE[] = "off";
43 const char OMXCameraAdapter::DEFAULT_FOCUS_MODE_PREFERRED[] = "auto";
44 const char OMXCameraAdapter::DEFAULT_FOCUS_MODE[] = "infinity";
[all …]
DOMXAlgo.cpp36 status_t OMXCameraAdapter::setParametersAlgo(const CameraParameters &params, in setParametersAlgo()
51 capMode = OMXCameraAdapter::HIGH_SPEED; in setParametersAlgo()
55 capMode = OMXCameraAdapter::HIGH_QUALITY; in setParametersAlgo()
59 capMode = OMXCameraAdapter::HIGH_QUALITY_ZSL; in setParametersAlgo()
63 capMode = OMXCameraAdapter::VIDEO_MODE; in setParametersAlgo()
67 capMode = OMXCameraAdapter::HIGH_QUALITY; in setParametersAlgo()
72 capMode = OMXCameraAdapter::HIGH_QUALITY_ZSL; in setParametersAlgo()
86 …if((mCapMode == OMXCameraAdapter::HIGH_QUALITY) || (mCapMode == OMXCameraAdapter::HIGH_QUALITY_ZSL) in setParametersAlgo()
87 || (mCapMode == OMXCameraAdapter::VIDEO_MODE) ) in setParametersAlgo()
93 ipp = OMXCameraAdapter::IPP_LDCNSF; in setParametersAlgo()
[all …]
DOMXCapabilities.cpp54 const CapResolution OMXCameraAdapter::mImageCapRes [] = {
71 const CapResolution OMXCameraAdapter::mPreviewRes [] = {
87 const CapResolution OMXCameraAdapter::mThumbRes [] = {
98 const CapPixelformat OMXCameraAdapter::mPixelformats [] = {
106 const CapFramerate OMXCameraAdapter::mFramerates [] = {
111 const CapZoom OMXCameraAdapter::mZoomStages [] = {
175 const CapISO OMXCameraAdapter::mISOStages [] = {
187 const CapU32 OMXCameraAdapter::mSensorNames [] = {
197 const CapU32Pair OMXCameraAdapter::mVarFramerates [] = {
226 status_t OMXCameraAdapter::encodePixelformatCap(OMX_COLOR_FORMATTYPE format, in encodePixelformatCap()
[all …]
DOMX3A.cpp42 const SceneModesEntry* OMXCameraAdapter::getSceneModeEntry(const char* name, in getSceneModeEntry()
72 status_t OMXCameraAdapter::setParameters3A(const CameraParameters &params, in setParameters3A()
378 int OMXCameraAdapter::getLUTvalue_HALtoOMX(const char * HalValue, LUTtype LUT) in getLUTvalue_HALtoOMX()
389 const char* OMXCameraAdapter::getLUTvalue_OMXtoHAL(int OMXValue, LUTtype LUT) in getLUTvalue_OMXtoHAL()
399 status_t OMXCameraAdapter::init3AParams(Gen3A_settings &Gen3A) in init3AParams()
403 Gen3A.Effect = getLUTvalue_HALtoOMX(OMXCameraAdapter::DEFAULT_EFFECT, EffLUT); in init3AParams()
404 Gen3A.FlashMode = getLUTvalue_HALtoOMX(OMXCameraAdapter::DEFAULT_FLASH_MODE, FlashLUT); in init3AParams()
405 Gen3A.SceneMode = getLUTvalue_HALtoOMX(OMXCameraAdapter::DEFAULT_SCENE_MODE, SceneLUT); in init3AParams()
406 Gen3A.EVCompensation = atoi(OMXCameraAdapter::DEFAULT_EV_COMPENSATION); in init3AParams()
407 Gen3A.Focus = getLUTvalue_HALtoOMX(OMXCameraAdapter::DEFAULT_FOCUS_MODE, FocusLUT); in init3AParams()
[all …]
DOMXZoom.cpp33 const int32_t OMXCameraAdapter::ZOOM_STEPS [ZOOM_STAGES] = {
52 status_t OMXCameraAdapter::setParametersZoom(const CameraParameters &params, in setParametersZoom()
86 status_t OMXCameraAdapter::doZoom(int index) in doZoom()
138 status_t OMXCameraAdapter::advanceZoom() in advanceZoom()
238 status_t OMXCameraAdapter::startSmoothZoom(int targetIdx) in startSmoothZoom()
267 status_t OMXCameraAdapter::stopSmoothZoom() in stopSmoothZoom()
DOMXCameraAdapter.cpp53 status_t OMXCameraAdapter::initialize(CameraProperties::Properties* caps) in initialize()
99 …eError = OMXCameraAdapter::OMXCameraGetHandle(&mCameraAdapterParameters.mHandleComp, (OMX_PTR)this… in initialize()
306 void OMXCameraAdapter::performCleanupAfterError() in performCleanupAfterError()
320 OMXCameraAdapter::OMXCameraPortParameters *OMXCameraAdapter::getPortParams(CameraFrame::FrameType f… in getPortParams()
322 OMXCameraAdapter::OMXCameraPortParameters *ret = NULL; in getPortParams()
345 status_t OMXCameraAdapter::fillThisBuffer(void* frameBuf, CameraFrame::FrameType frameType) in fillThisBuffer()
416 status_t OMXCameraAdapter::setParameters(const CameraParameters &params) in setParameters()
633 void OMXCameraAdapter::getParameters(CameraParameters& params) in getParameters()
670 (mCapMode != OMXCameraAdapter::VIDEO_MODE)) { in getParameters()
771 status_t OMXCameraAdapter::setFormat(OMX_U32 port, OMXCameraPortParameters &portParams) in setFormat()
[all …]
DOMXFocus.cpp39 status_t OMXCameraAdapter::setParametersFocus(const CameraParameters &params, in setParametersFocus()
80 status_t OMXCameraAdapter::doAutoFocus() in doAutoFocus()
221 status_t OMXCameraAdapter::stopAutoFocus() in stopAutoFocus()
271 status_t OMXCameraAdapter::getFocusMode(OMX_IMAGE_CONFIG_FOCUSCONTROLTYPE &focusMode) in getFocusMode()
298 status_t OMXCameraAdapter::cancelAutoFocus() in cancelAutoFocus()
331 status_t OMXCameraAdapter::setFocusCallback(bool enabled) in setFocusCallback()
387 status_t OMXCameraAdapter::returnFocusStatus(bool timeoutReached) in returnFocusStatus()
483 status_t OMXCameraAdapter::checkFocus(OMX_PARAM_FOCUSSTATUSTYPE *eFocusStatus) in checkFocus()
531 status_t OMXCameraAdapter::updateFocusDistances(CameraParameters &params) in updateFocusDistances()
557 status_t OMXCameraAdapter::getFocusDistances(OMX_U32 &near,OMX_U32 &optimal, OMX_U32 &far) in getFocusDistances()
[all …]
DOMXFD.cpp42 status_t OMXCameraAdapter::setParametersFD(const CameraParameters &params, in setParametersFD()
54 status_t OMXCameraAdapter::startFaceDetection() in startFaceDetection()
78 status_t OMXCameraAdapter::stopFaceDetection() in stopFaceDetection()
107 void OMXCameraAdapter::pauseFaceDetection(bool pause) in pauseFaceDetection()
117 status_t OMXCameraAdapter::setFaceDetection(bool enable, OMX_U32 orientation) in setFaceDetection()
188 status_t OMXCameraAdapter::detectFaces(OMX_BUFFERHEADERTYPE* pBuffHeader, in detectFaces()
292 status_t OMXCameraAdapter::encodeFaceCoordinates(const OMX_FACEDETECTIONTYPE *faceData, in encodeFaceCoordinates()
DOMXCapture.cpp35 status_t OMXCameraAdapter::setParametersCapture(const CameraParameters &params, in setParametersCapture()
159 if (( varint != -1 ) && (mCapMode == OMXCameraAdapter::VIDEO_MODE)) in setParametersCapture()
278 status_t OMXCameraAdapter::getPictureBufferSize(size_t &length, size_t bufferCount) in getPictureBufferSize()
316 status_t OMXCameraAdapter::parseExpRange(const char *rangeStr, in parseExpRange()
376 status_t OMXCameraAdapter::setExposureBracketing(int *evValues, in setExposureBracketing()
469 status_t OMXCameraAdapter::setShutterCallback(bool enabled) in setShutterCallback()
522 status_t OMXCameraAdapter::doBracketing(OMX_BUFFERHEADERTYPE *pBuffHeader, in doBracketing()
571 status_t OMXCameraAdapter::sendBracketFrames() in sendBracketFrames()
612 status_t OMXCameraAdapter::startBracketing(int range) in startBracketing()
693 status_t OMXCameraAdapter::stopBracketing() in stopBracketing()
[all …]
DOMXExif.cpp34 status_t OMXCameraAdapter::setParametersEXIF(const CameraParameters &params, in setParametersEXIF()
232 status_t OMXCameraAdapter::setupEXIF() in setupEXIF()
511 status_t OMXCameraAdapter::setupEXIF_libjpeg(ExifElementsTable* exifTable, in setupEXIF_libjpeg()
800 status_t OMXCameraAdapter::convertGPSCoord(double coord, in convertGPSCoord()
/hardware/ti/omap4-aah/camera/OMXCameraAdapter/
DOMXDefaults.cpp33 const char OMXCameraAdapter::DEFAULT_ANTIBANDING[] = "auto";
34 const char OMXCameraAdapter::DEFAULT_BRIGHTNESS[] = "50";
35 const char OMXCameraAdapter::DEFAULT_CONTRAST[] = "100";
36 const char OMXCameraAdapter::DEFAULT_EFFECT[] = "none";
37 const char OMXCameraAdapter::DEFAULT_EV_COMPENSATION[] = "0";
38 const char OMXCameraAdapter::DEFAULT_EV_STEP[] = "0.1";
39 const char OMXCameraAdapter::DEFAULT_EXPOSURE_MODE[] = "auto";
40 const char OMXCameraAdapter::DEFAULT_FLASH_MODE[] = "off";
41 const char OMXCameraAdapter::DEFAULT_FOCUS_MODE_PREFERRED[] = "auto";
42 const char OMXCameraAdapter::DEFAULT_FOCUS_MODE[] = "infinity";
[all …]
DOMXAlgo.cpp33 status_t OMXCameraAdapter::setParametersAlgo(const android::CameraParameters &params, in setParametersAlgo()
50 capMode = OMXCameraAdapter::HIGH_SPEED; in setParametersAlgo()
53 capMode = OMXCameraAdapter::HIGH_SPEED; in setParametersAlgo()
56 capMode = OMXCameraAdapter::HIGH_SPEED; in setParametersAlgo()
59 capMode = OMXCameraAdapter::HIGH_QUALITY; in setParametersAlgo()
62 capMode = OMXCameraAdapter::HIGH_QUALITY_ZSL; in setParametersAlgo()
65 capMode = OMXCameraAdapter::VIDEO_MODE; in setParametersAlgo()
68 capMode = OMXCameraAdapter::VIDEO_MODE_HQ; in setParametersAlgo()
71 capMode = OMXCameraAdapter::CP_CAM; in setParametersAlgo()
74 capMode = OMXCameraAdapter::HIGH_SPEED; in setParametersAlgo()
[all …]
DOMXCapabilities.cpp46 const int OMXCameraAdapter::SENSORID_IMX060 = 300;
47 const int OMXCameraAdapter::SENSORID_OV5650 = 301;
48 const int OMXCameraAdapter::SENSORID_OV5640 = 302;
49 const int OMXCameraAdapter::SENSORID_OV14825 = 304;
50 const int OMXCameraAdapter::SENSORID_S5K4E1GA = 305;
51 const int OMXCameraAdapter::SENSORID_S5K6A1GX03 = 306;
52 const int OMXCameraAdapter::SENSORID_OV8830 = 310;
53 const int OMXCameraAdapter::SENSORID_OV2722 = 311;
56 const int OMXCameraAdapter::FPS_MIN = 5;
57 const int OMXCameraAdapter::FPS_MAX = 30;
[all …]
DOMXZoom.cpp30 const int32_t OMXCameraAdapter::ZOOM_STEPS [ZOOM_STAGES] = {
49 status_t OMXCameraAdapter::setParametersZoom(const android::CameraParameters &params, in setParametersZoom()
82 status_t OMXCameraAdapter::doZoom(int index) in doZoom()
133 status_t OMXCameraAdapter::advanceZoom() in advanceZoom()
233 status_t OMXCameraAdapter::startSmoothZoom(int targetIdx) in startSmoothZoom()
259 status_t OMXCameraAdapter::stopSmoothZoom() in stopSmoothZoom()
DOMXDccDataSave.cpp31 status_t OMXCameraAdapter::initDccFileDataSave(OMX_HANDLETYPE* omxHandle, int portIndex) in initDccFileDataSave()
65 status_t OMXCameraAdapter::sniffDccFileDataSave(OMX_BUFFERHEADERTYPE* pBuffHeader) in sniffDccFileDataSave()
137 FILE * OMXCameraAdapter::parseDCCsubDir(DIR *pDir, char *path) in parseDCCsubDir()
215 FILE * OMXCameraAdapter::fopenCameraDCC(const char *dccFolderPath) in fopenCameraDCC()
245 status_t OMXCameraAdapter::fseekDCCuseCasePos(FILE *pFile) in fseekDCCuseCasePos()
303 status_t OMXCameraAdapter::saveDccFileDataSave() in saveDccFileDataSave()
343 status_t OMXCameraAdapter::closeDccFileDataSave() in closeDccFileDataSave()
DOMXCameraAdapter.cpp44 const char OMXCameraAdapter::DEFAULT_PROFILE_PATH[] = "/data/dbg/profile_data.bin";
54 status_t OMXCameraAdapter::initialize(CameraProperties::Properties* caps) in initialize()
123 …eError = OMXCameraAdapter::OMXCameraGetHandle(&mCameraAdapterParameters.mHandleComp, this, callbac… in initialize()
358 mParameters3A.Effect = getLUTvalue_HALtoOMX(OMXCameraAdapter::DEFAULT_EFFECT, EffLUT); in initialize()
359 mParameters3A.FlashMode = getLUTvalue_HALtoOMX(OMXCameraAdapter::DEFAULT_FLASH_MODE, FlashLUT); in initialize()
360 mParameters3A.SceneMode = getLUTvalue_HALtoOMX(OMXCameraAdapter::DEFAULT_SCENE_MODE, SceneLUT); in initialize()
361 mParameters3A.EVCompensation = atoi(OMXCameraAdapter::DEFAULT_EV_COMPENSATION); in initialize()
362 mParameters3A.Focus = getLUTvalue_HALtoOMX(OMXCameraAdapter::DEFAULT_FOCUS_MODE, FocusLUT); in initialize()
363 mParameters3A.ISO = getLUTvalue_HALtoOMX(OMXCameraAdapter::DEFAULT_ISO_MODE, IsoLUT); in initialize()
364 mParameters3A.Flicker = getLUTvalue_HALtoOMX(OMXCameraAdapter::DEFAULT_ANTIBANDING, FlickerLUT); in initialize()
[all …]
DOMX3A.cpp37 const SceneModesEntry* OMXCameraAdapter::getSceneModeEntry(const char* name, in getSceneModeEntry()
67 status_t OMXCameraAdapter::setParameters3A(const android::CameraParameters &params, in setParameters3A()
412 void OMXCameraAdapter::updateGammaTable(const char* gamma) in updateGammaTable()
489 void OMXCameraAdapter::declareParameter3ABool(const android::CameraParameters &params, const char *… in declareParameter3ABool()
513 int OMXCameraAdapter::getLUTvalue_HALtoOMX(const char * HalValue, LUTtype LUT) in getLUTvalue_HALtoOMX()
524 const char* OMXCameraAdapter::getLUTvalue_OMXtoHAL(int OMXValue, LUTtype LUT) in getLUTvalue_OMXtoHAL()
534 int OMXCameraAdapter::getMultipleLUTvalue_OMXtoHAL(int OMXValue, LUTtype LUT, char * supported) in getMultipleLUTvalue_OMXtoHAL()
553 status_t OMXCameraAdapter::setExposureMode(Gen3A_settings& Gen3A) in setExposureMode()
609 status_t OMXCameraAdapter::setManualExposureVal(Gen3A_settings& Gen3A) { in setManualExposureVal()
675 status_t OMXCameraAdapter::setFlashMode(Gen3A_settings& Gen3A) in setFlashMode()
[all …]
DOMXFocus.cpp36 const nsecs_t OMXCameraAdapter::CANCEL_AF_TIMEOUT = seconds_to_nanoseconds(1);
38 status_t OMXCameraAdapter::setParametersFocus(const android::CameraParameters &params, in setParametersFocus()
79 status_t OMXCameraAdapter::doAutoFocus() in doAutoFocus()
236 status_t OMXCameraAdapter::stopAutoFocus() in stopAutoFocus()
285 status_t OMXCameraAdapter::getFocusMode(OMX_IMAGE_CONFIG_FOCUSCONTROLTYPE &focusMode) in getFocusMode()
312 status_t OMXCameraAdapter::cancelAutoFocus() in cancelAutoFocus()
358 status_t OMXCameraAdapter::setFocusCallback(bool enabled) in setFocusCallback()
414 status_t OMXCameraAdapter::returnFocusStatus(bool timeoutReached) in returnFocusStatus()
510 status_t OMXCameraAdapter::checkFocus(OMX_PARAM_FOCUSSTATUSTYPE *eFocusStatus) in checkFocus()
559 status_t OMXCameraAdapter::updateFocusDistances(android::CameraParameters &params) in updateFocusDistances()
[all …]
DOMXFD.cpp30 const uint32_t OMXCameraAdapter::FACE_DETECTION_THRESHOLD = 80;
32 status_t OMXCameraAdapter::setParametersFD(const android::CameraParameters &params, in setParametersFD()
44 status_t OMXCameraAdapter::startFaceDetection() in startFaceDetection()
68 status_t OMXCameraAdapter::stopFaceDetection() in stopFaceDetection()
101 void OMXCameraAdapter::pauseFaceDetection(bool pause) in pauseFaceDetection()
111 status_t OMXCameraAdapter::setFaceDetectionOrientation(OMX_U32 orientation) in setFaceDetectionOrientation()
127 status_t OMXCameraAdapter::setFaceDetection(bool enable, OMX_U32 orientation) in setFaceDetection()
200 status_t OMXCameraAdapter::createPreviewMetadata(OMX_BUFFERHEADERTYPE* pBuffHeader, in createPreviewMetadata()
301 status_t OMXCameraAdapter::encodeFaceCoordinates(const OMX_FACEDETECTIONTYPE *faceData, in encodeFaceCoordinates()
DOMXCapture.cpp32 status_t OMXCameraAdapter::setParametersCapture(const android::CameraParameters &params, in setParametersCapture()
173 if (mCapMode == OMXCameraAdapter::CP_CAM) { in setParametersCapture()
183 if (mCapMode == OMXCameraAdapter::CP_CAM) { in setParametersCapture()
191 if (mCapMode == OMXCameraAdapter::CP_CAM) { in setParametersCapture()
357 status_t OMXCameraAdapter::getPictureBufferSize(CameraFrame &frame, size_t bufferCount) in getPictureBufferSize()
403 int OMXCameraAdapter::getBracketingValueMode(const char *a, const char *b) const in getBracketingValueMode()
417 status_t OMXCameraAdapter::parseExpRange(const char *rangeStr, in parseExpRange()
502 status_t OMXCameraAdapter::doExposureBracketing(int *evValues, in doExposureBracketing()
537 status_t OMXCameraAdapter::setVectorStop(bool toPreview) in setVectorStop()
569 status_t OMXCameraAdapter::initVectorShot() in initVectorShot()
[all …]
DOMXReprocess.cpp32 status_t OMXCameraAdapter::setParametersReprocess(const android::CameraParameters &params, in setParametersReprocess()
97 status_t OMXCameraAdapter::startReprocess() in startReprocess()
140 status_t OMXCameraAdapter::stopReprocess() in stopReprocess()
203 status_t OMXCameraAdapter::disableReprocess(){ in disableReprocess()
213 status_t OMXCameraAdapter::UseBuffersReprocess(CameraBuffer *bufArr, int num) in UseBuffersReprocess()
DOMXMetadata.cpp35 camera_memory_t * OMXCameraAdapter::getMetaData(const OMX_PTR plat_pvt, in getMetaData()
144 status_t OMXCameraAdapter::encodePreviewMetadata(camera_frame_metadata_t *meta, const OMX_PTR plat_… in encodePreviewMetadata()
/hardware/ti/omap4xxx/camera/
DAndroid.mk27 OMXCameraAdapter/OMX3A.cpp \
28 OMXCameraAdapter/OMXAlgo.cpp \
29 OMXCameraAdapter/OMXCameraAdapter.cpp \
30 OMXCameraAdapter/OMXCapabilities.cpp \
31 OMXCameraAdapter/OMXCapture.cpp \
32 OMXCameraAdapter/OMXDefaults.cpp \
33 OMXCameraAdapter/OMXExif.cpp \
34 OMXCameraAdapter/OMXFD.cpp \
35 OMXCameraAdapter/OMXFocus.cpp \
36 OMXCameraAdapter/OMXZoom.cpp \
[all …]
/hardware/ti/omap4xxx/camera/inc/OMXCameraAdapter/
DOMXCameraAdapter.h195 class OMXCameraAdapter : public BaseCameraAdapter
352 OMXCameraAdapter(size_t sensor_index);
353 ~OMXCameraAdapter();
534 status_t setNSF(OMXCameraAdapter::IPPMode mode);
537 status_t setLDC(OMXCameraAdapter::IPPMode mode);
540 status_t setGLBCE(OMXCameraAdapter::BrightnessMode mode);
543 status_t setGBCE(OMXCameraAdapter::BrightnessMode mode);
626 status_t setCaptureMode(OMXCameraAdapter::CaptureMode mode);
653 CommandHandler(OMXCameraAdapter* ca) in CommandHandler()
683 OMXCameraAdapter* mCameraAdapter;
[all …]
/hardware/ti/omap4-aah/camera/inc/OMXCameraAdapter/
DOMXCameraAdapter.h199 class OMXCameraAdapter : public BaseCameraAdapter
396 OMXCameraAdapter(size_t sensor_index);
397 ~OMXCameraAdapter();
616 status_t setNSF(OMXCameraAdapter::IPPMode mode);
619 status_t setLDC(OMXCameraAdapter::IPPMode mode);
622 status_t setGLBCE(OMXCameraAdapter::BrightnessMode mode);
625 status_t setGBCE(OMXCameraAdapter::BrightnessMode mode);
753 status_t setCaptureMode(OMXCameraAdapter::CaptureMode mode);
808 CommandHandler(OMXCameraAdapter* ca) in CommandHandler()
839 OMXCameraAdapter* mCameraAdapter;
[all …]

12