summaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
authorSurajit Podder <spodder@codeaurora.org>2016-02-25 20:23:24 +0530
committerSteve Kondik <steve@cyngn.com>2016-04-13 13:54:55 -0700
commit51b3174ac272f146f7a4fb502103d8130b6f4703 (patch)
tree941d43998d3212a890acf30f52ccbf725f0c5a53 /include/media
parent7262eae1402f3256606ad1776e35c4a08ed267c3 (diff)
downloadframeworks_av-51b3174ac272f146f7a4fb502103d8130b6f4703.zip
frameworks_av-51b3174ac272f146f7a4fb502103d8130b6f4703.tar.gz
frameworks_av-51b3174ac272f146f7a4fb502103d8130b6f4703.tar.bz2
video: Use boot clock for recording start time
Camera HAL3 uses boot time for buffer timestamp, rather than system monotonic time. This leads to issues as framework uses system monotonic time as reference start time for timestamp adjustment. Add change to use boot time for reference start time. CRs-Fixed: 946735 Change-Id: Id0af9c8aed1a983095275ac03f7f59abc31594cc
Diffstat (limited to 'include/media')
-rw-r--r--include/media/stagefright/MetaData.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/media/stagefright/MetaData.h b/include/media/stagefright/MetaData.h
index 2a3df22..66e7d63 100644
--- a/include/media/stagefright/MetaData.h
+++ b/include/media/stagefright/MetaData.h
@@ -68,6 +68,7 @@ enum {
kKeyIsSyncFrame = 'sync', // int32_t (bool)
kKeyIsCodecConfig = 'conf', // int32_t (bool)
kKeyTime = 'time', // int64_t (usecs)
+ kKeyTimeBoot = 'timb', // int64_t (usecs)
kKeyDecodingTime = 'decT', // int64_t (decoding timestamp in usecs)
kKeyNTPTime = 'ntpT', // uint64_t (ntp-timestamp)
kKeyTargetTime = 'tarT', // int64_t (usecs)