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

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Feb 23 09:41:29 UTC 2016


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

--- Comment #9 from Wim Taymans <wim.taymans at gmail.com> ---
bits could be 10 or 16, it doesn't matter, you always round up to get the
amount of bytes to read (currently). Maybe make it 16 in the future to be safe.

Since the pixel data is already in the low bits after reading the bytes, no
shifts are needed. Then you are left with 10 bits of valid pixel data. so the
definition is:

#define DPTH10_10_10     10, 3, { 0, 0, 0, 0 }, { 10, 10, 10, 0 }

-- 
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