Home
last modified time | relevance | path

Searched refs:CameraArea (Results 1 – 11 of 11) sorted by relevance

/hardware/ti/omap4xxx/camera/
DCameraHalUtilClasses.cpp120 status_t CameraArea::transfrom(size_t width, in transfrom()
133 hRange = CameraArea::RIGHT - CameraArea::LEFT; in transfrom()
134 vRange = CameraArea::BOTTOM - CameraArea::TOP; in transfrom()
150 status_t CameraArea::checkArea(ssize_t top, in checkArea()
162 if ( ( CameraArea::WEIGHT_MIN > weight ) || ( CameraArea::WEIGHT_MAX < weight ) ) { in checkArea()
167 if ( ( CameraArea::TOP > top ) || ( CameraArea::BOTTOM < top ) ) { in checkArea()
172 if ( ( CameraArea::TOP > bottom ) || ( CameraArea::BOTTOM < bottom ) ) { in checkArea()
177 if ( ( CameraArea::LEFT > left ) || ( CameraArea::RIGHT < left ) ) { in checkArea()
182 if ( ( CameraArea::LEFT > right ) || ( CameraArea::RIGHT < right ) ) { in checkArea()
200 status_t CameraArea::parseAreas(const char *area, in parseAreas()
[all …]
/hardware/ti/omap4-aah/camera/
DCameraHalUtilClasses.cpp118 status_t CameraArea::transfrom(size_t width, in transfrom()
131 hRange = CameraArea::RIGHT - CameraArea::LEFT; in transfrom()
132 vRange = CameraArea::BOTTOM - CameraArea::TOP; in transfrom()
148 status_t CameraArea::checkArea(ssize_t top, in checkArea()
160 if ( ( CameraArea::WEIGHT_MIN > weight ) || ( CameraArea::WEIGHT_MAX < weight ) ) { in checkArea()
165 if ( ( CameraArea::TOP > top ) || ( CameraArea::BOTTOM < top ) ) { in checkArea()
170 if ( ( CameraArea::TOP > bottom ) || ( CameraArea::BOTTOM < bottom ) ) { in checkArea()
175 if ( ( CameraArea::LEFT > left ) || ( CameraArea::RIGHT < left ) ) { in checkArea()
180 if ( ( CameraArea::LEFT > right ) || ( CameraArea::RIGHT < right ) ) { in checkArea()
198 status_t CameraArea::parseAreas(const char *area, in parseAreas()
[all …]
/hardware/ti/omap4xxx/camera/inc/
DCameraHal.h129 class CameraArea : public RefBase
133 CameraArea(ssize_t top, in CameraArea() function
166 bool compare(const sp<CameraArea> &area);
170 Vector< sp<CameraArea> > &areas);
178 static bool areAreasDifferent(Vector< sp<CameraArea> > &, Vector< sp<CameraArea> > &);
/hardware/ti/omap4-aah/camera/inc/
DCameraHal.h185 class CameraArea : public android::RefBase
189 CameraArea(ssize_t top, in CameraArea() function
222 bool compare(const android::sp<CameraArea> &area);
226 android::Vector< android::sp<CameraArea> > &areas);
234 … areAreasDifferent(android::Vector< android::sp<CameraArea> > &, android::Vector< android::sp<Came…
/hardware/ti/omap4xxx/camera/OMXCameraAdapter/
DOMXFocus.cpp44 Vector< sp<CameraArea> > tempAreas; in setParametersFocus()
56 ret = CameraArea::parseAreas(str, ( strlen(str) + 1 ), tempAreas); in setParametersFocus()
59 if ( (NO_ERROR == ret) && CameraArea::areAreasDifferent(mFocusAreas, tempAreas) ) { in setParametersFocus()
DOMX3A.cpp345 Vector< sp<CameraArea> > tempAreas; in setParameters3A()
351 ret = CameraArea::parseAreas(str, ( strlen(str) + 1 ), tempAreas); in setParameters3A()
354 CameraArea::areAreasDifferent(mMeteringAreas, tempAreas)); in setParameters3A()
356 if ( (NO_ERROR == ret) && CameraArea::areAreasDifferent(mMeteringAreas, tempAreas) ) { in setParameters3A()
/hardware/ti/omap4-aah/camera/OMXCameraAdapter/
DOMXFocus.cpp43 android::Vector<android::sp<CameraArea> > tempAreas; in setParametersFocus()
55 ret = CameraArea::parseAreas(str, ( strlen(str) + 1 ), tempAreas); in setParametersFocus()
58 if ( (NO_ERROR == ret) && CameraArea::areAreasDifferent(mFocusAreas, tempAreas) ) { in setParametersFocus()
DOMXAlgo.cpp270 android::Vector<android::sp<CameraArea> > tempAreas; in setAutoConvergence()
306 ret = CameraArea::parseAreas(str, ( strlen(str) + 1 ), tempAreas); in setAutoConvergence()
314 if ( CameraArea::areAreasDifferent(mTouchAreas, tempAreas) ) { in setAutoConvergence()
DOMX3A.cpp362 android::Vector<android::sp<CameraArea> > tempAreas; in setParameters3A()
368 ret = CameraArea::parseAreas(str, ( strlen(str) + 1 ), tempAreas); in setParameters3A()
371 CameraArea::areAreasDifferent(mMeteringAreas, tempAreas)); in setParameters3A()
373 if ( (NO_ERROR == ret) && CameraArea::areAreasDifferent(mMeteringAreas, tempAreas) ) { in setParameters3A()
/hardware/ti/omap4-aah/camera/inc/OMXCameraAdapter/
DOMXCameraAdapter.h1002 android::Vector<android::sp<CameraArea> > mFocusAreas;
1006 android::Vector<android::sp<CameraArea> > mTouchAreas;
1010 android::Vector<android::sp<CameraArea> > mMeteringAreas;
/hardware/ti/omap4xxx/camera/inc/OMXCameraAdapter/
DOMXCameraAdapter.h806 Vector< sp<CameraArea> > mFocusAreas;
810 Vector< sp<CameraArea> > mMeteringAreas;