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

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


Ronald S. Bultje a ?crit :
> Hi,
>
> On Mon, May 10, 2010 at 1:10 PM, Sebastian Vater
> <cdgs.basty at googlemail.com> wrote:
>   
>> 9163 dezicycles in decodeplane8, 2047 runs, 1 skips
>> 9015 dezicycles in decodeplane8, 4095 runs, 1 skips
>>     
>
> Is this before or after the patch, and what about the other?
>   

After the patch, the one before follows here (Mans while (buf_size--)
fix patch):
basty at cdgs-basty:~/src/ffmpeg/build$ ./ffplay ../patches/MRLake.iff
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
45750 dezicycles in decodeplane8, 1 runs, 0 skips
73940 dezicycles in decodeplane8, 2 runs, 0 skips
72037 dezicycles in decodeplane8, 4 runs, 0 skips
62320 dezicycles in decodeplane8, 8 runs, 0 skips
36936 dezicycles in decodeplane8, 16 runs, 0 skips
23611 dezicycles in decodeplane8, 32 runs, 0 skips
16645 dezicycles in decodeplane8, 64 runs, 0 skips
13038 dezicycles in decodeplane8, 128 runs, 0 skips
11129 dezicycles in decodeplane8, 256 runs, 0 skips
10142 dezicycles in decodeplane8, 511 runs, 1 skips
9659 dezicycles in decodeplane8, 1023 runs, 1 skips
9358 dezicycles in decodeplane8, 2047 runs, 1 skips
9202 dezicycles in decodeplane8, 4094 runs, 2 skips
   0.83 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