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
commit8025f884a80cbef8f536153300b97aa7a72b22dc (patch)
tree746e9a44b0f209f3f0a9aa63c45a36df07fde54c /camera/inc
parent797f2045d2e972e5dc08cf0eff63a0415730aba4 (diff)
downloadhardware_ti_omap4-8025f884a80cbef8f536153300b97aa7a72b22dc.zip
hardware_ti_omap4-8025f884a80cbef8f536153300b97aa7a72b22dc.tar.gz
hardware_ti_omap4-8025f884a80cbef8f536153300b97aa7a72b22dc.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
+
};
};