[Bug 761607] video: add support for P010 video format

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Feb 23 17:56:12 UTC 2016


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

--- Comment #12 from Scott D Phillips <scott.d.phillips at intel.com> ---
(In reply to Wim Taymans from comment #10)
> Also, the format is under specified on the microsoft website, is it little
> or big endian? are the pixels in the low or high bits?

A little above where I linked in the page it says:

> The 16-bit representations described here use little-endian
> WORD values for each channel. The 10-bit formats also use 16
> bits for each channel, with the lowest 6 bits set to zero

I put both big and little endian variants in my patch for consistency with the
other multi-byte formats though. I believe specifying a 6-bit shift for each
component is correct because the data resides in the high 10 bits.

I'll submit a new patch with bits=16.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list