video: Add support for linear 32x32 NV12 tiles
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Wed, 15 Jul 2020 01:43:56 +0000 (21:43 -0400)
committerNicolas Dufresne <nicolas.dufresne@collabora.com>
Wed, 15 Jul 2020 01:43:56 +0000 (21:43 -0400)
commit98b44fdb46059ea540b8f6b41a6174b9c3a7c09c
treed49aae0d4a134d291dc84bcb4818e58f594c2995
parent29497285d7228d6c5c9a704f434cc4c02f429e45
video: Add support for linear 32x32 NV12 tiles

This adds linear 32x32 NV12 based tiles. This format is notably used by
Allwinner VCU and exposed in V4L2 as being "SUNXI Tiled" format. In this
patch we generalize the plane info calculation so we can share this part
with the 4L4 variant.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/754>
gst-libs/gst/video/video-converter.c
gst-libs/gst/video/video-format.c
gst-libs/gst/video/video-format.h
gst-libs/gst/video/video-info.c
tests/check/elements/videoscale.c
tests/check/libs/video.c