| OLD | NEW |
| 1 #ifndef VP8_RTCD_H_ | 1 #ifndef VP8_RTCD_H_ |
| 2 #define VP8_RTCD_H_ | 2 #define VP8_RTCD_H_ |
| 3 | 3 |
| 4 #ifdef RTCD_C | 4 #ifdef RTCD_C |
| 5 #define RTCD_EXTERN | 5 #define RTCD_EXTERN |
| 6 #else | 6 #else |
| 7 #define RTCD_EXTERN extern | 7 #define RTCD_EXTERN extern |
| 8 #endif | 8 #endif |
| 9 | 9 |
| 10 /* | 10 /* |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 | 67 |
| 68 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); | 68 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); |
| 69 void vp8_build_intra_predictors_mby_s_sse2(struct macroblockd *x, unsigned char
* yabove_row, unsigned char * yleft, int left_stride, unsigned char * ypred_ptr,
int y_stride); | 69 void vp8_build_intra_predictors_mby_s_sse2(struct macroblockd *x, unsigned char
* yabove_row, unsigned char * yleft, int left_stride, unsigned char * ypred_ptr,
int y_stride); |
| 70 void vp8_build_intra_predictors_mby_s_ssse3(struct macroblockd *x, unsigned char
* yabove_row, unsigned char * yleft, int left_stride, unsigned char * ypred_ptr
, int y_stride); | 70 void vp8_build_intra_predictors_mby_s_ssse3(struct macroblockd *x, unsigned char
* yabove_row, unsigned char * yleft, int left_stride, unsigned char * ypred_ptr
, int y_stride); |
| 71 RTCD_EXTERN void (*vp8_build_intra_predictors_mby_s)(struct macroblockd *x, unsi
gned char * yabove_row, unsigned char * yleft, int left_stride, unsigned char *
ypred_ptr, int y_stride); | 71 RTCD_EXTERN void (*vp8_build_intra_predictors_mby_s)(struct macroblockd *x, unsi
gned char * yabove_row, unsigned char * yleft, int left_stride, unsigned char *
ypred_ptr, int y_stride); |
| 72 | 72 |
| 73 void vp8_clear_system_state_c(); | 73 void vp8_clear_system_state_c(); |
| 74 void vpx_reset_mmx_state(); | 74 void vpx_reset_mmx_state(); |
| 75 RTCD_EXTERN void (*vp8_clear_system_state)(); | 75 RTCD_EXTERN void (*vp8_clear_system_state)(); |
| 76 | 76 |
| 77 void vp8_copy32xn_c(const unsigned char *src_ptr, int source_stride, const unsig
ned char *ref_ptr, int ref_stride, int n); | 77 void vp8_copy32xn_c(const unsigned char *src_ptr, int source_stride, unsigned ch
ar *dst_ptr, int dst_stride, int n); |
| 78 void vp8_copy32xn_sse2(const unsigned char *src_ptr, int source_stride, const un
signed char *ref_ptr, int ref_stride, int n); | 78 void vp8_copy32xn_sse2(const unsigned char *src_ptr, int source_stride, unsigned
char *dst_ptr, int dst_stride, int n); |
| 79 void vp8_copy32xn_sse3(const unsigned char *src_ptr, int source_stride, const un
signed char *ref_ptr, int ref_stride, int n); | 79 void vp8_copy32xn_sse3(const unsigned char *src_ptr, int source_stride, unsigned
char *dst_ptr, int dst_stride, int n); |
| 80 RTCD_EXTERN void (*vp8_copy32xn)(const unsigned char *src_ptr, int source_stride
, const unsigned char *ref_ptr, int ref_stride, int n); | 80 RTCD_EXTERN void (*vp8_copy32xn)(const unsigned char *src_ptr, int source_stride
, unsigned char *dst_ptr, int dst_stride, int n); |
| 81 | 81 |
| 82 void vp8_copy_mem16x16_c(unsigned char *src, int src_pitch, unsigned char *dst,
int dst_pitch); | 82 void vp8_copy_mem16x16_c(unsigned char *src, int src_pitch, unsigned char *dst,
int dst_pitch); |
| 83 void vp8_copy_mem16x16_mmx(unsigned char *src, int src_pitch, unsigned char *dst
, int dst_pitch); | 83 void vp8_copy_mem16x16_mmx(unsigned char *src, int src_pitch, unsigned char *dst
, int dst_pitch); |
| 84 void vp8_copy_mem16x16_sse2(unsigned char *src, int src_pitch, unsigned char *ds
t, int dst_pitch); | 84 void vp8_copy_mem16x16_sse2(unsigned char *src, int src_pitch, unsigned char *ds
t, int dst_pitch); |
| 85 RTCD_EXTERN void (*vp8_copy_mem16x16)(unsigned char *src, int src_pitch, unsigne
d char *dst, int dst_pitch); | 85 RTCD_EXTERN void (*vp8_copy_mem16x16)(unsigned char *src, int src_pitch, unsigne
d char *dst, int dst_pitch); |
| 86 | 86 |
| 87 void vp8_copy_mem8x4_c(unsigned char *src, int src_pitch, unsigned char *dst, in
t dst_pitch); | 87 void vp8_copy_mem8x4_c(unsigned char *src, int src_pitch, unsigned char *dst, in
t dst_pitch); |
| 88 void vp8_copy_mem8x4_mmx(unsigned char *src, int src_pitch, unsigned char *dst,
int dst_pitch); | 88 void vp8_copy_mem8x4_mmx(unsigned char *src, int src_pitch, unsigned char *dst,
int dst_pitch); |
| 89 RTCD_EXTERN void (*vp8_copy_mem8x4)(unsigned char *src, int src_pitch, unsigned
char *dst, int dst_pitch); | 89 RTCD_EXTERN void (*vp8_copy_mem8x4)(unsigned char *src, int src_pitch, unsigned
char *dst, int dst_pitch); |
| 90 | 90 |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 140 | 140 |
| 141 void vp8_filter_by_weight8x8_c(unsigned char *src, int src_stride, unsigned char
*dst, int dst_stride, int src_weight); | 141 void vp8_filter_by_weight8x8_c(unsigned char *src, int src_stride, unsigned char
*dst, int dst_stride, int src_weight); |
| 142 void vp8_filter_by_weight8x8_sse2(unsigned char *src, int src_stride, unsigned c
har *dst, int dst_stride, int src_weight); | 142 void vp8_filter_by_weight8x8_sse2(unsigned char *src, int src_stride, unsigned c
har *dst, int dst_stride, int src_weight); |
| 143 RTCD_EXTERN void (*vp8_filter_by_weight8x8)(unsigned char *src, int src_stride,
unsigned char *dst, int dst_stride, int src_weight); | 143 RTCD_EXTERN void (*vp8_filter_by_weight8x8)(unsigned char *src, int src_stride,
unsigned char *dst, int dst_stride, int src_weight); |
| 144 | 144 |
| 145 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); | 145 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); |
| 146 int vp8_full_search_sadx3(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); | 146 int vp8_full_search_sadx3(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); |
| 147 int vp8_full_search_sadx8(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); | 147 int vp8_full_search_sadx8(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); |
| 148 RTCD_EXTERN int (*vp8_full_search_sad)(struct macroblock *x, struct block *b, st
ruct blockd *d, union int_mv *ref_mv, int sad_per_bit, int distance, struct vari
ance_vtable *fn_ptr, int *mvcost[2], union int_mv *center_mv); | 148 RTCD_EXTERN int (*vp8_full_search_sad)(struct macroblock *x, struct block *b, st
ruct blockd *d, union int_mv *ref_mv, int sad_per_bit, int distance, struct vari
ance_vtable *fn_ptr, int *mvcost[2], union int_mv *center_mv); |
| 149 | 149 |
| 150 unsigned int vp8_get4x4sse_cs_c(const unsigned char *src_ptr, int source_stride,
const unsigned char *ref_ptr, int ref_stride); | |
| 151 unsigned int vp8_get4x4sse_cs_mmx(const unsigned char *src_ptr, int source_strid
e, const unsigned char *ref_ptr, int ref_stride); | |
| 152 RTCD_EXTERN unsigned int (*vp8_get4x4sse_cs)(const unsigned char *src_ptr, int s
ource_stride, const unsigned char *ref_ptr, int ref_stride); | |
| 153 | |
| 154 unsigned int vp8_get_mb_ss_c(const short *); | |
| 155 unsigned int vp8_get_mb_ss_mmx(const short *); | |
| 156 unsigned int vp8_get_mb_ss_sse2(const short *); | |
| 157 RTCD_EXTERN unsigned int (*vp8_get_mb_ss)(const short *); | |
| 158 | |
| 159 void vp8_intra4x4_predict_c(unsigned char *Above, unsigned char *yleft, int left
_stride, int b_mode, unsigned char *dst, int dst_stride, unsigned char top_left)
; | 150 void vp8_intra4x4_predict_c(unsigned char *Above, unsigned char *yleft, int left
_stride, int b_mode, unsigned char *dst, int dst_stride, unsigned char top_left)
; |
| 160 #define vp8_intra4x4_predict vp8_intra4x4_predict_c | 151 #define vp8_intra4x4_predict vp8_intra4x4_predict_c |
| 161 | 152 |
| 162 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); | 153 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); |
| 163 void vp8_loop_filter_bh_mmx(unsigned char *y, unsigned char *u, unsigned char *v
, int ystride, int uv_stride, struct loop_filter_info *lfi); | 154 void vp8_loop_filter_bh_mmx(unsigned char *y, unsigned char *u, unsigned char *v
, int ystride, int uv_stride, struct loop_filter_info *lfi); |
| 164 void vp8_loop_filter_bh_sse2(unsigned char *y, unsigned char *u, unsigned char *
v, int ystride, int uv_stride, struct loop_filter_info *lfi); | 155 void vp8_loop_filter_bh_sse2(unsigned char *y, unsigned char *u, unsigned char *
v, int ystride, int uv_stride, struct loop_filter_info *lfi); |
| 165 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); | 156 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); |
| 166 | 157 |
| 167 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); | 158 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); |
| 168 void vp8_loop_filter_bv_mmx(unsigned char *y, unsigned char *u, unsigned char *v
, int ystride, int uv_stride, struct loop_filter_info *lfi); | 159 void vp8_loop_filter_bv_mmx(unsigned char *y, unsigned char *u, unsigned char *v
, int ystride, int uv_stride, struct loop_filter_info *lfi); |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 211 void vp8_mbpost_proc_down_c(unsigned char *dst, int pitch, int rows, int cols,in
t flimit); | 202 void vp8_mbpost_proc_down_c(unsigned char *dst, int pitch, int rows, int cols,in
t flimit); |
| 212 void vp8_mbpost_proc_down_mmx(unsigned char *dst, int pitch, int rows, int cols,
int flimit); | 203 void vp8_mbpost_proc_down_mmx(unsigned char *dst, int pitch, int rows, int cols,
int flimit); |
| 213 void vp8_mbpost_proc_down_xmm(unsigned char *dst, int pitch, int rows, int cols,
int flimit); | 204 void vp8_mbpost_proc_down_xmm(unsigned char *dst, int pitch, int rows, int cols,
int flimit); |
| 214 RTCD_EXTERN void (*vp8_mbpost_proc_down)(unsigned char *dst, int pitch, int rows
, int cols,int flimit); | 205 RTCD_EXTERN void (*vp8_mbpost_proc_down)(unsigned char *dst, int pitch, int rows
, int cols,int flimit); |
| 215 | 206 |
| 216 int vp8_mbuverror_c(struct macroblock *mb); | 207 int vp8_mbuverror_c(struct macroblock *mb); |
| 217 int vp8_mbuverror_mmx(struct macroblock *mb); | 208 int vp8_mbuverror_mmx(struct macroblock *mb); |
| 218 int vp8_mbuverror_xmm(struct macroblock *mb); | 209 int vp8_mbuverror_xmm(struct macroblock *mb); |
| 219 RTCD_EXTERN int (*vp8_mbuverror)(struct macroblock *mb); | 210 RTCD_EXTERN int (*vp8_mbuverror)(struct macroblock *mb); |
| 220 | 211 |
| 221 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); | |
| 222 unsigned int vp8_mse16x16_mmx(const unsigned char *src_ptr, int source_stride, c
onst unsigned char *ref_ptr, int ref_stride, unsigned int *sse); | |
| 223 unsigned int vp8_mse16x16_wmt(const unsigned char *src_ptr, int source_stride, c
onst unsigned char *ref_ptr, int ref_stride, unsigned int *sse); | |
| 224 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); | |
| 225 | |
| 226 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); | 212 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); |
| 227 void vp8_plane_add_noise_mmx(unsigned char *s, char *noise, char blackclamp[16],
char whiteclamp[16], char bothclamp[16], unsigned int w, unsigned int h, int pi
tch); | 213 void vp8_plane_add_noise_mmx(unsigned char *s, char *noise, char blackclamp[16],
char whiteclamp[16], char bothclamp[16], unsigned int w, unsigned int h, int pi
tch); |
| 228 void vp8_plane_add_noise_wmt(unsigned char *s, char *noise, char blackclamp[16],
char whiteclamp[16], char bothclamp[16], unsigned int w, unsigned int h, int pi
tch); | 214 void vp8_plane_add_noise_wmt(unsigned char *s, char *noise, char blackclamp[16],
char whiteclamp[16], char bothclamp[16], unsigned int w, unsigned int h, int pi
tch); |
| 229 RTCD_EXTERN void (*vp8_plane_add_noise)(unsigned char *s, char *noise, char blac
kclamp[16], char whiteclamp[16], char bothclamp[16], unsigned int w, unsigned in
t h, int pitch); | 215 RTCD_EXTERN void (*vp8_plane_add_noise)(unsigned char *s, char *noise, char blac
kclamp[16], char whiteclamp[16], char bothclamp[16], unsigned int w, unsigned in
t h, int pitch); |
| 230 | 216 |
| 231 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); | 217 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); |
| 232 void vp8_post_proc_down_and_across_mb_row_sse2(unsigned char *src, unsigned char
*dst, int src_pitch, int dst_pitch, int cols, unsigned char *flimits, int size)
; | 218 void vp8_post_proc_down_and_across_mb_row_sse2(unsigned char *src, unsigned char
*dst, int src_pitch, int dst_pitch, int cols, unsigned char *flimits, int size)
; |
| 233 RTCD_EXTERN void (*vp8_post_proc_down_and_across_mb_row)(unsigned char *src, uns
igned char *dst, int src_pitch, int dst_pitch, int cols, unsigned char *flimits,
int size); | 219 RTCD_EXTERN void (*vp8_post_proc_down_and_across_mb_row)(unsigned char *src, uns
igned char *dst, int src_pitch, int dst_pitch, int cols, unsigned char *flimits,
int size); |
| 234 | 220 |
| 235 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); | 221 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); |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 330 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); | 316 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); |
| 331 void vp8_subtract_mbuv_mmx(short *diff, unsigned char *usrc, unsigned char *vsrc
, int src_stride, unsigned char *upred, unsigned char *vpred, int pred_stride); | 317 void vp8_subtract_mbuv_mmx(short *diff, unsigned char *usrc, unsigned char *vsrc
, int src_stride, unsigned char *upred, unsigned char *vpred, int pred_stride); |
| 332 void vp8_subtract_mbuv_sse2(short *diff, unsigned char *usrc, unsigned char *vsr
c, int src_stride, unsigned char *upred, unsigned char *vpred, int pred_stride); | 318 void vp8_subtract_mbuv_sse2(short *diff, unsigned char *usrc, unsigned char *vsr
c, int src_stride, unsigned char *upred, unsigned char *vpred, int pred_stride); |
| 333 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); | 319 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); |
| 334 | 320 |
| 335 void vp8_subtract_mby_c(short *diff, unsigned char *src, int src_stride, unsigne
d char *pred, int pred_stride); | 321 void vp8_subtract_mby_c(short *diff, unsigned char *src, int src_stride, unsigne
d char *pred, int pred_stride); |
| 336 void vp8_subtract_mby_mmx(short *diff, unsigned char *src, int src_stride, unsig
ned char *pred, int pred_stride); | 322 void vp8_subtract_mby_mmx(short *diff, unsigned char *src, int src_stride, unsig
ned char *pred, int pred_stride); |
| 337 void vp8_subtract_mby_sse2(short *diff, unsigned char *src, int src_stride, unsi
gned char *pred, int pred_stride); | 323 void vp8_subtract_mby_sse2(short *diff, unsigned char *src, int src_stride, unsi
gned char *pred, int pred_stride); |
| 338 RTCD_EXTERN void (*vp8_subtract_mby)(short *diff, unsigned char *src, int src_st
ride, unsigned char *pred, int pred_stride); | 324 RTCD_EXTERN void (*vp8_subtract_mby)(short *diff, unsigned char *src, int src_st
ride, unsigned char *pred, int pred_stride); |
| 339 | 325 |
| 340 unsigned int vp8_variance16x16_c(const unsigned char *src_ptr, int source_stride
, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); | |
| 341 unsigned int vp8_variance16x16_mmx(const unsigned char *src_ptr, int source_stri
de, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); | |
| 342 unsigned int vp8_variance16x16_wmt(const unsigned char *src_ptr, int source_stri
de, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); | |
| 343 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)
; | |
| 344 | |
| 345 unsigned int vp8_variance16x8_c(const unsigned char *src_ptr, int source_stride,
const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); | |
| 346 unsigned int vp8_variance16x8_mmx(const unsigned char *src_ptr, int source_strid
e, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); | |
| 347 unsigned int vp8_variance16x8_wmt(const unsigned char *src_ptr, int source_strid
e, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); | |
| 348 RTCD_EXTERN unsigned int (*vp8_variance16x8)(const unsigned char *src_ptr, int s
ource_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); | |
| 349 | |
| 350 unsigned int vp8_variance4x4_c(const unsigned char *src_ptr, int source_stride,
const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); | |
| 351 unsigned int vp8_variance4x4_mmx(const unsigned char *src_ptr, int source_stride
, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); | |
| 352 unsigned int vp8_variance4x4_wmt(const unsigned char *src_ptr, int source_stride
, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); | |
| 353 RTCD_EXTERN unsigned int (*vp8_variance4x4)(const unsigned char *src_ptr, int so
urce_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); | |
| 354 | |
| 355 unsigned int vp8_variance8x16_c(const unsigned char *src_ptr, int source_stride,
const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); | |
| 356 unsigned int vp8_variance8x16_mmx(const unsigned char *src_ptr, int source_strid
e, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); | |
| 357 unsigned int vp8_variance8x16_wmt(const unsigned char *src_ptr, int source_strid
e, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); | |
| 358 RTCD_EXTERN unsigned int (*vp8_variance8x16)(const unsigned char *src_ptr, int s
ource_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); | |
| 359 | |
| 360 unsigned int vp8_variance8x8_c(const unsigned char *src_ptr, int source_stride,
const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); | |
| 361 unsigned int vp8_variance8x8_mmx(const unsigned char *src_ptr, int source_stride
, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); | |
| 362 unsigned int vp8_variance8x8_wmt(const unsigned char *src_ptr, int source_stride
, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); | |
| 363 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); | |
| 364 | |
| 365 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)
; | 326 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)
; |
| 366 unsigned int vp8_variance_halfpixvar16x16_h_mmx(const unsigned char *src_ptr, in
t source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *ss
e); | 327 unsigned int vp8_variance_halfpixvar16x16_h_mmx(const unsigned char *src_ptr, in
t source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *ss
e); |
| 367 unsigned int vp8_variance_halfpixvar16x16_h_wmt(const unsigned char *src_ptr, in
t source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *ss
e); | 328 unsigned int vp8_variance_halfpixvar16x16_h_wmt(const unsigned char *src_ptr, in
t source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *ss
e); |
| 368 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); | 329 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); |
| 369 | 330 |
| 370 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
); | 331 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
); |
| 371 unsigned int vp8_variance_halfpixvar16x16_hv_mmx(const unsigned char *src_ptr, i
nt source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *s
se); | 332 unsigned int vp8_variance_halfpixvar16x16_hv_mmx(const unsigned char *src_ptr, i
nt source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *s
se); |
| 372 unsigned int vp8_variance_halfpixvar16x16_hv_wmt(const unsigned char *src_ptr, i
nt source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *s
se); | 333 unsigned int vp8_variance_halfpixvar16x16_hv_wmt(const unsigned char *src_ptr, i
nt source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *s
se); |
| 373 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); | 334 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); |
| 374 | 335 |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 441 vp8_fast_quantize_b = vp8_fast_quantize_b_c; | 402 vp8_fast_quantize_b = vp8_fast_quantize_b_c; |
| 442 if (flags & HAS_SSE2) vp8_fast_quantize_b = vp8_fast_quantize_b_sse2; | 403 if (flags & HAS_SSE2) vp8_fast_quantize_b = vp8_fast_quantize_b_sse2; |
| 443 if (flags & HAS_SSSE3) vp8_fast_quantize_b = vp8_fast_quantize_b_ssse3; | 404 if (flags & HAS_SSSE3) vp8_fast_quantize_b = vp8_fast_quantize_b_ssse3; |
| 444 vp8_filter_by_weight16x16 = vp8_filter_by_weight16x16_c; | 405 vp8_filter_by_weight16x16 = vp8_filter_by_weight16x16_c; |
| 445 if (flags & HAS_SSE2) vp8_filter_by_weight16x16 = vp8_filter_by_weight16x16_
sse2; | 406 if (flags & HAS_SSE2) vp8_filter_by_weight16x16 = vp8_filter_by_weight16x16_
sse2; |
| 446 vp8_filter_by_weight8x8 = vp8_filter_by_weight8x8_c; | 407 vp8_filter_by_weight8x8 = vp8_filter_by_weight8x8_c; |
| 447 if (flags & HAS_SSE2) vp8_filter_by_weight8x8 = vp8_filter_by_weight8x8_sse2
; | 408 if (flags & HAS_SSE2) vp8_filter_by_weight8x8 = vp8_filter_by_weight8x8_sse2
; |
| 448 vp8_full_search_sad = vp8_full_search_sad_c; | 409 vp8_full_search_sad = vp8_full_search_sad_c; |
| 449 if (flags & HAS_SSE3) vp8_full_search_sad = vp8_full_search_sadx3; | 410 if (flags & HAS_SSE3) vp8_full_search_sad = vp8_full_search_sadx3; |
| 450 if (flags & HAS_SSE4_1) vp8_full_search_sad = vp8_full_search_sadx8; | 411 if (flags & HAS_SSE4_1) vp8_full_search_sad = vp8_full_search_sadx8; |
| 451 vp8_get4x4sse_cs = vp8_get4x4sse_cs_c; | |
| 452 if (flags & HAS_MMX) vp8_get4x4sse_cs = vp8_get4x4sse_cs_mmx; | |
| 453 vp8_get_mb_ss = vp8_get_mb_ss_c; | |
| 454 if (flags & HAS_MMX) vp8_get_mb_ss = vp8_get_mb_ss_mmx; | |
| 455 if (flags & HAS_SSE2) vp8_get_mb_ss = vp8_get_mb_ss_sse2; | |
| 456 vp8_loop_filter_bh = vp8_loop_filter_bh_c; | 412 vp8_loop_filter_bh = vp8_loop_filter_bh_c; |
| 457 if (flags & HAS_MMX) vp8_loop_filter_bh = vp8_loop_filter_bh_mmx; | 413 if (flags & HAS_MMX) vp8_loop_filter_bh = vp8_loop_filter_bh_mmx; |
| 458 if (flags & HAS_SSE2) vp8_loop_filter_bh = vp8_loop_filter_bh_sse2; | 414 if (flags & HAS_SSE2) vp8_loop_filter_bh = vp8_loop_filter_bh_sse2; |
| 459 vp8_loop_filter_bv = vp8_loop_filter_bv_c; | 415 vp8_loop_filter_bv = vp8_loop_filter_bv_c; |
| 460 if (flags & HAS_MMX) vp8_loop_filter_bv = vp8_loop_filter_bv_mmx; | 416 if (flags & HAS_MMX) vp8_loop_filter_bv = vp8_loop_filter_bv_mmx; |
| 461 if (flags & HAS_SSE2) vp8_loop_filter_bv = vp8_loop_filter_bv_sse2; | 417 if (flags & HAS_SSE2) vp8_loop_filter_bv = vp8_loop_filter_bv_sse2; |
| 462 vp8_loop_filter_mbh = vp8_loop_filter_mbh_c; | 418 vp8_loop_filter_mbh = vp8_loop_filter_mbh_c; |
| 463 if (flags & HAS_MMX) vp8_loop_filter_mbh = vp8_loop_filter_mbh_mmx; | 419 if (flags & HAS_MMX) vp8_loop_filter_mbh = vp8_loop_filter_mbh_mmx; |
| 464 if (flags & HAS_SSE2) vp8_loop_filter_mbh = vp8_loop_filter_mbh_sse2; | 420 if (flags & HAS_SSE2) vp8_loop_filter_mbh = vp8_loop_filter_mbh_sse2; |
| 465 vp8_loop_filter_mbv = vp8_loop_filter_mbv_c; | 421 vp8_loop_filter_mbv = vp8_loop_filter_mbv_c; |
| (...skipping 15 matching lines...) Expand all Loading... |
| 481 if (flags & HAS_MMX) vp8_mbblock_error = vp8_mbblock_error_mmx; | 437 if (flags & HAS_MMX) vp8_mbblock_error = vp8_mbblock_error_mmx; |
| 482 if (flags & HAS_SSE2) vp8_mbblock_error = vp8_mbblock_error_xmm; | 438 if (flags & HAS_SSE2) vp8_mbblock_error = vp8_mbblock_error_xmm; |
| 483 vp8_mbpost_proc_across_ip = vp8_mbpost_proc_across_ip_c; | 439 vp8_mbpost_proc_across_ip = vp8_mbpost_proc_across_ip_c; |
| 484 if (flags & HAS_SSE2) vp8_mbpost_proc_across_ip = vp8_mbpost_proc_across_ip_
xmm; | 440 if (flags & HAS_SSE2) vp8_mbpost_proc_across_ip = vp8_mbpost_proc_across_ip_
xmm; |
| 485 vp8_mbpost_proc_down = vp8_mbpost_proc_down_c; | 441 vp8_mbpost_proc_down = vp8_mbpost_proc_down_c; |
| 486 if (flags & HAS_MMX) vp8_mbpost_proc_down = vp8_mbpost_proc_down_mmx; | 442 if (flags & HAS_MMX) vp8_mbpost_proc_down = vp8_mbpost_proc_down_mmx; |
| 487 if (flags & HAS_SSE2) vp8_mbpost_proc_down = vp8_mbpost_proc_down_xmm; | 443 if (flags & HAS_SSE2) vp8_mbpost_proc_down = vp8_mbpost_proc_down_xmm; |
| 488 vp8_mbuverror = vp8_mbuverror_c; | 444 vp8_mbuverror = vp8_mbuverror_c; |
| 489 if (flags & HAS_MMX) vp8_mbuverror = vp8_mbuverror_mmx; | 445 if (flags & HAS_MMX) vp8_mbuverror = vp8_mbuverror_mmx; |
| 490 if (flags & HAS_SSE2) vp8_mbuverror = vp8_mbuverror_xmm; | 446 if (flags & HAS_SSE2) vp8_mbuverror = vp8_mbuverror_xmm; |
| 491 vp8_mse16x16 = vp8_mse16x16_c; | |
| 492 if (flags & HAS_MMX) vp8_mse16x16 = vp8_mse16x16_mmx; | |
| 493 if (flags & HAS_SSE2) vp8_mse16x16 = vp8_mse16x16_wmt; | |
| 494 vp8_plane_add_noise = vp8_plane_add_noise_c; | 447 vp8_plane_add_noise = vp8_plane_add_noise_c; |
| 495 if (flags & HAS_MMX) vp8_plane_add_noise = vp8_plane_add_noise_mmx; | 448 if (flags & HAS_MMX) vp8_plane_add_noise = vp8_plane_add_noise_mmx; |
| 496 if (flags & HAS_SSE2) vp8_plane_add_noise = vp8_plane_add_noise_wmt; | 449 if (flags & HAS_SSE2) vp8_plane_add_noise = vp8_plane_add_noise_wmt; |
| 497 vp8_post_proc_down_and_across_mb_row = vp8_post_proc_down_and_across_mb_row_
c; | 450 vp8_post_proc_down_and_across_mb_row = vp8_post_proc_down_and_across_mb_row_
c; |
| 498 if (flags & HAS_SSE2) vp8_post_proc_down_and_across_mb_row = vp8_post_proc_d
own_and_across_mb_row_sse2; | 451 if (flags & HAS_SSE2) vp8_post_proc_down_and_across_mb_row = vp8_post_proc_d
own_and_across_mb_row_sse2; |
| 499 vp8_refining_search_sad = vp8_refining_search_sad_c; | 452 vp8_refining_search_sad = vp8_refining_search_sad_c; |
| 500 if (flags & HAS_SSE3) vp8_refining_search_sad = vp8_refining_search_sadx4; | 453 if (flags & HAS_SSE3) vp8_refining_search_sad = vp8_refining_search_sadx4; |
| 501 vp8_regular_quantize_b = vp8_regular_quantize_b_c; | 454 vp8_regular_quantize_b = vp8_regular_quantize_b_c; |
| 502 if (flags & HAS_SSE2) vp8_regular_quantize_b = vp8_regular_quantize_b_sse2; | 455 if (flags & HAS_SSE2) vp8_regular_quantize_b = vp8_regular_quantize_b_sse2; |
| 503 if (flags & HAS_SSE4_1) vp8_regular_quantize_b = vp8_regular_quantize_b_sse4
_1; | 456 if (flags & HAS_SSE4_1) vp8_regular_quantize_b = vp8_regular_quantize_b_sse4
_1; |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 551 if (flags & HAS_SSE2) vp8_sub_pixel_variance8x8 = vp8_sub_pixel_variance8x8_
wmt; | 504 if (flags & HAS_SSE2) vp8_sub_pixel_variance8x8 = vp8_sub_pixel_variance8x8_
wmt; |
| 552 vp8_subtract_b = vp8_subtract_b_c; | 505 vp8_subtract_b = vp8_subtract_b_c; |
| 553 if (flags & HAS_MMX) vp8_subtract_b = vp8_subtract_b_mmx; | 506 if (flags & HAS_MMX) vp8_subtract_b = vp8_subtract_b_mmx; |
| 554 if (flags & HAS_SSE2) vp8_subtract_b = vp8_subtract_b_sse2; | 507 if (flags & HAS_SSE2) vp8_subtract_b = vp8_subtract_b_sse2; |
| 555 vp8_subtract_mbuv = vp8_subtract_mbuv_c; | 508 vp8_subtract_mbuv = vp8_subtract_mbuv_c; |
| 556 if (flags & HAS_MMX) vp8_subtract_mbuv = vp8_subtract_mbuv_mmx; | 509 if (flags & HAS_MMX) vp8_subtract_mbuv = vp8_subtract_mbuv_mmx; |
| 557 if (flags & HAS_SSE2) vp8_subtract_mbuv = vp8_subtract_mbuv_sse2; | 510 if (flags & HAS_SSE2) vp8_subtract_mbuv = vp8_subtract_mbuv_sse2; |
| 558 vp8_subtract_mby = vp8_subtract_mby_c; | 511 vp8_subtract_mby = vp8_subtract_mby_c; |
| 559 if (flags & HAS_MMX) vp8_subtract_mby = vp8_subtract_mby_mmx; | 512 if (flags & HAS_MMX) vp8_subtract_mby = vp8_subtract_mby_mmx; |
| 560 if (flags & HAS_SSE2) vp8_subtract_mby = vp8_subtract_mby_sse2; | 513 if (flags & HAS_SSE2) vp8_subtract_mby = vp8_subtract_mby_sse2; |
| 561 vp8_variance16x16 = vp8_variance16x16_c; | |
| 562 if (flags & HAS_MMX) vp8_variance16x16 = vp8_variance16x16_mmx; | |
| 563 if (flags & HAS_SSE2) vp8_variance16x16 = vp8_variance16x16_wmt; | |
| 564 vp8_variance16x8 = vp8_variance16x8_c; | |
| 565 if (flags & HAS_MMX) vp8_variance16x8 = vp8_variance16x8_mmx; | |
| 566 if (flags & HAS_SSE2) vp8_variance16x8 = vp8_variance16x8_wmt; | |
| 567 vp8_variance4x4 = vp8_variance4x4_c; | |
| 568 if (flags & HAS_MMX) vp8_variance4x4 = vp8_variance4x4_mmx; | |
| 569 if (flags & HAS_SSE2) vp8_variance4x4 = vp8_variance4x4_wmt; | |
| 570 vp8_variance8x16 = vp8_variance8x16_c; | |
| 571 if (flags & HAS_MMX) vp8_variance8x16 = vp8_variance8x16_mmx; | |
| 572 if (flags & HAS_SSE2) vp8_variance8x16 = vp8_variance8x16_wmt; | |
| 573 vp8_variance8x8 = vp8_variance8x8_c; | |
| 574 if (flags & HAS_MMX) vp8_variance8x8 = vp8_variance8x8_mmx; | |
| 575 if (flags & HAS_SSE2) vp8_variance8x8 = vp8_variance8x8_wmt; | |
| 576 vp8_variance_halfpixvar16x16_h = vp8_variance_halfpixvar16x16_h_c; | 514 vp8_variance_halfpixvar16x16_h = vp8_variance_halfpixvar16x16_h_c; |
| 577 if (flags & HAS_MMX) vp8_variance_halfpixvar16x16_h = vp8_variance_halfpixva
r16x16_h_mmx; | 515 if (flags & HAS_MMX) vp8_variance_halfpixvar16x16_h = vp8_variance_halfpixva
r16x16_h_mmx; |
| 578 if (flags & HAS_SSE2) vp8_variance_halfpixvar16x16_h = vp8_variance_halfpixv
ar16x16_h_wmt; | 516 if (flags & HAS_SSE2) vp8_variance_halfpixvar16x16_h = vp8_variance_halfpixv
ar16x16_h_wmt; |
| 579 vp8_variance_halfpixvar16x16_hv = vp8_variance_halfpixvar16x16_hv_c; | 517 vp8_variance_halfpixvar16x16_hv = vp8_variance_halfpixvar16x16_hv_c; |
| 580 if (flags & HAS_MMX) vp8_variance_halfpixvar16x16_hv = vp8_variance_halfpixv
ar16x16_hv_mmx; | 518 if (flags & HAS_MMX) vp8_variance_halfpixvar16x16_hv = vp8_variance_halfpixv
ar16x16_hv_mmx; |
| 581 if (flags & HAS_SSE2) vp8_variance_halfpixvar16x16_hv = vp8_variance_halfpix
var16x16_hv_wmt; | 519 if (flags & HAS_SSE2) vp8_variance_halfpixvar16x16_hv = vp8_variance_halfpix
var16x16_hv_wmt; |
| 582 vp8_variance_halfpixvar16x16_v = vp8_variance_halfpixvar16x16_v_c; | 520 vp8_variance_halfpixvar16x16_v = vp8_variance_halfpixvar16x16_v_c; |
| 583 if (flags & HAS_MMX) vp8_variance_halfpixvar16x16_v = vp8_variance_halfpixva
r16x16_v_mmx; | 521 if (flags & HAS_MMX) vp8_variance_halfpixvar16x16_v = vp8_variance_halfpixva
r16x16_v_mmx; |
| 584 if (flags & HAS_SSE2) vp8_variance_halfpixvar16x16_v = vp8_variance_halfpixv
ar16x16_v_wmt; | 522 if (flags & HAS_SSE2) vp8_variance_halfpixvar16x16_v = vp8_variance_halfpixv
ar16x16_v_wmt; |
| 585 } | 523 } |
| 586 #endif | 524 #endif |
| 587 | 525 |
| 588 #ifdef __cplusplus | 526 #ifdef __cplusplus |
| 589 } // extern "C" | 527 } // extern "C" |
| 590 #endif | 528 #endif |
| 591 | 529 |
| 592 #endif | 530 #endif |
| OLD | NEW |