[vlc-devel] [PATCH] vlc_es: add mapping for all known colorspaces

Francois Cartegnie fcvlcdev at free.fr
Mon Dec 26 18:43:06 CET 2016

Le 26/12/2016 à 18:27, Rémi Denis-Courmont a écrit :

> No but anyway, VLC is first and foremost a media player. And LibVLC does not 
> even support streaming output.
>> How fun is having to figure which value mapping in each new module
>> to apply should be done when you can have a complete dictionary and
>> fallback conversion done in a unique place (vout)...
> And how that going to be unique? Each video output, encoder and muxer has its 
> own limitations, either by design, or by implementation.
> Not to mention video filters and converters.

Lots of typos above.

That's just doing an indirect source local value -> full list (#defines
only) mapping.
Then on vout usage use a common helper for #defines -> Surjective
mapping to local.
Where the current way does Surjective mapping at source, and sometimes
another remapping in vout.

That keeps the original values untouched for sout and eases mapping in
all other modules.


More information about the vlc-devel mailing list