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

Alexander Strange astrange
Tue Aug 14 08:02:57 CEST 2007


On Aug 14, 2007, at 12:20 AM, Corey Hickey wrote:

> 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

I actually did attach them that time. Maybe my client's broken?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ffmpeg-cabacres-switches.diff
Type: application/octet-stream
Size: 1665 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070814/d0ef1cce/attachment.obj>
-------------- next part --------------

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ffmpeg-fillrectangle-microopt.diff
Type: application/octet-stream
Size: 3591 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070814/d0ef1cce/attachment-0001.obj>
-------------- next part --------------




More information about the ffmpeg-devel mailing list