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 /media/libstagefright/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 'media/libstagefright/include')
-rw-r--r-- | media/libstagefright/include/OMX.h | 4 | ||||
-rw-r--r-- | media/libstagefright/include/OMXNodeInstance.h | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/media/libstagefright/include/OMX.h b/media/libstagefright/include/OMX.h index cd51bbf..e8c4970 100644 --- a/media/libstagefright/include/OMX.h +++ b/media/libstagefright/include/OMX.h @@ -75,6 +75,10 @@ public: node_id node, OMX_U32 portIndex, OMX_BOOL enable, OMX_U32 max_frame_width, OMX_U32 max_frame_height); + virtual status_t configureVideoTunnelMode( + node_id node, OMX_U32 portIndex, OMX_BOOL tunneled, + OMX_U32 audioHwSync, native_handle_t **sidebandHandle); + virtual status_t useBuffer( node_id node, OMX_U32 port_index, const sp<IMemory> ¶ms, buffer_id *buffer); diff --git a/media/libstagefright/include/OMXNodeInstance.h b/media/libstagefright/include/OMXNodeInstance.h index 3967dc6..dc6d410 100644 --- a/media/libstagefright/include/OMXNodeInstance.h +++ b/media/libstagefright/include/OMXNodeInstance.h @@ -62,6 +62,10 @@ struct OMXNodeInstance { OMX_U32 portIndex, OMX_BOOL enable, OMX_U32 maxFrameWidth, OMX_U32 maxFrameHeight); + status_t configureVideoTunnelMode( + OMX_U32 portIndex, OMX_BOOL tunneled, + OMX_U32 audioHwSync, native_handle_t **sidebandHandle); + status_t useBuffer( OMX_U32 portIndex, const sp<IMemory> ¶ms, OMX::buffer_id *buffer); |