diff options
author | Rachad <rachad@google.com> | 2014-07-29 16:47:56 -0700 |
---|---|---|
committer | Lajos Molnar <lajos@google.com> | 2014-08-08 18:24:15 -0700 |
commit | 5a446aafff3020d607ad6fb14cc7ae76dd8f7947 (patch) | |
tree | 4b805d80181d7b0c8c61b4907c0f5e15a3bc3230 /include | |
parent | 48449403a1946653074591829e8c39c8000918d1 (diff) | |
download | frameworks_av-5a446aafff3020d607ad6fb14cc7ae76dd8f7947.zip frameworks_av-5a446aafff3020d607ad6fb14cc7ae76dd8f7947.tar.gz frameworks_av-5a446aafff3020d607ad6fb14cc7ae76dd8f7947.tar.bz2 |
Added Tunneled video playback support to ACodec
Bug:16132368
Change-Id: I88d2d66b8548fc203f4a2c4797196af15e56ff38
Diffstat (limited to 'include')
-rw-r--r-- | include/media/IOMX.h | 4 | ||||
-rw-r--r-- | include/media/stagefright/ACodec.h | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/include/media/IOMX.h b/include/media/IOMX.h index dd13fea..627f23b 100644 --- a/include/media/IOMX.h +++ b/include/media/IOMX.h @@ -87,6 +87,10 @@ public: node_id node, OMX_U32 portIndex, OMX_BOOL enable, OMX_U32 maxFrameWidth, OMX_U32 maxFrameHeight) = 0; + virtual status_t configureVideoTunnelMode( + node_id node, OMX_U32 portIndex, OMX_BOOL tunneled, + OMX_U32 audioHwSync, native_handle_t **sidebandHandle) = 0; + virtual status_t enableGraphicBuffers( node_id node, OMX_U32 port_index, OMX_BOOL enable) = 0; diff --git a/include/media/stagefright/ACodec.h b/include/media/stagefright/ACodec.h index 3a6bb9e..eb31c77 100644 --- a/include/media/stagefright/ACodec.h +++ b/include/media/stagefright/ACodec.h @@ -234,6 +234,9 @@ private: status_t setComponentRole(bool isEncoder, const char *mime); status_t configureCodec(const char *mime, const sp<AMessage> &msg); + status_t configureTunneledVideoPlayback(int64_t audioHwSync, + const sp<ANativeWindow> &nativeWindow); + status_t setVideoPortFormatType( OMX_U32 portIndex, OMX_VIDEO_CODINGTYPE compressionFormat, |