video: Add NV12_10LE40 pixel format
authorayaka <ayaka@soulik.info>
Sun, 29 Apr 2018 00:22:31 +0000 (20:22 -0400)
committerNicolas Dufresne <nicolas.dufresne@collabora.com>
Sat, 19 May 2018 17:09:08 +0000 (13:09 -0400)
commit388b48511e90e008138e1842640b76934bd891dc
treeaaa1254b011b491adf602ae3e4a75e29c2e9e35a
parentc765649505d69402f4996f9f5ebd424989546dfe
video: Add NV12_10LE40 pixel format

This pixel format is a fully packed variant of NV12_10LE32,
a luma pixel would take 10bits in memory, without any
filled bits between pixels in a stride. The color range
follows the BT.2020 standard.

In order to get a better performance in hardware memory
operation, it may expend the stride, append zero data at the
end of echo lines.

Pack function by Nicolas Dufresne.

https://bugzilla.gnome.org/show_bug.cgi?id=795462

Signed-off-by: Nicolas Dufresne <nicolas@ndufresne.ca>
Signed-off-by: ayaka <ayaka@soulik.info>
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