summaryrefslogtreecommitdiff
path: root/src/libffmpeg/libavcodec/ppc/dsputil_ppc.h
diff options
context:
space:
mode:
authorMike Melanson <mike@multimedia.cx>2005-04-19 05:10:48 +0000
committerMike Melanson <mike@multimedia.cx>2005-04-19 05:10:48 +0000
commit19e7199dad84489aa49e3b2dd5c0e45657ec0fb8 (patch)
treecf8d1d84366dcfec8c1b0510979061b546792b22 /src/libffmpeg/libavcodec/ppc/dsputil_ppc.h
parent960785eafb7934d77371d6e41e182e6285613921 (diff)
downloadxine-lib-19e7199dad84489aa49e3b2dd5c0e45657ec0fb8.tar.gz
xine-lib-19e7199dad84489aa49e3b2dd5c0e45657ec0fb8.tar.bz2
sync to FFmpeg build 4752
CVS patchset: 7462 CVS date: 2005/04/19 05:10:48
Diffstat (limited to 'src/libffmpeg/libavcodec/ppc/dsputil_ppc.h')
-rw-r--r--src/libffmpeg/libavcodec/ppc/dsputil_ppc.h16
1 files changed, 14 insertions, 2 deletions
diff --git a/src/libffmpeg/libavcodec/ppc/dsputil_ppc.h b/src/libffmpeg/libavcodec/ppc/dsputil_ppc.h
index 8b34c6b45..7e01677f1 100644
--- a/src/libffmpeg/libavcodec/ppc/dsputil_ppc.h
+++ b/src/libffmpeg/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 {
@@ -52,8 +55,17 @@ enum powerpc_perf_index {
altivec_put_no_rnd_pixels16_xy2_num,
altivec_hadamard8_diff8x8_num,
altivec_hadamard8_diff16_num,
+ 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 {