OLD | NEW |
1 #ifndef VP9_RTCD_H_ | 1 #ifndef VP9_RTCD_H_ |
2 #define VP9_RTCD_H_ | 2 #define VP9_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 | |
11 extern "C" { | |
12 #endif | |
13 | |
14 /* | 10 /* |
15 * VP9 | 11 * VP9 |
16 */ | 12 */ |
17 | 13 |
18 #include "vpx/vpx_integer.h" | 14 #include "vpx/vpx_integer.h" |
19 #include "vp9/common/vp9_enums.h" | 15 #include "vp9/common/vp9_enums.h" |
| 16 #include "vp9/common/vp9_idct.h" |
20 | 17 |
21 struct macroblockd; | 18 struct macroblockd; |
22 | 19 |
23 /* Encoder forward decls */ | 20 /* Encoder forward decls */ |
24 struct macroblock; | 21 struct macroblock; |
25 struct vp9_variance_vtable; | 22 struct vp9_variance_vtable; |
26 struct search_site_config; | 23 struct search_site_config; |
27 struct mv; | 24 struct mv; |
28 union int_mv; | 25 union int_mv; |
29 struct yv12_buffer_config; | 26 struct yv12_buffer_config; |
30 | 27 |
31 int64_t vp9_block_error_c(const int16_t *coeff, const int16_t *dqcoeff, intptr_t
block_size, int64_t *ssz); | 28 #ifdef __cplusplus |
| 29 extern "C" { |
| 30 #endif |
| 31 |
| 32 int64_t vp9_block_error_c(const tran_low_t *coeff, const tran_low_t *dqcoeff, in
tptr_t block_size, int64_t *ssz); |
32 #define vp9_block_error vp9_block_error_c | 33 #define vp9_block_error vp9_block_error_c |
33 | 34 |
34 void vp9_convolve8_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptr
diff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter
_y, int y_step_q4, int w, int h); | 35 void vp9_convolve8_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptr
diff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter
_y, int y_step_q4, int w, int h); |
35 void vp9_convolve8_sse2(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst,
ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *fil
ter_y, int y_step_q4, int w, int h); | 36 void vp9_convolve8_sse2(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst,
ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *fil
ter_y, int y_step_q4, int w, int h); |
36 void vp9_convolve8_ssse3(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst,
ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *fi
lter_y, int y_step_q4, int w, int h); | 37 void vp9_convolve8_ssse3(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst,
ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *fi
lter_y, int y_step_q4, int w, int h); |
37 RTCD_EXTERN void (*vp9_convolve8)(const uint8_t *src, ptrdiff_t src_stride, uint
8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const in
t16_t *filter_y, int y_step_q4, int w, int h); | 38 RTCD_EXTERN void (*vp9_convolve8)(const uint8_t *src, ptrdiff_t src_stride, uint
8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const in
t16_t *filter_y, int y_step_q4, int w, int h); |
38 | 39 |
39 void vp9_convolve8_avg_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst,
ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *fi
lter_y, int y_step_q4, int w, int h); | 40 void vp9_convolve8_avg_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst,
ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *fi
lter_y, int y_step_q4, int w, int h); |
40 void vp9_convolve8_avg_sse2(const uint8_t *src, ptrdiff_t src_stride, uint8_t *d
st, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t
*filter_y, int y_step_q4, int w, int h); | 41 void vp9_convolve8_avg_sse2(const uint8_t *src, ptrdiff_t src_stride, uint8_t *d
st, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t
*filter_y, int y_step_q4, int w, int h); |
41 void vp9_convolve8_avg_ssse3(const uint8_t *src, ptrdiff_t src_stride, uint8_t *
dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t
*filter_y, int y_step_q4, int w, int h); | 42 void vp9_convolve8_avg_ssse3(const uint8_t *src, ptrdiff_t src_stride, uint8_t *
dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t
*filter_y, int y_step_q4, int w, int h); |
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
183 | 184 |
184 void vp9_dc_top_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | 185 void vp9_dc_top_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
185 #define vp9_dc_top_predictor_4x4 vp9_dc_top_predictor_4x4_c | 186 #define vp9_dc_top_predictor_4x4 vp9_dc_top_predictor_4x4_c |
186 | 187 |
187 void vp9_dc_top_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | 188 void vp9_dc_top_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
188 #define vp9_dc_top_predictor_8x8 vp9_dc_top_predictor_8x8_c | 189 #define vp9_dc_top_predictor_8x8 vp9_dc_top_predictor_8x8_c |
189 | 190 |
190 int vp9_diamond_search_sad_c(const struct macroblock *x, const struct search_sit
e_config *cfg, struct mv *ref_mv, struct mv *best_mv, int search_param, int sad
_per_bit, int *num00, const struct vp9_variance_vtable *fn_ptr, const struct mv
*center_mv); | 191 int vp9_diamond_search_sad_c(const struct macroblock *x, const struct search_sit
e_config *cfg, struct mv *ref_mv, struct mv *best_mv, int search_param, int sad
_per_bit, int *num00, const struct vp9_variance_vtable *fn_ptr, const struct mv
*center_mv); |
191 #define vp9_diamond_search_sad vp9_diamond_search_sad_c | 192 #define vp9_diamond_search_sad vp9_diamond_search_sad_c |
192 | 193 |
193 void vp9_fdct16x16_c(const int16_t *input, int16_t *output, int stride); | 194 void vp9_fdct16x16_c(const int16_t *input, tran_low_t *output, int stride); |
194 void vp9_fdct16x16_sse2(const int16_t *input, int16_t *output, int stride); | 195 void vp9_fdct16x16_sse2(const int16_t *input, tran_low_t *output, int stride); |
195 RTCD_EXTERN void (*vp9_fdct16x16)(const int16_t *input, int16_t *output, int str
ide); | 196 RTCD_EXTERN void (*vp9_fdct16x16)(const int16_t *input, tran_low_t *output, int
stride); |
196 | 197 |
197 void vp9_fdct16x16_1_c(const int16_t *input, int16_t *output, int stride); | 198 void vp9_fdct16x16_1_c(const int16_t *input, tran_low_t *output, int stride); |
198 void vp9_fdct16x16_1_sse2(const int16_t *input, int16_t *output, int stride); | 199 void vp9_fdct16x16_1_sse2(const int16_t *input, tran_low_t *output, int stride); |
199 RTCD_EXTERN void (*vp9_fdct16x16_1)(const int16_t *input, int16_t *output, int s
tride); | 200 RTCD_EXTERN void (*vp9_fdct16x16_1)(const int16_t *input, tran_low_t *output, in
t stride); |
200 | 201 |
201 void vp9_fdct32x32_c(const int16_t *input, int16_t *output, int stride); | 202 void vp9_fdct32x32_c(const int16_t *input, tran_low_t *output, int stride); |
202 void vp9_fdct32x32_sse2(const int16_t *input, int16_t *output, int stride); | 203 void vp9_fdct32x32_sse2(const int16_t *input, tran_low_t *output, int stride); |
203 RTCD_EXTERN void (*vp9_fdct32x32)(const int16_t *input, int16_t *output, int str
ide); | 204 RTCD_EXTERN void (*vp9_fdct32x32)(const int16_t *input, tran_low_t *output, int
stride); |
204 | 205 |
205 void vp9_fdct32x32_1_c(const int16_t *input, int16_t *output, int stride); | 206 void vp9_fdct32x32_1_c(const int16_t *input, tran_low_t *output, int stride); |
206 void vp9_fdct32x32_1_sse2(const int16_t *input, int16_t *output, int stride); | 207 void vp9_fdct32x32_1_sse2(const int16_t *input, tran_low_t *output, int stride); |
207 RTCD_EXTERN void (*vp9_fdct32x32_1)(const int16_t *input, int16_t *output, int s
tride); | 208 RTCD_EXTERN void (*vp9_fdct32x32_1)(const int16_t *input, tran_low_t *output, in
t stride); |
208 | 209 |
209 void vp9_fdct32x32_rd_c(const int16_t *input, int16_t *output, int stride); | 210 void vp9_fdct32x32_rd_c(const int16_t *input, tran_low_t *output, int stride); |
210 void vp9_fdct32x32_rd_sse2(const int16_t *input, int16_t *output, int stride); | 211 void vp9_fdct32x32_rd_sse2(const int16_t *input, tran_low_t *output, int stride)
; |
211 RTCD_EXTERN void (*vp9_fdct32x32_rd)(const int16_t *input, int16_t *output, int
stride); | 212 RTCD_EXTERN void (*vp9_fdct32x32_rd)(const int16_t *input, tran_low_t *output, i
nt stride); |
212 | 213 |
213 void vp9_fdct4x4_c(const int16_t *input, int16_t *output, int stride); | 214 void vp9_fdct4x4_c(const int16_t *input, tran_low_t *output, int stride); |
214 void vp9_fdct4x4_sse2(const int16_t *input, int16_t *output, int stride); | 215 void vp9_fdct4x4_sse2(const int16_t *input, tran_low_t *output, int stride); |
215 RTCD_EXTERN void (*vp9_fdct4x4)(const int16_t *input, int16_t *output, int strid
e); | 216 RTCD_EXTERN void (*vp9_fdct4x4)(const int16_t *input, tran_low_t *output, int st
ride); |
216 | 217 |
217 void vp9_fdct4x4_1_c(const int16_t *input, int16_t *output, int stride); | 218 void vp9_fdct4x4_1_c(const int16_t *input, tran_low_t *output, int stride); |
218 void vp9_fdct4x4_1_sse2(const int16_t *input, int16_t *output, int stride); | 219 void vp9_fdct4x4_1_sse2(const int16_t *input, tran_low_t *output, int stride); |
219 RTCD_EXTERN void (*vp9_fdct4x4_1)(const int16_t *input, int16_t *output, int str
ide); | 220 RTCD_EXTERN void (*vp9_fdct4x4_1)(const int16_t *input, tran_low_t *output, int
stride); |
220 | 221 |
221 void vp9_fdct8x8_c(const int16_t *input, int16_t *output, int stride); | 222 void vp9_fdct8x8_c(const int16_t *input, tran_low_t *output, int stride); |
222 void vp9_fdct8x8_sse2(const int16_t *input, int16_t *output, int stride); | 223 void vp9_fdct8x8_sse2(const int16_t *input, tran_low_t *output, int stride); |
223 RTCD_EXTERN void (*vp9_fdct8x8)(const int16_t *input, int16_t *output, int strid
e); | 224 RTCD_EXTERN void (*vp9_fdct8x8)(const int16_t *input, tran_low_t *output, int st
ride); |
224 | 225 |
225 void vp9_fdct8x8_1_c(const int16_t *input, int16_t *output, int stride); | 226 void vp9_fdct8x8_1_c(const int16_t *input, tran_low_t *output, int stride); |
226 void vp9_fdct8x8_1_sse2(const int16_t *input, int16_t *output, int stride); | 227 void vp9_fdct8x8_1_sse2(const int16_t *input, tran_low_t *output, int stride); |
227 RTCD_EXTERN void (*vp9_fdct8x8_1)(const int16_t *input, int16_t *output, int str
ide); | 228 RTCD_EXTERN void (*vp9_fdct8x8_1)(const int16_t *input, tran_low_t *output, int
stride); |
228 | 229 |
229 void vp9_fht16x16_c(const int16_t *input, int16_t *output, int stride, int tx_ty
pe); | 230 void vp9_fht16x16_c(const int16_t *input, tran_low_t *output, int stride, int tx
_type); |
230 void vp9_fht16x16_sse2(const int16_t *input, int16_t *output, int stride, int tx
_type); | 231 void vp9_fht16x16_sse2(const int16_t *input, tran_low_t *output, int stride, int
tx_type); |
231 RTCD_EXTERN void (*vp9_fht16x16)(const int16_t *input, int16_t *output, int stri
de, int tx_type); | 232 RTCD_EXTERN void (*vp9_fht16x16)(const int16_t *input, tran_low_t *output, int s
tride, int tx_type); |
232 | 233 |
233 void vp9_fht4x4_c(const int16_t *input, int16_t *output, int stride, int tx_type
); | 234 void vp9_fht4x4_c(const int16_t *input, tran_low_t *output, int stride, int tx_t
ype); |
234 void vp9_fht4x4_sse2(const int16_t *input, int16_t *output, int stride, int tx_t
ype); | 235 void vp9_fht4x4_sse2(const int16_t *input, tran_low_t *output, int stride, int t
x_type); |
235 RTCD_EXTERN void (*vp9_fht4x4)(const int16_t *input, int16_t *output, int stride
, int tx_type); | 236 RTCD_EXTERN void (*vp9_fht4x4)(const int16_t *input, tran_low_t *output, int str
ide, int tx_type); |
236 | 237 |
237 void vp9_fht8x8_c(const int16_t *input, int16_t *output, int stride, int tx_type
); | 238 void vp9_fht8x8_c(const int16_t *input, tran_low_t *output, int stride, int tx_t
ype); |
238 void vp9_fht8x8_sse2(const int16_t *input, int16_t *output, int stride, int tx_t
ype); | 239 void vp9_fht8x8_sse2(const int16_t *input, tran_low_t *output, int stride, int t
x_type); |
239 RTCD_EXTERN void (*vp9_fht8x8)(const int16_t *input, int16_t *output, int stride
, int tx_type); | 240 RTCD_EXTERN void (*vp9_fht8x8)(const int16_t *input, tran_low_t *output, int str
ide, int tx_type); |
240 | 241 |
241 int vp9_full_range_search_c(const struct macroblock *x, const struct search_site
_config *cfg, struct mv *ref_mv, struct mv *best_mv, int search_param, int sad_p
er_bit, int *num00, const struct vp9_variance_vtable *fn_ptr, const struct mv *c
enter_mv); | 242 int vp9_full_range_search_c(const struct macroblock *x, const struct search_site
_config *cfg, struct mv *ref_mv, struct mv *best_mv, int search_param, int sad_p
er_bit, int *num00, const struct vp9_variance_vtable *fn_ptr, const struct mv *c
enter_mv); |
242 #define vp9_full_range_search vp9_full_range_search_c | 243 #define vp9_full_range_search vp9_full_range_search_c |
243 | 244 |
244 int vp9_full_search_sad_c(const struct macroblock *x, const struct mv *ref_mv, i
nt sad_per_bit, int distance, const struct vp9_variance_vtable *fn_ptr, const st
ruct mv *center_mv, struct mv *best_mv); | 245 int vp9_full_search_sad_c(const struct macroblock *x, const struct mv *ref_mv, i
nt sad_per_bit, int distance, const struct vp9_variance_vtable *fn_ptr, const st
ruct mv *center_mv, struct mv *best_mv); |
245 int vp9_full_search_sadx3(const struct macroblock *x, const struct mv *ref_mv, i
nt sad_per_bit, int distance, const struct vp9_variance_vtable *fn_ptr, const st
ruct mv *center_mv, struct mv *best_mv); | 246 int vp9_full_search_sadx3(const struct macroblock *x, const struct mv *ref_mv, i
nt sad_per_bit, int distance, const struct vp9_variance_vtable *fn_ptr, const st
ruct mv *center_mv, struct mv *best_mv); |
246 int vp9_full_search_sadx8(const struct macroblock *x, const struct mv *ref_mv, i
nt sad_per_bit, int distance, const struct vp9_variance_vtable *fn_ptr, const st
ruct mv *center_mv, struct mv *best_mv); | 247 int vp9_full_search_sadx8(const struct macroblock *x, const struct mv *ref_mv, i
nt sad_per_bit, int distance, const struct vp9_variance_vtable *fn_ptr, const st
ruct mv *center_mv, struct mv *best_mv); |
247 RTCD_EXTERN int (*vp9_full_search_sad)(const struct macroblock *x, const struct
mv *ref_mv, int sad_per_bit, int distance, const struct vp9_variance_vtable *fn_
ptr, const struct mv *center_mv, struct mv *best_mv); | 248 RTCD_EXTERN int (*vp9_full_search_sad)(const struct macroblock *x, const struct
mv *ref_mv, int sad_per_bit, int distance, const struct vp9_variance_vtable *fn_
ptr, const struct mv *center_mv, struct mv *best_mv); |
248 | 249 |
249 void vp9_fwht4x4_c(const int16_t *input, int16_t *output, int stride); | 250 void vp9_fwht4x4_c(const int16_t *input, tran_low_t *output, int stride); |
250 #define vp9_fwht4x4 vp9_fwht4x4_c | 251 #define vp9_fwht4x4 vp9_fwht4x4_c |
251 | 252 |
252 void vp9_get16x16var_c(const uint8_t *src_ptr, int source_stride, const uint8_t
*ref_ptr, int ref_stride, unsigned int *sse, int *sum); | 253 void vp9_get16x16var_c(const uint8_t *src_ptr, int source_stride, const uint8_t
*ref_ptr, int ref_stride, unsigned int *sse, int *sum); |
253 #define vp9_get16x16var vp9_get16x16var_c | 254 #define vp9_get16x16var vp9_get16x16var_c |
254 | 255 |
255 void vp9_get8x8var_c(const uint8_t *src_ptr, int source_stride, const uint8_t *r
ef_ptr, int ref_stride, unsigned int *sse, int *sum); | 256 void vp9_get8x8var_c(const uint8_t *src_ptr, int source_stride, const uint8_t *r
ef_ptr, int ref_stride, unsigned int *sse, int *sum); |
256 #define vp9_get8x8var vp9_get8x8var_c | 257 #define vp9_get8x8var vp9_get8x8var_c |
257 | 258 |
258 unsigned int vp9_get_mb_ss_c(const int16_t *); | 259 unsigned int vp9_get_mb_ss_c(const int16_t *); |
259 #define vp9_get_mb_ss vp9_get_mb_ss_c | 260 #define vp9_get_mb_ss vp9_get_mb_ss_c |
260 | 261 |
261 void vp9_h_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); | 262 void vp9_h_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); |
262 #define vp9_h_predictor_16x16 vp9_h_predictor_16x16_c | 263 #define vp9_h_predictor_16x16 vp9_h_predictor_16x16_c |
263 | 264 |
264 void vp9_h_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); | 265 void vp9_h_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); |
265 #define vp9_h_predictor_32x32 vp9_h_predictor_32x32_c | 266 #define vp9_h_predictor_32x32 vp9_h_predictor_32x32_c |
266 | 267 |
267 void vp9_h_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov
e, const uint8_t *left); | 268 void vp9_h_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov
e, const uint8_t *left); |
268 #define vp9_h_predictor_4x4 vp9_h_predictor_4x4_c | 269 #define vp9_h_predictor_4x4 vp9_h_predictor_4x4_c |
269 | 270 |
270 void vp9_h_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov
e, const uint8_t *left); | 271 void vp9_h_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov
e, const uint8_t *left); |
271 #define vp9_h_predictor_8x8 vp9_h_predictor_8x8_c | 272 #define vp9_h_predictor_8x8 vp9_h_predictor_8x8_c |
272 | 273 |
273 void vp9_idct16x16_10_add_c(const int16_t *input, uint8_t *dest, int dest_stride
); | 274 void vp9_idct16x16_10_add_c(const tran_low_t *input, uint8_t *dest, int dest_str
ide); |
274 void vp9_idct16x16_10_add_sse2(const int16_t *input, uint8_t *dest, int dest_str
ide); | 275 void vp9_idct16x16_10_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_
stride); |
275 void vp9_idct16x16_10_add_ssse3(const int16_t *input, uint8_t *dest, int dest_st
ride); | 276 void vp9_idct16x16_10_add_ssse3(const tran_low_t *input, uint8_t *dest, int dest
_stride); |
276 RTCD_EXTERN void (*vp9_idct16x16_10_add)(const int16_t *input, uint8_t *dest, in
t dest_stride); | 277 RTCD_EXTERN void (*vp9_idct16x16_10_add)(const tran_low_t *input, uint8_t *dest,
int dest_stride); |
277 | 278 |
278 void vp9_idct16x16_1_add_c(const int16_t *input, uint8_t *dest, int dest_stride)
; | 279 void vp9_idct16x16_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stri
de); |
279 void vp9_idct16x16_1_add_sse2(const int16_t *input, uint8_t *dest, int dest_stri
de); | 280 void vp9_idct16x16_1_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_s
tride); |
280 RTCD_EXTERN void (*vp9_idct16x16_1_add)(const int16_t *input, uint8_t *dest, int
dest_stride); | 281 RTCD_EXTERN void (*vp9_idct16x16_1_add)(const tran_low_t *input, uint8_t *dest,
int dest_stride); |
281 | 282 |
282 void vp9_idct16x16_256_add_c(const int16_t *input, uint8_t *dest, int dest_strid
e); | 283 void vp9_idct16x16_256_add_c(const tran_low_t *input, uint8_t *dest, int dest_st
ride); |
283 void vp9_idct16x16_256_add_sse2(const int16_t *input, uint8_t *dest, int dest_st
ride); | 284 void vp9_idct16x16_256_add_sse2(const tran_low_t *input, uint8_t *dest, int dest
_stride); |
284 void vp9_idct16x16_256_add_ssse3(const int16_t *input, uint8_t *dest, int dest_s
tride); | 285 void vp9_idct16x16_256_add_ssse3(const tran_low_t *input, uint8_t *dest, int des
t_stride); |
285 RTCD_EXTERN void (*vp9_idct16x16_256_add)(const int16_t *input, uint8_t *dest, i
nt dest_stride); | 286 RTCD_EXTERN void (*vp9_idct16x16_256_add)(const tran_low_t *input, uint8_t *dest
, int dest_stride); |
286 | 287 |
287 void vp9_idct32x32_1024_add_c(const int16_t *input, uint8_t *dest, int dest_stri
de); | 288 void vp9_idct32x32_1024_add_c(const tran_low_t *input, uint8_t *dest, int dest_s
tride); |
288 void vp9_idct32x32_1024_add_sse2(const int16_t *input, uint8_t *dest, int dest_s
tride); | 289 void vp9_idct32x32_1024_add_sse2(const tran_low_t *input, uint8_t *dest, int des
t_stride); |
289 RTCD_EXTERN void (*vp9_idct32x32_1024_add)(const int16_t *input, uint8_t *dest,
int dest_stride); | 290 RTCD_EXTERN void (*vp9_idct32x32_1024_add)(const tran_low_t *input, uint8_t *des
t, int dest_stride); |
290 | 291 |
291 void vp9_idct32x32_1_add_c(const int16_t *input, uint8_t *dest, int dest_stride)
; | 292 void vp9_idct32x32_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stri
de); |
292 void vp9_idct32x32_1_add_sse2(const int16_t *input, uint8_t *dest, int dest_stri
de); | 293 void vp9_idct32x32_1_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_s
tride); |
293 RTCD_EXTERN void (*vp9_idct32x32_1_add)(const int16_t *input, uint8_t *dest, int
dest_stride); | 294 RTCD_EXTERN void (*vp9_idct32x32_1_add)(const tran_low_t *input, uint8_t *dest,
int dest_stride); |
294 | 295 |
295 void vp9_idct32x32_34_add_c(const int16_t *input, uint8_t *dest, int dest_stride
); | 296 void vp9_idct32x32_34_add_c(const tran_low_t *input, uint8_t *dest, int dest_str
ide); |
296 void vp9_idct32x32_34_add_sse2(const int16_t *input, uint8_t *dest, int dest_str
ide); | 297 void vp9_idct32x32_34_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_
stride); |
297 RTCD_EXTERN void (*vp9_idct32x32_34_add)(const int16_t *input, uint8_t *dest, in
t dest_stride); | 298 RTCD_EXTERN void (*vp9_idct32x32_34_add)(const tran_low_t *input, uint8_t *dest,
int dest_stride); |
298 | 299 |
299 void vp9_idct4x4_16_add_c(const int16_t *input, uint8_t *dest, int dest_stride); | 300 void vp9_idct4x4_16_add_c(const tran_low_t *input, uint8_t *dest, int dest_strid
e); |
300 void vp9_idct4x4_16_add_sse2(const int16_t *input, uint8_t *dest, int dest_strid
e); | 301 void vp9_idct4x4_16_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_st
ride); |
301 RTCD_EXTERN void (*vp9_idct4x4_16_add)(const int16_t *input, uint8_t *dest, int
dest_stride); | 302 RTCD_EXTERN void (*vp9_idct4x4_16_add)(const tran_low_t *input, uint8_t *dest, i
nt dest_stride); |
302 | 303 |
303 void vp9_idct4x4_1_add_c(const int16_t *input, uint8_t *dest, int dest_stride); | 304 void vp9_idct4x4_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride
); |
304 void vp9_idct4x4_1_add_sse2(const int16_t *input, uint8_t *dest, int dest_stride
); | 305 void vp9_idct4x4_1_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_str
ide); |
305 RTCD_EXTERN void (*vp9_idct4x4_1_add)(const int16_t *input, uint8_t *dest, int d
est_stride); | 306 RTCD_EXTERN void (*vp9_idct4x4_1_add)(const tran_low_t *input, uint8_t *dest, in
t dest_stride); |
306 | 307 |
307 void vp9_idct8x8_12_add_c(const int16_t *input, uint8_t *dest, int dest_stride); | 308 void vp9_idct8x8_12_add_c(const tran_low_t *input, uint8_t *dest, int dest_strid
e); |
308 void vp9_idct8x8_12_add_sse2(const int16_t *input, uint8_t *dest, int dest_strid
e); | 309 void vp9_idct8x8_12_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_st
ride); |
309 RTCD_EXTERN void (*vp9_idct8x8_12_add)(const int16_t *input, uint8_t *dest, int
dest_stride); | 310 RTCD_EXTERN void (*vp9_idct8x8_12_add)(const tran_low_t *input, uint8_t *dest, i
nt dest_stride); |
310 | 311 |
311 void vp9_idct8x8_1_add_c(const int16_t *input, uint8_t *dest, int dest_stride); | 312 void vp9_idct8x8_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride
); |
312 void vp9_idct8x8_1_add_sse2(const int16_t *input, uint8_t *dest, int dest_stride
); | 313 void vp9_idct8x8_1_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_str
ide); |
313 RTCD_EXTERN void (*vp9_idct8x8_1_add)(const int16_t *input, uint8_t *dest, int d
est_stride); | 314 RTCD_EXTERN void (*vp9_idct8x8_1_add)(const tran_low_t *input, uint8_t *dest, in
t dest_stride); |
314 | 315 |
315 void vp9_idct8x8_64_add_c(const int16_t *input, uint8_t *dest, int dest_stride); | 316 void vp9_idct8x8_64_add_c(const tran_low_t *input, uint8_t *dest, int dest_strid
e); |
316 void vp9_idct8x8_64_add_sse2(const int16_t *input, uint8_t *dest, int dest_strid
e); | 317 void vp9_idct8x8_64_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_st
ride); |
317 RTCD_EXTERN void (*vp9_idct8x8_64_add)(const int16_t *input, uint8_t *dest, int
dest_stride); | 318 RTCD_EXTERN void (*vp9_idct8x8_64_add)(const tran_low_t *input, uint8_t *dest, i
nt dest_stride); |
318 | 319 |
319 void vp9_iht16x16_256_add_c(const int16_t *input, uint8_t *output, int pitch, in
t tx_type); | 320 void vp9_iht16x16_256_add_c(const tran_low_t *input, uint8_t *output, int pitch,
int tx_type); |
320 void vp9_iht16x16_256_add_sse2(const int16_t *input, uint8_t *output, int pitch,
int tx_type); | 321 void vp9_iht16x16_256_add_sse2(const tran_low_t *input, uint8_t *output, int pit
ch, int tx_type); |
321 RTCD_EXTERN void (*vp9_iht16x16_256_add)(const int16_t *input, uint8_t *output,
int pitch, int tx_type); | 322 RTCD_EXTERN void (*vp9_iht16x16_256_add)(const tran_low_t *input, uint8_t *outpu
t, int pitch, int tx_type); |
322 | 323 |
323 void vp9_iht4x4_16_add_c(const int16_t *input, uint8_t *dest, int dest_stride, i
nt tx_type); | 324 void vp9_iht4x4_16_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride
, int tx_type); |
324 void vp9_iht4x4_16_add_sse2(const int16_t *input, uint8_t *dest, int dest_stride
, int tx_type); | 325 void vp9_iht4x4_16_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_str
ide, int tx_type); |
325 RTCD_EXTERN void (*vp9_iht4x4_16_add)(const int16_t *input, uint8_t *dest, int d
est_stride, int tx_type); | 326 RTCD_EXTERN void (*vp9_iht4x4_16_add)(const tran_low_t *input, uint8_t *dest, in
t dest_stride, int tx_type); |
326 | 327 |
327 void vp9_iht8x8_64_add_c(const int16_t *input, uint8_t *dest, int dest_stride, i
nt tx_type); | 328 void vp9_iht8x8_64_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride
, int tx_type); |
328 void vp9_iht8x8_64_add_sse2(const int16_t *input, uint8_t *dest, int dest_stride
, int tx_type); | 329 void vp9_iht8x8_64_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_str
ide, int tx_type); |
329 RTCD_EXTERN void (*vp9_iht8x8_64_add)(const int16_t *input, uint8_t *dest, int d
est_stride, int tx_type); | 330 RTCD_EXTERN void (*vp9_iht8x8_64_add)(const tran_low_t *input, uint8_t *dest, in
t dest_stride, int tx_type); |
330 | 331 |
331 void vp9_iwht4x4_16_add_c(const int16_t *input, uint8_t *dest, int dest_stride); | 332 void vp9_iwht4x4_16_add_c(const tran_low_t *input, uint8_t *dest, int dest_strid
e); |
332 #define vp9_iwht4x4_16_add vp9_iwht4x4_16_add_c | 333 #define vp9_iwht4x4_16_add vp9_iwht4x4_16_add_c |
333 | 334 |
334 void vp9_iwht4x4_1_add_c(const int16_t *input, uint8_t *dest, int dest_stride); | 335 void vp9_iwht4x4_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride
); |
335 #define vp9_iwht4x4_1_add vp9_iwht4x4_1_add_c | 336 #define vp9_iwht4x4_1_add vp9_iwht4x4_1_add_c |
336 | 337 |
337 void vp9_lpf_horizontal_16_c(uint8_t *s, int pitch, const uint8_t *blimit, const
uint8_t *limit, const uint8_t *thresh, int count); | 338 void vp9_lpf_horizontal_16_c(uint8_t *s, int pitch, const uint8_t *blimit, const
uint8_t *limit, const uint8_t *thresh, int count); |
338 void vp9_lpf_horizontal_16_sse2(uint8_t *s, int pitch, const uint8_t *blimit, co
nst uint8_t *limit, const uint8_t *thresh, int count); | 339 void vp9_lpf_horizontal_16_sse2(uint8_t *s, int pitch, const uint8_t *blimit, co
nst uint8_t *limit, const uint8_t *thresh, int count); |
339 RTCD_EXTERN void (*vp9_lpf_horizontal_16)(uint8_t *s, int pitch, const uint8_t *
blimit, const uint8_t *limit, const uint8_t *thresh, int count); | 340 RTCD_EXTERN void (*vp9_lpf_horizontal_16)(uint8_t *s, int pitch, const uint8_t *
blimit, const uint8_t *limit, const uint8_t *thresh, int count); |
340 | 341 |
341 void vp9_lpf_horizontal_4_c(uint8_t *s, int pitch, const uint8_t *blimit, const
uint8_t *limit, const uint8_t *thresh, int count); | 342 void vp9_lpf_horizontal_4_c(uint8_t *s, int pitch, const uint8_t *blimit, const
uint8_t *limit, const uint8_t *thresh, int count); |
342 void vp9_lpf_horizontal_4_mmx(uint8_t *s, int pitch, const uint8_t *blimit, cons
t uint8_t *limit, const uint8_t *thresh, int count); | 343 void vp9_lpf_horizontal_4_mmx(uint8_t *s, int pitch, const uint8_t *blimit, cons
t uint8_t *limit, const uint8_t *thresh, int count); |
343 RTCD_EXTERN void (*vp9_lpf_horizontal_4)(uint8_t *s, int pitch, const uint8_t *b
limit, const uint8_t *limit, const uint8_t *thresh, int count); | 344 RTCD_EXTERN void (*vp9_lpf_horizontal_4)(uint8_t *s, int pitch, const uint8_t *b
limit, const uint8_t *limit, const uint8_t *thresh, int count); |
344 | 345 |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
383 | 384 |
384 unsigned int vp9_mse16x8_c(const uint8_t *src_ptr, int source_stride, const uin
t8_t *ref_ptr, int recon_stride, unsigned int *sse); | 385 unsigned int vp9_mse16x8_c(const uint8_t *src_ptr, int source_stride, const uin
t8_t *ref_ptr, int recon_stride, unsigned int *sse); |
385 #define vp9_mse16x8 vp9_mse16x8_c | 386 #define vp9_mse16x8 vp9_mse16x8_c |
386 | 387 |
387 unsigned int vp9_mse8x16_c(const uint8_t *src_ptr, int source_stride, const uin
t8_t *ref_ptr, int recon_stride, unsigned int *sse); | 388 unsigned int vp9_mse8x16_c(const uint8_t *src_ptr, int source_stride, const uin
t8_t *ref_ptr, int recon_stride, unsigned int *sse); |
388 #define vp9_mse8x16 vp9_mse8x16_c | 389 #define vp9_mse8x16 vp9_mse8x16_c |
389 | 390 |
390 unsigned int vp9_mse8x8_c(const uint8_t *src_ptr, int source_stride, const uint
8_t *ref_ptr, int recon_stride, unsigned int *sse); | 391 unsigned int vp9_mse8x8_c(const uint8_t *src_ptr, int source_stride, const uint
8_t *ref_ptr, int recon_stride, unsigned int *sse); |
391 #define vp9_mse8x8 vp9_mse8x8_c | 392 #define vp9_mse8x8 vp9_mse8x8_c |
392 | 393 |
393 void vp9_quantize_b_c(const int16_t *coeff_ptr, intptr_t n_coeffs, int skip_bloc
k, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr,
const int16_t *quant_shift_ptr, int16_t *qcoeff_ptr, int16_t *dqcoeff_ptr, const
int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr, const int16_t *scan
, const int16_t *iscan); | 394 void vp9_quantize_b_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_b
lock, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_pt
r, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_p
tr, const int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr, const int1
6_t *scan, const int16_t *iscan); |
394 #define vp9_quantize_b vp9_quantize_b_c | 395 #define vp9_quantize_b vp9_quantize_b_c |
395 | 396 |
396 void vp9_quantize_b_32x32_c(const int16_t *coeff_ptr, intptr_t n_coeffs, int ski
p_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant
_ptr, const int16_t *quant_shift_ptr, int16_t *qcoeff_ptr, int16_t *dqcoeff_ptr,
const int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr, const int16_t
*scan, const int16_t *iscan); | 397 void vp9_quantize_b_32x32_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int
skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *qu
ant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqc
oeff_ptr, const int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr, cons
t int16_t *scan, const int16_t *iscan); |
397 #define vp9_quantize_b_32x32 vp9_quantize_b_32x32_c | 398 #define vp9_quantize_b_32x32 vp9_quantize_b_32x32_c |
398 | 399 |
399 void vp9_quantize_fp_c(const int16_t *coeff_ptr, intptr_t n_coeffs, int skip_blo
ck, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr,
const int16_t *quant_shift_ptr, int16_t *qcoeff_ptr, int16_t *dqcoeff_ptr, cons
t int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr, const int16_t *sca
n, const int16_t *iscan); | 400 void vp9_quantize_fp_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_
block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_p
tr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_
ptr, const int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr, const int
16_t *scan, const int16_t *iscan); |
400 #define vp9_quantize_fp vp9_quantize_fp_c | 401 #define vp9_quantize_fp vp9_quantize_fp_c |
401 | 402 |
402 void vp9_quantize_fp_32x32_c(const int16_t *coeff_ptr, intptr_t n_coeffs, int sk
ip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quan
t_ptr, const int16_t *quant_shift_ptr, int16_t *qcoeff_ptr, int16_t *dqcoeff_ptr
, const int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr, const int16_
t *scan, const int16_t *iscan); | 403 void vp9_quantize_fp_32x32_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int
skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *q
uant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dq
coeff_ptr, const int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr, con
st int16_t *scan, const int16_t *iscan); |
403 #define vp9_quantize_fp_32x32 vp9_quantize_fp_32x32_c | 404 #define vp9_quantize_fp_32x32 vp9_quantize_fp_32x32_c |
404 | 405 |
405 int vp9_refining_search_sad_c(const struct macroblock *x, struct mv *ref_mv, int
sad_per_bit, int distance, const struct vp9_variance_vtable *fn_ptr, const stru
ct mv *center_mv); | 406 int vp9_refining_search_sad_c(const struct macroblock *x, struct mv *ref_mv, int
sad_per_bit, int distance, const struct vp9_variance_vtable *fn_ptr, const stru
ct mv *center_mv); |
406 #define vp9_refining_search_sad vp9_refining_search_sad_c | 407 #define vp9_refining_search_sad vp9_refining_search_sad_c |
407 | 408 |
408 unsigned int vp9_sad16x16_c(const uint8_t *src_ptr, int source_stride, const uin
t8_t *ref_ptr, int ref_stride); | 409 unsigned int vp9_sad16x16_c(const uint8_t *src_ptr, int source_stride, const uin
t8_t *ref_ptr, int ref_stride); |
409 #define vp9_sad16x16 vp9_sad16x16_c | 410 #define vp9_sad16x16 vp9_sad16x16_c |
410 | 411 |
411 unsigned int vp9_sad16x16_avg_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); | 412 unsigned int vp9_sad16x16_avg_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); |
412 #define vp9_sad16x16_avg vp9_sad16x16_avg_c | 413 #define vp9_sad16x16_avg vp9_sad16x16_avg_c |
(...skipping 473 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
886 vp9_temporal_filter_apply = vp9_temporal_filter_apply_c; | 887 vp9_temporal_filter_apply = vp9_temporal_filter_apply_c; |
887 if (flags & HAS_SSE2) vp9_temporal_filter_apply = vp9_temporal_filter_apply_
sse2; | 888 if (flags & HAS_SSE2) vp9_temporal_filter_apply = vp9_temporal_filter_apply_
sse2; |
888 } | 889 } |
889 #endif | 890 #endif |
890 | 891 |
891 #ifdef __cplusplus | 892 #ifdef __cplusplus |
892 } // extern "C" | 893 } // extern "C" |
893 #endif | 894 #endif |
894 | 895 |
895 #endif | 896 #endif |
OLD | NEW |