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 #ifdef __cplusplus | 10 #ifdef __cplusplus |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 RTCD_EXTERN void (*vp8_copy_mem8x8)(unsigned char *src, int src_pitch, unsigned
char *dst, int dst_pitch); | 93 RTCD_EXTERN void (*vp8_copy_mem8x8)(unsigned char *src, int src_pitch, unsigned
char *dst, int dst_pitch); |
94 | 94 |
95 void vp8_dc_only_idct_add_c(short input, unsigned char *pred, int pred_stride, u
nsigned char *dst, int dst_stride); | 95 void vp8_dc_only_idct_add_c(short input, unsigned char *pred, int pred_stride, u
nsigned char *dst, int dst_stride); |
96 void vp8_dc_only_idct_add_mmx(short input, unsigned char *pred, int pred_stride,
unsigned char *dst, int dst_stride); | 96 void vp8_dc_only_idct_add_mmx(short input, unsigned char *pred, int pred_stride,
unsigned char *dst, int dst_stride); |
97 RTCD_EXTERN void (*vp8_dc_only_idct_add)(short input, unsigned char *pred, int p
red_stride, unsigned char *dst, int dst_stride); | 97 RTCD_EXTERN void (*vp8_dc_only_idct_add)(short input, unsigned char *pred, int p
red_stride, unsigned char *dst, int dst_stride); |
98 | 98 |
99 int vp8_denoiser_filter_c(unsigned char *mc_running_avg_y, int mc_avg_y_stride,
unsigned char *running_avg_y, int avg_y_stride, unsigned char *sig, int sig_stri
de, unsigned int motion_magnitude, int increase_denoising); | 99 int vp8_denoiser_filter_c(unsigned char *mc_running_avg_y, int mc_avg_y_stride,
unsigned char *running_avg_y, int avg_y_stride, unsigned char *sig, int sig_stri
de, unsigned int motion_magnitude, int increase_denoising); |
100 int vp8_denoiser_filter_sse2(unsigned char *mc_running_avg_y, int mc_avg_y_strid
e, unsigned char *running_avg_y, int avg_y_stride, unsigned char *sig, int sig_s
tride, unsigned int motion_magnitude, int increase_denoising); | 100 int vp8_denoiser_filter_sse2(unsigned char *mc_running_avg_y, int mc_avg_y_strid
e, unsigned char *running_avg_y, int avg_y_stride, unsigned char *sig, int sig_s
tride, unsigned int motion_magnitude, int increase_denoising); |
101 RTCD_EXTERN int (*vp8_denoiser_filter)(unsigned char *mc_running_avg_y, int mc_a
vg_y_stride, unsigned char *running_avg_y, int avg_y_stride, unsigned char *sig,
int sig_stride, unsigned int motion_magnitude, int increase_denoising); | 101 RTCD_EXTERN int (*vp8_denoiser_filter)(unsigned char *mc_running_avg_y, int mc_a
vg_y_stride, unsigned char *running_avg_y, int avg_y_stride, unsigned char *sig,
int sig_stride, unsigned int motion_magnitude, int increase_denoising); |
102 | 102 |
| 103 int vp8_denoiser_filter_uv_c(unsigned char *mc_running_avg, int mc_avg_stride, u
nsigned char *running_avg, int avg_stride, unsigned char *sig, int sig_stride, u
nsigned int motion_magnitude, int increase_denoising); |
| 104 int vp8_denoiser_filter_uv_sse2(unsigned char *mc_running_avg, int mc_avg_stride
, unsigned char *running_avg, int avg_stride, unsigned char *sig, int sig_stride
, unsigned int motion_magnitude, int increase_denoising); |
| 105 RTCD_EXTERN int (*vp8_denoiser_filter_uv)(unsigned char *mc_running_avg, int mc_
avg_stride, unsigned char *running_avg, int avg_stride, unsigned char *sig, int
sig_stride, unsigned int motion_magnitude, int increase_denoising); |
| 106 |
103 void vp8_dequant_idct_add_c(short *input, short *dq, unsigned char *output, int
stride); | 107 void vp8_dequant_idct_add_c(short *input, short *dq, unsigned char *output, int
stride); |
104 void vp8_dequant_idct_add_mmx(short *input, short *dq, unsigned char *output, in
t stride); | 108 void vp8_dequant_idct_add_mmx(short *input, short *dq, unsigned char *output, in
t stride); |
105 RTCD_EXTERN void (*vp8_dequant_idct_add)(short *input, short *dq, unsigned char
*output, int stride); | 109 RTCD_EXTERN void (*vp8_dequant_idct_add)(short *input, short *dq, unsigned char
*output, int stride); |
106 | 110 |
107 void vp8_dequant_idct_add_uv_block_c(short *q, short *dq, unsigned char *dst_u,
unsigned char *dst_v, int stride, char *eobs); | 111 void vp8_dequant_idct_add_uv_block_c(short *q, short *dq, unsigned char *dst_u,
unsigned char *dst_v, int stride, char *eobs); |
108 void vp8_dequant_idct_add_uv_block_mmx(short *q, short *dq, unsigned char *dst_u
, unsigned char *dst_v, int stride, char *eobs); | 112 void vp8_dequant_idct_add_uv_block_mmx(short *q, short *dq, unsigned char *dst_u
, unsigned char *dst_v, int stride, char *eobs); |
109 void vp8_dequant_idct_add_uv_block_sse2(short *q, short *dq, unsigned char *dst_
u, unsigned char *dst_v, int stride, char *eobs); | 113 void vp8_dequant_idct_add_uv_block_sse2(short *q, short *dq, unsigned char *dst_
u, unsigned char *dst_v, int stride, char *eobs); |
110 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); | 114 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); |
111 | 115 |
112 void vp8_dequant_idct_add_y_block_c(short *q, short *dq, unsigned char *dst, int
stride, char *eobs); | 116 void vp8_dequant_idct_add_y_block_c(short *q, short *dq, unsigned char *dst, int
stride, char *eobs); |
(...skipping 406 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
519 if (flags & HAS_MMX) vp8_copy_mem16x16 = vp8_copy_mem16x16_mmx; | 523 if (flags & HAS_MMX) vp8_copy_mem16x16 = vp8_copy_mem16x16_mmx; |
520 if (flags & HAS_SSE2) vp8_copy_mem16x16 = vp8_copy_mem16x16_sse2; | 524 if (flags & HAS_SSE2) vp8_copy_mem16x16 = vp8_copy_mem16x16_sse2; |
521 vp8_copy_mem8x4 = vp8_copy_mem8x4_c; | 525 vp8_copy_mem8x4 = vp8_copy_mem8x4_c; |
522 if (flags & HAS_MMX) vp8_copy_mem8x4 = vp8_copy_mem8x4_mmx; | 526 if (flags & HAS_MMX) vp8_copy_mem8x4 = vp8_copy_mem8x4_mmx; |
523 vp8_copy_mem8x8 = vp8_copy_mem8x8_c; | 527 vp8_copy_mem8x8 = vp8_copy_mem8x8_c; |
524 if (flags & HAS_MMX) vp8_copy_mem8x8 = vp8_copy_mem8x8_mmx; | 528 if (flags & HAS_MMX) vp8_copy_mem8x8 = vp8_copy_mem8x8_mmx; |
525 vp8_dc_only_idct_add = vp8_dc_only_idct_add_c; | 529 vp8_dc_only_idct_add = vp8_dc_only_idct_add_c; |
526 if (flags & HAS_MMX) vp8_dc_only_idct_add = vp8_dc_only_idct_add_mmx; | 530 if (flags & HAS_MMX) vp8_dc_only_idct_add = vp8_dc_only_idct_add_mmx; |
527 vp8_denoiser_filter = vp8_denoiser_filter_c; | 531 vp8_denoiser_filter = vp8_denoiser_filter_c; |
528 if (flags & HAS_SSE2) vp8_denoiser_filter = vp8_denoiser_filter_sse2; | 532 if (flags & HAS_SSE2) vp8_denoiser_filter = vp8_denoiser_filter_sse2; |
| 533 vp8_denoiser_filter_uv = vp8_denoiser_filter_uv_c; |
| 534 if (flags & HAS_SSE2) vp8_denoiser_filter_uv = vp8_denoiser_filter_uv_sse2; |
529 vp8_dequant_idct_add = vp8_dequant_idct_add_c; | 535 vp8_dequant_idct_add = vp8_dequant_idct_add_c; |
530 if (flags & HAS_MMX) vp8_dequant_idct_add = vp8_dequant_idct_add_mmx; | 536 if (flags & HAS_MMX) vp8_dequant_idct_add = vp8_dequant_idct_add_mmx; |
531 vp8_dequant_idct_add_uv_block = vp8_dequant_idct_add_uv_block_c; | 537 vp8_dequant_idct_add_uv_block = vp8_dequant_idct_add_uv_block_c; |
532 if (flags & HAS_MMX) vp8_dequant_idct_add_uv_block = vp8_dequant_idct_add_uv
_block_mmx; | 538 if (flags & HAS_MMX) vp8_dequant_idct_add_uv_block = vp8_dequant_idct_add_uv
_block_mmx; |
533 if (flags & HAS_SSE2) vp8_dequant_idct_add_uv_block = vp8_dequant_idct_add_u
v_block_sse2; | 539 if (flags & HAS_SSE2) vp8_dequant_idct_add_uv_block = vp8_dequant_idct_add_u
v_block_sse2; |
534 vp8_dequant_idct_add_y_block = vp8_dequant_idct_add_y_block_c; | 540 vp8_dequant_idct_add_y_block = vp8_dequant_idct_add_y_block_c; |
535 if (flags & HAS_MMX) vp8_dequant_idct_add_y_block = vp8_dequant_idct_add_y_b
lock_mmx; | 541 if (flags & HAS_MMX) vp8_dequant_idct_add_y_block = vp8_dequant_idct_add_y_b
lock_mmx; |
536 if (flags & HAS_SSE2) vp8_dequant_idct_add_y_block = vp8_dequant_idct_add_y_
block_sse2; | 542 if (flags & HAS_SSE2) vp8_dequant_idct_add_y_block = vp8_dequant_idct_add_y_
block_sse2; |
537 vp8_dequantize_b = vp8_dequantize_b_c; | 543 vp8_dequantize_b = vp8_dequantize_b_c; |
538 if (flags & HAS_MMX) vp8_dequantize_b = vp8_dequantize_b_mmx; | 544 if (flags & HAS_MMX) vp8_dequantize_b = vp8_dequantize_b_mmx; |
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
731 if (flags & HAS_MMX) vp8_variance_halfpixvar16x16_v = vp8_variance_halfpixva
r16x16_v_mmx; | 737 if (flags & HAS_MMX) vp8_variance_halfpixvar16x16_v = vp8_variance_halfpixva
r16x16_v_mmx; |
732 if (flags & HAS_SSE2) vp8_variance_halfpixvar16x16_v = vp8_variance_halfpixv
ar16x16_v_wmt; | 738 if (flags & HAS_SSE2) vp8_variance_halfpixvar16x16_v = vp8_variance_halfpixv
ar16x16_v_wmt; |
733 } | 739 } |
734 #endif | 740 #endif |
735 | 741 |
736 #ifdef __cplusplus | 742 #ifdef __cplusplus |
737 } // extern "C" | 743 } // extern "C" |
738 #endif | 744 #endif |
739 | 745 |
740 #endif | 746 #endif |
OLD | NEW |