[FFmpeg-devel] [PATCH] IFF: Change decodeplane8 while to do ... while for getting 1% speedup

Sebastian Vater cdgs.basty
Mon May 10 19:10:52 CEST 2010


Ronald S. Bultje a ?crit :
> Hi,
>
> 2010/5/9 M?ns Rullg?rd <mans at mansr.com>:
>   
>> Sebastian Vater <cdgs.basty at googlemail.com> writes:
>>     
>>> Since it's averaged for each call (which is around 4096 times for
>>> MRLake.iff), that issue shouldn't be a problem here.
>>> After all I get differences +/- 10 dezicycles each run...I think it's
>>> accurate enough.
>>>       
>> That's not how statistics works.
>>     
>
> More practically, please c/p the literal output of the
> START/STOP_TIMER pairs. That way we can actually confirm the results.
>   

So here is it (MRLake.iff again):
FFplay version git-5dd2e94, Copyright (c) 2003-2010 the FFmpeg developers
  built on May 10 2010 19:06:50 with gcc 4.2.4 (Ubuntu 4.2.4-1ubuntu4)
  configuration: --disable-avfilter
  libavutil     50.15. 2 / 50.15. 2
  libavcodec    52.67. 0 / 52.67. 0
  libavformat   52.62. 0 / 52.62. 0
  libavdevice   52. 2. 0 / 52. 2. 0
  libswscale     0.10. 0 /  0.10. 0
[IFF @ 0x8b3b820]Estimating duration from bitrate, this may be inaccurate
Input #0, IFF, from '../patches/MRLake.iff':
  Duration: N/A, bitrate: N/A
    Stream #0.0: Video: iff_byterun1, pal8, 737x595, PAR 17:20 DAR
737:700, 90k tbr, 90k tbn, 90k tbc
42550 dezicycles in decodeplane8, 1 runs, 0 skips
81375 dezicycles in decodeplane8, 2 runs, 0 skips
78155 dezicycles in decodeplane8, 4 runs, 0 skips
67456 dezicycles in decodeplane8, 8 runs, 0 skips
39210 dezicycles in decodeplane8, 16 runs, 0 skips
24590 dezicycles in decodeplane8, 32 runs, 0 skips
17053 dezicycles in decodeplane8, 64 runs, 0 skips
13150 dezicycles in decodeplane8, 128 runs, 0 skips
11101 dezicycles in decodeplane8, 256 runs, 0 skips
10044 dezicycles in decodeplane8, 512 runs, 0 skips
9457 dezicycles in decodeplane8, 1024 runs, 0 skips
9163 dezicycles in decodeplane8, 2047 runs, 1 skips
9015 dezicycles in decodeplane8, 4095 runs, 1 skips
   1.64 A-V:  0.000 s:0.0 aq=    0KB vq=    0KB sq=    0B f=0/0   0/0

-- 

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




More information about the ffmpeg-devel mailing list