colorspace: add Dolby Vision Profile 5 (IPT-PQ)
Note that these matrix coefficients are technically signalled in the RPU structs, but the values appear to never change (and the values used in practice match the values from the patent WO 2016/172091 A1 exactly), so I'm tentatively hard-coding this for the time being. (And because custom matrix support would be very annoying to implement, API-wise) Partially implements #113
Showing
- meson.build 1 addition, 0 deletionsmeson.build
- src/colorspace.c 16 additions, 1 deletionsrc/colorspace.c
- src/include/libplacebo/colorspace.h 1 addition, 0 deletionssrc/include/libplacebo/colorspace.h
- src/include/libplacebo/utils/dav1d_internal.h 1 addition, 0 deletionssrc/include/libplacebo/utils/dav1d_internal.h
- src/include/libplacebo/utils/libav_internal.h 1 addition, 0 deletionssrc/include/libplacebo/utils/libav_internal.h
- src/renderer.c 1 addition, 0 deletionssrc/renderer.c
- src/shaders/colorspace.c 26 additions, 0 deletionssrc/shaders/colorspace.c
- src/shaders/film_grain.h 1 addition, 1 deletionsrc/shaders/film_grain.h
- src/tests/gpu_tests.h 1 addition, 0 deletionssrc/tests/gpu_tests.h
Loading
Please register or sign in to comment