32 #define PUT_OP_U8_ALTIVEC(d, s, dst) d = s
33 #define AVG_OP_U8_ALTIVEC(d, s, dst) d = vec_avg(dst, s)
35 #define OP_U8_ALTIVEC PUT_OP_U8_ALTIVEC
36 #define PREFIX_h264_chroma_mc8_altivec put_h264_chroma_mc8_altivec
37 #define PREFIX_h264_chroma_mc8_num altivec_put_h264_chroma_mc8_num
38 #include "h264chroma_template.c"
40 #undef PREFIX_h264_chroma_mc8_altivec
41 #undef PREFIX_h264_chroma_mc8_num
43 #define OP_U8_ALTIVEC AVG_OP_U8_ALTIVEC
44 #define PREFIX_h264_chroma_mc8_altivec avg_h264_chroma_mc8_altivec
45 #define PREFIX_h264_chroma_mc8_num altivec_avg_h264_chroma_mc8_num
46 #include "h264chroma_template.c"
48 #undef PREFIX_h264_chroma_mc8_altivec
49 #undef PREFIX_h264_chroma_mc8_num
60 if (!high_bit_depth) {
61 c->put_h264_chroma_pixels_tab[0] = put_h264_chroma_mc8_altivec;
62 c->avg_h264_chroma_pixels_tab[0] = avg_h264_chroma_mc8_altivec;
static void bit_depth(AudioStatsContext *s, uint64_t mask, uint64_t imask, AVRational *depth)
Macro definitions for various function/variable attributes.
int av_get_cpu_flags(void)
Return the flags which specify extensions supported by the CPU.
#define PPC_ALTIVEC(flags)
av_cold void ff_h264chroma_init_ppc(H264ChromaContext *c, int bit_depth)
Contains misc utility macros and inline functions.