summaryrefslogtreecommitdiff
path: root/libavcodec/ppc/dsputil_ppc.h
diff options
context:
space:
mode:
authorRomain Dolbeau <dolbeau@irisa.fr>2004-09-16 19:05:22 +0000
committerMichael Niedermayer <michaelni@gmx.at>2004-09-16 19:05:22 +0000
commita6a12a8a5c5003b213f3a7b32730ab99e4a0d28d (patch)
tree524be9cf37d95ea215e010e8e685bd15519b4da6 /libavcodec/ppc/dsputil_ppc.h
parent1140139fe288386c38f71a89c7c753583fc4e7ff (diff)
h264 qpel mc, size 16 patch by (Romain Dolbeau <dolbeau at caps-entreprise dot com>)
Originally committed as revision 3472 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ppc/dsputil_ppc.h')
-rw-r--r--libavcodec/ppc/dsputil_ppc.h15
1 files changed, 13 insertions, 2 deletions
diff --git a/libavcodec/ppc/dsputil_ppc.h b/libavcodec/ppc/dsputil_ppc.h
index 247264835d..7e01677f19 100644
--- a/libavcodec/ppc/dsputil_ppc.h
+++ b/libavcodec/ppc/dsputil_ppc.h
@@ -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 @@ enum powerpc_perf_index {
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 {