OLD | NEW |
(Empty) | |
| 1 #ifndef VP__RTCD_ |
| 2 #define VP__RTCD_ |
| 3 |
| 4 #ifdef RTCD_C |
| 5 #define RTCD_EXTERN |
| 6 #else |
| 7 #define RTCD_EXTERN extern |
| 8 #endif |
| 9 |
| 10 /* |
| 11 * VP9 |
| 12 */ |
| 13 |
| 14 struct loop_filter_info; |
| 15 struct blockd; |
| 16 struct macroblockd; |
| 17 struct loop_filter_info; |
| 18 |
| 19 /* Encoder forward decls */ |
| 20 struct block; |
| 21 struct macroblock; |
| 22 struct variance_vtable; |
| 23 |
| 24 #define DEC_MVCOSTS int *mvjcost, int *mvcost[2] |
| 25 union int_mv; |
| 26 struct yv12_buffer_config; |
| 27 |
| 28 void vp9_filter_block2d_4x4_8_c(const unsigned char *src_ptr, const unsigned int
src_stride, const short *HFilter_aligned16, const short *VFilter_aligned16, uns
igned char *dst_ptr, unsigned int dst_stride); |
| 29 #define vp9_filter_block2d_4x4_8 vp9_filter_block2d_4x4_8_c |
| 30 |
| 31 void vp9_filter_block2d_8x4_8_c(const unsigned char *src_ptr, const unsigned int
src_stride, const short *HFilter_aligned16, const short *VFilter_aligned16, uns
igned char *dst_ptr, unsigned int dst_stride); |
| 32 void vp9_filter_block2d_8x4_8_ssse3(const unsigned char *src_ptr, const unsigned
int src_stride, const short *HFilter_aligned16, const short *VFilter_aligned16,
unsigned char *dst_ptr, unsigned int dst_stride); |
| 33 RTCD_EXTERN void (*vp9_filter_block2d_8x4_8)(const unsigned char *src_ptr, const
unsigned int src_stride, const short *HFilter_aligned16, const short *VFilter_a
ligned16, unsigned char *dst_ptr, unsigned int dst_stride); |
| 34 |
| 35 void vp9_filter_block2d_8x8_8_c(const unsigned char *src_ptr, const unsigned int
src_stride, const short *HFilter_aligned16, const short *VFilter_aligned16, uns
igned char *dst_ptr, unsigned int dst_stride); |
| 36 void vp9_filter_block2d_8x8_8_ssse3(const unsigned char *src_ptr, const unsigned
int src_stride, const short *HFilter_aligned16, const short *VFilter_aligned16,
unsigned char *dst_ptr, unsigned int dst_stride); |
| 37 RTCD_EXTERN void (*vp9_filter_block2d_8x8_8)(const unsigned char *src_ptr, const
unsigned int src_stride, const short *HFilter_aligned16, const short *VFilter_a
ligned16, unsigned char *dst_ptr, unsigned int dst_stride); |
| 38 |
| 39 void vp9_filter_block2d_16x16_8_c(const unsigned char *src_ptr, const unsigned i
nt src_stride, const short *HFilter_aligned16, const short *VFilter_aligned16, u
nsigned char *dst_ptr, unsigned int dst_stride); |
| 40 void vp9_filter_block2d_16x16_8_ssse3(const unsigned char *src_ptr, const unsign
ed int src_stride, const short *HFilter_aligned16, const short *VFilter_aligned1
6, unsigned char *dst_ptr, unsigned int dst_stride); |
| 41 RTCD_EXTERN void (*vp9_filter_block2d_16x16_8)(const unsigned char *src_ptr, con
st unsigned int src_stride, const short *HFilter_aligned16, const short *VFilter
_aligned16, unsigned char *dst_ptr, unsigned int dst_stride); |
| 42 |
| 43 void vp9_dequantize_b_c(struct blockd *x); |
| 44 void vp9_dequantize_b_mmx(struct blockd *x); |
| 45 RTCD_EXTERN void (*vp9_dequantize_b)(struct blockd *x); |
| 46 |
| 47 void vp9_dequantize_b_2x2_c(struct blockd *x); |
| 48 #define vp9_dequantize_b_2x2 vp9_dequantize_b_2x2_c |
| 49 |
| 50 void vp9_dequant_dc_idct_add_y_block_8x8_c(short *q, const short *dq, unsigned c
har *pre, unsigned char *dst, int stride, unsigned short *eobs, const short *dc,
struct macroblockd *xd); |
| 51 #define vp9_dequant_dc_idct_add_y_block_8x8 vp9_dequant_dc_idct_add_y_block_8x8_
c |
| 52 |
| 53 void vp9_dequant_idct_add_y_block_8x8_c(short *q, const short *dq, unsigned char
*pre, unsigned char *dst, int stride, unsigned short *eobs, struct macroblockd
*xd); |
| 54 #define vp9_dequant_idct_add_y_block_8x8 vp9_dequant_idct_add_y_block_8x8_c |
| 55 |
| 56 void vp9_dequant_idct_add_uv_block_8x8_c(short *q, const short *dq, unsigned cha
r *pre, unsigned char *dstu, unsigned char *dstv, int stride, unsigned short *eo
bs, struct macroblockd *xd); |
| 57 #define vp9_dequant_idct_add_uv_block_8x8 vp9_dequant_idct_add_uv_block_8x8_c |
| 58 |
| 59 void vp9_dequant_idct_add_16x16_c(short *input, const short *dq, unsigned char *
pred, unsigned char *dest, int pitch, int stride, unsigned short eobs); |
| 60 #define vp9_dequant_idct_add_16x16 vp9_dequant_idct_add_16x16_c |
| 61 |
| 62 void vp9_dequant_idct_add_8x8_c(short *input, const short *dq, unsigned char *pr
ed, unsigned char *dest, int pitch, int stride, int dc, unsigned short eobs); |
| 63 #define vp9_dequant_idct_add_8x8 vp9_dequant_idct_add_8x8_c |
| 64 |
| 65 void vp9_dequant_idct_add_c(short *input, const short *dq, unsigned char *pred,
unsigned char *dest, int pitch, int stride); |
| 66 #define vp9_dequant_idct_add vp9_dequant_idct_add_c |
| 67 |
| 68 void vp9_dequant_dc_idct_add_c(short *input, const short *dq, unsigned char *pre
d, unsigned char *dest, int pitch, int stride, int Dc); |
| 69 #define vp9_dequant_dc_idct_add vp9_dequant_dc_idct_add_c |
| 70 |
| 71 void vp9_dequant_dc_idct_add_y_block_c(short *q, const short *dq, unsigned char
*pre, unsigned char *dst, int stride, unsigned short *eobs, const short *dc); |
| 72 void vp9_dequant_dc_idct_add_y_block_mmx(short *q, const short *dq, unsigned cha
r *pre, unsigned char *dst, int stride, unsigned short *eobs, const short *dc); |
| 73 RTCD_EXTERN void (*vp9_dequant_dc_idct_add_y_block)(short *q, const short *dq, u
nsigned char *pre, unsigned char *dst, int stride, unsigned short *eobs, const s
hort *dc); |
| 74 |
| 75 void vp9_dequant_idct_add_y_block_c(short *q, const short *dq, unsigned char *pr
e, unsigned char *dst, int stride, unsigned short *eobs); |
| 76 void vp9_dequant_idct_add_y_block_mmx(short *q, const short *dq, unsigned char *
pre, unsigned char *dst, int stride, unsigned short *eobs); |
| 77 RTCD_EXTERN void (*vp9_dequant_idct_add_y_block)(short *q, const short *dq, unsi
gned char *pre, unsigned char *dst, int stride, unsigned short *eobs); |
| 78 |
| 79 void vp9_dequant_idct_add_uv_block_c(short *q, const short *dq, unsigned char *p
re, unsigned char *dstu, unsigned char *dstv, int stride, unsigned short *eobs); |
| 80 void vp9_dequant_idct_add_uv_block_mmx(short *q, const short *dq, unsigned char
*pre, unsigned char *dstu, unsigned char *dstv, int stride, unsigned short *eobs
); |
| 81 RTCD_EXTERN void (*vp9_dequant_idct_add_uv_block)(short *q, const short *dq, uns
igned char *pre, unsigned char *dstu, unsigned char *dstv, int stride, unsigned
short *eobs); |
| 82 |
| 83 void vp9_copy_mem16x16_c(unsigned char *src, int src_pitch, unsigned char *dst,
int dst_pitch); |
| 84 void vp9_copy_mem16x16_mmx(unsigned char *src, int src_pitch, unsigned char *dst
, int dst_pitch); |
| 85 void vp9_copy_mem16x16_sse2(unsigned char *src, int src_pitch, unsigned char *ds
t, int dst_pitch); |
| 86 RTCD_EXTERN void (*vp9_copy_mem16x16)(unsigned char *src, int src_pitch, unsigne
d char *dst, int dst_pitch); |
| 87 |
| 88 void vp9_copy_mem8x8_c(unsigned char *src, int src_pitch, unsigned char *dst, in
t dst_pitch); |
| 89 void vp9_copy_mem8x8_mmx(unsigned char *src, int src_pitch, unsigned char *dst,
int dst_pitch); |
| 90 RTCD_EXTERN void (*vp9_copy_mem8x8)(unsigned char *src, int src_pitch, unsigned
char *dst, int dst_pitch); |
| 91 |
| 92 void vp9_copy_mem8x4_c(unsigned char *src, int src_pitch, unsigned char *dst, in
t dst_pitch); |
| 93 void vp9_copy_mem8x4_mmx(unsigned char *src, int src_pitch, unsigned char *dst,
int dst_pitch); |
| 94 RTCD_EXTERN void (*vp9_copy_mem8x4)(unsigned char *src, int src_pitch, unsigned
char *dst, int dst_pitch); |
| 95 |
| 96 void vp9_avg_mem16x16_c(unsigned char *src, int src_pitch, unsigned char *dst, i
nt dst_pitch); |
| 97 #define vp9_avg_mem16x16 vp9_avg_mem16x16_c |
| 98 |
| 99 void vp9_avg_mem8x8_c(unsigned char *src, int src_pitch, unsigned char *dst, int
dst_pitch); |
| 100 #define vp9_avg_mem8x8 vp9_avg_mem8x8_c |
| 101 |
| 102 void vp9_copy_mem8x4_c(unsigned char *src, int src_pitch, unsigned char *dst, in
t dst_pitch); |
| 103 void vp9_copy_mem8x4_mmx(unsigned char *src, int src_pitch, unsigned char *dst,
int dst_pitch); |
| 104 RTCD_EXTERN void (*vp9_copy_mem8x4)(unsigned char *src, int src_pitch, unsigned
char *dst, int dst_pitch); |
| 105 |
| 106 void vp9_recon_b_c(unsigned char *pred_ptr, short *diff_ptr, unsigned char *dst_
ptr, int stride); |
| 107 #define vp9_recon_b vp9_recon_b_c |
| 108 |
| 109 void vp9_recon_uv_b_c(unsigned char *pred_ptr, short *diff_ptr, unsigned char *d
st_ptr, int stride); |
| 110 #define vp9_recon_uv_b vp9_recon_uv_b_c |
| 111 |
| 112 void vp9_recon2b_c(unsigned char *pred_ptr, short *diff_ptr, unsigned char *dst_
ptr, int stride); |
| 113 void vp9_recon2b_sse2(unsigned char *pred_ptr, short *diff_ptr, unsigned char *d
st_ptr, int stride); |
| 114 RTCD_EXTERN void (*vp9_recon2b)(unsigned char *pred_ptr, short *diff_ptr, unsign
ed char *dst_ptr, int stride); |
| 115 |
| 116 void vp9_recon4b_c(unsigned char *pred_ptr, short *diff_ptr, unsigned char *dst_
ptr, int stride); |
| 117 void vp9_recon4b_sse2(unsigned char *pred_ptr, short *diff_ptr, unsigned char *d
st_ptr, int stride); |
| 118 RTCD_EXTERN void (*vp9_recon4b)(unsigned char *pred_ptr, short *diff_ptr, unsign
ed char *dst_ptr, int stride); |
| 119 |
| 120 void vp9_recon_mb_c(struct macroblockd *x); |
| 121 #define vp9_recon_mb vp9_recon_mb_c |
| 122 |
| 123 void vp9_recon_mby_c(struct macroblockd *x); |
| 124 #define vp9_recon_mby vp9_recon_mby_c |
| 125 |
| 126 void vp9_recon_mby_s_c(struct macroblockd *x, unsigned char *dst); |
| 127 #define vp9_recon_mby_s vp9_recon_mby_s_c |
| 128 |
| 129 void vp9_recon_mbuv_s_c(struct macroblockd *x, unsigned char *udst, unsigned cha
r *vdst); |
| 130 #define vp9_recon_mbuv_s vp9_recon_mbuv_s_c |
| 131 |
| 132 void vp9_build_intra_predictors_mby_s_c(struct macroblockd *x); |
| 133 #define vp9_build_intra_predictors_mby_s vp9_build_intra_predictors_mby_s_c |
| 134 |
| 135 void vp9_build_intra_predictors_sby_s_c(struct macroblockd *x); |
| 136 #define vp9_build_intra_predictors_sby_s vp9_build_intra_predictors_sby_s_c |
| 137 |
| 138 void vp9_build_intra_predictors_sbuv_s_c(struct macroblockd *x); |
| 139 #define vp9_build_intra_predictors_sbuv_s vp9_build_intra_predictors_sbuv_s_c |
| 140 |
| 141 void vp9_build_intra_predictors_mby_c(struct macroblockd *x); |
| 142 #define vp9_build_intra_predictors_mby vp9_build_intra_predictors_mby_c |
| 143 |
| 144 void vp9_build_comp_intra_predictors_mby_c(struct macroblockd *x); |
| 145 #define vp9_build_comp_intra_predictors_mby vp9_build_comp_intra_predictors_mby_
c |
| 146 |
| 147 void vp9_build_intra_predictors_mby_s_c(struct macroblockd *x); |
| 148 #define vp9_build_intra_predictors_mby_s vp9_build_intra_predictors_mby_s_c |
| 149 |
| 150 void vp9_build_intra_predictors_mbuv_c(struct macroblockd *x); |
| 151 #define vp9_build_intra_predictors_mbuv vp9_build_intra_predictors_mbuv_c |
| 152 |
| 153 void vp9_build_intra_predictors_mbuv_s_c(struct macroblockd *x); |
| 154 #define vp9_build_intra_predictors_mbuv_s vp9_build_intra_predictors_mbuv_s_c |
| 155 |
| 156 void vp9_build_comp_intra_predictors_mbuv_c(struct macroblockd *x); |
| 157 #define vp9_build_comp_intra_predictors_mbuv vp9_build_comp_intra_predictors_mbu
v_c |
| 158 |
| 159 void vp9_intra4x4_predict_c(struct blockd *x, int b_mode, unsigned char *predict
or); |
| 160 #define vp9_intra4x4_predict vp9_intra4x4_predict_c |
| 161 |
| 162 void vp9_comp_intra4x4_predict_c(struct blockd *x, int b_mode, int second_mode,
unsigned char *predictor); |
| 163 #define vp9_comp_intra4x4_predict vp9_comp_intra4x4_predict_c |
| 164 |
| 165 void vp9_intra8x8_predict_c(struct blockd *x, int b_mode, unsigned char *predict
or); |
| 166 #define vp9_intra8x8_predict vp9_intra8x8_predict_c |
| 167 |
| 168 void vp9_comp_intra8x8_predict_c(struct blockd *x, int b_mode, int second_mode,
unsigned char *predictor); |
| 169 #define vp9_comp_intra8x8_predict vp9_comp_intra8x8_predict_c |
| 170 |
| 171 void vp9_intra_uv4x4_predict_c(struct blockd *x, int b_mode, unsigned char *pred
ictor); |
| 172 #define vp9_intra_uv4x4_predict vp9_intra_uv4x4_predict_c |
| 173 |
| 174 void vp9_comp_intra_uv4x4_predict_c(struct blockd *x, int b_mode, int second_mod
e, unsigned char *predictor); |
| 175 #define vp9_comp_intra_uv4x4_predict vp9_comp_intra_uv4x4_predict_c |
| 176 |
| 177 void vp9_loop_filter_mbv_c(unsigned char *y, unsigned char *u, unsigned char *v,
int ystride, int uv_stride, struct loop_filter_info *lfi); |
| 178 void vp9_loop_filter_mbv_sse2(unsigned char *y, unsigned char *u, unsigned char
*v, int ystride, int uv_stride, struct loop_filter_info *lfi); |
| 179 RTCD_EXTERN void (*vp9_loop_filter_mbv)(unsigned char *y, unsigned char *u, unsi
gned char *v, int ystride, int uv_stride, struct loop_filter_info *lfi); |
| 180 |
| 181 void vp9_loop_filter_bv_c(unsigned char *y, unsigned char *u, unsigned char *v,
int ystride, int uv_stride, struct loop_filter_info *lfi); |
| 182 void vp9_loop_filter_bv_sse2(unsigned char *y, unsigned char *u, unsigned char *
v, int ystride, int uv_stride, struct loop_filter_info *lfi); |
| 183 RTCD_EXTERN void (*vp9_loop_filter_bv)(unsigned char *y, unsigned char *u, unsig
ned char *v, int ystride, int uv_stride, struct loop_filter_info *lfi); |
| 184 |
| 185 void vp9_loop_filter_bv8x8_c(unsigned char *y, unsigned char *u, unsigned char *
v, int ystride, int uv_stride, struct loop_filter_info *lfi); |
| 186 void vp9_loop_filter_bv8x8_sse2(unsigned char *y, unsigned char *u, unsigned cha
r *v, int ystride, int uv_stride, struct loop_filter_info *lfi); |
| 187 RTCD_EXTERN void (*vp9_loop_filter_bv8x8)(unsigned char *y, unsigned char *u, un
signed char *v, int ystride, int uv_stride, struct loop_filter_info *lfi); |
| 188 |
| 189 void vp9_loop_filter_mbh_c(unsigned char *y, unsigned char *u, unsigned char *v,
int ystride, int uv_stride, struct loop_filter_info *lfi); |
| 190 void vp9_loop_filter_mbh_sse2(unsigned char *y, unsigned char *u, unsigned char
*v, int ystride, int uv_stride, struct loop_filter_info *lfi); |
| 191 RTCD_EXTERN void (*vp9_loop_filter_mbh)(unsigned char *y, unsigned char *u, unsi
gned char *v, int ystride, int uv_stride, struct loop_filter_info *lfi); |
| 192 |
| 193 void vp9_loop_filter_bh_c(unsigned char *y, unsigned char *u, unsigned char *v,
int ystride, int uv_stride, struct loop_filter_info *lfi); |
| 194 void vp9_loop_filter_bh_sse2(unsigned char *y, unsigned char *u, unsigned char *
v, int ystride, int uv_stride, struct loop_filter_info *lfi); |
| 195 RTCD_EXTERN void (*vp9_loop_filter_bh)(unsigned char *y, unsigned char *u, unsig
ned char *v, int ystride, int uv_stride, struct loop_filter_info *lfi); |
| 196 |
| 197 void vp9_loop_filter_bh8x8_c(unsigned char *y, unsigned char *u, unsigned char *
v, int ystride, int uv_stride, struct loop_filter_info *lfi); |
| 198 void vp9_loop_filter_bh8x8_sse2(unsigned char *y, unsigned char *u, unsigned cha
r *v, int ystride, int uv_stride, struct loop_filter_info *lfi); |
| 199 RTCD_EXTERN void (*vp9_loop_filter_bh8x8)(unsigned char *y, unsigned char *u, un
signed char *v, int ystride, int uv_stride, struct loop_filter_info *lfi); |
| 200 |
| 201 void vp9_loop_filter_simple_vertical_edge_c(unsigned char *y, int ystride, const
unsigned char *blimit); |
| 202 void vp9_loop_filter_simple_vertical_edge_mmx(unsigned char *y, int ystride, con
st unsigned char *blimit); |
| 203 void vp9_loop_filter_simple_vertical_edge_sse2(unsigned char *y, int ystride, co
nst unsigned char *blimit); |
| 204 RTCD_EXTERN void (*vp9_loop_filter_simple_mbv)(unsigned char *y, int ystride, co
nst unsigned char *blimit); |
| 205 |
| 206 void vp9_loop_filter_simple_horizontal_edge_c(unsigned char *y, int ystride, con
st unsigned char *blimit); |
| 207 void vp9_loop_filter_simple_horizontal_edge_mmx(unsigned char *y, int ystride, c
onst unsigned char *blimit); |
| 208 void vp9_loop_filter_simple_horizontal_edge_sse2(unsigned char *y, int ystride,
const unsigned char *blimit); |
| 209 RTCD_EXTERN void (*vp9_loop_filter_simple_mbh)(unsigned char *y, int ystride, co
nst unsigned char *blimit); |
| 210 |
| 211 void vp9_loop_filter_bvs_c(unsigned char *y, int ystride, const unsigned char *b
limit); |
| 212 void vp9_loop_filter_bvs_mmx(unsigned char *y, int ystride, const unsigned char
*blimit); |
| 213 void vp9_loop_filter_bvs_sse2(unsigned char *y, int ystride, const unsigned char
*blimit); |
| 214 RTCD_EXTERN void (*vp9_loop_filter_simple_bv)(unsigned char *y, int ystride, con
st unsigned char *blimit); |
| 215 |
| 216 void vp9_loop_filter_bhs_c(unsigned char *y, int ystride, const unsigned char *b
limit); |
| 217 void vp9_loop_filter_bhs_mmx(unsigned char *y, int ystride, const unsigned char
*blimit); |
| 218 void vp9_loop_filter_bhs_sse2(unsigned char *y, int ystride, const unsigned char
*blimit); |
| 219 RTCD_EXTERN void (*vp9_loop_filter_simple_bh)(unsigned char *y, int ystride, con
st unsigned char *blimit); |
| 220 |
| 221 void vp9_mbpost_proc_down_c(unsigned char *dst, int pitch, int rows, int cols, i
nt flimit); |
| 222 void vp9_mbpost_proc_down_mmx(unsigned char *dst, int pitch, int rows, int cols,
int flimit); |
| 223 void vp9_mbpost_proc_down_xmm(unsigned char *dst, int pitch, int rows, int cols,
int flimit); |
| 224 RTCD_EXTERN void (*vp9_mbpost_proc_down)(unsigned char *dst, int pitch, int rows
, int cols, int flimit); |
| 225 |
| 226 void vp9_mbpost_proc_across_ip_c(unsigned char *src, int pitch, int rows, int co
ls, int flimit); |
| 227 void vp9_mbpost_proc_across_ip_xmm(unsigned char *src, int pitch, int rows, int
cols, int flimit); |
| 228 RTCD_EXTERN void (*vp9_mbpost_proc_across_ip)(unsigned char *src, int pitch, int
rows, int cols, int flimit); |
| 229 |
| 230 void vp9_post_proc_down_and_across_c(unsigned char *src_ptr, unsigned char *dst_
ptr, int src_pixels_per_line, int dst_pixels_per_line, int rows, int cols, int f
limit); |
| 231 void vp9_post_proc_down_and_across_mmx(unsigned char *src_ptr, unsigned char *ds
t_ptr, int src_pixels_per_line, int dst_pixels_per_line, int rows, int cols, int
flimit); |
| 232 void vp9_post_proc_down_and_across_xmm(unsigned char *src_ptr, unsigned char *ds
t_ptr, int src_pixels_per_line, int dst_pixels_per_line, int rows, int cols, int
flimit); |
| 233 RTCD_EXTERN void (*vp9_post_proc_down_and_across)(unsigned char *src_ptr, unsign
ed char *dst_ptr, int src_pixels_per_line, int dst_pixels_per_line, int rows, in
t cols, int flimit); |
| 234 |
| 235 void vp9_plane_add_noise_c(unsigned char *Start, char *noise, char blackclamp[16
], char whiteclamp[16], char bothclamp[16], unsigned int Width, unsigned int Hei
ght, int Pitch); |
| 236 void vp9_plane_add_noise_mmx(unsigned char *Start, char *noise, char blackclamp[
16], char whiteclamp[16], char bothclamp[16], unsigned int Width, unsigned int H
eight, int Pitch); |
| 237 void vp9_plane_add_noise_wmt(unsigned char *Start, char *noise, char blackclamp[
16], char whiteclamp[16], char bothclamp[16], unsigned int Width, unsigned int H
eight, int Pitch); |
| 238 RTCD_EXTERN void (*vp9_plane_add_noise)(unsigned char *Start, char *noise, char
blackclamp[16], char whiteclamp[16], char bothclamp[16], unsigned int Width, uns
igned int Height, int Pitch); |
| 239 |
| 240 void vp9_blend_mb_inner_c(unsigned char *y, unsigned char *u, unsigned char *v,
int y1, int u1, int v1, int alpha, int stride); |
| 241 #define vp9_blend_mb_inner vp9_blend_mb_inner_c |
| 242 |
| 243 void vp9_blend_mb_outer_c(unsigned char *y, unsigned char *u, unsigned char *v,
int y1, int u1, int v1, int alpha, int stride); |
| 244 #define vp9_blend_mb_outer vp9_blend_mb_outer_c |
| 245 |
| 246 void vp9_blend_b_c(unsigned char *y, unsigned char *u, unsigned char *v, int y1,
int u1, int v1, int alpha, int stride); |
| 247 #define vp9_blend_b vp9_blend_b_c |
| 248 |
| 249 unsigned int vp9_sad16x3_c(const unsigned char *src_ptr, int src_stride, const
unsigned char *ref_ptr, int ref_stride); |
| 250 unsigned int vp9_sad16x3_sse2(const unsigned char *src_ptr, int src_stride, con
st unsigned char *ref_ptr, int ref_stride); |
| 251 RTCD_EXTERN unsigned int (*vp9_sad16x3)(const unsigned char *src_ptr, int src_s
tride, const unsigned char *ref_ptr, int ref_stride); |
| 252 |
| 253 unsigned int vp9_sad3x16_c(const unsigned char *src_ptr, int src_stride, const
unsigned char *ref_ptr, int ref_stride); |
| 254 unsigned int vp9_sad3x16_sse2(const unsigned char *src_ptr, int src_stride, con
st unsigned char *ref_ptr, int ref_stride); |
| 255 RTCD_EXTERN unsigned int (*vp9_sad3x16)(const unsigned char *src_ptr, int src_s
tride, const unsigned char *ref_ptr, int ref_stride); |
| 256 |
| 257 void vp9_eighttap_predict16x16_c(unsigned char *src_ptr, int src_pixels_per_lin
e, int xoffset, int yoffset, unsigned char *dst_ptr, int dst_pitch); |
| 258 #define vp9_eighttap_predict16x16 vp9_eighttap_predict16x16_c |
| 259 |
| 260 void vp9_eighttap_predict8x8_c(unsigned char *src_ptr, int src_pixels_per_line,
int xoffset, int yoffset, unsigned char *dst_ptr, int dst_pitch); |
| 261 #define vp9_eighttap_predict8x8 vp9_eighttap_predict8x8_c |
| 262 |
| 263 void vp9_eighttap_predict_avg16x16_c(unsigned char *src_ptr, int src_pixels_per
_line, int xoffset, int yoffset, unsigned char *dst_ptr, int dst_pitch); |
| 264 #define vp9_eighttap_predict_avg16x16 vp9_eighttap_predict_avg16x16_c |
| 265 |
| 266 void vp9_eighttap_predict_avg8x8_c(unsigned char *src_ptr, int src_pixels_per_l
ine, int xoffset, int yoffset, unsigned char *dst_ptr, int dst_pitch); |
| 267 #define vp9_eighttap_predict_avg8x8 vp9_eighttap_predict_avg8x8_c |
| 268 |
| 269 void vp9_eighttap_predict_avg4x4_c(unsigned char *src_ptr, int src_pixels_per_l
ine, int xoffset, int yoffset, unsigned char *dst_ptr, int dst_pitch); |
| 270 #define vp9_eighttap_predict_avg4x4 vp9_eighttap_predict_avg4x4_c |
| 271 |
| 272 void vp9_eighttap_predict8x4_c(unsigned char *src_ptr, int src_pixels_per_line,
int xoffset, int yoffset, unsigned char *dst_ptr, int dst_pitch); |
| 273 #define vp9_eighttap_predict8x4 vp9_eighttap_predict8x4_c |
| 274 |
| 275 void vp9_eighttap_predict_c(unsigned char *src_ptr, int src_pixels_per_line, in
t xoffset, int yoffset, unsigned char *dst_ptr, int dst_pitch); |
| 276 #define vp9_eighttap_predict vp9_eighttap_predict_c |
| 277 |
| 278 void vp9_eighttap_predict16x16_sharp_c(unsigned char *src_ptr, int src_pixels_p
er_line, int xoffset, int yoffset, unsigned char *dst_ptr, int dst_pitch); |
| 279 #define vp9_eighttap_predict16x16_sharp vp9_eighttap_predict16x16_sharp_c |
| 280 |
| 281 void vp9_eighttap_predict8x8_sharp_c(unsigned char *src_ptr, int src_pixels_per
_line, int xoffset, int yoffset, unsigned char *dst_ptr, int dst_pitch); |
| 282 #define vp9_eighttap_predict8x8_sharp vp9_eighttap_predict8x8_sharp_c |
| 283 |
| 284 void vp9_eighttap_predict_avg16x16_sharp_c(unsigned char *src_ptr, int src_pixe
ls_per_line, int xoffset, int yoffset, unsigned char *dst_ptr, int dst_pitch)
; |
| 285 #define vp9_eighttap_predict_avg16x16_sharp vp9_eighttap_predict_avg16x16_sharp_
c |
| 286 |
| 287 void vp9_eighttap_predict_avg8x8_sharp_c(unsigned char *src_ptr, int src_pixels
_per_line, int xoffset, int yoffset, unsigned char *dst_ptr, int dst_pitch); |
| 288 #define vp9_eighttap_predict_avg8x8_sharp vp9_eighttap_predict_avg8x8_sharp_c |
| 289 |
| 290 void vp9_eighttap_predict_avg4x4_sharp_c(unsigned char *src_ptr, int src_pixels
_per_line, int xoffset, int yoffset, unsigned char *dst_ptr, int dst_pitch); |
| 291 #define vp9_eighttap_predict_avg4x4_sharp vp9_eighttap_predict_avg4x4_sharp_c |
| 292 |
| 293 void vp9_eighttap_predict8x4_sharp_c(unsigned char *src_ptr, int src_pixels_per
_line, int xoffset, int yoffset, unsigned char *dst_ptr, int dst_pitch); |
| 294 #define vp9_eighttap_predict8x4_sharp vp9_eighttap_predict8x4_sharp_c |
| 295 |
| 296 void vp9_eighttap_predict_sharp_c(unsigned char *src_ptr, int src_pixels_per_li
ne, int xoffset, int yoffset, unsigned char *dst_ptr, int dst_pitch); |
| 297 #define vp9_eighttap_predict_sharp vp9_eighttap_predict_sharp_c |
| 298 |
| 299 void vp9_sixtap_predict16x16_c(unsigned char *src_ptr, int src_pixels_per_line,
int xoffset, int yoffset, unsigned char *dst_ptr, int dst_pitch); |
| 300 #define vp9_sixtap_predict16x16 vp9_sixtap_predict16x16_c |
| 301 |
| 302 void vp9_sixtap_predict8x8_c(unsigned char *src_ptr, int src_pixels_per_line, i
nt xoffset, int yoffset, unsigned char *dst_ptr, int dst_pitch); |
| 303 #define vp9_sixtap_predict8x8 vp9_sixtap_predict8x8_c |
| 304 |
| 305 void vp9_sixtap_predict_avg16x16_c(unsigned char *src_ptr, int src_pixels_per_l
ine, int xoffset, int yoffset, unsigned char *dst_ptr, int dst_pitch); |
| 306 #define vp9_sixtap_predict_avg16x16 vp9_sixtap_predict_avg16x16_c |
| 307 |
| 308 void vp9_sixtap_predict_avg8x8_c(unsigned char *src_ptr, int src_pixels_per_lin
e, int xoffset, int yoffset, unsigned char *dst_ptr, int dst_pitch); |
| 309 #define vp9_sixtap_predict_avg8x8 vp9_sixtap_predict_avg8x8_c |
| 310 |
| 311 void vp9_sixtap_predict8x4_c(unsigned char *src_ptr, int src_pixels_per_line, i
nt xoffset, int yoffset, unsigned char *dst_ptr, int dst_pitch); |
| 312 #define vp9_sixtap_predict8x4 vp9_sixtap_predict8x4_c |
| 313 |
| 314 void vp9_sixtap_predict_c(unsigned char *src_ptr, int src_pixels_per_line, int
xoffset, int yoffset, unsigned char *dst_ptr, int dst_pitch); |
| 315 #define vp9_sixtap_predict vp9_sixtap_predict_c |
| 316 |
| 317 void vp9_sixtap_predict_avg_c(unsigned char *src_ptr, int src_pixels_per_line,
int xoffset, int yoffset, unsigned char *dst_ptr, int dst_pitch); |
| 318 #define vp9_sixtap_predict_avg vp9_sixtap_predict_avg_c |
| 319 |
| 320 void vp9_bilinear_predict16x16_c(unsigned char *src_ptr, int src_pixels_per_lin
e, int xoffset, int yoffset, unsigned char *dst_ptr, int dst_pitch); |
| 321 void vp9_bilinear_predict16x16_mmx(unsigned char *src_ptr, int src_pixels_per_l
ine, int xoffset, int yoffset, unsigned char *dst_ptr, int dst_pitch); |
| 322 void vp9_bilinear_predict16x16_sse2(unsigned char *src_ptr, int src_pixels_per_
line, int xoffset, int yoffset, unsigned char *dst_ptr, int dst_pitch); |
| 323 RTCD_EXTERN void (*vp9_bilinear_predict16x16)(unsigned char *src_ptr, int src_p
ixels_per_line, int xoffset, int yoffset, unsigned char *dst_ptr, int dst_pit
ch); |
| 324 |
| 325 void vp9_bilinear_predict8x8_c(unsigned char *src_ptr, int src_pixels_per_line,
int xoffset, int yoffset, unsigned char *dst_ptr, int dst_pitch); |
| 326 void vp9_bilinear_predict8x8_mmx(unsigned char *src_ptr, int src_pixels_per_lin
e, int xoffset, int yoffset, unsigned char *dst_ptr, int dst_pitch); |
| 327 void vp9_bilinear_predict8x8_sse2(unsigned char *src_ptr, int src_pixels_per_li
ne, int xoffset, int yoffset, unsigned char *dst_ptr, int dst_pitch); |
| 328 RTCD_EXTERN void (*vp9_bilinear_predict8x8)(unsigned char *src_ptr, int src_pix
els_per_line, int xoffset, int yoffset, unsigned char *dst_ptr, int dst_pitch
); |
| 329 |
| 330 void vp9_bilinear_predict_avg16x16_c(unsigned char *src_ptr, int src_pixels_per
_line, int xoffset, int yoffset, unsigned char *dst_ptr, int dst_pitch); |
| 331 #define vp9_bilinear_predict_avg16x16 vp9_bilinear_predict_avg16x16_c |
| 332 |
| 333 void vp9_bilinear_predict_avg8x8_c(unsigned char *src_ptr, int src_pixels_per_l
ine, int xoffset, int yoffset, unsigned char *dst_ptr, int dst_pitch); |
| 334 #define vp9_bilinear_predict_avg8x8 vp9_bilinear_predict_avg8x8_c |
| 335 |
| 336 void vp9_bilinear_predict8x4_c(unsigned char *src_ptr, int src_pixels_per_line,
int xoffset, int yoffset, unsigned char *dst_ptr, int dst_pitch); |
| 337 void vp9_bilinear_predict8x4_mmx(unsigned char *src_ptr, int src_pixels_per_lin
e, int xoffset, int yoffset, unsigned char *dst_ptr, int dst_pitch); |
| 338 RTCD_EXTERN void (*vp9_bilinear_predict8x4)(unsigned char *src_ptr, int src_pix
els_per_line, int xoffset, int yoffset, unsigned char *dst_ptr, int dst_pitch
); |
| 339 |
| 340 void vp9_bilinear_predict4x4_c(unsigned char *src_ptr, int src_pixels_per_line,
int xoffset, int yoffset, unsigned char *dst_ptr, int dst_pitch); |
| 341 void vp9_bilinear_predict4x4_mmx(unsigned char *src_ptr, int src_pixels_per_lin
e, int xoffset, int yoffset, unsigned char *dst_ptr, int dst_pitch); |
| 342 RTCD_EXTERN void (*vp9_bilinear_predict4x4)(unsigned char *src_ptr, int src_pix
els_per_line, int xoffset, int yoffset, unsigned char *dst_ptr, int dst_pitch
); |
| 343 |
| 344 void vp9_bilinear_predict_avg4x4_c(unsigned char *src_ptr, int src_pixels_per_l
ine, int xoffset, int yoffset, unsigned char *dst_ptr, int dst_pitch); |
| 345 #define vp9_bilinear_predict_avg4x4 vp9_bilinear_predict_avg4x4_c |
| 346 |
| 347 void vp9_short_idct4x4llm_1_c(short *input, short *output, int pitch); |
| 348 void vp9_short_idct4x4llm_1_mmx(short *input, short *output, int pitch); |
| 349 RTCD_EXTERN void (*vp9_short_idct4x4llm_1)(short *input, short *output, int pitc
h); |
| 350 |
| 351 void vp9_short_idct4x4llm_c(short *input, short *output, int pitch); |
| 352 void vp9_short_idct4x4llm_mmx(short *input, short *output, int pitch); |
| 353 RTCD_EXTERN void (*vp9_short_idct4x4llm)(short *input, short *output, int pitch)
; |
| 354 |
| 355 void vp9_short_idct8x8_c(short *input, short *output, int pitch); |
| 356 #define vp9_short_idct8x8 vp9_short_idct8x8_c |
| 357 |
| 358 void vp9_short_idct10_8x8_c(short *input, short *output, int pitch); |
| 359 #define vp9_short_idct10_8x8 vp9_short_idct10_8x8_c |
| 360 |
| 361 void vp9_short_ihaar2x2_c(short *input, short *output, int pitch); |
| 362 #define vp9_short_ihaar2x2 vp9_short_ihaar2x2_c |
| 363 |
| 364 void vp9_short_idct16x16_c(short *input, short *output, int pitch); |
| 365 #define vp9_short_idct16x16 vp9_short_idct16x16_c |
| 366 |
| 367 void vp9_short_idct10_16x16_c(short *input, short *output, int pitch); |
| 368 #define vp9_short_idct10_16x16 vp9_short_idct10_16x16_c |
| 369 |
| 370 void vp9_ihtllm_c(const short *input, short *output, int pitch, int tx_type, int
tx_dim); |
| 371 #define vp9_ihtllm vp9_ihtllm_c |
| 372 |
| 373 void vp9_short_inv_walsh4x4_1_c(short *in, short *out); |
| 374 #define vp9_short_inv_walsh4x4_1 vp9_short_inv_walsh4x4_1_c |
| 375 |
| 376 void vp9_short_inv_walsh4x4_c(short *in, short *out); |
| 377 #define vp9_short_inv_walsh4x4 vp9_short_inv_walsh4x4_c |
| 378 |
| 379 void vp9_dc_only_idct_add_8x8_c(short input_dc, unsigned char *pred_ptr, unsigne
d char *dst_ptr, int pitch, int stride); |
| 380 #define vp9_dc_only_idct_add_8x8 vp9_dc_only_idct_add_8x8_c |
| 381 |
| 382 void vp9_dc_only_idct_add_c(short input_dc, unsigned char *pred_ptr, unsigned ch
ar *dst_ptr, int pitch, int stride); |
| 383 #define vp9_dc_only_idct_add vp9_dc_only_idct_add_c |
| 384 |
| 385 void vp9_rtcd(void); |
| 386 |
| 387 #ifdef RTCD_C |
| 388 #include "vpx_ports/x86.h" |
| 389 static void setup_rtcd_internal(void) |
| 390 { |
| 391 int flags = x86_simd_caps(); |
| 392 |
| 393 (void)flags; |
| 394 |
| 395 |
| 396 vp9_filter_block2d_8x4_8 = vp9_filter_block2d_8x4_8_c; |
| 397 if (flags & HAS_SSSE3) vp9_filter_block2d_8x4_8 = vp9_filter_block2d_8x4_8_s
sse3; |
| 398 |
| 399 vp9_filter_block2d_8x8_8 = vp9_filter_block2d_8x8_8_c; |
| 400 if (flags & HAS_SSSE3) vp9_filter_block2d_8x8_8 = vp9_filter_block2d_8x8_8_s
sse3; |
| 401 |
| 402 vp9_filter_block2d_16x16_8 = vp9_filter_block2d_16x16_8_c; |
| 403 if (flags & HAS_SSSE3) vp9_filter_block2d_16x16_8 = vp9_filter_block2d_16x16
_8_ssse3; |
| 404 |
| 405 vp9_dequantize_b = vp9_dequantize_b_c; |
| 406 if (flags & HAS_MMX) vp9_dequantize_b = vp9_dequantize_b_mmx; |
| 407 |
| 408 |
| 409 |
| 410 |
| 411 |
| 412 |
| 413 |
| 414 |
| 415 |
| 416 vp9_dequant_dc_idct_add_y_block = vp9_dequant_dc_idct_add_y_block_c; |
| 417 if (flags & HAS_MMX) vp9_dequant_dc_idct_add_y_block = vp9_dequant_dc_idct_a
dd_y_block_mmx; |
| 418 |
| 419 vp9_dequant_idct_add_y_block = vp9_dequant_idct_add_y_block_c; |
| 420 if (flags & HAS_MMX) vp9_dequant_idct_add_y_block = vp9_dequant_idct_add_y_b
lock_mmx; |
| 421 |
| 422 vp9_dequant_idct_add_uv_block = vp9_dequant_idct_add_uv_block_c; |
| 423 if (flags & HAS_MMX) vp9_dequant_idct_add_uv_block = vp9_dequant_idct_add_uv
_block_mmx; |
| 424 |
| 425 vp9_copy_mem16x16 = vp9_copy_mem16x16_c; |
| 426 if (flags & HAS_MMX) vp9_copy_mem16x16 = vp9_copy_mem16x16_mmx; |
| 427 if (flags & HAS_SSE2) vp9_copy_mem16x16 = vp9_copy_mem16x16_sse2; |
| 428 |
| 429 vp9_copy_mem8x8 = vp9_copy_mem8x8_c; |
| 430 if (flags & HAS_MMX) vp9_copy_mem8x8 = vp9_copy_mem8x8_mmx; |
| 431 |
| 432 vp9_copy_mem8x4 = vp9_copy_mem8x4_c; |
| 433 if (flags & HAS_MMX) vp9_copy_mem8x4 = vp9_copy_mem8x4_mmx; |
| 434 |
| 435 |
| 436 |
| 437 vp9_copy_mem8x4 = vp9_copy_mem8x4_c; |
| 438 if (flags & HAS_MMX) vp9_copy_mem8x4 = vp9_copy_mem8x4_mmx; |
| 439 |
| 440 |
| 441 |
| 442 vp9_recon2b = vp9_recon2b_c; |
| 443 if (flags & HAS_SSE2) vp9_recon2b = vp9_recon2b_sse2; |
| 444 |
| 445 vp9_recon4b = vp9_recon4b_c; |
| 446 if (flags & HAS_SSE2) vp9_recon4b = vp9_recon4b_sse2; |
| 447 |
| 448 |
| 449 |
| 450 |
| 451 |
| 452 |
| 453 |
| 454 |
| 455 |
| 456 |
| 457 |
| 458 |
| 459 |
| 460 |
| 461 |
| 462 |
| 463 |
| 464 |
| 465 |
| 466 |
| 467 vp9_loop_filter_mbv = vp9_loop_filter_mbv_c; |
| 468 if (flags & HAS_SSE2) vp9_loop_filter_mbv = vp9_loop_filter_mbv_sse2; |
| 469 |
| 470 vp9_loop_filter_bv = vp9_loop_filter_bv_c; |
| 471 if (flags & HAS_SSE2) vp9_loop_filter_bv = vp9_loop_filter_bv_sse2; |
| 472 |
| 473 vp9_loop_filter_bv8x8 = vp9_loop_filter_bv8x8_c; |
| 474 if (flags & HAS_SSE2) vp9_loop_filter_bv8x8 = vp9_loop_filter_bv8x8_sse2; |
| 475 |
| 476 vp9_loop_filter_mbh = vp9_loop_filter_mbh_c; |
| 477 if (flags & HAS_SSE2) vp9_loop_filter_mbh = vp9_loop_filter_mbh_sse2; |
| 478 |
| 479 vp9_loop_filter_bh = vp9_loop_filter_bh_c; |
| 480 if (flags & HAS_SSE2) vp9_loop_filter_bh = vp9_loop_filter_bh_sse2; |
| 481 |
| 482 vp9_loop_filter_bh8x8 = vp9_loop_filter_bh8x8_c; |
| 483 if (flags & HAS_SSE2) vp9_loop_filter_bh8x8 = vp9_loop_filter_bh8x8_sse2; |
| 484 |
| 485 vp9_loop_filter_simple_mbv = vp9_loop_filter_simple_vertical_edge_c; |
| 486 if (flags & HAS_MMX) vp9_loop_filter_simple_mbv = vp9_loop_filter_simple_ver
tical_edge_mmx; |
| 487 if (flags & HAS_SSE2) vp9_loop_filter_simple_mbv = vp9_loop_filter_simple_ve
rtical_edge_sse2; |
| 488 |
| 489 vp9_loop_filter_simple_mbh = vp9_loop_filter_simple_horizontal_edge_c; |
| 490 if (flags & HAS_MMX) vp9_loop_filter_simple_mbh = vp9_loop_filter_simple_hor
izontal_edge_mmx; |
| 491 if (flags & HAS_SSE2) vp9_loop_filter_simple_mbh = vp9_loop_filter_simple_ho
rizontal_edge_sse2; |
| 492 |
| 493 vp9_loop_filter_simple_bv = vp9_loop_filter_bvs_c; |
| 494 if (flags & HAS_MMX) vp9_loop_filter_simple_bv = vp9_loop_filter_bvs_mmx; |
| 495 if (flags & HAS_SSE2) vp9_loop_filter_simple_bv = vp9_loop_filter_bvs_sse2; |
| 496 |
| 497 vp9_loop_filter_simple_bh = vp9_loop_filter_bhs_c; |
| 498 if (flags & HAS_MMX) vp9_loop_filter_simple_bh = vp9_loop_filter_bhs_mmx; |
| 499 if (flags & HAS_SSE2) vp9_loop_filter_simple_bh = vp9_loop_filter_bhs_sse2; |
| 500 |
| 501 vp9_mbpost_proc_down = vp9_mbpost_proc_down_c; |
| 502 if (flags & HAS_MMX) vp9_mbpost_proc_down = vp9_mbpost_proc_down_mmx; |
| 503 if (flags & HAS_SSE2) vp9_mbpost_proc_down = vp9_mbpost_proc_down_xmm; |
| 504 |
| 505 vp9_mbpost_proc_across_ip = vp9_mbpost_proc_across_ip_c; |
| 506 if (flags & HAS_SSE2) vp9_mbpost_proc_across_ip = vp9_mbpost_proc_across_ip_
xmm; |
| 507 |
| 508 vp9_post_proc_down_and_across = vp9_post_proc_down_and_across_c; |
| 509 if (flags & HAS_MMX) vp9_post_proc_down_and_across = vp9_post_proc_down_and_
across_mmx; |
| 510 if (flags & HAS_SSE2) vp9_post_proc_down_and_across = vp9_post_proc_down_and
_across_xmm; |
| 511 |
| 512 vp9_plane_add_noise = vp9_plane_add_noise_c; |
| 513 if (flags & HAS_MMX) vp9_plane_add_noise = vp9_plane_add_noise_mmx; |
| 514 if (flags & HAS_SSE2) vp9_plane_add_noise = vp9_plane_add_noise_wmt; |
| 515 |
| 516 |
| 517 |
| 518 |
| 519 vp9_sad16x3 = vp9_sad16x3_c; |
| 520 if (flags & HAS_SSE2) vp9_sad16x3 = vp9_sad16x3_sse2; |
| 521 |
| 522 vp9_sad3x16 = vp9_sad3x16_c; |
| 523 if (flags & HAS_SSE2) vp9_sad3x16 = vp9_sad3x16_sse2; |
| 524 |
| 525 |
| 526 |
| 527 |
| 528 |
| 529 |
| 530 |
| 531 |
| 532 |
| 533 |
| 534 |
| 535 |
| 536 |
| 537 |
| 538 |
| 539 |
| 540 |
| 541 |
| 542 |
| 543 |
| 544 |
| 545 |
| 546 vp9_bilinear_predict16x16 = vp9_bilinear_predict16x16_c; |
| 547 if (flags & HAS_MMX) vp9_bilinear_predict16x16 = vp9_bilinear_predict16x16_m
mx; |
| 548 if (flags & HAS_SSE2) vp9_bilinear_predict16x16 = vp9_bilinear_predict16x16_
sse2; |
| 549 |
| 550 vp9_bilinear_predict8x8 = vp9_bilinear_predict8x8_c; |
| 551 if (flags & HAS_MMX) vp9_bilinear_predict8x8 = vp9_bilinear_predict8x8_mmx; |
| 552 if (flags & HAS_SSE2) vp9_bilinear_predict8x8 = vp9_bilinear_predict8x8_sse2
; |
| 553 |
| 554 |
| 555 |
| 556 vp9_bilinear_predict8x4 = vp9_bilinear_predict8x4_c; |
| 557 if (flags & HAS_MMX) vp9_bilinear_predict8x4 = vp9_bilinear_predict8x4_mmx; |
| 558 |
| 559 vp9_bilinear_predict4x4 = vp9_bilinear_predict4x4_c; |
| 560 if (flags & HAS_MMX) vp9_bilinear_predict4x4 = vp9_bilinear_predict4x4_mmx; |
| 561 |
| 562 |
| 563 vp9_short_idct4x4llm_1 = vp9_short_idct4x4llm_1_c; |
| 564 if (flags & HAS_MMX) vp9_short_idct4x4llm_1 = vp9_short_idct4x4llm_1_mmx; |
| 565 |
| 566 vp9_short_idct4x4llm = vp9_short_idct4x4llm_c; |
| 567 if (flags & HAS_MMX) vp9_short_idct4x4llm = vp9_short_idct4x4llm_mmx; |
| 568 } |
| 569 #endif |
| 570 #endif |
OLD | NEW |