Go to the documentation of this file.
36 #define LOOP_FILTER4(EXT) \
37 void ff_vc1_v_loop_filter4_ ## EXT(uint8_t *src, ptrdiff_t stride, int pq); \
38 void ff_vc1_h_loop_filter4_ ## EXT(uint8_t *src, ptrdiff_t stride, int pq);
39 #define LOOP_FILTER816(EXT) \
40 void ff_vc1_v_loop_filter8_ ## EXT(uint8_t *src, ptrdiff_t stride, int pq); \
41 void ff_vc1_h_loop_filter8_ ## EXT(uint8_t *src, ptrdiff_t stride, int pq); \
43 static void vc1_v_loop_filter16_ ## EXT(uint8_t *src, ptrdiff_t stride, int pq) \
45 ff_vc1_v_loop_filter8_ ## EXT(src, stride, pq); \
46 ff_vc1_v_loop_filter8_ ## EXT(src+8, stride, pq); \
49 static void vc1_h_loop_filter16_ ## EXT(uint8_t *src, ptrdiff_t stride, int pq) \
51 ff_vc1_h_loop_filter8_ ## EXT(src, stride, pq); \
52 ff_vc1_h_loop_filter8_ ## EXT(src+8*stride, stride, pq); \
61 void ff_vc1_h_loop_filter8_sse4(uint8_t *
src, ptrdiff_t
stride,
int pq);
63 static void vc1_h_loop_filter16_sse4(uint8_t *
src, ptrdiff_t
stride,
int pq)
65 ff_vc1_h_loop_filter8_sse4(
src,
stride, pq);
69 #define DECLARE_FUNCTION(OP, DEPTH, INSN) \
70 static void OP##vc1_mspel_mc00_##DEPTH##INSN(uint8_t *dst, \
71 const uint8_t *src, ptrdiff_t stride, int rnd) \
73 ff_ ## OP ## pixels ## DEPTH ## INSN(dst, src, stride, DEPTH); \
84 ptrdiff_t
stride,
int h,
int x,
int y);
86 ptrdiff_t
stride,
int h,
int x,
int y);
88 ptrdiff_t
stride,
int h,
int x,
int y);
90 ptrdiff_t
stride,
int h,
int x,
int y);
113 #define ASSIGN_LF4(EXT) \
114 dsp->vc1_v_loop_filter4 = ff_vc1_v_loop_filter4_ ## EXT; \
115 dsp->vc1_h_loop_filter4 = ff_vc1_h_loop_filter4_ ## EXT
116 #define ASSIGN_LF816(EXT) \
117 dsp->vc1_v_loop_filter8 = ff_vc1_v_loop_filter8_ ## EXT; \
118 dsp->vc1_h_loop_filter8 = ff_vc1_h_loop_filter8_ ## EXT; \
119 dsp->vc1_v_loop_filter16 = vc1_v_loop_filter16_ ## EXT; \
120 dsp->vc1_h_loop_filter16 = vc1_h_loop_filter16_ ## EXT
#define INLINE_MMX(flags)
vc1op_pixels_func avg_vc1_mspel_pixels_tab[2][16]
h264_chroma_mc_func avg_no_rnd_vc1_chroma_pixels_tab[3]
void ff_vc1dsp_init_mmx(VC1DSPContext *dsp)
void ff_put_vc1_chroma_mc8_nornd_mmx(uint8_t *dst, uint8_t *src, ptrdiff_t stride, int h, int x, int y)
void ff_vc1_inv_trans_8x4_dc_mmxext(uint8_t *dest, ptrdiff_t linesize, int16_t *block)
void(* vc1_inv_trans_8x8_dc)(uint8_t *dest, ptrdiff_t stride, int16_t *block)
av_cold void ff_vc1dsp_init_x86(VC1DSPContext *dsp)
int av_get_cpu_flags(void)
Return the flags which specify extensions supported by the CPU.
h264_chroma_mc_func put_no_rnd_vc1_chroma_pixels_tab[3]
void(* vc1_inv_trans_4x4_dc)(uint8_t *dest, ptrdiff_t stride, int16_t *block)
static atomic_int cpu_flags
void ff_avg_vc1_chroma_mc8_nornd_ssse3(uint8_t *dst, uint8_t *src, ptrdiff_t stride, int h, int x, int y)
#define DECLARE_FUNCTION(a, b)
Macro to ease bicubic filter interpolation functions declarations.
void(* vc1_inv_trans_8x4_dc)(uint8_t *dest, ptrdiff_t stride, int16_t *block)
void ff_vc1_inv_trans_4x8_dc_mmxext(uint8_t *dest, ptrdiff_t linesize, int16_t *block)
void(* vc1_h_loop_filter16)(uint8_t *src, ptrdiff_t stride, int pq)
void ff_avg_vc1_chroma_mc8_nornd_mmxext(uint8_t *dst, uint8_t *src, ptrdiff_t stride, int h, int x, int y)
#define LOOP_FILTER4(EXT)
#define ASSIGN_LF816(EXT)
void(* vc1_inv_trans_4x8_dc)(uint8_t *dest, ptrdiff_t stride, int16_t *block)
#define LOOP_FILTER816(EXT)
void ff_vc1_inv_trans_4x4_dc_mmxext(uint8_t *dest, ptrdiff_t linesize, int16_t *block)
#define EXTERNAL_SSE2(flags)
void ff_vc1_inv_trans_8x8_dc_mmxext(uint8_t *dest, ptrdiff_t linesize, int16_t *block)
void ff_put_vc1_chroma_mc8_nornd_ssse3(uint8_t *dst, uint8_t *src, ptrdiff_t stride, int h, int x, int y)
void(* vc1_h_loop_filter8)(uint8_t *src, ptrdiff_t stride, int pq)
vc1op_pixels_func put_vc1_mspel_pixels_tab[2][16]
#define EXTERNAL_SSE4(flags)
#define INLINE_MMXEXT(flags)
The exact code depends on how similar the blocks are and how related they are to the block
#define EXTERNAL_SSSE3(flags)
#define EXTERNAL_MMX(flags)
#define EXTERNAL_MMXEXT(flags)
void ff_vc1dsp_init_mmxext(VC1DSPContext *dsp)