[vlc-devel] [PATCH 2/2] vout: vulkan: add a variety of built-in shaders
Niklas Haas
vlc at haasn.xyz
Mon Jun 22 11:08:44 CEST 2020
On Mon, 22 Jun 2020 09:45:58 +0200, Romain Vimont <rom1v at videolabs.io> wrote:
> > +"//!TEXTURE ravu_lut3\n"
> > +"//!SIZE 5 648\n"
> > +"//!FORMAT rgba16f\n"
> > +"//!FILTER NEAREST\n"
> > +"1a88533af88e23bb14d5c73afaa0e53ab42022bbcfc4583abb5687bb3fe2283c...
>
> For info, what is this hexa string, containing 103682 chars?
It is a hard-coded look-up table of pretrained weights. The source of
this shader is https://github.com/bjin/mpv-prescalers, which contains
more information about how the weights were trained (and how to train
your own, if you really want to - it's a simple linear regression).
For the curious, the weights were trained using a very scientifically
collected database of anime movies. :)
Do you want me to add this information in the commit message or a
comment, or were you merely asking for your own curiosity?
More information about the vlc-devel
mailing list