utils/libav: add helpers for mangling av pixfmt into libplacebo

Merged Niklas Haas requested to merge avpixfmt into master

These structs are designed in not-quite-compatible ways, and the mapping is not at all intuitive or obvious.


  • more testing, make sure it actually does the right thing
  • more helper functions (cf. colorspace conversions etc.)
  • pin down minimum version requirement?
  • figure out how to handle yuv420p10 etc. properly
  • [ ] add support for AV1 film grain metadata
Edited by Niklas Haas

Merge request reports