summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/omx/OMX.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/omx/OMX.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/omx/OMX.cpp')
-rw-r--r--media/libstagefright/omx/OMX.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/media/libstagefright/omx/OMX.cpp b/media/libstagefright/omx/OMX.cpp
index cc4770a..41407e4 100644
--- a/media/libstagefright/omx/OMX.cpp
+++ b/media/libstagefright/omx/OMX.cpp
@@ -342,6 +342,13 @@ status_t OMX::prepareForAdaptivePlayback(
portIndex, enable, maxFrameWidth, maxFrameHeight);
}
+status_t OMX::configureVideoTunnelMode(
+ node_id node, OMX_U32 portIndex, OMX_BOOL tunneled,
+ OMX_U32 audioHwSync, native_handle_t **sidebandHandle) {
+ return findInstance(node)->configureVideoTunnelMode(
+ portIndex, tunneled, audioHwSync, sidebandHandle);
+}
+
status_t OMX::useBuffer(
node_id node, OMX_U32 port_index, const sp<IMemory> &params,
buffer_id *buffer) {