summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/include/OMX.h
diff options
context:
space:
mode:
authorAndy McFadden <fadden@android.com>2013-02-19 07:28:30 -0800
committerAndy McFadden <fadden@android.com>2013-03-04 15:03:53 -0800
commit7cd58537932ef6f481f68be0b9c597a89cebdfec (patch)
tree02a57bed3a2de95c9eac0375cb282c6ad85a5eea /media/libstagefright/include/OMX.h
parentbf04b5860182d8f4130dcb5d6d88ee68a58c99cd (diff)
downloadframeworks_av-7cd58537932ef6f481f68be0b9c597a89cebdfec.zip
frameworks_av-7cd58537932ef6f481f68be0b9c597a89cebdfec.tar.gz
frameworks_av-7cd58537932ef6f481f68be0b9c597a89cebdfec.tar.bz2
Implement Surface input to MediaCodec.
Also, renamed a CHECK_INTERFACE macro that was clashing with the Binder version. Bug 7991062 Change-Id: If5e6ed0a06d9f67975497676e4b05abe3aa3d6c0
Diffstat (limited to 'media/libstagefright/include/OMX.h')
-rw-r--r--media/libstagefright/include/OMX.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/media/libstagefright/include/OMX.h b/media/libstagefright/include/OMX.h
index 2c87b34..24b8d98 100644
--- a/media/libstagefright/include/OMX.h
+++ b/media/libstagefright/include/OMX.h
@@ -79,6 +79,12 @@ public:
node_id node, OMX_U32 port_index,
const sp<GraphicBuffer> &graphicBuffer, buffer_id *buffer);
+ virtual status_t createInputSurface(
+ node_id node, OMX_U32 port_index,
+ sp<IGraphicBufferProducer> *bufferProducer);
+
+ virtual status_t signalEndOfInputStream(node_id node);
+
virtual status_t allocateBuffer(
node_id node, OMX_U32 port_index, size_t size,
buffer_id *buffer, void **buffer_data);