video-converter: Add fast paths from v210 to I420/YV12, Y42B, UYVY and YUY2
authorSebastian Dröge <sebastian@centricular.com>
Tue, 4 Aug 2020 09:53:18 +0000 (12:53 +0300)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Tue, 8 Sep 2020 21:10:30 +0000 (21:10 +0000)
commit805b1ee9b33c0dadc22e22fc9a7592f784a3f8d7
tree2a84fe1b83db9eb43a3da52697c61fa088efc76f
parent2abc48c1e9828660ed186d2edb0e9f72dce1f883
video-converter: Add fast paths from v210 to I420/YV12, Y42B, UYVY and YUY2

These then don't require going through the generic code path via AYUV64
first but can be converted directly.

This speeds up processing of
  videotestsrc ! v210 ! videoconvert ! other_format ! fakesink
by a factor of 1.55 for I420/YV12 and 1.40 for the other destination
formats and reduces memory pressure considerably.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/775>
gst-libs/gst/video/video-converter.c