gstreamer/omx
Guillaume Desmottes 0ee8213ab2 omxvideoenc: adjust stride and slice height from input
Use the stride and slice height information from the first buffer meta
data to adjust the settings of the input port.
This will ensure that the OMX input buffers match the GStreamer ones
and so will save us from having to copy line-by-line each one.

This is also the first step to allow the OMX encoder to receive dmabuf.

Tested on rpi and zynqultrascaleplus.

https://bugzilla.gnome.org/show_bug.cgi?id=785967
2017-08-08 10:40:47 -04:00
..
openmax openmax: Add OpenMAX IL 1.1.2 headers 2011-07-06 08:42:09 +02:00
gstomx.c omx: also reset nFilledLen before calling OMX_FillThisBuffer() 2017-08-01 11:26:11 -04:00
gstomx.h build: include OMX_IndexExt and OMX_ComponentExt if present 2017-07-13 14:41:58 +01:00
gstomxaacdec.c omxaacdec: Do not accept unknown layouts 2015-09-01 16:13:00 -03:00
gstomxaacdec.h omx: Add AAC audio decoder 2014-07-13 18:22:39 +02:00
gstomxaacenc.c omxaacenc: let encoder know about incoming rate/channels 2017-01-20 13:37:46 -05:00
gstomxaacenc.h omxaacenc: Add initial version of OpenMAX AAC encoder element 2011-08-16 10:49:21 +02:00
gstomxamrdec.c omx: Add omxamrdec 2014-11-13 13:32:16 +01:00
gstomxamrdec.h omx: Add omxamrdec 2014-11-13 13:32:16 +01:00
gstomxanalogaudiosink.c omxaudiosink: Implements OpenMAX based audio sinks 2014-05-09 13:15:18 +02:00
gstomxanalogaudiosink.h omxaudiosink: Implements OpenMAX based audio sinks 2014-05-09 13:15:18 +02:00
gstomxaudiodec.c omx*dec: Flush before we stop the srcpad loop 2016-12-19 10:52:16 +02:00
gstomxaudiodec.h omxaudiodec: Add an output adapter for chunking the output into codec frames 2015-05-19 19:14:42 +03:00
gstomxaudioenc.c omxaudioenc: Fix deadlock in error case when draining 2017-07-17 15:38:17 +03:00
gstomxaudioenc.h omx: Let base classes handle EOS 2014-08-14 17:36:11 +03:00
gstomxaudiosink.c omxaudiosink: Set port to not flushing in prepare() and keep it at flushing in unprepare() 2014-07-20 17:47:50 +02:00
gstomxaudiosink.h omxaudiosink: Implements OpenMAX based audio sinks 2014-05-09 13:15:18 +02:00
gstomxbufferpool.c omxvideodec: add dmabuf support for output 2017-07-18 23:46:46 +01:00
gstomxbufferpool.h omxvideodec: add dmabuf support for output 2017-07-18 23:46:46 +01:00
gstomxh263dec.c omx: Add more constraints to the default sink template caps 2013-03-19 13:28:30 +01:00
gstomxh263dec.h omxh263dec: Add H.263 decoder element 2011-07-25 11:44:56 +02:00
gstomxh263enc.c omx: more printf format fixes 2013-04-18 23:10:13 +01:00
gstomxh263enc.h omxh263enc: Add H.263 encoder element 2011-07-29 12:06:21 +02:00
gstomxh264dec.c h264dec: add hack to pass profile and level to OMX 2017-07-11 11:57:50 -04:00
gstomxh264dec.h omxh264dec: Rename from omxh264videodec to omxh264dec 2011-07-12 08:54:22 +02:00
gstomxh264enc.c omxh264enc: Re-add periodicty-idr property for backward compat 2017-07-13 16:42:24 +10:00
gstomxh264enc.h omxh264enc: add 'b-frames' property 2017-07-03 10:22:20 -04:00
gstomxh264utils.c omxh264enc: move profile and level parsing functions to their own files 2017-07-11 11:57:50 -04:00
gstomxh264utils.h omxh264enc: move profile and level parsing functions to their own files 2017-07-11 11:57:50 -04:00
gstomxhdmiaudiosink.c omxaudiosink: Implements OpenMAX based audio sinks 2014-05-09 13:15:18 +02:00
gstomxhdmiaudiosink.h omxaudiosink: Implements OpenMAX based audio sinks 2014-05-09 13:15:18 +02:00
gstomxmjpegdec.c omx: Add more constraints to the default sink template caps 2013-03-19 13:28:30 +01:00
gstomxmjpegdec.h omx: Add MJPEG decoder support 2013-03-18 16:34:51 +01:00
gstomxmp3dec.c omxaudiodec: Implement setting of fallback channel positions 2014-07-13 22:15:44 +02:00
gstomxmp3dec.h omx: Add audio decoder base class and a subclass for MP3 2014-07-02 09:21:00 +02:00
gstomxmp3enc.c omx: add gstomxmp3enc 2017-07-12 14:29:44 +01:00
gstomxmp3enc.h omx: add gstomxmp3enc 2017-07-12 14:29:44 +01:00
gstomxmpeg2videodec.c omx: Add more constraints to the default sink template caps 2013-03-19 13:28:30 +01:00
gstomxmpeg2videodec.h omx: Rename MPEG2 decoder for consistency everywhere 2013-03-18 16:34:51 +01:00
gstomxmpeg4videodec.c omx: Add more constraints to the default sink template caps 2013-03-19 13:28:30 +01:00
gstomxmpeg4videodec.h omx: Add initial version of OpenMAX framework, video decoder base class and MPEG4 video decoder 2011-07-09 11:06:05 +02:00
gstomxmpeg4videoenc.c omx: more printf format fixes 2013-04-18 23:10:13 +01:00
gstomxmpeg4videoenc.h omxvideoenc: Add video encoder base class and MPEG4 video encoder 2011-07-20 11:08:18 +02:00
gstomxtheoradec.c omx: Add more constraints to the default sink template caps 2013-03-19 13:28:30 +01:00
gstomxtheoradec.h omx: fix typo in copyright headers 2013-03-19 16:40:09 +00:00
gstomxvideo.c Add support for OMX_COLOR_FormatYUV420PackedSemiPlanar and OMX_COLOR_Format24bitBGR888 2016-12-13 11:18:43 +02:00
gstomxvideo.h omxvideo: Include the separate headers too for compatibility with 1.0.x 2014-06-24 10:22:37 +02:00
gstomxvideodec.c omxvideodec/enc: delay allocation after the allocation query 2017-08-08 10:40:47 -04:00
gstomxvideodec.h omxvideodec: factor out enable and disable code 2017-08-08 10:40:47 -04:00
gstomxvideoenc.c omxvideoenc: adjust stride and slice height from input 2017-08-08 10:40:47 -04:00
gstomxvideoenc.h omxvideoenc: factor out enable and disable code 2017-08-08 10:40:47 -04:00
gstomxvp8dec.c omx: Add more constraints to the default sink template caps 2013-03-19 13:28:30 +01:00
gstomxvp8dec.h omx: Only include OMX_VideoExt.h conditionally 2014-06-24 14:52:43 +02:00
gstomxwmvdec.c omx: Add more constraints to the default sink template caps 2013-03-19 13:28:30 +01:00
gstomxwmvdec.h omxwmvdec: Add WMV video decoder element 2011-07-25 12:01:05 +02:00
Makefile.am omxvideodec: add dmabuf support for output 2017-07-18 23:46:46 +01:00
meson.build omxvideodec: add dmabuf support for output 2017-07-18 23:46:46 +01:00