diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2017-07-27 11:21:59 +0200 |
---|---|---|
committer | Nicolas Dufresne <nicolas.dufresne@collabora.com> | 2018-01-29 15:21:02 +0000 |
commit | 9f87b987ef15cf04f573a759a5efe73ac3b8ce2d (patch) | |
tree | b3a320a0d4b3c1665a0f35b02a7c4b8c5d3f5b8a /omx/gstomxvideoenc.h | |
parent | 0c5bbbb6ca5ff9c262e8a45f0b7f6be9ed4e4213 (diff) | |
download | gst-omx-9f87b987ef15cf04f573a759a5efe73ac3b8ce2d.tar.gz |
omxvideoenc: implement dmabuf import on zynqultrascaleplus
The Zynq UltraScale+ encoder implements a custom OMX extension to
directly import dmabuf saving the need of mapping input buffers.
This can be use with either 'v4l2src io-mode=dmabuf' or an OMX video
decoder upstream.
https://bugzilla.gnome.org/show_bug.cgi?id=792361
Diffstat (limited to 'omx/gstomxvideoenc.h')
-rw-r--r-- | omx/gstomxvideoenc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/omx/gstomxvideoenc.h b/omx/gstomxvideoenc.h index 345b9d1..705441e 100644 --- a/omx/gstomxvideoenc.h +++ b/omx/gstomxvideoenc.h @@ -79,6 +79,8 @@ struct _GstOMXVideoEnc GstFlowReturn downstream_flow_ret; GstOMXBufferAllocation input_allocation; + /* TRUE if encoder is passing dmabuf's fd directly to the OMX component */ + gboolean input_dmabuf; }; struct _GstOMXVideoEncClass |