summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/OMXClient.cpp
diff options
context:
space:
mode:
authorRachad <rachad@google.com>2014-07-29 16:47:56 -0700
committerLajos Molnar <lajos@google.com>2014-08-08 18:24:15 -0700
commit5a446aafff3020d607ad6fb14cc7ae76dd8f7947 (patch)
tree4b805d80181d7b0c8c61b4907c0f5e15a3bc3230 /media/libstagefright/OMXClient.cpp
parent48449403a1946653074591829e8c39c8000918d1 (diff)
downloadframeworks_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/OMXClient.cpp')
-rw-r--r--media/libstagefright/OMXClient.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/media/libstagefright/OMXClient.cpp b/media/libstagefright/OMXClient.cpp
index aca21cf..ca031aa 100644
--- a/media/libstagefright/OMXClient.cpp
+++ b/media/libstagefright/OMXClient.cpp
@@ -78,6 +78,10 @@ struct MuxOMX : public IOMX {
node_id node, OMX_U32 port_index, OMX_BOOL enable,
OMX_U32 maxFrameWidth, OMX_U32 maxFrameHeight);
+ virtual status_t configureVideoTunnelMode(
+ node_id node, OMX_U32 portIndex, OMX_BOOL tunneled,
+ OMX_U32 audioHwSync, native_handle_t **sidebandHandle);
+
virtual status_t enableGraphicBuffers(
node_id node, OMX_U32 port_index, OMX_BOOL enable);
@@ -291,6 +295,13 @@ status_t MuxOMX::prepareForAdaptivePlayback(
node, port_index, enable, maxFrameWidth, maxFrameHeight);
}
+status_t MuxOMX::configureVideoTunnelMode(
+ node_id node, OMX_U32 portIndex, OMX_BOOL enable,
+ OMX_U32 audioHwSync, native_handle_t **sidebandHandle) {
+ return getOMX(node)->configureVideoTunnelMode(
+ node, portIndex, enable, audioHwSync, sidebandHandle);
+}
+
status_t MuxOMX::enableGraphicBuffers(
node_id node, OMX_U32 port_index, OMX_BOOL enable) {
return getOMX(node)->enableGraphicBuffers(node, port_index, enable);