summaryrefslogtreecommitdiffstats
path: root/include/media/stagefright/MPEG4Writer.h
diff options
context:
space:
mode:
authorJames Dong <jdong@google.com>2010-11-09 11:15:47 -0800
committerJames Dong <jdong@google.com>2010-11-09 11:48:29 -0800
commit13f6284305e4b27395a23db7882d670bdb1bcae1 (patch)
treed1d52048987dfa98e53e151a6820ae332e59d59a /include/media/stagefright/MPEG4Writer.h
parent30db2709395c73fb3b4ee334119ceba68c95ab13 (diff)
downloadframeworks_av-13f6284305e4b27395a23db7882d670bdb1bcae1.zip
frameworks_av-13f6284305e4b27395a23db7882d670bdb1bcae1.tar.gz
frameworks_av-13f6284305e4b27395a23db7882d670bdb1bcae1.tar.bz2
Rotation support
- We only support 0, 90, 180, and 270 degree clockwise rotation - Some players are known to ignore composition matrix in the MP4 file, although this is part of the MP4 file standard. Both QT and YT are supporting the rotation The original patch (65a73f4e8c79d05c0d9001b660325748d4ecf37b) was not merged. The only change I made is to reuse the same kKeyRotation in MetaData.h; and thus do not neeed to use kKeyRotationDegree. Change-Id: Ib328716d4842201c4adf57e4ddfe1f1ac1ae4d8a
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 bb469e5..7bf07eb 100644
--- a/include/media/stagefright/MPEG4Writer.h
+++ b/include/media/stagefright/MPEG4Writer.h
@@ -154,6 +154,7 @@ private:
bool exceedsFileDurationLimit();
bool isFileStreamable() const;
void trackProgressStatus(const Track* track, int64_t timeUs, status_t err = OK);
+ void writeCompositionMatrix(int32_t degrees);
MPEG4Writer(const MPEG4Writer &);
MPEG4Writer &operator=(const MPEG4Writer &);