summaryrefslogtreecommitdiffstats
path: root/camera/inc
diff options
context:
space:
mode:
authorSundar Raman <sunds@ti.com>2011-09-15 20:12:08 -0700
committerIliyan Malchev <malchev@google.com>2011-09-19 22:29:22 -0700
commitc493114006e0e136c8c88c2fc9865994054959bf (patch)
tree11eb19e31666ed8807cf9ea7207ae43bdf3efde4 /camera/inc
parent524cc0cda6ed8cb07e0469fc931657ac60335aa1 (diff)
downloadhardware_ti_omap4xxx-c493114006e0e136c8c88c2fc9865994054959bf.zip
hardware_ti_omap4xxx-c493114006e0e136c8c88c2fc9865994054959bf.tar.gz
hardware_ti_omap4xxx-c493114006e0e136c8c88c2fc9865994054959bf.tar.bz2
CameraHAL: Adds some useful debug logs on frame counts
Change-Id: Ifb1434f9fd1c85f040d67f3df6fb7c4a86e135db Signed-off-by: Sundar Raman <sunds@ti.com>
Diffstat (limited to 'camera/inc')
-rw-r--r--camera/inc/BaseCameraAdapter.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/camera/inc/BaseCameraAdapter.h b/camera/inc/BaseCameraAdapter.h
index 5a014b5..ebfa44d 100644
--- a/camera/inc/BaseCameraAdapter.h
+++ b/camera/inc/BaseCameraAdapter.h
@@ -245,6 +245,15 @@ protected:
void *mReleaseData;
void *mEndCaptureData;
bool mRecording;
+
+ uint32_t mFramesWithDucati;
+ uint32_t mFramesWithDisplay;
+ uint32_t mFramesWithEncoder;
+
+#ifdef DEBUG_LOG
+ KeyedVector<int, bool> mBuffersWithDucati;
+#endif
+
};
};