mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-31 05:15:34 +00:00
Add NV15 and NV20 pixel formats used by the Rockchip Video Decoder for 10-bit buffers. NV15 and NV20 is 10-bit 4:2:0/4:2:2 semi-planar YUV formats similar to NV12 and NV16, using 10-bit components with no padding between each component. Instead, a group of 4 luminance/chrominance samples are stored over 5 bytes in little endian order: YYYY = UVUV = 4 * 10 bits = 40 bits = 5 bytes The '15' and '20' suffix refers to the optimum effective bits per pixel which is achieved when the total number of luminance samples is a multiple of 8 for NV15 and 4 for NV20. Signed-off-by: Jonas Karlman <jonas@kwiboo.se> Reviewed-by: Nicolas Dufresne <nicolas.dufresne@collabora.com> Tested-by: Nicolas Dufresne <nicolas.dufresne@collabora.com> Tested-by: Christopher Obbard <chris.obbard@collabora.com> Signed-off-by: Nicolas Dufresne <nicolas.dufresne@collabora.com> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> |
History
|
|
|---|---|---|
| .. | ||
| accelerators | ||
| ebpf | ||
| fwctl | ||
| gpio | ||
| ioctl | ||
| media | ||
| netlink | ||
| check_exec.rst | ||
| dcdbas.rst | ||
| dma-buf-alloc-exchange.rst | ||
| dma-buf-heaps.rst | ||
| ELF.rst | ||
| futex2.rst | ||
| index.rst | ||
| iommufd.rst | ||
| isapnp.rst | ||
| landlock.rst | ||
| lsm.rst | ||
| mfd_noexec.rst | ||
| mseal.rst | ||
| no_new_privs.rst | ||
| ntsync.rst | ||
| perf_ring_buffer.rst | ||
| seccomp_filter.rst | ||
| spec_ctrl.rst | ||
| sysfs-platform_profile.rst | ||
| tee.rst | ||
| unshare.rst | ||
| vduse.rst | ||