| 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 /* |
| 11 * VP8 | 11 * VP8 |
| 12 */ | 12 */ |
| 13 | 13 |
| 14 struct blockd; | 14 struct blockd; |
| 15 struct macroblockd; | 15 struct macroblockd; |
| 16 struct loop_filter_info; | 16 struct loop_filter_info; |
| 17 | 17 |
| 18 /* Encoder forward decls */ | 18 /* Encoder forward decls */ |
| 19 struct block; | 19 struct block; |
| 20 struct macroblock; | 20 struct macroblock; |
| 21 struct variance_vtable; | 21 struct variance_vtable; |
| 22 union int_mv; | 22 union int_mv; |
| 23 struct yv12_buffer_config; | 23 struct yv12_buffer_config; |
| 24 | 24 |
| 25 void vp8_clear_system_state_c(); |
| 26 void vpx_reset_mmx_state(); |
| 27 #define vp8_clear_system_state vpx_reset_mmx_state |
| 28 |
| 25 void vp8_dequantize_b_c(struct blockd*, short *dqc); | 29 void vp8_dequantize_b_c(struct blockd*, short *dqc); |
| 26 void vp8_dequantize_b_mmx(struct blockd*, short *dqc); | 30 void vp8_dequantize_b_mmx(struct blockd*, short *dqc); |
| 27 #define vp8_dequantize_b vp8_dequantize_b_mmx | 31 #define vp8_dequantize_b vp8_dequantize_b_mmx |
| 28 | 32 |
| 29 void vp8_dequant_idct_add_c(short *input, short *dq, unsigned char *output, int
stride); | 33 void vp8_dequant_idct_add_c(short *input, short *dq, unsigned char *output, int
stride); |
| 30 void vp8_dequant_idct_add_mmx(short *input, short *dq, unsigned char *output, in
t stride); | 34 void vp8_dequant_idct_add_mmx(short *input, short *dq, unsigned char *output, in
t stride); |
| 31 #define vp8_dequant_idct_add vp8_dequant_idct_add_mmx | 35 #define vp8_dequant_idct_add vp8_dequant_idct_add_mmx |
| 32 | 36 |
| 33 void vp8_dequant_idct_add_y_block_c(short *q, short *dq, unsigned char *dst, int
stride, char *eobs); | 37 void vp8_dequant_idct_add_y_block_c(short *q, short *dq, unsigned char *dst, int
stride, char *eobs); |
| 34 void vp8_dequant_idct_add_y_block_mmx(short *q, short *dq, unsigned char *dst, i
nt stride, char *eobs); | 38 void vp8_dequant_idct_add_y_block_mmx(short *q, short *dq, unsigned char *dst, i
nt stride, char *eobs); |
| (...skipping 457 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 492 | 496 |
| 493 | 497 |
| 494 | 498 |
| 495 | 499 |
| 496 | 500 |
| 497 | 501 |
| 498 | 502 |
| 499 | 503 |
| 500 | 504 |
| 501 | 505 |
| 506 |
| 502 vp8_build_intra_predictors_mby_s = vp8_build_intra_predictors_mby_s_sse2; | 507 vp8_build_intra_predictors_mby_s = vp8_build_intra_predictors_mby_s_sse2; |
| 503 if (flags & HAS_SSSE3) vp8_build_intra_predictors_mby_s = vp8_build_intra_pr
edictors_mby_s_ssse3; | 508 if (flags & HAS_SSSE3) vp8_build_intra_predictors_mby_s = vp8_build_intra_pr
edictors_mby_s_ssse3; |
| 504 | 509 |
| 505 vp8_build_intra_predictors_mbuv_s = vp8_build_intra_predictors_mbuv_s_sse2; | 510 vp8_build_intra_predictors_mbuv_s = vp8_build_intra_predictors_mbuv_s_sse2; |
| 506 if (flags & HAS_SSSE3) vp8_build_intra_predictors_mbuv_s = vp8_build_intra_p
redictors_mbuv_s_ssse3; | 511 if (flags & HAS_SSSE3) vp8_build_intra_predictors_mbuv_s = vp8_build_intra_p
redictors_mbuv_s_ssse3; |
| 507 | 512 |
| 508 | 513 |
| 509 | 514 |
| 510 | 515 |
| 511 | 516 |
| (...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 637 if (flags & HAS_SSE4_1) vp8_full_search_sad = vp8_full_search_sadx8; | 642 if (flags & HAS_SSE4_1) vp8_full_search_sad = vp8_full_search_sadx8; |
| 638 | 643 |
| 639 vp8_refining_search_sad = vp8_refining_search_sad_c; | 644 vp8_refining_search_sad = vp8_refining_search_sad_c; |
| 640 if (flags & HAS_SSE3) vp8_refining_search_sad = vp8_refining_search_sadx4; | 645 if (flags & HAS_SSE3) vp8_refining_search_sad = vp8_refining_search_sadx4; |
| 641 | 646 |
| 642 vp8_diamond_search_sad = vp8_diamond_search_sad_c; | 647 vp8_diamond_search_sad = vp8_diamond_search_sad_c; |
| 643 if (flags & HAS_SSE3) vp8_diamond_search_sad = vp8_diamond_search_sadx4; | 648 if (flags & HAS_SSE3) vp8_diamond_search_sad = vp8_diamond_search_sadx4; |
| 644 } | 649 } |
| 645 #endif | 650 #endif |
| 646 #endif | 651 #endif |
| OLD | NEW |