video: add support for P010 video format
@scott-ph
Submitted by Scott D Phillips Link to original bug (#761607)
Description
P010 is a YUV 4:2:0 format with an interleaved U-V plane and 10-bits per pixel element stored in 2-byte fields. A description of the format can be found at:
https://msdn.microsoft.com/en-us/library/windows/desktop/bb970578(v=vs.85).aspx#_420formats
P010 is the video format used by the vaapi/intel-driver for H265's Main 10 profile:
http://cgit.freedesktop.org/vaapi/intel-driver/commit/?id=5ec92f48aeff12c7db0a96b65aca44feb4965d92