How do I encode YCBCR components from studio video?
Studio R’G’B’ signals use the same 219 excursion as the luma component of Y ‘CBCR.To encode Y’CBCR from R’G’B’ in the range [0..219], using eight-bit binary arithmetic, scale the Y’CBCR encoding matrix of Eq 3 above by 256/219. Here is the encoding transform for studio video: To decode R’G’B’ in the range [0..219] from Y’CBCR, using eight-bit binary arithmetic: The entries of 256 in this matrix indicate that the corresponding component can simply be added; there is no need for a multiplication operation. This matrix contains entries larger than 256; the corresponding multipliers will need capability for nine bits. The matrices in this section conform to Rec. 601 and apply directly to conventional 525/59.94 and 625/50 video. It is not yet decided whether emerging HDTV standards will use the same matrices, or adopt a new set of matrices having different luma coefficients. In my view it would be unfortunate if different matrices were adopted, because then image coding and decoding would d