diff options
author | Ivan Evlogiev <x0099089@ti.com> | 2011-11-24 11:29:13 +0200 |
---|---|---|
committer | Daniel Levin <dendy@ti.com> | 2012-07-25 08:55:37 -0500 |
commit | 76a8470e4a6a07bda2fe4452cff93a3ebde2f786 (patch) | |
tree | 38739a54326fe7bbcf53504827b9188dd364f51d /camera/inc/CameraProperties.h | |
parent | 24c1577f58aa422faedf79002593db9a0f3c6af3 (diff) | |
download | hardware_ti_omap4-76a8470e4a6a07bda2fe4452cff93a3ebde2f786.zip hardware_ti_omap4-76a8470e4a6a07bda2fe4452cff93a3ebde2f786.tar.gz hardware_ti_omap4-76a8470e4a6a07bda2fe4452cff93a3ebde2f786.tar.bz2 |
CameraHAL: OMX capabilities fixes
Several bugs in camera capabilities fixed.
Hard-coded capabilities removed -
the capabilities are taken from Ducati now.
Signed-off-by: Pavel Nedev <pnedev@mm-sol.com>
Signed-off-by: Ivan Evlogiev <x0099089@ti.com>
Change-Id: I09f2ff084b1e918ea790b2389c958d96f813ec78
Diffstat (limited to 'camera/inc/CameraProperties.h')
-rw-r--r-- | camera/inc/CameraProperties.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/camera/inc/CameraProperties.h b/camera/inc/CameraProperties.h index be9a902..3968c2b 100644 --- a/camera/inc/CameraProperties.h +++ b/camera/inc/CameraProperties.h @@ -40,6 +40,9 @@ namespace android { #define EXIF_MAKE_DEFAULT "default_make" #define EXIF_MODEL_DEFAULT "default_model" +#define REMAINING_BYTES(buff) ((((int)sizeof(buff) - 1 - (int)strlen(buff)) < 0) ? 0 : (sizeof(buff) - 1 - strlen(buff))) + + // Class that handles the Camera Properties class CameraProperties { |