summaryrefslogtreecommitdiffstats
path: root/include/media/stagefright/MPEG4Writer.h
diff options
context:
space:
mode:
authorJames Dong <jdong@google.com>2010-10-19 21:28:47 -0700
committerJames Dong <jdong@google.com>2010-10-19 22:59:22 -0700
commit78a1a286f736888ae7af8860b2c424af0d978848 (patch)
tree3ab0e1e83296e4f4fe2d2a4407f03964f7b31c64 /include/media/stagefright/MPEG4Writer.h
parent4769cc92740e3ab58e9263d42553c12bbf79e3be (diff)
downloadframeworks_av-78a1a286f736888ae7af8860b2c424af0d978848.zip
frameworks_av-78a1a286f736888ae7af8860b2c424af0d978848.tar.gz
frameworks_av-78a1a286f736888ae7af8860b2c424af0d978848.tar.bz2
File writer size estimation improvement
o Do not count the reserved space for moov if the meta data size is small o Do not count the extra 1KB disturbing small file estimation. o Reduce the default minimum reserved space from 4 KB to 3 KB. o Estimate the moov size based on both duration AND file size limit is set and set it to the smaller estimated value. low risk change bug - 3111983 Change-Id: I6ac2adb979d8cc12d6b4f1813d000c989add0199
Diffstat (limited to 'include/media/stagefright/MPEG4Writer.h')
-rw-r--r--include/media/stagefright/MPEG4Writer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/media/stagefright/MPEG4Writer.h b/include/media/stagefright/MPEG4Writer.h
index cff38b2..bb469e5 100644
--- a/include/media/stagefright/MPEG4Writer.h
+++ b/include/media/stagefright/MPEG4Writer.h
@@ -152,6 +152,7 @@ private:
bool exceedsFileSizeLimit();
bool use32BitFileOffset() const;
bool exceedsFileDurationLimit();
+ bool isFileStreamable() const;
void trackProgressStatus(const Track* track, int64_t timeUs, status_t err = OK);
MPEG4Writer(const MPEG4Writer &);