Mercurial > libavcodec.hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
2235:0c04463f79d8 | 2236:b0102ea621dd |
---|---|
30 #define NO_DCBZL | 30 #define NO_DCBZL |
31 #endif /* CONFIG_DARWIN */ | 31 #endif /* CONFIG_DARWIN */ |
32 | 32 |
33 #ifdef POWERPC_PERFORMANCE_REPORT | 33 #ifdef POWERPC_PERFORMANCE_REPORT |
34 void powerpc_display_perf_report(void); | 34 void powerpc_display_perf_report(void); |
35 /* the 604* have 2, the G3* have 4, the G4s have 6 */ | 35 /* the 604* have 2, the G3* have 4, the G4s have 6, |
36 #define POWERPC_NUM_PMC_ENABLED 4 | 36 and the G5 are completely different (they MUST use |
37 POWERPC_MODE_64BITS, and let's hope all future 64 bis PPC | |
38 will use the same PMCs... */ | |
39 #define POWERPC_NUM_PMC_ENABLED 6 | |
37 /* if you add to the enum below, also add to the perfname array | 40 /* if you add to the enum below, also add to the perfname array |
38 in dsputil_ppc.c */ | 41 in dsputil_ppc.c */ |
39 enum powerpc_perf_index { | 42 enum powerpc_perf_index { |
40 altivec_fft_num = 0, | 43 altivec_fft_num = 0, |
41 altivec_gmc1_num, | 44 altivec_gmc1_num, |
53 altivec_hadamard8_diff8x8_num, | 56 altivec_hadamard8_diff8x8_num, |
54 altivec_hadamard8_diff16_num, | 57 altivec_hadamard8_diff16_num, |
55 altivec_avg_pixels8_xy2_num, | 58 altivec_avg_pixels8_xy2_num, |
56 powerpc_clear_blocks_dcbz32, | 59 powerpc_clear_blocks_dcbz32, |
57 powerpc_clear_blocks_dcbz128, | 60 powerpc_clear_blocks_dcbz128, |
61 altivec_put_h264_chroma_mc8_num, | |
62 altivec_avg_h264_chroma_mc8_num, | |
63 altivec_put_h264_qpel16_h_lowpass_num, | |
64 altivec_avg_h264_qpel16_h_lowpass_num, | |
65 altivec_put_h264_qpel16_v_lowpass_num, | |
66 altivec_avg_h264_qpel16_v_lowpass_num, | |
67 altivec_put_h264_qpel16_hv_lowpass_num, | |
68 altivec_avg_h264_qpel16_hv_lowpass_num, | |
58 powerpc_perf_total | 69 powerpc_perf_total |
59 }; | 70 }; |
60 enum powerpc_data_index { | 71 enum powerpc_data_index { |
61 powerpc_data_min = 0, | 72 powerpc_data_min = 0, |
62 powerpc_data_max, | 73 powerpc_data_max, |