diff options
Diffstat (limited to 'media/libstagefright/include/AwesomePlayer.h')
-rw-r--r-- | media/libstagefright/include/AwesomePlayer.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/media/libstagefright/include/AwesomePlayer.h b/media/libstagefright/include/AwesomePlayer.h index 107c5da..a5586dd 100644 --- a/media/libstagefright/include/AwesomePlayer.h +++ b/media/libstagefright/include/AwesomePlayer.h @@ -1,5 +1,6 @@ /* * Copyright (C) 2009 The Android Open Source Project + * Copyright (c) 2013, The Linux Foundation. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -303,6 +304,12 @@ private: ASSIGN }; void modifyFlags(unsigned value, FlagMode mode); + void logFirstFrame(); + void logCatchUp(int64_t ts, int64_t clock, int64_t delta); + void logLate(int64_t ts, int64_t clock, int64_t delta); + void logOnTime(int64_t ts, int64_t clock, int64_t delta); + int64_t getTimeOfDayUs(); + bool mStatistics; struct TrackStat { String8 mMIME; @@ -328,6 +335,21 @@ private: int32_t mVideoHeight; uint32_t mFlags; Vector<TrackStat> mTracks; + + int64_t mConsecutiveFramesDropped; + uint32_t mCatchupTimeStart; + uint32_t mNumTimesSyncLoss; + uint32_t mMaxEarlyDelta; + uint32_t mMaxLateDelta; + uint32_t mMaxTimeSyncLoss; + uint64_t mTotalFrames; + int64_t mFirstFrameLatencyStartUs; //first frame latency start + int64_t mFirstFrameLatencyUs; + int64_t mLastFrameUs; + bool mVeryFirstFrame; + int64_t mTotalTimeUs; + int64_t mLastPausedTimeMs; + int64_t mLastSeekToTimeMs; } mStats; status_t setVideoScalingMode(int32_t mode); |