[FFmpeg-devel] [PATCH] lavfi: add xbr filter

Stefano Sabatini stefasab at gmail.com
Mon Nov 3 15:32:24 CET 2014


On date Monday 2014-11-03 12:09:50 +0530, arwa arif encoded:
> I mailed Sergio (Hyllian) and this is his message -
> 
> "You can look at this thread:
> 
> http://www.libretro.com/forums/viewtopic.php?f=6&t=134
> 
> And there are some c/c++ implementations out there like this:
> 
> https://github.com/yoyofr/iFBA/blob/master/fba_src/src/intf/video/scalers/xbr.cpp
> 
> 
> I'm not working on it this time, though.
> 
> 
> Hyllian."

So we have:
C++, 2xBR v3.3b, LGPL
http://sourceforge.net/p/paintown/code/HEAD/tree/trunk/src/util/graphics/sdl/xbr.cpp

C++, 2xBR v3.3b, GPL
https://github.com/yoyofr/iFBA/blob/master/fba_src/src/intf/video/scalers/xbr.cpp

The former is clearly a copy&paste from the latter, so that should be
used as reference. 

paintown code was relicensed to GPL with Hyllian's consent, so we
should be able to do the same (if licensing is a concerns, which
probably isn't for such a fringe filter).

Algorithm description can be found here:
https://web.archive.org/web/20140904180543/http://board.byuu.org/viewtopic.php?f=10&t=2248

(note: it was down the last time I checked).

NOTE: since both are games/emulators, I suppose it won't be easy to
make them generate a reference output, so we should rely on comparing
the output generated by the filter with some output found on the web.

@arwa: are you willing to readapt your xbr filter to make use of
Hyllian's code?
-- 
FFmpeg = Freak and Frightening Maxi Powered Enhancing Gangster


More information about the ffmpeg-devel mailing list