Mercurial > libavcodec.hg
diff ppc/dsputil_ppc.h @ 2236:b0102ea621dd libavcodec
h264 qpel mc, size 16 patch by (Romain Dolbeau <dolbeau at caps-entreprise dot com>)
author | michael |
---|---|
date | Thu, 16 Sep 2004 19:05:22 +0000 |
parents | 4c663228e020 |
children | bfabfdf9ce55 |
line wrap: on
line diff
--- a/ppc/dsputil_ppc.h Thu Sep 16 17:36:39 2004 +0000 +++ b/ppc/dsputil_ppc.h Thu Sep 16 19:05:22 2004 +0000 @@ -32,8 +32,11 @@ #ifdef POWERPC_PERFORMANCE_REPORT void powerpc_display_perf_report(void); -/* the 604* have 2, the G3* have 4, the G4s have 6 */ -#define POWERPC_NUM_PMC_ENABLED 4 +/* the 604* have 2, the G3* have 4, the G4s have 6, + and the G5 are completely different (they MUST use + POWERPC_MODE_64BITS, and let's hope all future 64 bis PPC + will use the same PMCs... */ +#define POWERPC_NUM_PMC_ENABLED 6 /* if you add to the enum below, also add to the perfname array in dsputil_ppc.c */ enum powerpc_perf_index { @@ -55,6 +58,14 @@ altivec_avg_pixels8_xy2_num, powerpc_clear_blocks_dcbz32, powerpc_clear_blocks_dcbz128, + altivec_put_h264_chroma_mc8_num, + altivec_avg_h264_chroma_mc8_num, + altivec_put_h264_qpel16_h_lowpass_num, + altivec_avg_h264_qpel16_h_lowpass_num, + altivec_put_h264_qpel16_v_lowpass_num, + altivec_avg_h264_qpel16_v_lowpass_num, + altivec_put_h264_qpel16_hv_lowpass_num, + altivec_avg_h264_qpel16_hv_lowpass_num, powerpc_perf_total }; enum powerpc_data_index {