[FFmpeg-devel] [PATCH] Optimization of original IFF codec

Sebastian Vater cdgs.basty
Sun Apr 25 16:21:40 CEST 2010


So benchmark for patched part is done!

I also fixed a small bug from my patch (now works with all types of ILBM
except HAM/EHB).

But I'll keep the current planar to chunky conversion, there are lots of
better converters for this anyway, I'll take a look for this on Aminet.

Sebastian Vater a ?crit :
> I did now the benchmarks for the original unpatched libavcodec/iff.c
>
> Jai Menon a ?crit :
>   
>> On Sun, Apr 25, 2010 at 5:19 PM, Sebastian Vater
>> <cdgs.basty at googlemail.com> wrote:
>>   
>>     
>>> Hey to all!
>>>
>>> I have a new (and my first git patch ;-)) ready for optimizing the stuff.
>>>     
>>>       
>> [...]
>>
>> benchmarks are still missing
>>   
>>     
> basty at cdgs-basty:~/src/ffmpeg/build$ ./ffplay ../patches/Ooze.iff
> FFplay version git-svn-r22945, Copyright (c) 2003-2010 the FFmpeg developers
>   built on Apr 25 2010 13:29:43 with gcc 4.2.4 (Ubuntu 4.2.4-1ubuntu4)
>   configuration:
>   libavutil     50.14. 0 / 50.14. 0
>   libavcodec    52.66. 0 / 52.66. 0
>   libavformat   52.61. 0 / 52.61. 0
>   libavdevice   52. 2. 0 / 52. 2. 0
>   libswscale     0.10. 0 /  0.10. 0
> [IFF @ 0x8b31790]Estimating duration from bitrate, this may be inaccurate
> Input #0, IFF, from '../patches/Ooze.iff':
>   Duration: N/A, bitrate: N/A
>     Stream #0.0: Video: iff_byterun1, rgba, 666x536, PAR 1:1 DAR
> 333:268, 90k tbr, 90k tbn, 90k tbc
> 60620 dezicycles in decodeplane32, 1 runs, 0 skips0KB sq=    0B f=0/0
> 58535 dezicycles in decodeplane32, 2 runs, 0 skips
> 57652 dezicycles in decodeplane32, 4 runs, 0 skips
> 56961 dezicycles in decodeplane32, 8 runs, 0 skips
> 56625 dezicycles in decodeplane32, 16 runs, 0 skips
> 56374 dezicycles in decodeplane32, 32 runs, 0 skips
> 56226 dezicycles in decodeplane32, 64 runs, 0 skips
> 56829 dezicycles in decodeplane32, 128 runs, 0 skips
> 56467 dezicycles in decodeplane32, 256 runs, 0 skips
> 56392 dezicycles in decodeplane32, 511 runs, 1 skips
> 56519 dezicycles in decodeplane32, 1023 runs, 1 skips
> 56324 dezicycles in decodeplane32, 2046 runs, 2 skips
> 56373 dezicycles in decodeplane32, 4087 runs, 9 skips
> 56276 dezicycles in decodeplane32, 8161 runs, 31 skipssq=    0B f=0/0
>    6.93 A-V:  0.000 s:0.0 aq=    0KB vq=    0KB sq=    0B f=0/0   0/0
>
>   
basty at cdgs-basty:~/src/ffmpeg/build$ ./ffplay ../patches/Ooze.iff
FFplay version git-svn-r22945, Copyright (c) 2003-2010 the FFmpeg developers
  built on Apr 25 2010 13:29:43 with gcc 4.2.4 (Ubuntu 4.2.4-1ubuntu4)
  configuration:
  libavutil     50.14. 0 / 50.14. 0
  libavcodec    52.66. 0 / 52.66. 0
  libavformat   52.61. 0 / 52.61. 0
  libavdevice   52. 2. 0 / 52. 2. 0
  libswscale     0.10. 0 /  0.10. 0
[IFF @ 0x8b31790]Estimating duration from bitrate, this may be inaccurate
Input #0, IFF, from '../patches/Ooze.iff':
  Duration: N/A, bitrate: N/A
    Stream #0.0: Video: iff_byterun1, rgba, 666x536, PAR 1:1 DAR
333:268, 90k tbr, 90k tbn, 90k tbc
58030 dezicycles in decodeplane32, 1 runs, 0 skips
56780 dezicycles in decodeplane32, 2 runs, 0 skips
56117 dezicycles in decodeplane32, 4 runs, 0 skips
55765 dezicycles in decodeplane32, 8 runs, 0 skips
55550 dezicycles in decodeplane32, 16 runs, 0 skips
55490 dezicycles in decodeplane32, 32 runs, 0 skips
55437 dezicycles in decodeplane32, 64 runs, 0 skips
55359 dezicycles in decodeplane32, 128 runs, 0 skips
55346 dezicycles in decodeplane32, 255 runs, 1 skips
55320 dezicycles in decodeplane32, 511 runs, 1 skips
55316 dezicycles in decodeplane32, 1023 runs, 1 skips
55527 dezicycles in decodeplane32, 2045 runs, 3 skips sq=    0B f=0/0
55581 dezicycles in decodeplane32, 4090 runs, 6 skips
55751 dezicycles in decodeplane32, 8176 runs, 16 skipssq=    0B f=0/0
   1.26 A-V:  0.000 s:0.0 aq=    0KB vq=    0KB sq=    0B f=0/0   0/0

-- 

Best regards,
                   :-) Basty/CDGS (-:

-------------- next part --------------
A non-text attachment was scrubbed...
Name: iff-optimize.patch
Type: text/x-patch
Size: 9189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100425/a574eaa7/attachment.bin>



More information about the ffmpeg-devel mailing list