Prepare for better understanding of 10- and 12-bit Y'CbCr.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Tue, 8 Sep 2015 23:28:40 +0000 (01:28 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Tue, 8 Sep 2015 23:28:40 +0000 (01:28 +0200)
commit5f81c29e307735bbadb3c0cb06500af627b2e57a
tree305fa266b577991b2ef79f440308659e5b53e72d
parentc2ca57b71bf77244acc85aaccb2d6c360517c5a3
Prepare for better understanding of 10- and 12-bit Y'CbCr.

Seemingly there is trickiness in how to interpret the integer
values that is different from what you'll typically see in R'G'B'
(or just GPUs and TV standards differ on that point as well).
Add an explanatory comment, and add a data member to YCbCrFormat
to prepare for correct 10/12-bit level handlings. We'll stay 8-bit
only for now, though, to avoid an API break for existing clients
for no good reason (there's no 10-bit input, really).
ycbcr.cpp
ycbcr.h
ycbcr_422interleaved_input_test.cpp
ycbcr_input_test.cpp