diff options
author | James Dong <jdong@google.com> | 2010-06-04 13:59:27 -0700 |
---|---|---|
committer | James Dong <jdong@google.com> | 2010-06-08 11:54:21 -0700 |
commit | dae9fd31907c62712f7a96bb2a8e288b0cca57c2 (patch) | |
tree | 11a43e820abb66a26beace440e94dc7df6f54529 /include | |
parent | 31b1975890d0159ab5ee060c94084461f8b74bd8 (diff) | |
download | frameworks_base-dae9fd31907c62712f7a96bb2a8e288b0cca57c2.zip frameworks_base-dae9fd31907c62712f7a96bb2a8e288b0cca57c2.tar.gz frameworks_base-dae9fd31907c62712f7a96bb2a8e288b0cca57c2.tar.bz2 |
Initial check-in for collecting stats from authoring engine at runtime
Change-Id: I93a9d8bd260efc5e7fc135b726e3f1307c6df794
Diffstat (limited to 'include')
-rw-r--r-- | include/media/stagefright/AudioSource.h | 6 | ||||
-rw-r--r-- | include/media/stagefright/CameraSource.h | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/include/media/stagefright/AudioSource.h b/include/media/stagefright/AudioSource.h index 2519379..860384e 100644 --- a/include/media/stagefright/AudioSource.h +++ b/include/media/stagefright/AudioSource.h @@ -51,6 +51,12 @@ private: AudioRecord *mRecord; status_t mInitCheck; bool mStarted; + + bool mCollectStats; + int64_t mTotalReadTimeUs; + int64_t mTotalReadBytes; + int64_t mTotalReads; + MediaBufferGroup *mGroup; AudioSource(const AudioSource &); diff --git a/include/media/stagefright/CameraSource.h b/include/media/stagefright/CameraSource.h index 0a7023a..b2134b4 100644 --- a/include/media/stagefright/CameraSource.h +++ b/include/media/stagefright/CameraSource.h @@ -65,6 +65,7 @@ private: int32_t mNumFramesReceived; int32_t mNumFramesEncoded; int32_t mNumFramesDropped; + bool mCollectStats; bool mStarted; CameraSource(const sp<Camera> &camera); |