[vlc-devel] [PATCH] [WIP] RFC: add HDR/BT.2020 support (using libplacebo)

Niklas Haas vlc at haasn.xyz
Fri Oct 27 02:37:08 CEST 2017


On Thu, 26 Oct 2017 20:01:07 +0300, Rémi Denis-Courmont <remi at remlab.net> wrote:
> VLC has its own convenience wrapper for that. Obviously, that can´t be used 
> for by an external library. But you can use a similar solution.
> 

I've given the solution an attempt:
https://github.com/haasn/libplacebo/commit/0e67eec23628f97089bb25724248e502694c57bb

This works on my end, but currently only has an implementation for
systems with `uselocale`, which apparently Win32 does not belong to. On
Win32, there are locale-invariant versions of printf which could be used
to implement the same API, but I'm unable to produce this code. (BSD
could also use the printf_l etc. wrappers, although BSD supports
uselocale so it shouldn't be necessary)


More information about the vlc-devel mailing list