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