[FFmpeg-devel] [RFC] H.264/SQV3 separation: h264data.h

Måns Rullgård mans
Tue Dec 16 23:14:37 CET 2008


Uoti Urpala <uoti.urpala at pp1.inet.fi> writes:

> On Tue, 2008-12-16 at 10:58 +0000, M?ns Rullg?rd wrote:
>> Uoti Urpala wrote:
>> > On Tue, 2008-12-16 at 09:43 +0100, Diego Biurrun wrote:
>> >> I did post a link to the patch.  I did not attach it because it is 118kB:
>> >>
>> >> http://www1.mplayerhq.hu/~diego/split.diff
>> >
>> > I see about 8% slowdown. That is larger than the usual random
>> > performance changes.
>> 
>> Using which CPU, compiler, and sample?
>
> Q9550. gcc 4.3.2 showed 8%, current development gcc somewhat less. The
> results were similar on 3 different samples, one of which was listed in
> Diego's mail.

I'm getting about 4.4% slowdown on Q6700.  Here's a comparison of
oprofile reports for the two builds, sorted by absolute change in
relative time per symbol:

+1.7296  7.8030  9.5326 fill_caches
-0.7182 16.3912 15.6730 filter_mb
-0.3785  6.9084  6.5299 hl_decode_mb_simple
+0.3512  3.9060  4.2572 decode_mb_skip
-0.2795  2.4954  2.2159 pred_direct_motion
-0.2478  2.6410  2.3932 get_cabac_noinline
-0.2401  3.9328  3.6927 put_h264_qpel8or16_v_lowpass_sse2
-0.2124  6.3883  6.1759 decode_mb_cabac
-0.1782  3.4897  3.3115 decode_cabac_residual_nondc
-0.1636  1.1769  1.0133 filter_mb_edgev
-0.1536  4.8790  4.7254 put_h264_chroma_mc8_ssse3_rnd
-0.1452  1.6699  1.5247 decode_cabac_mb_mvd
-0.1450  1.8797  1.7347 h264_h_loop_filter_chroma_mmx2
-0.1208  2.7630  2.6422 put_h264_qpel16_h_lowpass_l2_ssse3
-0.1059  2.7304  2.6245 h264_h_loop_filter_luma_mmx2
-0.1029  4.0421  3.9392 put_h264_qpel8or16_hv_lowpass_ssse3
-0.0858  2.0388  1.9530 prefetch_mmx2
-0.0853  2.1108  2.0255 clear_blocks_mmx
-0.0805  1.4704  1.3899 put_h264_qpel16_mc00_sse2
+0.0729  0.5442  0.6171 decode_cabac_mb_skip
+0.0689  1.1119  1.1808 filter_mb_edgeh
+0.0539  0.3742  0.4281 filter_mb_fast
-0.0516  1.3796  1.3280 put_h264_qpel8_h_lowpass_ssse3
-0.0504  2.0254  1.9750 mc_dir_part

-- 
M?ns Rullg?rd
mans at mansr.com




More information about the ffmpeg-devel mailing list