How do I encode Y'CBCR components from R'G'B' in [0, +1]?