summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2021-09-23Release 1.19.2HEAD1.19.2masterdiscontinued-for-monorepoTim-Philipp Müller5-13/+81
2021-07-09omxvideodec: fix OMX flags on header bufferGuillaume Desmottes1-1/+3
The header (SPS/PPS) buffer should have the CODECONFIG flag Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-omx/-/merge_requests/49>
2021-07-09omxvideodec: allow to start decoder on HEADER bufferGuillaume Desmottes1-1/+1
If the headers are sent in their own buffer it won't have the SYNC_FRAME flag but we still do want to start decoding rather than dropping it. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-omx/-/merge_requests/49>
2021-07-09omxh26xdec: videodecoder support subframeNicolas Dufresne4-17/+82
Use of subframe API from videodecoder base class. This subframe allows to decode subframe instead of waiting for a whole frame. The subframe uses the same frame over the whole subframe passing process and will wait for a signal to know the last subframe. In this implementation it will use GST_VIDEO_BUFFER_FLAG_MARKER as the end of batch of subframes. This implement subframe mode negotation for the Zynq based on caps negotation. This mode can be combined with low-latency mode, in order to reach the lowest possible latency (assuming the stream is within the low-latency constraints for the HW). ... ! video/x-h264,alignment=nal ! omxh264dec ! ... Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-omx/-/merge_requests/49>
2021-06-01Back to developmentTim-Philipp Müller1-1/+1
2021-06-01Release 1.19.11.19.1Tim-Philipp Müller5-1992/+152
2020-11-04meson: Enable some MSVC warnings for parity with GCC/ClangNirbheek Chauhan1-6/+13
This makes it easier to do development with MSVC by making it warn on common issues that GCC/Clang error out for in our CI configuration. Continuation from https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/223 Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-omx/-/merge_requests/75>
2020-10-16meson: update glib minimum version to 2.56Stéphane Cerveau2-7/+1
In order to support the symbol g_enum_to_string in various project using GStreamer ( gst-validate etc.), the glib minimum version should be 2.56.0. Remove compat code as glib requirement is now > 2.56 Version used by Ubuntu 18.04 LTS Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-omx/-/merge_requests/74>
2020-10-05omxvideodec: support interlace-mode=interleaved inputGuillaume Desmottes1-4/+19
interlace-mode=alternate is a special case of interlace-mode=interleaved where the fields are split using two different buffers. The Zynq decoder always produces alternate content and we used to assume that upstream will set interlace-mode=alternate in its caps as well. This is no longer the case as h265parse is now setting alternate-mode=interleaved on alternate content to not break compat with elements not supporting alternate. As a result the decoder now accept both 'interleaved' and 'alternate' on its input and ensures that its ouput has interlace-mode=alternate. Needed to fix https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/issues/825 Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-omx/-/merge_requests/72>
2020-09-08ci: include template from gst-ci master branch againTim-Philipp Müller1-1/+1
2020-09-08Back to developmentTim-Philipp Müller1-2/+2
2020-09-08Release 1.18.01.18.0Tim-Philipp Müller6-71/+2098
2020-08-27meson: fix Tizonia buildTim-Philipp Müller1-5/+4
Was failing for release versions with meson.build:414:10: ERROR: Can not set values on configuration object that has been used. Caused by !69, but CI didn't notice at the time because it was set to a git version.
2020-08-20Release 1.17.901.17.90Tim-Philipp Müller5-42/+45
2020-07-08meson: set release date from .doap file for releasesTim-Philipp Müller3-4/+63
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-omx/-/merge_requests/69>
2020-07-03Back to developmentTim-Philipp Müller1-1/+1
2020-07-03Release 1.17.21.17.2Tim-Philipp Müller5-4/+30
2020-06-20Back to developmentTim-Philipp Müller1-1/+1
2020-06-19Release 1.17.11.17.1Tim-Philipp Müller5-1239/+636
2020-06-16docs: Update plugin cache jsonNirbheek Chauhan1-2/+3
https://gitlab.freedesktop.org/alatiera/gst-ci/-/jobs/3109574 Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-omx/-/merge_requests/68>
2020-06-03docs: Update documentation cacheThibault Saunier1-0/+1
2020-05-21omx: Add latest OMX_ALG_Index's to omx_index_type_to_strDylan Yip1-12/+28
Add following indexes to omx_index_type_to_str: OMX_ALG_IndexParamVideoAccessUnitDelimiter OMX_ALG_IndexParamVideoBufferingPeriodSEI OMX_ALG_IndexParamVideoPictureTimingSEI OMX_ALG_IndexParamVideoRecoveryPointSEI OMX_ALG_IndexParamVideoMasteringDisplayColourVolumeSEI OMX_ALG_IndexParamVideoContentLightLevelSEI OMX_ALG_IndexConfigVideoRegionOfInterestByValue OMX_ALG_IndexConfigVideoColorPrimaries
2020-05-21zynq: change API to use public 2020.01 from vcu-omx-ilStéphane Cerveau1-2/+2
This new release 2020.01 fixes an API typo Change to OMX_ALG_IndexConfigVideoHighDynamicRangeSEI instead of OMX_ALG_IndexConfigVideoHighDynamicRangeSEIs among others.
2020-05-20omxvideoenc: factor out gst_omx_video_enc_allocate_out_buffers()Guillaume Desmottes1-4/+12
No semantic change. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-omx/-/merge_requests/66>
2020-04-10omxvideoenc: remove unsupported formats from caps templateGuillaume Desmottes5-9/+10
Our encoder implementation actually supports a small subset of the formats supported by the decoder. Those are the formats for which we have a copy path in gst_omx_video_enc_fill_buffer() and which are not filtered out in filter_supported_formats().
2020-04-10video: remove BGR from supported formatGuillaume Desmottes1-1/+1
It's not supported by either decoder or encoder and is even not listed in gst_omx_video_get_format_from_omx() so it can't work.
2020-04-10omxvideoenc: add GRAY8 supportGuillaume Desmottes1-0/+18
It's supported by Zynq encoder and was already in the sink caps template.
2020-04-10omxvideoenc: factor out gst_omx_video_enc_copy_plane()Guillaume Desmottes1-37/+50
No semantic change, I'm going to use it to copy GRAY8 buffers which is actually a single plane 8-bits format.
2020-04-10omxvideoenc: use gst_video_meta_get_plane_height() to compute slice heightGuillaume Desmottes1-1/+9
This new API saves us from doing manual computation and actually work with single planar formats, such as GRAY8.
2020-04-08omxh26xenc: fix coverity with frame testStéphane Cerveau4-9/+13
Coverity was complaining with: Null pointer dereferences (REVERSE_INULL) Null-checking "frame" suggests that it may be null, but it has already been dereferenced on all paths leading to the check. The frame == NULL has been removed as 'frame' is actively used in the code above without any change of dereferencing and setting its value to NULL before the test. CID: 1461287
2020-03-19gstomxvideoenc: fix subframe output_bufferStéphane Cerveau1-1/+1
Using more than 1 subframes was failing with frame->output_buffer = NULL
2020-02-27omxvideodec: add support of alternate interlace mode on zynqGuillaume Desmottes1-12/+207
2020-02-27omxvideoenc: add support of alternate interlace mode on zynqGuillaume Desmottes2-0/+136
It's only supported by the Zynq HEVC encoder for now.
2020-02-27omx: add alternate flags to buffer_flags_mapGuillaume Desmottes1-0/+4
Zynq specific flags used to tag top/bottom fields in alternate mode.
2020-02-27omxvideo(enc): use GST_VIDEO_INFO_FIELD_RATE_N()Guillaume Desmottes2-7/+16
Does not change anything for now but will be needed when we'll support interlace-mode=alternate as the field rate will be twice the frame rate. Made the code safe from division by 0 while I was on it.
2020-02-27omxvideo{enc,dec}: use GST_VIDEO_INFO_FIELD_HEIGHT()Guillaume Desmottes2-14/+17
Does not change anything for now but will be needed when we'll support interlace-mode=alternate as the fields will have half the frame height.
2020-02-25omx: don't log error when failing to load conf file with generic targetGuillaume Desmottes1-8/+17
The generic target is meant to only test building gst-omx. It doesn't provide any configuration file and so is not supposed to register any element. I'm not aware of any user building gst-omx with this target and providing their own conf file to actually register elements. But best to not break this use case anyway so let's just downgrade the log message. Fix GST_ERROR in the 'check fedora' CI job.
2020-01-27meson: add glib project fallbackStéphane Cerveau1-3/+3
Add a fallback from glib project to provide glib, gio and gmodule dependencies.
2020-01-16omxvideoenc: fix warningStéphane Cerveau1-2/+3
Fix warning test when OMX_BUFFERFLAG_ENDOFFRAME is not set.
2020-01-09omxvideoenc: Add look-ahead property to ZYNQ_USCALE_PLUS encoderVarunkumar Allagadapa2-0/+32
This patch adds look-ahead property to encoder The value indicates look ahead size in frames, the number of frames processed ahead of second pass encoding. Dual pass encoding is disabled if look-ahead value is less than 2.
2020-01-09omxvideoenc: Add long-term-ref support to ZYNQ_USCALE_PLUS encoderVarunkumar Allagadapa2-0/+126
Custom API that upstream elements can use to notify encoders about marking longterm ref. pictures or using longterm ref. pictures in encoding process. This patch adds below properties: long-term-ref: Enable/Disable dynamically marking long-term reference pictures in encoding process long-term-freq: Periodicity of long-term reference picture marking in encoding process. If a picture is marked as long-term reference picture then it remains in the DPB list for ever unless it overrides with new long-term pitcure with same index. Encoder can use this long-term picture as refence for encoding. This feature is mostly useful to avoid visual artifacts propagation in streaming use cases when packet loss happens. Instead of requesting for IDR, client can request for use long-term reference picture for encoding.
2020-01-07meson: display OMX target when configuringGuillaume Desmottes1-0/+2
I'm adding more gst-omx CI ( https://gitlab.freedesktop.org/gstreamer/gst-ci/issues/20 ) having the OMX targets displayed in the logs makes things clearer.
2020-01-07omx: remove useless double negationsGuillaume Desmottes1-2/+2
flush and port->flushing are both gboolean.
2019-12-22meson: fix tizonia buildJulien Isorce1-1/+5
meson.build was both using path to gst-omx/openmax/OMX* headers and path to OMX headers provided by tizilheaders.pc so this patch makes sure we only use the later. Also bump tizonia minimum version to 0.19.0 which is the latest release.
2019-12-22omxh265enc: handle CODECCONFIG buffersGuillaume Desmottes2-0/+78
Exact same code as omxh264enc.
2019-12-22omxh264enc: send codec data downstreamGuillaume Desmottes1-2/+7
We are operating in stream-format=byte-stream so the codec data buffer is meant to be part of the buffer flow. The base class will push it when a key frame is requested (as we stored it with gst_video_encoder_set_headers()) but we still have to push it right away as part of the normal buffer flow. Also set the HEADER flag on this buffer.
2019-12-22omxh264enc: no need to check if codeconfig has startcodeGuillaume Desmottes1-18/+14
We currently only support stream-format=byte-stream so there is no point re-checking for it when handling CODECCONFIG buffer.
2019-12-22omxh26xenc: Negotiate subframe modeNicolas Dufresne2-7/+45
We now negotiate subframe mode through the caps. To enabled subframe mode, the caps need to specify alignment=nal: ... ! omxh264enc ! video/x-h264,alignment=nal ! ... ... ! omxh265enc ! video/x-h265,alignment=nal ! ...
2019-12-22omxvideoenc: use subframe base class APIGuillaume Desmottes1-3/+13
Use subframe base class support.
2019-12-22omx: Add helper to enable/disable/read subframe modeNicolas Dufresne2-0/+57