Introduce the videocolorscale element
authorThibault Saunier <tsaunier@igalia.com>
Fri, 17 Apr 2020 19:23:03 +0000 (15:23 -0400)
committerThibault Saunier <tsaunier@igalia.com>
Wed, 20 Apr 2022 21:03:21 +0000 (17:03 -0400)
commitd11f13f476411b828387c3c26619bc77c255affb
treeee1114ba5542479b99811964d6b5b5d89e9fccf3
parent6a3776c5271869467e3c1a406e6500ab8b79c64d
Introduce the videocolorscale element

Now that videoconvert and videoscale's are both based on
GstVideoConverter and are using the exact same code, it makes much more
sense to have one element doing the two operation, and it can be
more efficient in some cases (one single path for both operations).

This removes the `videoscale` and `videoconvert` plugins but keeps the element
but makes them also do both operations (adding some APIs to each element).

There is a small change in API for the `videoscale:dither` property which
was previously a totally unused boolean, it is now an enum and is used.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/898>
16 files changed:
subprojects/gst-plugins-base/docs/plugins/gst_plugins_cache.json
subprojects/gst-plugins-base/gst/meson.build
subprojects/gst-plugins-base/gst/videoconvert/gstvideoconvert.c [deleted file]
subprojects/gst-plugins-base/gst/videoconvert/meson.build [deleted file]
subprojects/gst-plugins-base/gst/videoconvertscale/README [new file with mode: 0644]
subprojects/gst-plugins-base/gst/videoconvertscale/gstvideoconvert.c [new file with mode: 0644]
subprojects/gst-plugins-base/gst/videoconvertscale/gstvideoconvert.h [moved from subprojects/gst-plugins-base/gst/videoconvert/gstvideoconvert.h with 57% similarity]
subprojects/gst-plugins-base/gst/videoconvertscale/gstvideoconvertscale.c [moved from subprojects/gst-plugins-base/gst/videoscale/gstvideoscale.c with 54% similarity]
subprojects/gst-plugins-base/gst/videoconvertscale/gstvideoconvertscale.h [moved from subprojects/gst-plugins-base/gst/videoscale/gstvideoscale.h with 74% similarity]
subprojects/gst-plugins-base/gst/videoconvertscale/gstvideoconvertscaleplugin.c [new file with mode: 0644]
subprojects/gst-plugins-base/gst/videoconvertscale/gstvideoscale.c [new file with mode: 0644]
subprojects/gst-plugins-base/gst/videoconvertscale/gstvideoscale.h [new file with mode: 0644]
subprojects/gst-plugins-base/gst/videoconvertscale/meson.build [new file with mode: 0644]
subprojects/gst-plugins-base/gst/videoscale/README [deleted file]
subprojects/gst-plugins-base/gst/videoscale/meson.build [deleted file]
subprojects/gst-plugins-base/meson_options.txt