[FFmpeg-devel] [PATCH] RoQ encoder
Fri May 4 18:56:31 CEST 2007
As suggested in Mike Melanson blog, I modified Eric Lasota's RoQ
encoding patch for inclusion in FFmpeg. The main problem with the
original patch was that while RoQ is an YUV based codec, the patch
expected RGB data from FFmpeg.
I modified it to work with YUV without doing any conversion to RGB.
There were a point where the algorithm calculated the squared difference
of the RGB values of two pixel blocks. I changed it to calculate the
squared difference of the YUV values. It looks like it didn't worsen the
I also renamed the variables and structures not to have the sb3_ prefix
anymore, merged a lot of files and changed the indentation.
This is my first patch, so any suggestion is welcome.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 108913 bytes
Desc: not available
More information about the ffmpeg-devel