re specified as follows: If matrix_coefficients is not equal to 0 or 8, the following equations apply: (E-13) EPB=0.5(EB-Ey)(1-K (E-14) E'PR = 0.5 *(ER-Ey)(1-KR (E-15) NOTE 3 - E'y is a real number with the value 0 associated with nominal black and the value 1 associated with nominal white. E'PB and E'PR are real numbers with the value 0 associated with both nominal black and nominal white. When transfer_characteristics is not equal to 11 or 12, E'x is a real number with values in the range of 0 to 1. When transfer_characteristics is not equal to 11 or 12, E'PB and E'PR are real numbers with values in the range of -0.5 to 0.5. When transfer characteristics is equal to 11 (IEC 61966-2- 4), or 12 (ITU-R BT.1361 extended colour gamut system), E'y, E'PB and E'PR are real numbers with a larger range not specified in this Recommendation Otherwise, if matrix_coefficients is equal to 0, the following equations apply: Y = Round( (E-16) = Round( B) (E-17) Cr = Round(R) (E-18) Otherwise (matrix_coefficients is equal to 8), the following applies: If BitDepthc is equal to BitDepthy, the following equations apply: Y = Round( 0.5*G+0.25*(R+B)) (E-19) Cb = Round( 0.5 G - 0.25 (R+B)) + BitDepthc (E-20) Cr = Round( 0.5 (R-B))+(1<<(BitDepthc 1)) (E-21) NOTE 4 - For purposes of the YCgCo nomenclature used in Table E-5, Cb and Cr of Equations E-20 and E-21 may be referred to as Cg and Co, respectively. The inverse conversion for the above three equations should be computed as: = -(Cb-(1<<(BitDepthc-1))) (E-22) G = Cliply(Y+(Cb-(1<<(BitDepthc-1))) (E-23) B = Cliply(t-(Cr-(1<<(BitDepthc-1))) (E-24) R = Cliply(t+(Cr-(1<<(BitDepthc (E-25) Otherwise (BitDepthc is not equal to BitDepthy), the following equations apply: Cr=Round(R)-Round(B)+(1<<(BitDepthc-1)) = (E-26) t Round( B)+((Cr-(1<<(BitDepthc-1)))>>1) (E-27) = Round(G)-t+(1<<(BitDepthc-1)) (E-28) =t+((Cb-(1<<(BitDepthc-1)))>>1) (E-29) NOTE 5 - For purposes of the YCgCo nomenclature used in Table E-5, Cb and Cr of Equations E-28 and E-26 may be referred to as Cg and Co, respectively. 