bjin / mpv-prescalers

prescalers for mpv, as user shaders
GNU Lesser General Public License v3.0
355 stars 34 forks source link

RAVU LUTs in PNG format? #43

Closed hizzlekizzle closed 12 months ago

hizzlekizzle commented 3 years ago

Hi, I was interested in trying to port RAVU to work with a program that needs LUTs in png format. Can you provide any guidance on generating/converting such a thing? Or would you happen to have them lying around? :)

bjin commented 3 years ago

I would recommend you porting ravu-lite, it's much simpler and has a relatively simple LUT table format. The LUT table is shuffled in generated shader, it's easier to use raw model weights directly. It's a 5-dimension array, you can view code here to understand the meaning for each dimension.

hizzlekizzle commented 3 years ago

Ah, ok. Yeah, we have a port of nnedi3 using the raw model weights, so I can probably approach it similarly. Thanks!