• Jan Ekström's avatar
    avutil/pix{desc,fmt}: add new matrix coefficients from H.273 v3 · 29561c8e
    Jan Ekström authored
    * SMPTE ST 2128 IPT-C2 defines the coefficients utilized in DoVi
      Profile 5. Profile 5 can thus now be represented in VUI as
      {AVCOL_RANGE_JPEG, AVCOL_PRI_BT2020, AVCOL_TRC_SMPTE2084,
       AVCOL_SPC_IPT_C2, AVCHROMA_LOC_LEFT} (although other chroma
      sample locations are allowed). AVCOL_TRC_SMPTE2084 should in
      this case be interpreted as 'PQ with reshaping'.
    * YCgCo-Re and YCgCo-Ro define the bitexact YCgCo-R, where the
      number of bits added to a source RGB bit depth is 2 (i.e., even)
      and 1 (i.e., odd), respectively.
    29561c8e
pixfmt.h 41 KB