media: Add NV12_4L4 tiled format
authorEzequiel Garcia <ezequiel@collabora.com>
Thu, 5 Aug 2021 02:47:51 +0000 (04:47 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 30 Sep 2021 08:07:40 +0000 (10:07 +0200)
commit683f71ebb35d9223b4a22488e2eaffac30af104d
treee6647c6f7a94d684df112c6624a36f928c01e2ca
parent78eee7b5f110c9884c8ffd1dfcdd9c29296f3e43
media: Add NV12_4L4 tiled format

This format is produced by VeriSilicon Hantro G2 and VC8000D cores.
It is a simple 4x4 tiling layout in a linear way.

The pixel format was introduced by GStreamer using FourCC VT12,
so let's stick to it.

Link: https://gstreamer.freedesktop.org/documentation/video/video-format.html
Signed-off-by: Ezequiel Garcia <ezequiel@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Documentation/userspace-api/media/v4l/pixfmt-yuv-planar.rst
drivers/media/v4l2-core/v4l2-common.c
drivers/media/v4l2-core/v4l2-ioctl.c
include/uapi/linux/videodev2.h