video: Add NV12_10LE40 pixel format
authorayaka <ayaka@soulik.info>
Sat, 25 Mar 2017 20:54:42 +0000 (04:54 +0800)
committerNicolas Dufresne <nicolas.dufresne@collabora.com>
Tue, 24 Apr 2018 20:51:27 +0000 (16:51 -0400)
commit35d0783fca504997e1be30cfebfa8de042ea49ab
tree4ed1cf7d3a73cb62fd585caf359ae100783ef80d
parent710990d5cf5d9f21a90f8de82c63a0ed4813d846
video: Add NV12_10LE40 pixel format

This pixel format is a fully packed variant of NV12, 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 performance in hardware memory
operation, it may expend the stride, append zero data at the
end of echo lines.

Signed-off-by: ayaka <ayaka@soulik.info>
https://bugzilla.gnome.org/show_bug.cgi?id=795462
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