summaryrefslogtreecommitdiffstats
path: root/cmds
diff options
context:
space:
mode:
authorPrevir Rangroo <prang@dolby.com>2017-11-13 20:20:20 -0800
committerLajos Molnar <lajos@google.com>2018-04-11 22:03:51 +0000
commit7e6ac73f9cc1d78760f73fee2c55d0a3a3a19881 (patch)
treea383debaed6ad42e44db54de83745f81885b5cbe /cmds
parent238692c12e512f367d3cf99bfc3f5405ca56d0c4 (diff)
downloadframeworks_av-7e6ac73f9cc1d78760f73fee2c55d0a3a3a19881.tar.gz
frameworks_av-7e6ac73f9cc1d78760f73fee2c55d0a3a3a19881.tar.bz2
frameworks_av-7e6ac73f9cc1d78760f73fee2c55d0a3a3a19881.zip
stagefright: Add AC4 support in MediaExtractor for MP4/TS
* Add AC4 mime type * Add AC-4 support to TS extractor ** Extract PES private data and AC4 descriptor. ** Dequeue and parse AC-4 access unit and sync frame ** Validate AC4 elementary stream header and parse sampling rate. * Add AC-4 support to MPEG4Extractor ** Parse AC-4 sample entry in MP4 and set AC-4 MIME ** Add AC-4 sync header to MPEG4 encapsulated AC-4 raw frame * Add AC4 DSI Parser ** In order to populate the AudioPresentation objects we need to extract the AC4 presentation information from the dsi that is written to the MPEG4 file during muxing. Change-Id: If84c24ca475cabf3e0d2bdf3e4850aeeb185a0de Signed-off-by: Previr Rangroo <prang@dolby.com>
Diffstat (limited to 'cmds')
-rw-r--r--cmds/stagefright/stagefright.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds/stagefright/stagefright.cpp b/cmds/stagefright/stagefright.cpp
index bd25ceeb64..a2574ea55f 100644
--- a/cmds/stagefright/stagefright.cpp
+++ b/cmds/stagefright/stagefright.cpp
@@ -640,7 +640,7 @@ static void dumpCodecProfiles(bool queryDecoders) {
MEDIA_MIMETYPE_AUDIO_MPEG, MEDIA_MIMETYPE_AUDIO_G711_MLAW,
MEDIA_MIMETYPE_AUDIO_G711_ALAW, MEDIA_MIMETYPE_AUDIO_VORBIS,
MEDIA_MIMETYPE_VIDEO_VP8, MEDIA_MIMETYPE_VIDEO_VP9,
- MEDIA_MIMETYPE_VIDEO_DOLBY_VISION
+ MEDIA_MIMETYPE_VIDEO_DOLBY_VISION, MEDIA_MIMETYPE_AUDIO_AC4
};
const char *codecType = queryDecoders? "decoder" : "encoder";