omxvideodec: add hack to pass color format from caps to OMX decoder
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Fri, 29 Dec 2017 10:59:36 +0000 (11:59 +0100)
committerNicolas Dufresne <nicolas.dufresne@collabora.com>
Tue, 30 Jan 2018 09:23:59 +0000 (09:23 +0000)
commit2ca3cf5cfa47ca367bd58005a2303fb6b3a1609a
tree9d71d22ae0f6e4e1824d9529716ec0285512bb4d
parent0f702d050301f847635f99bd9241852dabedab21
omxvideodec: add hack to pass color format from caps to OMX decoder

This hack tries to pass as much information as possible from caps to the
decoder before it receives any buffer. These information can be used by
the OMX decoder to, for example, pre-allocate its internal buffers
before starting to decode and so reduce its initial latency.

This mechanism is currently supported by the zynqultrascaleplus decoder.

https://bugzilla.gnome.org/show_bug.cgi?id=792040
config/zynqultrascaleplus/gstomx.conf
omx/gstomx.c
omx/gstomx.h
omx/gstomxvideodec.c