video: add P010 format support
authorScott D Phillips <scott.d.phillips@intel.com>
Tue, 29 Mar 2016 08:16:42 +0000 (11:16 +0300)
committerSreerenj Balachandran <sreerenj.balachandran@intel.com>
Tue, 29 Mar 2016 08:16:42 +0000 (11:16 +0300)
commit079ceb894cd73bde243820231f714a5b6a7801f9
tree3790f3f86533741c10e0ccf3e4a7d366b95d5d14
parent38a5a3614e6d220c69b7206e8cf6a5e25115d5f2
video: add P010 format support

P010 is a YUV420 format with an interleaved U-V plane and 2-bytes per
component with the the color value stored in the 10 most significant
bits.

https://bugzilla.gnome.org/show_bug.cgi?id=761607
---
Changes since v2:
- Set bits=16 in DPTH10_10_10_HI
Changes since v1:
- Fixed x-offset calculation in uv.
- Added 6-bit shifts to FormatInfo.
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