va: Add jpegdecoder base class.
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Mon, 17 Jan 2022 14:43:47 +0000 (15:43 +0100)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Mon, 27 Jun 2022 13:43:14 +0000 (13:43 +0000)
commitcc308548932d499fb78a47d3fc857a821d34229b
treec896310a2a03171099bdf65cf64d2f97555c5f50
parentf36d2671e43b8d5dc6541f3f02861cef7df83bad
va: Add jpegdecoder base class.

This base class is intented for hardware accelerated decoders, but since
only VA uses it, it will be kept internally in va plugin.

It follows the same logic as the others video decoders in the library but.
as JPEG are independet images, there's no need to handle a DBP so no need
of a picture object. Instead a scan object is added with all the structures
required to decode the image (huffman and quant tables, mcus, etc.).

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1575>
subprojects/gst-plugins-bad/sys/va/gstjpegdecoder.c [new file with mode: 0644]
subprojects/gst-plugins-bad/sys/va/gstjpegdecoder.h [new file with mode: 0644]
subprojects/gst-plugins-bad/sys/va/meson.build