Crate yuvutils_rs

source ·

Enums§

  • Declares transfer function for transfer components into a linear colorspace and its inverse
  • Most of the cases of storage bytes is least significant whereas b0000000111111 integers stored in low part, however most modern hardware encoders (Apple, Android manufacturers) uses most significant bytes where same number stored as b111111000000 and need to be shifted right before working with this. This is not the same and endianness. I never met big endian packing with most significant bytes so this case may not work fully correct, however, little endian + most significant bytes can be easily derived from HDR camera stream on android and apple platforms
  • This controls endianness of YUV storage format
  • Declares YUV range TV (limited) or Full
  • Declares standard prebuilt YUV conversion matrices, check ITU-R information for more info

Functions§