diff options
author | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2013-02-28 11:19:07 +0100 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2013-02-28 11:20:52 +0100 |
commit | 1a906da40922de0768fef8d1035bda3eaabcddae (patch) | |
tree | b9342c49fcc625772b1d0055b2a8b552f882440e /omx/gstomx.h | |
parent | e42faae652201b2e33944fd24f08dae90c02899d (diff) | |
download | gst-omx-1a906da40922de0768fef8d1035bda3eaabcddae.tar.gz |
omx: Add API for allocating a specific number of buffers and using EGLImages or buffers allocated elsewhere
Diffstat (limited to 'omx/gstomx.h')
-rw-r--r-- | omx/gstomx.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/omx/gstomx.h b/omx/gstomx.h index 8b1badf..718a4c5 100644 --- a/omx/gstomx.h +++ b/omx/gstomx.h @@ -297,7 +297,9 @@ OMX_ERRORTYPE gst_omx_port_release_buffer (GstOMXPort *port, GstOMXBuffer *b OMX_ERRORTYPE gst_omx_port_set_flushing (GstOMXPort *port, gboolean flush); gboolean gst_omx_port_is_flushing (GstOMXPort *port); -OMX_ERRORTYPE gst_omx_port_allocate_buffers (GstOMXPort *port); +OMX_ERRORTYPE gst_omx_port_allocate_buffers (GstOMXPort *port, guint n); +OMX_ERRORTYPE gst_omx_port_use_buffers (GstOMXPort *port, const GList *buffers); +OMX_ERRORTYPE gst_omx_port_use_eglimages (GstOMXPort *port, const GList *images); OMX_ERRORTYPE gst_omx_port_deallocate_buffers (GstOMXPort *port); OMX_ERRORTYPE gst_omx_port_wait_buffers_released (GstOMXPort * port, GstClockTime timeout); |