libretro / ludo

A libretro frontend written in golang
https://ludo.libretro.com/
GNU General Public License v3.0
586 stars 67 forks source link

Video filters: an unpixelated yet sharp filter would be nice #443

Open ghost opened 3 years ago

ghost commented 3 years ago

I mean a filter that 'removes' the individual pixels while offering a sharp image, unlike the current 'smooth' filter, which creates a blurry image. See the following comparison on pixel-art scaling algorithms: https://en.wikipedia.org/wiki/Pixel-art_scaling_algorithms

johnnyq commented 3 years ago

Excellent link on pixel art, it shows all the common filters in detail. I'm not sure if @kivutar wants to add additional filters or not. The main focus is bugs and keeping things minimal, not saying it won't be added it will probably be marked low priority for now.

kivutar commented 3 years ago

Hi, do you know a fast one (that works full speed on a Raspberry Pi at high res) and that is single pass?

ghost commented 3 years ago

@kivutar 2xSaI is a one-pass algorithm which produces excellent results. The following page is from the developer of that algorithm and includes the source code, which is free under GPL: https://vdnoort.home.xs4all.nl/emulation/2xsai/

kivutar commented 3 years ago

Thanks. I feel like the result of xbrz is still better than 2xsai.