Skip to content
Snippets Groups Projects

colorspace: add support for Dolby Vision

Merged Niklas Haas requested to merge etsi_ccm into master
  1. Dec 04, 2021
    • quietvoid's avatar
      demos/plplay: integrate libdovi to parse frame RPU · f361a57d
      quietvoid authored and Niklas Haas's avatar Niklas Haas committed
      
      Co-authored-by: default avatarNiklas Haas <git@haasn.dev>
      f361a57d
    • Niklas Haas's avatar
      colorspace: add support for Dolby Vision · 775a9325
      Niklas Haas authored
      This covers Profiles 5 and 8.X. After playing around with the
      implementation quite a lot, I eventually settled on the current state,
      which requires no LUTs or state and is implemented entirely in pure
      GLSL. This is slightly slower than a pure 1D LUT approach, but has the
      benefit of not needing to add an extra `pl_shader_obj` to the API at
      all, and thus being transparently backwards compatible.
      
      The decoding metadata is assumed to be passed in via a new struct
      `pl_dovi_metadata`, which contains both the colorspace matrices
      (especially important for profiles 8.X) and reshaping coefficients.
      
      Closes #113
      775a9325
Loading