diff options
author | Jonas Karlman <[email protected]> | 2023-10-23 17:37:14 +0000 |
---|---|---|
committer | Heiko Stuebner <[email protected]> | 2023-10-24 21:34:35 +0200 |
commit | 728c15b4b5f3369cbde73d5e0f14701ab370f985 (patch) | |
tree | 48d584c70c2cb5144a669e33497971b2036a4982 /drivers/usb/cdns3/cdns3-debug.h | |
parent | 215737e37d07ade8952048339e37aec6c6f82223 (diff) |
drm/fourcc: Add NV20 and NV30 YUV formats
DRM_FORMAT_NV20 and DRM_FORMAT_NV30 formats is the 2x1 and non-subsampled
variant of NV15, a 10-bit 2-plane YUV format that has no padding between
components. Instead, luminance and chrominance samples are grouped into 4s
so that each group is packed into an integer number of bytes:
YYYY = UVUV = 4 * 10 bits = 40 bits = 5 bytes
The '20' and '30' suffix refers to the optimum effective bits per pixel
which is achieved when the total number of luminance samples is a multiple
of 4.
V2: Added NV30 format
Signed-off-by: Jonas Karlman <[email protected]>
Reviewed-by: Sandy Huang <[email protected]>
Reviewed-by: Christopher Obbard <[email protected]>
Tested-by: Christopher Obbard <[email protected]>
Signed-off-by: Heiko Stuebner <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions