summaryrefslogtreecommitdiffstats
path: root/camera/NV12_resize.cpp
Commit message (Collapse)AuthorAgeFilesLines
* CameraHAL: Fixed NV12_resize coding styleDaniel Levin2012-07-251-134/+98
| | | | | | | | | | | - Added license - Fixed indentation - Replaced TRUE/FALSE with true/false No functional changes. Change-Id: Iea364bbb33e1abaa28284cb9083622e163ab122d Signed-off-by: Daniel Levin <dendy@ti.com>
* CameraHAL: Portability changesDaniel Levin2012-07-251-0/+326
1. Moved common definitions to Global.h header: - CAMHAL_LOG* macros (also added CAMHAL_LOGI and CAMHAL_LOGW) - CAMHAL_ASSERT* macros - CAMHAL_UNUSED macro 2. Renamed NV12_resize.c to NV12_resize.cpp 3. Added common math functions into UtilsGlobal.h header: - min(a, b) - returns min of a and b - max(a, b) - returns max of a and b - bound(min, a, max) - return nearest value to a in scope [min..max] - floor(a) - round a to lower integer - round(a) - round a to nearest integer 4. Portability: - Fixed LOG* macros to use appropriate CAMHAL_LOG* wrappers. - Reworked the Android.mk to include proper directories depending on current pastry. Change-Id: I6fbd1ee02d8af2195b91cc357ddcf554fe77f495 Signed-off-by: Daniel Levin <dendy@ti.com>