| OLD | NEW |
| (Empty) |
| 1 #ifndef VPX_RTCD_ | |
| 2 #define VPX_RTCD_ | |
| 3 | |
| 4 #ifdef RTCD_C | |
| 5 #define RTCD_EXTERN | |
| 6 #else | |
| 7 #define RTCD_EXTERN extern | |
| 8 #endif | |
| 9 | |
| 10 #include "vp8/common/blockd.h" | |
| 11 | |
| 12 struct blockd; | |
| 13 struct macroblockd; | |
| 14 struct loop_filter_info; | |
| 15 | |
| 16 /* Encoder forward decls */ | |
| 17 struct block; | |
| 18 struct macroblock; | |
| 19 struct variance_vtable; | |
| 20 union int_mv; | |
| 21 struct yv12_buffer_config; | |
| 22 | |
| 23 void vp8_dequantize_b_c(struct blockd*, short *dqc); | |
| 24 void vp8_dequantize_b_v6(struct blockd*, short *dqc); | |
| 25 RTCD_EXTERN void (*vp8_dequantize_b)(struct blockd*, short *dqc); | |
| 26 | |
| 27 void vp8_dequant_idct_add_c(short *input, short *dq, unsigned char *output, int
stride); | |
| 28 void vp8_dequant_idct_add_v6(short *input, short *dq, unsigned char *output, int
stride); | |
| 29 RTCD_EXTERN void (*vp8_dequant_idct_add)(short *input, short *dq, unsigned char
*output, int stride); | |
| 30 | |
| 31 void vp8_dequant_idct_add_y_block_c(short *q, short *dq, unsigned char *dst, int
stride, char *eobs); | |
| 32 void vp8_dequant_idct_add_y_block_v6(short *q, short *dq, unsigned char *dst, in
t stride, char *eobs); | |
| 33 RTCD_EXTERN void (*vp8_dequant_idct_add_y_block)(short *q, short *dq, unsigned c
har *dst, int stride, char *eobs); | |
| 34 | |
| 35 void vp8_dequant_idct_add_uv_block_c(short *q, short *dq, unsigned char *dst_u,
unsigned char *dst_v, int stride, char *eobs); | |
| 36 void vp8_dequant_idct_add_uv_block_v6(short *q, short *dq, unsigned char *dst_u,
unsigned char *dst_v, int stride, char *eobs); | |
| 37 RTCD_EXTERN void (*vp8_dequant_idct_add_uv_block)(short *q, short *dq, unsigned
char *dst_u, unsigned char *dst_v, int stride, char *eobs); | |
| 38 | |
| 39 void vp8_loop_filter_mbv_c(unsigned char *y, unsigned char *u, unsigned char *v,
int ystride, int uv_stride, struct loop_filter_info *lfi); | |
| 40 void vp8_loop_filter_mbv_armv6(unsigned char *y, unsigned char *u, unsigned char
*v, int ystride, int uv_stride, struct loop_filter_info *lfi); | |
| 41 RTCD_EXTERN void (*vp8_loop_filter_mbv)(unsigned char *y, unsigned char *u, unsi
gned char *v, int ystride, int uv_stride, struct loop_filter_info *lfi); | |
| 42 | |
| 43 void vp8_loop_filter_bv_c(unsigned char *y, unsigned char *u, unsigned char *v,
int ystride, int uv_stride, struct loop_filter_info *lfi); | |
| 44 void vp8_loop_filter_bv_armv6(unsigned char *y, unsigned char *u, unsigned char
*v, int ystride, int uv_stride, struct loop_filter_info *lfi); | |
| 45 RTCD_EXTERN void (*vp8_loop_filter_bv)(unsigned char *y, unsigned char *u, unsig
ned char *v, int ystride, int uv_stride, struct loop_filter_info *lfi); | |
| 46 | |
| 47 void vp8_loop_filter_mbh_c(unsigned char *y, unsigned char *u, unsigned char *v,
int ystride, int uv_stride, struct loop_filter_info *lfi); | |
| 48 void vp8_loop_filter_mbh_armv6(unsigned char *y, unsigned char *u, unsigned char
*v, int ystride, int uv_stride, struct loop_filter_info *lfi); | |
| 49 RTCD_EXTERN void (*vp8_loop_filter_mbh)(unsigned char *y, unsigned char *u, unsi
gned char *v, int ystride, int uv_stride, struct loop_filter_info *lfi); | |
| 50 | |
| 51 void vp8_loop_filter_bh_c(unsigned char *y, unsigned char *u, unsigned char *v,
int ystride, int uv_stride, struct loop_filter_info *lfi); | |
| 52 void vp8_loop_filter_bh_armv6(unsigned char *y, unsigned char *u, unsigned char
*v, int ystride, int uv_stride, struct loop_filter_info *lfi); | |
| 53 RTCD_EXTERN void (*vp8_loop_filter_bh)(unsigned char *y, unsigned char *u, unsig
ned char *v, int ystride, int uv_stride, struct loop_filter_info *lfi); | |
| 54 | |
| 55 void vp8_loop_filter_simple_vertical_edge_c(unsigned char *y, int ystride, const
unsigned char *blimit); | |
| 56 void vp8_loop_filter_simple_vertical_edge_armv6(unsigned char *y, int ystride, c
onst unsigned char *blimit); | |
| 57 RTCD_EXTERN void (*vp8_loop_filter_simple_mbv)(unsigned char *y, int ystride, co
nst unsigned char *blimit); | |
| 58 | |
| 59 void vp8_loop_filter_simple_horizontal_edge_c(unsigned char *y, int ystride, con
st unsigned char *blimit); | |
| 60 void vp8_loop_filter_simple_horizontal_edge_armv6(unsigned char *y, int ystride,
const unsigned char *blimit); | |
| 61 RTCD_EXTERN void (*vp8_loop_filter_simple_mbh)(unsigned char *y, int ystride, co
nst unsigned char *blimit); | |
| 62 | |
| 63 void vp8_loop_filter_bvs_c(unsigned char *y, int ystride, const unsigned char *b
limit); | |
| 64 void vp8_loop_filter_bvs_armv6(unsigned char *y, int ystride, const unsigned cha
r *blimit); | |
| 65 RTCD_EXTERN void (*vp8_loop_filter_simple_bv)(unsigned char *y, int ystride, con
st unsigned char *blimit); | |
| 66 | |
| 67 void vp8_loop_filter_bhs_c(unsigned char *y, int ystride, const unsigned char *b
limit); | |
| 68 void vp8_loop_filter_bhs_armv6(unsigned char *y, int ystride, const unsigned cha
r *blimit); | |
| 69 RTCD_EXTERN void (*vp8_loop_filter_simple_bh)(unsigned char *y, int ystride, con
st unsigned char *blimit); | |
| 70 | |
| 71 void vp8_short_idct4x4llm_c(short *input, unsigned char *pred, int pitch, unsign
ed char *dst, int dst_stride); | |
| 72 void vp8_short_idct4x4llm_v6_dual(short *input, unsigned char *pred, int pitch,
unsigned char *dst, int dst_stride); | |
| 73 RTCD_EXTERN void (*vp8_short_idct4x4llm)(short *input, unsigned char *pred, int
pitch, unsigned char *dst, int dst_stride); | |
| 74 | |
| 75 void vp8_short_inv_walsh4x4_1_c(short *input, short *output); | |
| 76 #define vp8_short_inv_walsh4x4_1 vp8_short_inv_walsh4x4_1_c | |
| 77 | |
| 78 void vp8_short_inv_walsh4x4_c(short *input, short *output); | |
| 79 void vp8_short_inv_walsh4x4_v6(short *input, short *output); | |
| 80 RTCD_EXTERN void (*vp8_short_inv_walsh4x4)(short *input, short *output); | |
| 81 | |
| 82 void vp8_dc_only_idct_add_c(short input, unsigned char *pred, int pred_stride, u
nsigned char *dst, int dst_stride); | |
| 83 void vp8_dc_only_idct_add_v6(short input, unsigned char *pred, int pred_stride,
unsigned char *dst, int dst_stride); | |
| 84 RTCD_EXTERN void (*vp8_dc_only_idct_add)(short input, unsigned char *pred, int p
red_stride, unsigned char *dst, int dst_stride); | |
| 85 | |
| 86 void vp8_copy_mem16x16_c(unsigned char *src, int src_pitch, unsigned char *dst,
int dst_pitch); | |
| 87 void vp8_copy_mem16x16_v6(unsigned char *src, int src_pitch, unsigned char *dst,
int dst_pitch); | |
| 88 RTCD_EXTERN void (*vp8_copy_mem16x16)(unsigned char *src, int src_pitch, unsigne
d char *dst, int dst_pitch); | |
| 89 | |
| 90 void vp8_copy_mem8x8_c(unsigned char *src, int src_pitch, unsigned char *dst, in
t dst_pitch); | |
| 91 void vp8_copy_mem8x8_v6(unsigned char *src, int src_pitch, unsigned char *dst, i
nt dst_pitch); | |
| 92 RTCD_EXTERN void (*vp8_copy_mem8x8)(unsigned char *src, int src_pitch, unsigned
char *dst, int dst_pitch); | |
| 93 | |
| 94 void vp8_copy_mem8x4_c(unsigned char *src, int src_pitch, unsigned char *dst, in
t dst_pitch); | |
| 95 void vp8_copy_mem8x4_v6(unsigned char *src, int src_pitch, unsigned char *dst, i
nt dst_pitch); | |
| 96 RTCD_EXTERN void (*vp8_copy_mem8x4)(unsigned char *src, int src_pitch, unsigned
char *dst, int dst_pitch); | |
| 97 | |
| 98 void vp8_build_intra_predictors_mby_s_c(struct macroblockd *x, unsigned char * y
above_row, unsigned char * yleft, int left_stride, unsigned char * ypred_ptr, in
t y_stride); | |
| 99 #define vp8_build_intra_predictors_mby_s vp8_build_intra_predictors_mby_s_c | |
| 100 | |
| 101 void vp8_build_intra_predictors_mbuv_s_c(struct macroblockd *x, unsigned char *
uabove_row, unsigned char * vabove_row, unsigned char *uleft, unsigned char *vl
eft, int left_stride, unsigned char * upred_ptr, unsigned char * vpred_ptr, int
pred_stride); | |
| 102 #define vp8_build_intra_predictors_mbuv_s vp8_build_intra_predictors_mbuv_s_c | |
| 103 | |
| 104 void vp8_intra4x4_predict_c(unsigned char *Above, unsigned char *yleft, int left
_stride, B_PREDICTION_MODE b_mode, unsigned char *dst, int dst_stride, unsigned
char top_left); | |
| 105 void vp8_intra4x4_predict_armv6(unsigned char *Above, unsigned char *yleft, int
left_stride, B_PREDICTION_MODE b_mode, unsigned char *dst, int dst_stride, unsig
ned char top_left); | |
| 106 RTCD_EXTERN void (*vp8_intra4x4_predict)(unsigned char *Above, unsigned char *yl
eft, int left_stride, B_PREDICTION_MODE b_mode, unsigned char *dst, int dst_stri
de, unsigned char top_left); | |
| 107 | |
| 108 void vp8_mbpost_proc_down_c(unsigned char *dst, int pitch, int rows, int cols,in
t flimit); | |
| 109 #define vp8_mbpost_proc_down vp8_mbpost_proc_down_c | |
| 110 | |
| 111 void vp8_mbpost_proc_across_ip_c(unsigned char *dst, int pitch, int rows, int co
ls,int flimit); | |
| 112 #define vp8_mbpost_proc_across_ip vp8_mbpost_proc_across_ip_c | |
| 113 | |
| 114 void vp8_post_proc_down_and_across_mb_row_c(unsigned char *src, unsigned char *d
st, int src_pitch, int dst_pitch, int cols, unsigned char *flimits, int size); | |
| 115 #define vp8_post_proc_down_and_across_mb_row vp8_post_proc_down_and_across_mb_ro
w_c | |
| 116 | |
| 117 void vp8_plane_add_noise_c(unsigned char *s, char *noise, char blackclamp[16], c
har whiteclamp[16], char bothclamp[16], unsigned int w, unsigned int h, int pitc
h); | |
| 118 #define vp8_plane_add_noise vp8_plane_add_noise_c | |
| 119 | |
| 120 void vp8_blend_mb_inner_c(unsigned char *y, unsigned char *u, unsigned char *v,
int y1, int u1, int v1, int alpha, int stride); | |
| 121 #define vp8_blend_mb_inner vp8_blend_mb_inner_c | |
| 122 | |
| 123 void vp8_blend_mb_outer_c(unsigned char *y, unsigned char *u, unsigned char *v,
int y1, int u1, int v1, int alpha, int stride); | |
| 124 #define vp8_blend_mb_outer vp8_blend_mb_outer_c | |
| 125 | |
| 126 void vp8_blend_b_c(unsigned char *y, unsigned char *u, unsigned char *v, int y1,
int u1, int v1, int alpha, int stride); | |
| 127 #define vp8_blend_b vp8_blend_b_c | |
| 128 | |
| 129 void vp8_filter_by_weight16x16_c(unsigned char *src, int src_stride, unsigned ch
ar *dst, int dst_stride, int src_weight); | |
| 130 #define vp8_filter_by_weight16x16 vp8_filter_by_weight16x16_c | |
| 131 | |
| 132 void vp8_filter_by_weight8x8_c(unsigned char *src, int src_stride, unsigned char
*dst, int dst_stride, int src_weight); | |
| 133 #define vp8_filter_by_weight8x8 vp8_filter_by_weight8x8_c | |
| 134 | |
| 135 void vp8_filter_by_weight4x4_c(unsigned char *src, int src_stride, unsigned char
*dst, int dst_stride, int src_weight); | |
| 136 #define vp8_filter_by_weight4x4 vp8_filter_by_weight4x4_c | |
| 137 | |
| 138 void vp8_sixtap_predict16x16_c(unsigned char *src, int src_pitch, int xofst, int
yofst, unsigned char *dst, int dst_pitch); | |
| 139 void vp8_sixtap_predict16x16_armv6(unsigned char *src, int src_pitch, int xofst,
int yofst, unsigned char *dst, int dst_pitch); | |
| 140 RTCD_EXTERN void (*vp8_sixtap_predict16x16)(unsigned char *src, int src_pitch, i
nt xofst, int yofst, unsigned char *dst, int dst_pitch); | |
| 141 | |
| 142 void vp8_sixtap_predict8x8_c(unsigned char *src, int src_pitch, int xofst, int y
ofst, unsigned char *dst, int dst_pitch); | |
| 143 void vp8_sixtap_predict8x8_armv6(unsigned char *src, int src_pitch, int xofst, i
nt yofst, unsigned char *dst, int dst_pitch); | |
| 144 RTCD_EXTERN void (*vp8_sixtap_predict8x8)(unsigned char *src, int src_pitch, int
xofst, int yofst, unsigned char *dst, int dst_pitch); | |
| 145 | |
| 146 void vp8_sixtap_predict8x4_c(unsigned char *src, int src_pitch, int xofst, int y
ofst, unsigned char *dst, int dst_pitch); | |
| 147 void vp8_sixtap_predict8x4_armv6(unsigned char *src, int src_pitch, int xofst, i
nt yofst, unsigned char *dst, int dst_pitch); | |
| 148 RTCD_EXTERN void (*vp8_sixtap_predict8x4)(unsigned char *src, int src_pitch, int
xofst, int yofst, unsigned char *dst, int dst_pitch); | |
| 149 | |
| 150 void vp8_sixtap_predict4x4_c(unsigned char *src, int src_pitch, int xofst, int y
ofst, unsigned char *dst, int dst_pitch); | |
| 151 void vp8_sixtap_predict4x4_armv6(unsigned char *src, int src_pitch, int xofst, i
nt yofst, unsigned char *dst, int dst_pitch); | |
| 152 RTCD_EXTERN void (*vp8_sixtap_predict4x4)(unsigned char *src, int src_pitch, int
xofst, int yofst, unsigned char *dst, int dst_pitch); | |
| 153 | |
| 154 void vp8_bilinear_predict16x16_c(unsigned char *src, int src_pitch, int xofst, i
nt yofst, unsigned char *dst, int dst_pitch); | |
| 155 void vp8_bilinear_predict16x16_armv6(unsigned char *src, int src_pitch, int xofs
t, int yofst, unsigned char *dst, int dst_pitch); | |
| 156 RTCD_EXTERN void (*vp8_bilinear_predict16x16)(unsigned char *src, int src_pitch,
int xofst, int yofst, unsigned char *dst, int dst_pitch); | |
| 157 | |
| 158 void vp8_bilinear_predict8x8_c(unsigned char *src, int src_pitch, int xofst, int
yofst, unsigned char *dst, int dst_pitch); | |
| 159 void vp8_bilinear_predict8x8_armv6(unsigned char *src, int src_pitch, int xofst,
int yofst, unsigned char *dst, int dst_pitch); | |
| 160 RTCD_EXTERN void (*vp8_bilinear_predict8x8)(unsigned char *src, int src_pitch, i
nt xofst, int yofst, unsigned char *dst, int dst_pitch); | |
| 161 | |
| 162 void vp8_bilinear_predict8x4_c(unsigned char *src, int src_pitch, int xofst, int
yofst, unsigned char *dst, int dst_pitch); | |
| 163 void vp8_bilinear_predict8x4_armv6(unsigned char *src, int src_pitch, int xofst,
int yofst, unsigned char *dst, int dst_pitch); | |
| 164 RTCD_EXTERN void (*vp8_bilinear_predict8x4)(unsigned char *src, int src_pitch, i
nt xofst, int yofst, unsigned char *dst, int dst_pitch); | |
| 165 | |
| 166 void vp8_bilinear_predict4x4_c(unsigned char *src, int src_pitch, int xofst, int
yofst, unsigned char *dst, int dst_pitch); | |
| 167 void vp8_bilinear_predict4x4_armv6(unsigned char *src, int src_pitch, int xofst,
int yofst, unsigned char *dst, int dst_pitch); | |
| 168 RTCD_EXTERN void (*vp8_bilinear_predict4x4)(unsigned char *src, int src_pitch, i
nt xofst, int yofst, unsigned char *dst, int dst_pitch); | |
| 169 | |
| 170 unsigned int vp8_variance4x4_c(const unsigned char *src_ptr, int source_stride,
const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); | |
| 171 #define vp8_variance4x4 vp8_variance4x4_c | |
| 172 | |
| 173 unsigned int vp8_variance8x8_c(const unsigned char *src_ptr, int source_stride,
const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); | |
| 174 unsigned int vp8_variance8x8_armv6(const unsigned char *src_ptr, int source_stri
de, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); | |
| 175 RTCD_EXTERN unsigned int (*vp8_variance8x8)(const unsigned char *src_ptr, int so
urce_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); | |
| 176 | |
| 177 unsigned int vp8_variance8x16_c(const unsigned char *src_ptr, int source_stride,
const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); | |
| 178 #define vp8_variance8x16 vp8_variance8x16_c | |
| 179 | |
| 180 unsigned int vp8_variance16x8_c(const unsigned char *src_ptr, int source_stride,
const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); | |
| 181 #define vp8_variance16x8 vp8_variance16x8_c | |
| 182 | |
| 183 unsigned int vp8_variance16x16_c(const unsigned char *src_ptr, int source_stride
, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); | |
| 184 unsigned int vp8_variance16x16_armv6(const unsigned char *src_ptr, int source_st
ride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); | |
| 185 RTCD_EXTERN unsigned int (*vp8_variance16x16)(const unsigned char *src_ptr, int
source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse)
; | |
| 186 | |
| 187 unsigned int vp8_sub_pixel_variance4x4_c(const unsigned char *src_ptr, int sou
rce_stride, int xoffset, int yoffset, const unsigned char *ref_ptr, int Refstr
ide, unsigned int *sse); | |
| 188 #define vp8_sub_pixel_variance4x4 vp8_sub_pixel_variance4x4_c | |
| 189 | |
| 190 unsigned int vp8_sub_pixel_variance8x8_c(const unsigned char *src_ptr, int sou
rce_stride, int xoffset, int yoffset, const unsigned char *ref_ptr, int Refstr
ide, unsigned int *sse); | |
| 191 unsigned int vp8_sub_pixel_variance8x8_armv6(const unsigned char *src_ptr, int
source_stride, int xoffset, int yoffset, const unsigned char *ref_ptr, int Re
fstride, unsigned int *sse); | |
| 192 RTCD_EXTERN unsigned int (*vp8_sub_pixel_variance8x8)(const unsigned char *src_
ptr, int source_stride, int xoffset, int yoffset, const unsigned char *ref_pt
r, int Refstride, unsigned int *sse); | |
| 193 | |
| 194 unsigned int vp8_sub_pixel_variance8x16_c(const unsigned char *src_ptr, int so
urce_stride, int xoffset, int yoffset, const unsigned char *ref_ptr, int Refst
ride, unsigned int *sse); | |
| 195 #define vp8_sub_pixel_variance8x16 vp8_sub_pixel_variance8x16_c | |
| 196 | |
| 197 unsigned int vp8_sub_pixel_variance16x8_c(const unsigned char *src_ptr, int so
urce_stride, int xoffset, int yoffset, const unsigned char *ref_ptr, int Refst
ride, unsigned int *sse); | |
| 198 #define vp8_sub_pixel_variance16x8 vp8_sub_pixel_variance16x8_c | |
| 199 | |
| 200 unsigned int vp8_sub_pixel_variance16x16_c(const unsigned char *src_ptr, int s
ource_stride, int xoffset, int yoffset, const unsigned char *ref_ptr, int Refs
tride, unsigned int *sse); | |
| 201 unsigned int vp8_sub_pixel_variance16x16_armv6(const unsigned char *src_ptr, in
t source_stride, int xoffset, int yoffset, const unsigned char *ref_ptr, int
Refstride, unsigned int *sse); | |
| 202 RTCD_EXTERN unsigned int (*vp8_sub_pixel_variance16x16)(const unsigned char *sr
c_ptr, int source_stride, int xoffset, int yoffset, const unsigned char *ref_
ptr, int Refstride, unsigned int *sse); | |
| 203 | |
| 204 unsigned int vp8_variance_halfpixvar16x16_h_c(const unsigned char *src_ptr, int
source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse)
; | |
| 205 unsigned int vp8_variance_halfpixvar16x16_h_armv6(const unsigned char *src_ptr,
int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *
sse); | |
| 206 RTCD_EXTERN unsigned int (*vp8_variance_halfpixvar16x16_h)(const unsigned char *
src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsig
ned int *sse); | |
| 207 | |
| 208 unsigned int vp8_variance_halfpixvar16x16_v_c(const unsigned char *src_ptr, int
source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse)
; | |
| 209 unsigned int vp8_variance_halfpixvar16x16_v_armv6(const unsigned char *src_ptr,
int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *
sse); | |
| 210 RTCD_EXTERN unsigned int (*vp8_variance_halfpixvar16x16_v)(const unsigned char *
src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsig
ned int *sse); | |
| 211 | |
| 212 unsigned int vp8_variance_halfpixvar16x16_hv_c(const unsigned char *src_ptr, int
source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse
); | |
| 213 unsigned int vp8_variance_halfpixvar16x16_hv_armv6(const unsigned char *src_ptr,
int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int
*sse); | |
| 214 RTCD_EXTERN unsigned int (*vp8_variance_halfpixvar16x16_hv)(const unsigned char
*src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsi
gned int *sse); | |
| 215 | |
| 216 unsigned int vp8_sad4x4_c(const unsigned char *src_ptr, int src_stride, const un
signed char *ref_ptr, int ref_stride, unsigned int max_sad); | |
| 217 #define vp8_sad4x4 vp8_sad4x4_c | |
| 218 | |
| 219 unsigned int vp8_sad8x8_c(const unsigned char *src_ptr, int src_stride, const un
signed char *ref_ptr, int ref_stride, unsigned int max_sad); | |
| 220 #define vp8_sad8x8 vp8_sad8x8_c | |
| 221 | |
| 222 unsigned int vp8_sad8x16_c(const unsigned char *src_ptr, int src_stride, const u
nsigned char *ref_ptr, int ref_stride, unsigned int max_sad); | |
| 223 #define vp8_sad8x16 vp8_sad8x16_c | |
| 224 | |
| 225 unsigned int vp8_sad16x8_c(const unsigned char *src_ptr, int src_stride, const u
nsigned char *ref_ptr, int ref_stride, unsigned int max_sad); | |
| 226 #define vp8_sad16x8 vp8_sad16x8_c | |
| 227 | |
| 228 unsigned int vp8_sad16x16_c(const unsigned char *src_ptr, int src_stride, const
unsigned char *ref_ptr, int ref_stride, unsigned int max_sad); | |
| 229 unsigned int vp8_sad16x16_armv6(const unsigned char *src_ptr, int src_stride, co
nst unsigned char *ref_ptr, int ref_stride, unsigned int max_sad); | |
| 230 RTCD_EXTERN unsigned int (*vp8_sad16x16)(const unsigned char *src_ptr, int src_s
tride, const unsigned char *ref_ptr, int ref_stride, unsigned int max_sad); | |
| 231 | |
| 232 void vp8_sad4x4x3_c(const unsigned char *src_ptr, int src_stride, const unsigned
char *ref_ptr, int ref_stride, unsigned int *sad_array); | |
| 233 #define vp8_sad4x4x3 vp8_sad4x4x3_c | |
| 234 | |
| 235 void vp8_sad8x8x3_c(const unsigned char *src_ptr, int src_stride, const unsigned
char *ref_ptr, int ref_stride, unsigned int *sad_array); | |
| 236 #define vp8_sad8x8x3 vp8_sad8x8x3_c | |
| 237 | |
| 238 void vp8_sad8x16x3_c(const unsigned char *src_ptr, int src_stride, const unsigne
d char *ref_ptr, int ref_stride, unsigned int *sad_array); | |
| 239 #define vp8_sad8x16x3 vp8_sad8x16x3_c | |
| 240 | |
| 241 void vp8_sad16x8x3_c(const unsigned char *src_ptr, int src_stride, const unsigne
d char *ref_ptr, int ref_stride, unsigned int *sad_array); | |
| 242 #define vp8_sad16x8x3 vp8_sad16x8x3_c | |
| 243 | |
| 244 void vp8_sad16x16x3_c(const unsigned char *src_ptr, int src_stride, const unsign
ed char *ref_ptr, int ref_stride, unsigned int *sad_array); | |
| 245 #define vp8_sad16x16x3 vp8_sad16x16x3_c | |
| 246 | |
| 247 void vp8_sad4x4x8_c(const unsigned char *src_ptr, int src_stride, const unsigned
char *ref_ptr, int ref_stride, unsigned short *sad_array); | |
| 248 #define vp8_sad4x4x8 vp8_sad4x4x8_c | |
| 249 | |
| 250 void vp8_sad8x8x8_c(const unsigned char *src_ptr, int src_stride, const unsigned
char *ref_ptr, int ref_stride, unsigned short *sad_array); | |
| 251 #define vp8_sad8x8x8 vp8_sad8x8x8_c | |
| 252 | |
| 253 void vp8_sad8x16x8_c(const unsigned char *src_ptr, int src_stride, const unsigne
d char *ref_ptr, int ref_stride, unsigned short *sad_array); | |
| 254 #define vp8_sad8x16x8 vp8_sad8x16x8_c | |
| 255 | |
| 256 void vp8_sad16x8x8_c(const unsigned char *src_ptr, int src_stride, const unsigne
d char *ref_ptr, int ref_stride, unsigned short *sad_array); | |
| 257 #define vp8_sad16x8x8 vp8_sad16x8x8_c | |
| 258 | |
| 259 void vp8_sad16x16x8_c(const unsigned char *src_ptr, int src_stride, const unsign
ed char *ref_ptr, int ref_stride, unsigned short *sad_array); | |
| 260 #define vp8_sad16x16x8 vp8_sad16x16x8_c | |
| 261 | |
| 262 void vp8_sad4x4x4d_c(const unsigned char *src_ptr, int src_stride, const unsigne
d char * const ref_ptr[], int ref_stride, unsigned int *sad_array); | |
| 263 #define vp8_sad4x4x4d vp8_sad4x4x4d_c | |
| 264 | |
| 265 void vp8_sad8x8x4d_c(const unsigned char *src_ptr, int src_stride, const unsigne
d char * const ref_ptr[], int ref_stride, unsigned int *sad_array); | |
| 266 #define vp8_sad8x8x4d vp8_sad8x8x4d_c | |
| 267 | |
| 268 void vp8_sad8x16x4d_c(const unsigned char *src_ptr, int src_stride, const unsign
ed char * const ref_ptr[], int ref_stride, unsigned int *sad_array); | |
| 269 #define vp8_sad8x16x4d vp8_sad8x16x4d_c | |
| 270 | |
| 271 void vp8_sad16x8x4d_c(const unsigned char *src_ptr, int src_stride, const unsign
ed char * const ref_ptr[], int ref_stride, unsigned int *sad_array); | |
| 272 #define vp8_sad16x8x4d vp8_sad16x8x4d_c | |
| 273 | |
| 274 void vp8_sad16x16x4d_c(const unsigned char *src_ptr, int src_stride, const unsig
ned char * const ref_ptr[], int ref_stride, unsigned int *sad_array); | |
| 275 #define vp8_sad16x16x4d vp8_sad16x16x4d_c | |
| 276 | |
| 277 unsigned int vp8_get_mb_ss_c(const short *); | |
| 278 #define vp8_get_mb_ss vp8_get_mb_ss_c | |
| 279 | |
| 280 unsigned int vp8_sub_pixel_mse16x16_c(const unsigned char *src_ptr, int source
_stride, int xoffset, int yoffset, const unsigned char *ref_ptr, int Refstride
, unsigned int *sse); | |
| 281 #define vp8_sub_pixel_mse16x16 vp8_sub_pixel_mse16x16_c | |
| 282 | |
| 283 unsigned int vp8_mse16x16_c(const unsigned char *src_ptr, int source_stride, con
st unsigned char *ref_ptr, int ref_stride, unsigned int *sse); | |
| 284 unsigned int vp8_mse16x16_armv6(const unsigned char *src_ptr, int source_stride,
const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); | |
| 285 RTCD_EXTERN unsigned int (*vp8_mse16x16)(const unsigned char *src_ptr, int sourc
e_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); | |
| 286 | |
| 287 unsigned int vp8_get4x4sse_cs_c(const unsigned char *src_ptr, int source_stride,
const unsigned char *ref_ptr, int ref_stride); | |
| 288 #define vp8_get4x4sse_cs vp8_get4x4sse_cs_c | |
| 289 | |
| 290 void vp8_short_fdct4x4_c(short *input, short *output, int pitch); | |
| 291 void vp8_short_fdct4x4_armv6(short *input, short *output, int pitch); | |
| 292 RTCD_EXTERN void (*vp8_short_fdct4x4)(short *input, short *output, int pitch); | |
| 293 | |
| 294 void vp8_short_fdct8x4_c(short *input, short *output, int pitch); | |
| 295 void vp8_short_fdct8x4_armv6(short *input, short *output, int pitch); | |
| 296 RTCD_EXTERN void (*vp8_short_fdct8x4)(short *input, short *output, int pitch); | |
| 297 | |
| 298 void vp8_short_walsh4x4_c(short *input, short *output, int pitch); | |
| 299 void vp8_short_walsh4x4_armv6(short *input, short *output, int pitch); | |
| 300 RTCD_EXTERN void (*vp8_short_walsh4x4)(short *input, short *output, int pitch); | |
| 301 | |
| 302 void vp8_regular_quantize_b_c(struct block *, struct blockd *); | |
| 303 #define vp8_regular_quantize_b vp8_regular_quantize_b_c | |
| 304 | |
| 305 void vp8_fast_quantize_b_c(struct block *, struct blockd *); | |
| 306 void vp8_fast_quantize_b_armv6(struct block *, struct blockd *); | |
| 307 RTCD_EXTERN void (*vp8_fast_quantize_b)(struct block *, struct blockd *); | |
| 308 | |
| 309 void vp8_regular_quantize_b_pair_c(struct block *b1, struct block *b2, struct bl
ockd *d1, struct blockd *d2); | |
| 310 #define vp8_regular_quantize_b_pair vp8_regular_quantize_b_pair_c | |
| 311 | |
| 312 void vp8_fast_quantize_b_pair_c(struct block *b1, struct block *b2, struct block
d *d1, struct blockd *d2); | |
| 313 #define vp8_fast_quantize_b_pair vp8_fast_quantize_b_pair_c | |
| 314 | |
| 315 void vp8_quantize_mb_c(struct macroblock *); | |
| 316 #define vp8_quantize_mb vp8_quantize_mb_c | |
| 317 | |
| 318 void vp8_quantize_mby_c(struct macroblock *); | |
| 319 #define vp8_quantize_mby vp8_quantize_mby_c | |
| 320 | |
| 321 void vp8_quantize_mbuv_c(struct macroblock *); | |
| 322 #define vp8_quantize_mbuv vp8_quantize_mbuv_c | |
| 323 | |
| 324 int vp8_block_error_c(short *coeff, short *dqcoeff); | |
| 325 #define vp8_block_error vp8_block_error_c | |
| 326 | |
| 327 int vp8_mbblock_error_c(struct macroblock *mb, int dc); | |
| 328 #define vp8_mbblock_error vp8_mbblock_error_c | |
| 329 | |
| 330 int vp8_mbuverror_c(struct macroblock *mb); | |
| 331 #define vp8_mbuverror vp8_mbuverror_c | |
| 332 | |
| 333 void vp8_subtract_b_c(struct block *be, struct blockd *bd, int pitch); | |
| 334 void vp8_subtract_b_armv6(struct block *be, struct blockd *bd, int pitch); | |
| 335 RTCD_EXTERN void (*vp8_subtract_b)(struct block *be, struct blockd *bd, int pitc
h); | |
| 336 | |
| 337 void vp8_subtract_mby_c(short *diff, unsigned char *src, int src_stride, unsigne
d char *pred, int pred_stride); | |
| 338 void vp8_subtract_mby_armv6(short *diff, unsigned char *src, int src_stride, uns
igned char *pred, int pred_stride); | |
| 339 RTCD_EXTERN void (*vp8_subtract_mby)(short *diff, unsigned char *src, int src_st
ride, unsigned char *pred, int pred_stride); | |
| 340 | |
| 341 void vp8_subtract_mbuv_c(short *diff, unsigned char *usrc, unsigned char *vsrc,
int src_stride, unsigned char *upred, unsigned char *vpred, int pred_stride); | |
| 342 void vp8_subtract_mbuv_armv6(short *diff, unsigned char *usrc, unsigned char *vs
rc, int src_stride, unsigned char *upred, unsigned char *vpred, int pred_stride)
; | |
| 343 RTCD_EXTERN void (*vp8_subtract_mbuv)(short *diff, unsigned char *usrc, unsigned
char *vsrc, int src_stride, unsigned char *upred, unsigned char *vpred, int pre
d_stride); | |
| 344 | |
| 345 int vp8_full_search_sad_c(struct macroblock *x, struct block *b, struct blockd *
d, union int_mv *ref_mv, int sad_per_bit, int distance, struct variance_vtable *
fn_ptr, int *mvcost[2], union int_mv *center_mv); | |
| 346 #define vp8_full_search_sad vp8_full_search_sad_c | |
| 347 | |
| 348 int vp8_refining_search_sad_c(struct macroblock *x, struct block *b, struct bloc
kd *d, union int_mv *ref_mv, int sad_per_bit, int distance, struct variance_vtab
le *fn_ptr, int *mvcost[2], union int_mv *center_mv); | |
| 349 #define vp8_refining_search_sad vp8_refining_search_sad_c | |
| 350 | |
| 351 int vp8_diamond_search_sad_c(struct macroblock *x, struct block *b, struct block
d *d, union int_mv *ref_mv, union int_mv *best_mv, int search_param, int sad_per
_bit, int *num00, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *
center_mv); | |
| 352 #define vp8_diamond_search_sad vp8_diamond_search_sad_c | |
| 353 | |
| 354 void vp8_yv12_copy_partial_frame_c(struct yv12_buffer_config *src_ybc, struct yv
12_buffer_config *dst_ybc); | |
| 355 #define vp8_yv12_copy_partial_frame vp8_yv12_copy_partial_frame_c | |
| 356 | |
| 357 int vp8_denoiser_filter_c(struct yv12_buffer_config* mc_running_avg, struct yv12
_buffer_config* running_avg, struct macroblock* signal, unsigned int motion_magn
itude2, int y_offset, int uv_offset); | |
| 358 #define vp8_denoiser_filter vp8_denoiser_filter_c | |
| 359 | |
| 360 void vp8_horizontal_line_4_5_scale_c(const unsigned char *source, unsigned int s
ource_width, unsigned char *dest, unsigned int dest_width); | |
| 361 #define vp8_horizontal_line_4_5_scale vp8_horizontal_line_4_5_scale_c | |
| 362 | |
| 363 void vp8_vertical_band_4_5_scale_c(unsigned char *dest, unsigned int dest_pitch,
unsigned int dest_width); | |
| 364 #define vp8_vertical_band_4_5_scale vp8_vertical_band_4_5_scale_c | |
| 365 | |
| 366 void vp8_last_vertical_band_4_5_scale_c(unsigned char *dest, unsigned int dest_p
itch, unsigned int dest_width); | |
| 367 #define vp8_last_vertical_band_4_5_scale vp8_last_vertical_band_4_5_scale_c | |
| 368 | |
| 369 void vp8_horizontal_line_2_3_scale_c(const unsigned char *source, unsigned int s
ource_width, unsigned char *dest, unsigned int dest_width); | |
| 370 #define vp8_horizontal_line_2_3_scale vp8_horizontal_line_2_3_scale_c | |
| 371 | |
| 372 void vp8_vertical_band_2_3_scale_c(unsigned char *dest, unsigned int dest_pitch,
unsigned int dest_width); | |
| 373 #define vp8_vertical_band_2_3_scale vp8_vertical_band_2_3_scale_c | |
| 374 | |
| 375 void vp8_last_vertical_band_2_3_scale_c(unsigned char *dest, unsigned int dest_p
itch, unsigned int dest_width); | |
| 376 #define vp8_last_vertical_band_2_3_scale vp8_last_vertical_band_2_3_scale_c | |
| 377 | |
| 378 void vp8_horizontal_line_3_5_scale_c(const unsigned char *source, unsigned int s
ource_width, unsigned char *dest, unsigned int dest_width); | |
| 379 #define vp8_horizontal_line_3_5_scale vp8_horizontal_line_3_5_scale_c | |
| 380 | |
| 381 void vp8_vertical_band_3_5_scale_c(unsigned char *dest, unsigned int dest_pitch,
unsigned int dest_width); | |
| 382 #define vp8_vertical_band_3_5_scale vp8_vertical_band_3_5_scale_c | |
| 383 | |
| 384 void vp8_last_vertical_band_3_5_scale_c(unsigned char *dest, unsigned int dest_p
itch, unsigned int dest_width); | |
| 385 #define vp8_last_vertical_band_3_5_scale vp8_last_vertical_band_3_5_scale_c | |
| 386 | |
| 387 void vp8_horizontal_line_3_4_scale_c(const unsigned char *source, unsigned int s
ource_width, unsigned char *dest, unsigned int dest_width); | |
| 388 #define vp8_horizontal_line_3_4_scale vp8_horizontal_line_3_4_scale_c | |
| 389 | |
| 390 void vp8_vertical_band_3_4_scale_c(unsigned char *dest, unsigned int dest_pitch,
unsigned int dest_width); | |
| 391 #define vp8_vertical_band_3_4_scale vp8_vertical_band_3_4_scale_c | |
| 392 | |
| 393 void vp8_last_vertical_band_3_4_scale_c(unsigned char *dest, unsigned int dest_p
itch, unsigned int dest_width); | |
| 394 #define vp8_last_vertical_band_3_4_scale vp8_last_vertical_band_3_4_scale_c | |
| 395 | |
| 396 void vp8_horizontal_line_1_2_scale_c(const unsigned char *source, unsigned int s
ource_width, unsigned char *dest, unsigned int dest_width); | |
| 397 #define vp8_horizontal_line_1_2_scale vp8_horizontal_line_1_2_scale_c | |
| 398 | |
| 399 void vp8_vertical_band_1_2_scale_c(unsigned char *dest, unsigned int dest_pitch,
unsigned int dest_width); | |
| 400 #define vp8_vertical_band_1_2_scale vp8_vertical_band_1_2_scale_c | |
| 401 | |
| 402 void vp8_last_vertical_band_1_2_scale_c(unsigned char *dest, unsigned int dest_p
itch, unsigned int dest_width); | |
| 403 #define vp8_last_vertical_band_1_2_scale vp8_last_vertical_band_1_2_scale_c | |
| 404 | |
| 405 void vp8_horizontal_line_5_4_scale_c(const unsigned char *source, unsigned int s
ource_width, unsigned char *dest, unsigned int dest_width); | |
| 406 #define vp8_horizontal_line_5_4_scale vp8_horizontal_line_5_4_scale_c | |
| 407 | |
| 408 void vp8_vertical_band_5_4_scale_c(unsigned char *source, unsigned int src_pitch
, unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width); | |
| 409 #define vp8_vertical_band_5_4_scale vp8_vertical_band_5_4_scale_c | |
| 410 | |
| 411 void vp8_horizontal_line_5_3_scale_c(const unsigned char *source, unsigned int s
ource_width, unsigned char *dest, unsigned int dest_width); | |
| 412 #define vp8_horizontal_line_5_3_scale vp8_horizontal_line_5_3_scale_c | |
| 413 | |
| 414 void vp8_vertical_band_5_3_scale_c(unsigned char *source, unsigned int src_pitch
, unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width); | |
| 415 #define vp8_vertical_band_5_3_scale vp8_vertical_band_5_3_scale_c | |
| 416 | |
| 417 void vp8_horizontal_line_2_1_scale_c(const unsigned char *source, unsigned int s
ource_width, unsigned char *dest, unsigned int dest_width); | |
| 418 #define vp8_horizontal_line_2_1_scale vp8_horizontal_line_2_1_scale_c | |
| 419 | |
| 420 void vp8_vertical_band_2_1_scale_c(unsigned char *source, unsigned int src_pitch
, unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width); | |
| 421 #define vp8_vertical_band_2_1_scale vp8_vertical_band_2_1_scale_c | |
| 422 | |
| 423 void vp8_vertical_band_2_1_scale_i_c(unsigned char *source, unsigned int src_pit
ch, unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width); | |
| 424 #define vp8_vertical_band_2_1_scale_i vp8_vertical_band_2_1_scale_i_c | |
| 425 | |
| 426 void vp8_yv12_extend_frame_borders_c(struct yv12_buffer_config *ybf); | |
| 427 #define vp8_yv12_extend_frame_borders vp8_yv12_extend_frame_borders_c | |
| 428 | |
| 429 void vp8_yv12_copy_frame_c(struct yv12_buffer_config *src_ybc, struct yv12_buffe
r_config *dst_ybc); | |
| 430 #define vp8_yv12_copy_frame vp8_yv12_copy_frame_c | |
| 431 | |
| 432 void vp8_yv12_copy_y_c(struct yv12_buffer_config *src_ybc, struct yv12_buffer_co
nfig *dst_ybc); | |
| 433 #define vp8_yv12_copy_y vp8_yv12_copy_y_c | |
| 434 | |
| 435 void vpx_rtcd(void); | |
| 436 #include "vpx_config.h" | |
| 437 | |
| 438 #ifdef RTCD_C | |
| 439 #include "vpx_ports/arm.h" | |
| 440 static void setup_rtcd_internal(void) | |
| 441 { | |
| 442 int flags = arm_cpu_caps(); | |
| 443 | |
| 444 (void)flags; | |
| 445 | |
| 446 vp8_dequantize_b = vp8_dequantize_b_c; | |
| 447 if (flags & HAS_MEDIA) vp8_dequantize_b = vp8_dequantize_b_v6; | |
| 448 | |
| 449 vp8_dequant_idct_add = vp8_dequant_idct_add_c; | |
| 450 if (flags & HAS_MEDIA) vp8_dequant_idct_add = vp8_dequant_idct_add_v6; | |
| 451 | |
| 452 vp8_dequant_idct_add_y_block = vp8_dequant_idct_add_y_block_c; | |
| 453 if (flags & HAS_MEDIA) vp8_dequant_idct_add_y_block = vp8_dequant_idct_add_y
_block_v6; | |
| 454 | |
| 455 vp8_dequant_idct_add_uv_block = vp8_dequant_idct_add_uv_block_c; | |
| 456 if (flags & HAS_MEDIA) vp8_dequant_idct_add_uv_block = vp8_dequant_idct_add_
uv_block_v6; | |
| 457 | |
| 458 vp8_loop_filter_mbv = vp8_loop_filter_mbv_c; | |
| 459 if (flags & HAS_MEDIA) vp8_loop_filter_mbv = vp8_loop_filter_mbv_armv6; | |
| 460 | |
| 461 vp8_loop_filter_bv = vp8_loop_filter_bv_c; | |
| 462 if (flags & HAS_MEDIA) vp8_loop_filter_bv = vp8_loop_filter_bv_armv6; | |
| 463 | |
| 464 vp8_loop_filter_mbh = vp8_loop_filter_mbh_c; | |
| 465 if (flags & HAS_MEDIA) vp8_loop_filter_mbh = vp8_loop_filter_mbh_armv6; | |
| 466 | |
| 467 vp8_loop_filter_bh = vp8_loop_filter_bh_c; | |
| 468 if (flags & HAS_MEDIA) vp8_loop_filter_bh = vp8_loop_filter_bh_armv6; | |
| 469 | |
| 470 vp8_loop_filter_simple_mbv = vp8_loop_filter_simple_vertical_edge_c; | |
| 471 if (flags & HAS_MEDIA) vp8_loop_filter_simple_mbv = vp8_loop_filter_simple_v
ertical_edge_armv6; | |
| 472 | |
| 473 vp8_loop_filter_simple_mbh = vp8_loop_filter_simple_horizontal_edge_c; | |
| 474 if (flags & HAS_MEDIA) vp8_loop_filter_simple_mbh = vp8_loop_filter_simple_h
orizontal_edge_armv6; | |
| 475 | |
| 476 vp8_loop_filter_simple_bv = vp8_loop_filter_bvs_c; | |
| 477 if (flags & HAS_MEDIA) vp8_loop_filter_simple_bv = vp8_loop_filter_bvs_armv6
; | |
| 478 | |
| 479 vp8_loop_filter_simple_bh = vp8_loop_filter_bhs_c; | |
| 480 if (flags & HAS_MEDIA) vp8_loop_filter_simple_bh = vp8_loop_filter_bhs_armv6
; | |
| 481 | |
| 482 vp8_short_idct4x4llm = vp8_short_idct4x4llm_c; | |
| 483 if (flags & HAS_MEDIA) vp8_short_idct4x4llm = vp8_short_idct4x4llm_v6_dual; | |
| 484 | |
| 485 | |
| 486 vp8_short_inv_walsh4x4 = vp8_short_inv_walsh4x4_c; | |
| 487 if (flags & HAS_MEDIA) vp8_short_inv_walsh4x4 = vp8_short_inv_walsh4x4_v6; | |
| 488 | |
| 489 vp8_dc_only_idct_add = vp8_dc_only_idct_add_c; | |
| 490 if (flags & HAS_MEDIA) vp8_dc_only_idct_add = vp8_dc_only_idct_add_v6; | |
| 491 | |
| 492 vp8_copy_mem16x16 = vp8_copy_mem16x16_c; | |
| 493 if (flags & HAS_MEDIA) vp8_copy_mem16x16 = vp8_copy_mem16x16_v6; | |
| 494 | |
| 495 vp8_copy_mem8x8 = vp8_copy_mem8x8_c; | |
| 496 if (flags & HAS_MEDIA) vp8_copy_mem8x8 = vp8_copy_mem8x8_v6; | |
| 497 | |
| 498 vp8_copy_mem8x4 = vp8_copy_mem8x4_c; | |
| 499 if (flags & HAS_MEDIA) vp8_copy_mem8x4 = vp8_copy_mem8x4_v6; | |
| 500 | |
| 501 | |
| 502 | |
| 503 vp8_intra4x4_predict = vp8_intra4x4_predict_c; | |
| 504 if (flags & HAS_MEDIA) vp8_intra4x4_predict = vp8_intra4x4_predict_armv6; | |
| 505 | |
| 506 | |
| 507 | |
| 508 | |
| 509 | |
| 510 | |
| 511 | |
| 512 | |
| 513 | |
| 514 | |
| 515 | |
| 516 vp8_sixtap_predict16x16 = vp8_sixtap_predict16x16_c; | |
| 517 if (flags & HAS_MEDIA) vp8_sixtap_predict16x16 = vp8_sixtap_predict16x16_arm
v6; | |
| 518 | |
| 519 vp8_sixtap_predict8x8 = vp8_sixtap_predict8x8_c; | |
| 520 if (flags & HAS_MEDIA) vp8_sixtap_predict8x8 = vp8_sixtap_predict8x8_armv6; | |
| 521 | |
| 522 vp8_sixtap_predict8x4 = vp8_sixtap_predict8x4_c; | |
| 523 if (flags & HAS_MEDIA) vp8_sixtap_predict8x4 = vp8_sixtap_predict8x4_armv6; | |
| 524 | |
| 525 vp8_sixtap_predict4x4 = vp8_sixtap_predict4x4_c; | |
| 526 if (flags & HAS_MEDIA) vp8_sixtap_predict4x4 = vp8_sixtap_predict4x4_armv6; | |
| 527 | |
| 528 vp8_bilinear_predict16x16 = vp8_bilinear_predict16x16_c; | |
| 529 if (flags & HAS_MEDIA) vp8_bilinear_predict16x16 = vp8_bilinear_predict16x16
_armv6; | |
| 530 | |
| 531 vp8_bilinear_predict8x8 = vp8_bilinear_predict8x8_c; | |
| 532 if (flags & HAS_MEDIA) vp8_bilinear_predict8x8 = vp8_bilinear_predict8x8_arm
v6; | |
| 533 | |
| 534 vp8_bilinear_predict8x4 = vp8_bilinear_predict8x4_c; | |
| 535 if (flags & HAS_MEDIA) vp8_bilinear_predict8x4 = vp8_bilinear_predict8x4_arm
v6; | |
| 536 | |
| 537 vp8_bilinear_predict4x4 = vp8_bilinear_predict4x4_c; | |
| 538 if (flags & HAS_MEDIA) vp8_bilinear_predict4x4 = vp8_bilinear_predict4x4_arm
v6; | |
| 539 | |
| 540 | |
| 541 vp8_variance8x8 = vp8_variance8x8_c; | |
| 542 if (flags & HAS_MEDIA) vp8_variance8x8 = vp8_variance8x8_armv6; | |
| 543 | |
| 544 | |
| 545 | |
| 546 vp8_variance16x16 = vp8_variance16x16_c; | |
| 547 if (flags & HAS_MEDIA) vp8_variance16x16 = vp8_variance16x16_armv6; | |
| 548 | |
| 549 | |
| 550 vp8_sub_pixel_variance8x8 = vp8_sub_pixel_variance8x8_c; | |
| 551 if (flags & HAS_MEDIA) vp8_sub_pixel_variance8x8 = vp8_sub_pixel_variance8x8
_armv6; | |
| 552 | |
| 553 | |
| 554 | |
| 555 vp8_sub_pixel_variance16x16 = vp8_sub_pixel_variance16x16_c; | |
| 556 if (flags & HAS_MEDIA) vp8_sub_pixel_variance16x16 = vp8_sub_pixel_variance1
6x16_armv6; | |
| 557 | |
| 558 vp8_variance_halfpixvar16x16_h = vp8_variance_halfpixvar16x16_h_c; | |
| 559 if (flags & HAS_MEDIA) vp8_variance_halfpixvar16x16_h = vp8_variance_halfpix
var16x16_h_armv6; | |
| 560 | |
| 561 vp8_variance_halfpixvar16x16_v = vp8_variance_halfpixvar16x16_v_c; | |
| 562 if (flags & HAS_MEDIA) vp8_variance_halfpixvar16x16_v = vp8_variance_halfpix
var16x16_v_armv6; | |
| 563 | |
| 564 vp8_variance_halfpixvar16x16_hv = vp8_variance_halfpixvar16x16_hv_c; | |
| 565 if (flags & HAS_MEDIA) vp8_variance_halfpixvar16x16_hv = vp8_variance_halfpi
xvar16x16_hv_armv6; | |
| 566 | |
| 567 | |
| 568 | |
| 569 | |
| 570 | |
| 571 vp8_sad16x16 = vp8_sad16x16_c; | |
| 572 if (flags & HAS_MEDIA) vp8_sad16x16 = vp8_sad16x16_armv6; | |
| 573 | |
| 574 | |
| 575 | |
| 576 | |
| 577 | |
| 578 | |
| 579 | |
| 580 | |
| 581 | |
| 582 | |
| 583 | |
| 584 | |
| 585 | |
| 586 | |
| 587 | |
| 588 | |
| 589 | |
| 590 | |
| 591 vp8_mse16x16 = vp8_mse16x16_c; | |
| 592 if (flags & HAS_MEDIA) vp8_mse16x16 = vp8_mse16x16_armv6; | |
| 593 | |
| 594 | |
| 595 vp8_short_fdct4x4 = vp8_short_fdct4x4_c; | |
| 596 if (flags & HAS_MEDIA) vp8_short_fdct4x4 = vp8_short_fdct4x4_armv6; | |
| 597 | |
| 598 vp8_short_fdct8x4 = vp8_short_fdct8x4_c; | |
| 599 if (flags & HAS_MEDIA) vp8_short_fdct8x4 = vp8_short_fdct8x4_armv6; | |
| 600 | |
| 601 vp8_short_walsh4x4 = vp8_short_walsh4x4_c; | |
| 602 if (flags & HAS_MEDIA) vp8_short_walsh4x4 = vp8_short_walsh4x4_armv6; | |
| 603 | |
| 604 | |
| 605 vp8_fast_quantize_b = vp8_fast_quantize_b_c; | |
| 606 if (flags & HAS_MEDIA) vp8_fast_quantize_b = vp8_fast_quantize_b_armv6; | |
| 607 | |
| 608 | |
| 609 | |
| 610 | |
| 611 | |
| 612 | |
| 613 | |
| 614 | |
| 615 | |
| 616 vp8_subtract_b = vp8_subtract_b_c; | |
| 617 if (flags & HAS_MEDIA) vp8_subtract_b = vp8_subtract_b_armv6; | |
| 618 | |
| 619 vp8_subtract_mby = vp8_subtract_mby_c; | |
| 620 if (flags & HAS_MEDIA) vp8_subtract_mby = vp8_subtract_mby_armv6; | |
| 621 | |
| 622 vp8_subtract_mbuv = vp8_subtract_mbuv_c; | |
| 623 if (flags & HAS_MEDIA) vp8_subtract_mbuv = vp8_subtract_mbuv_armv6; | |
| 624 } | |
| 625 #endif | |
| 626 #endif | |
| OLD | NEW |