summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLubin Yin <lubiny@codeaurora.org>2015-07-29 12:31:09 +0800
committerSatish Kamuju <skamuj@codeaurora.org>2015-10-06 17:33:49 +0530
commitae614d22fd87feb1857e8041978ab2c38cfaa16e (patch)
treeb6fe7142b7c1dbfcba5250f3fa36991da61a0f33 /include
parent9079a349be70e7c7a5fa8e5bf98be22eeb054db7 (diff)
downloadframeworks_av-ae614d22fd87feb1857e8041978ab2c38cfaa16e.zip
frameworks_av-ae614d22fd87feb1857e8041978ab2c38cfaa16e.tar.gz
frameworks_av-ae614d22fd87feb1857e8041978ab2c38cfaa16e.tar.bz2
libstagefright: MPEG4Writer: Add support for HEVC muxing
Changes done to enable HEVC muxing - writing HVCC atom - configure HEVC encoder Fix HEVC flag initialization Check for HEVC for single track usecase Change-Id: I1757d0c442e7cc3ef251431f220395131a1eb4ec
Diffstat (limited to 'include')
-rw-r--r--include/media/mediarecorder.h6
-rw-r--r--include/media/stagefright/MPEG4Writer.h2
2 files changed, 7 insertions, 1 deletions
diff --git a/include/media/mediarecorder.h b/include/media/mediarecorder.h
index 15ff82d..a4dd82d 100644
--- a/include/media/mediarecorder.h
+++ b/include/media/mediarecorder.h
@@ -96,7 +96,11 @@ enum video_encoder {
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
+ VIDEO_ENCODER_LIST_END, // must be the last - used to validate the video encoder type
+
+ VIDEO_ENCODER_LIST_VENDOR_START = 1000,
+ VIDEO_ENCODER_H265 = 1001,
+ VIDEO_ENCODER_LIST_VENDOR_END,
};
/*
diff --git a/include/media/stagefright/MPEG4Writer.h b/include/media/stagefright/MPEG4Writer.h
index 0cd1d57..055c079 100644
--- a/include/media/stagefright/MPEG4Writer.h
+++ b/include/media/stagefright/MPEG4Writer.h
@@ -108,6 +108,8 @@ private:
sp<AMessage> mMetaKeys;
+ bool mIsVideoHEVC;
+
void setStartTimestampUs(int64_t timeUs);
int64_t getStartTimestampUs(); // Not const
status_t startTracks(MetaData *params);