diff options
author | Chong Zhang <chz@google.com> | 2013-05-03 21:54:17 -0700 |
---|---|---|
committer | Chong Zhang <chz@google.com> | 2013-05-17 16:18:28 -0700 |
commit | 308bcaa44e578279e61be32b572fdb0b11b1e4c7 (patch) | |
tree | 3b76d5e38e37ca9f59c689bfb6aef11a75a35249 /media/libstagefright/wifi-display/source/PlaybackSession.h | |
parent | 6d101328e34557fa251b7d52d4d8dbf59620d099 (diff) | |
download | frameworks_av-308bcaa44e578279e61be32b572fdb0b11b1e4c7.zip frameworks_av-308bcaa44e578279e61be32b572fdb0b11b1e4c7.tar.gz frameworks_av-308bcaa44e578279e61be32b572fdb0b11b1e4c7.tar.bz2 |
wifi-display: add support for metadata mode on encoder output
pass buffer_handle_t from encoder output to HDCP encryptor input
Bug: 8968123
Change-Id: Iea8007ce568641e213fd2e3cf6947a6f7a95746c
Diffstat (limited to 'media/libstagefright/wifi-display/source/PlaybackSession.h')
-rw-r--r-- | media/libstagefright/wifi-display/source/PlaybackSession.h | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/media/libstagefright/wifi-display/source/PlaybackSession.h b/media/libstagefright/wifi-display/source/PlaybackSession.h index 39086a1..5c8ee94 100644 --- a/media/libstagefright/wifi-display/source/PlaybackSession.h +++ b/media/libstagefright/wifi-display/source/PlaybackSession.h @@ -53,7 +53,9 @@ struct WifiDisplaySource::PlaybackSession : public AHandler { bool usePCMAudio, bool enableVideo, VideoFormats::ResolutionType videoResolutionType, - size_t videoResolutionIndex); + size_t videoResolutionIndex, + VideoFormats::ProfileType videoProfileType, + VideoFormats::LevelType videoLevelType); void destroyAsync(); @@ -130,18 +132,25 @@ private: bool usePCMAudio, bool enableVideo, VideoFormats::ResolutionType videoResolutionType, - size_t videoResolutionIndex); + size_t videoResolutionIndex, + VideoFormats::ProfileType videoProfileType, + VideoFormats::LevelType videoLevelType); status_t addSource( bool isVideo, const sp<MediaSource> &source, bool isRepeaterSource, bool usePCMAudio, + unsigned profileIdc, + unsigned levelIdc, + unsigned contraintSet, size_t *numInputBuffers); status_t addVideoSource( VideoFormats::ResolutionType videoResolutionType, - size_t videoResolutionIndex); + size_t videoResolutionIndex, + VideoFormats::ProfileType videoProfileType, + VideoFormats::LevelType videoLevelType); status_t addAudioSource(bool usePCMAudio); |