gstreamer/subprojects/gst-plugins-bad/sys/va
He Junyan 43dfe021da va: vpp: Update the colorimetry and HDR fields when fixup src caps.
When we fixup src caps, the current way of handling the HDR fields is not
correct.
1. We trim the HDR fields only when the input caps is not a subset of the
fixup src caps. But in fact, the input caps with HDR fields such as the
"mastering-display-info" can possibly be the subset of the fixup src caps,
if they have all same other fields.
2. We always copy the colorimetry from input caps to src caps if it is
absent. But when hdr-tone-mapping is enabled, the HDR->SDR conversion makes
the colorimetry change. We should use downstream's setting, or just use the
default colorimetry of SDR.

We changes to:
1. If hdr-tone-mapping is enabled, we trim all HDR fields and add a correct
colorimetry.
2. Copy colorimetry from input if it is still absent.
3. Consider the subset replacement.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2244>
2022-04-22 06:53:37 +00:00
..
gstvaav1dec.c va: Set <gst/va/gstva.h> as library single point entry header. 2022-03-29 19:48:30 +00:00
gstvaav1dec.h Move files from gst-plugins-bad into the "subprojects/gst-plugins-bad/" subdir 2021-09-24 16:14:36 -03:00
gstvabasedec.c libs: va: add VA allocator parameter for derived images usage. 2022-03-31 14:14:45 +00:00
gstvabasedec.h va: basedec: Add device-path read-only property. 2022-03-04 14:34:32 +00:00
gstvabasetransform.c libs: va: add VA allocator parameter for derived images usage. 2022-03-31 14:14:45 +00:00
gstvabasetransform.h vapostproc, vadeinterlace: don't transform caps if no intersection. 2021-11-22 15:27:10 +00:00
gstvacaps.c va: Set <gst/va/gstva.h> as library single point entry header. 2022-03-29 19:48:30 +00:00
gstvacaps.h va: caps: Expose gst_va_create_coded_caps as helper function. 2022-03-01 10:53:50 +01:00
gstvadecoder.c va: Set <gst/va/gstva.h> as library single point entry header. 2022-03-29 19:48:30 +00:00
gstvadecoder.h va: Add a gstva.h to include all va lib header files. 2022-02-07 10:12:36 +00:00
gstvadeinterlace.c va: Set <gst/va/gstva.h> as library single point entry header. 2022-03-29 19:48:30 +00:00
gstvadeinterlace.h Move files from gst-plugins-bad into the "subprojects/gst-plugins-bad/" subdir 2021-09-24 16:14:36 -03:00
gstvadevice.c va: Make libgudev dependency optional. 2021-10-04 10:19:36 +00:00
gstvadevice.h va: Add a gstva.h to include all va lib header files. 2022-02-07 10:12:36 +00:00
gstvadisplay_priv.c va: Set <gst/va/gstva.h> as library single point entry header. 2022-03-29 19:48:30 +00:00
gstvadisplay_priv.h va: Set <gst/va/gstva.h> as library single point entry header. 2022-03-29 19:48:30 +00:00
gstvaencoder.c vah264enc: Move rate-control enum to encoder class helper. 2022-04-16 11:11:51 +00:00
gstvaencoder.h vah264enc: Move rate-control enum to encoder class helper. 2022-04-16 11:11:51 +00:00
gstvafilter.c va: Expose a couple va surface/buffer methods. 2022-04-20 15:15:56 +00:00
gstvafilter.h vapostproc: Process HDR caps 2022-02-09 10:26:02 +00:00
gstvah264dec.c codecs: Rename picture clear functions 2022-03-11 20:20:17 +00:00
gstvah264dec.h Move files from gst-plugins-bad into the "subprojects/gst-plugins-bad/" subdir 2021-09-24 16:14:36 -03:00
gstvah264enc.c va: Expose a couple va surface/buffer methods. 2022-04-20 15:15:56 +00:00
gstvah264enc.h va: Add H264 encoder. 2022-03-01 10:53:50 +01:00
gstvah265dec.c va: h265dec: Fix a crash because of missing reference frame. 2022-03-25 13:12:46 +00:00
gstvah265dec.h Move files from gst-plugins-bad into the "subprojects/gst-plugins-bad/" subdir 2021-09-24 16:14:36 -03:00
gstvampeg2dec.c codecs: Stop claiming constness for refcounted object 2022-02-06 17:17:22 +00:00
gstvampeg2dec.h Move files from gst-plugins-bad into the "subprojects/gst-plugins-bad/" subdir 2021-09-24 16:14:36 -03:00
gstvaprofile.c va: Add the profile string name into the profile_map. 2022-03-01 10:53:50 +01:00
gstvaprofile.h va: Add the profile string name into the profile_map. 2022-03-01 10:53:50 +01:00
gstvavp8dec.c va: Delay decoders downstream negotiation. 2021-10-29 16:06:52 +00:00
gstvavp8dec.h Move files from gst-plugins-bad into the "subprojects/gst-plugins-bad/" subdir 2021-09-24 16:14:36 -03:00
gstvavp9dec.c va: Delay decoders downstream negotiation. 2021-10-29 16:06:52 +00:00
gstvavp9dec.h Move files from gst-plugins-bad into the "subprojects/gst-plugins-bad/" subdir 2021-09-24 16:14:36 -03:00
gstvavpp.c va: vpp: Update the colorimetry and HDR fields when fixup src caps. 2022-04-22 06:53:37 +00:00
gstvavpp.h Move files from gst-plugins-bad into the "subprojects/gst-plugins-bad/" subdir 2021-09-24 16:14:36 -03:00
meson.build va: Move allocators and pool objects into gstva library. 2022-03-29 19:48:30 +00:00
plugin.c va: Fix log message 2022-03-04 12:41:37 +00:00
vacompat.h va: Add vacompat.h to wrap glib functions. 2022-03-01 10:53:50 +01:00