diff options
author | Robert Shih <robertshih@google.com> | 2014-07-22 19:00:02 -0700 |
---|---|---|
committer | Robert Shih <robertshih@google.com> | 2014-07-22 19:01:14 -0700 |
commit | 92b583ad786edcbe0ae0925e2b7cc043e0849b86 (patch) | |
tree | 122cd46496220bac3037be835ad32957309cef1b /include | |
parent | 114819633470ebd5b346c13c2a82a0025d2d39c0 (diff) | |
download | frameworks_av-92b583ad786edcbe0ae0925e2b7cc043e0849b86.zip frameworks_av-92b583ad786edcbe0ae0925e2b7cc043e0849b86.tar.gz frameworks_av-92b583ad786edcbe0ae0925e2b7cc043e0849b86.tar.bz2 |
MediaRecorder: constants for webm recordering
Bug: 16329805
Change-Id: Idcd603545352e36a88589d3e23ccf1ee37704695
Diffstat (limited to 'include')
-rw-r--r-- | include/media/mediarecorder.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/media/mediarecorder.h b/include/media/mediarecorder.h index 2aa8a72..b0a62a7 100644 --- a/include/media/mediarecorder.h +++ b/include/media/mediarecorder.h @@ -70,6 +70,9 @@ enum output_format { /* H.264/AAC data encapsulated in MPEG2/TS */ OUTPUT_FORMAT_MPEG2TS = 8, + /* VP8/VORBIS data in a WEBM container */ + OUTPUT_FORMAT_WEBM = 9, + OUTPUT_FORMAT_LIST_END // must be last - used to validate format type }; @@ -80,6 +83,7 @@ enum audio_encoder { AUDIO_ENCODER_AAC = 3, AUDIO_ENCODER_HE_AAC = 4, AUDIO_ENCODER_AAC_ELD = 5, + AUDIO_ENCODER_VORBIS = 6, AUDIO_ENCODER_LIST_END // must be the last - used to validate the audio encoder type }; @@ -89,6 +93,7 @@ enum video_encoder { VIDEO_ENCODER_H263 = 1, VIDEO_ENCODER_H264 = 2, VIDEO_ENCODER_MPEG_4_SP = 3, + VIDEO_ENCODER_VP8 = 4, VIDEO_ENCODER_LIST_END // must be the last - used to validate the video encoder type }; |