[FFmpeg-devel] [PATCH] two small h264 optimizations

Corey Hickey bugfood-ml
Tue Aug 14 06:20:51 CEST 2007


Alexander Strange wrote:
> #1 ffmpeg-cabacres-switches -
> This changes the if (cat == ) .... statements to switch tables.
> Adding a default case to case 5: removed most of the speed gain, so I  
> took out the assert,
> but it doesn't affect anything. I can put it back somewhere else if  
> needed.
> 
> #2 ffmpeg-fillrectangle-microopt.diff -
> Statements like a = b = c = d = e; store from right-to-left, so if  
> you write them in the right order it comes out backwards.
> This removes them from fill_rectangle().

It looks like you forgot the patches, just like I usually do. :)

-Corey




More information about the ffmpeg-devel mailing list