| 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 #define vp9_convolve8 vp9_convolve8_c | 36 #define vp9_convolve8 vp9_convolve8_c |
| 36 | 37 |
| 37 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); | 38 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); |
| 38 #define vp9_convolve8_avg vp9_convolve8_avg_c | 39 #define vp9_convolve8_avg vp9_convolve8_avg_c |
| 39 | 40 |
| 40 void vp9_convolve8_avg_horiz_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 *filter_y, int y_step_q4, int w, int h); | 41 void vp9_convolve8_avg_horiz_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 *filter_y, int y_step_q4, int w, int h); |
| 41 #define vp9_convolve8_avg_horiz vp9_convolve8_avg_horiz_c | 42 #define vp9_convolve8_avg_horiz vp9_convolve8_avg_horiz_c |
| (...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 171 | 172 |
| 172 void vp9_dc_top_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | 173 void vp9_dc_top_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
| 173 #define vp9_dc_top_predictor_4x4 vp9_dc_top_predictor_4x4_c | 174 #define vp9_dc_top_predictor_4x4 vp9_dc_top_predictor_4x4_c |
| 174 | 175 |
| 175 void vp9_dc_top_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | 176 void vp9_dc_top_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
| 176 #define vp9_dc_top_predictor_8x8 vp9_dc_top_predictor_8x8_c | 177 #define vp9_dc_top_predictor_8x8 vp9_dc_top_predictor_8x8_c |
| 177 | 178 |
| 178 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); | 179 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); |
| 179 #define vp9_diamond_search_sad vp9_diamond_search_sad_c | 180 #define vp9_diamond_search_sad vp9_diamond_search_sad_c |
| 180 | 181 |
| 181 void vp9_fdct16x16_c(const int16_t *input, int16_t *output, int stride); | 182 void vp9_fdct16x16_c(const int16_t *input, tran_low_t *output, int stride); |
| 182 #define vp9_fdct16x16 vp9_fdct16x16_c | 183 #define vp9_fdct16x16 vp9_fdct16x16_c |
| 183 | 184 |
| 184 void vp9_fdct16x16_1_c(const int16_t *input, int16_t *output, int stride); | 185 void vp9_fdct16x16_1_c(const int16_t *input, tran_low_t *output, int stride); |
| 185 #define vp9_fdct16x16_1 vp9_fdct16x16_1_c | 186 #define vp9_fdct16x16_1 vp9_fdct16x16_1_c |
| 186 | 187 |
| 187 void vp9_fdct32x32_c(const int16_t *input, int16_t *output, int stride); | 188 void vp9_fdct32x32_c(const int16_t *input, tran_low_t *output, int stride); |
| 188 #define vp9_fdct32x32 vp9_fdct32x32_c | 189 #define vp9_fdct32x32 vp9_fdct32x32_c |
| 189 | 190 |
| 190 void vp9_fdct32x32_1_c(const int16_t *input, int16_t *output, int stride); | 191 void vp9_fdct32x32_1_c(const int16_t *input, tran_low_t *output, int stride); |
| 191 #define vp9_fdct32x32_1 vp9_fdct32x32_1_c | 192 #define vp9_fdct32x32_1 vp9_fdct32x32_1_c |
| 192 | 193 |
| 193 void vp9_fdct32x32_rd_c(const int16_t *input, int16_t *output, int stride); | 194 void vp9_fdct32x32_rd_c(const int16_t *input, tran_low_t *output, int stride); |
| 194 #define vp9_fdct32x32_rd vp9_fdct32x32_rd_c | 195 #define vp9_fdct32x32_rd vp9_fdct32x32_rd_c |
| 195 | 196 |
| 196 void vp9_fdct4x4_c(const int16_t *input, int16_t *output, int stride); | 197 void vp9_fdct4x4_c(const int16_t *input, tran_low_t *output, int stride); |
| 197 #define vp9_fdct4x4 vp9_fdct4x4_c | 198 #define vp9_fdct4x4 vp9_fdct4x4_c |
| 198 | 199 |
| 199 void vp9_fdct4x4_1_c(const int16_t *input, int16_t *output, int stride); | 200 void vp9_fdct4x4_1_c(const int16_t *input, tran_low_t *output, int stride); |
| 200 #define vp9_fdct4x4_1 vp9_fdct4x4_1_c | 201 #define vp9_fdct4x4_1 vp9_fdct4x4_1_c |
| 201 | 202 |
| 202 void vp9_fdct8x8_c(const int16_t *input, int16_t *output, int stride); | 203 void vp9_fdct8x8_c(const int16_t *input, tran_low_t *output, int stride); |
| 203 void vp9_fdct8x8_neon(const int16_t *input, int16_t *output, int stride); | 204 void vp9_fdct8x8_neon(const int16_t *input, tran_low_t *output, int stride); |
| 204 #define vp9_fdct8x8 vp9_fdct8x8_neon | 205 #define vp9_fdct8x8 vp9_fdct8x8_neon |
| 205 | 206 |
| 206 void vp9_fdct8x8_1_c(const int16_t *input, int16_t *output, int stride); | 207 void vp9_fdct8x8_1_c(const int16_t *input, tran_low_t *output, int stride); |
| 207 void vp9_fdct8x8_1_neon(const int16_t *input, int16_t *output, int stride); | 208 void vp9_fdct8x8_1_neon(const int16_t *input, tran_low_t *output, int stride); |
| 208 #define vp9_fdct8x8_1 vp9_fdct8x8_1_neon | 209 #define vp9_fdct8x8_1 vp9_fdct8x8_1_neon |
| 209 | 210 |
| 210 void vp9_fht16x16_c(const int16_t *input, int16_t *output, int stride, int tx_ty
pe); | 211 void vp9_fht16x16_c(const int16_t *input, tran_low_t *output, int stride, int tx
_type); |
| 211 #define vp9_fht16x16 vp9_fht16x16_c | 212 #define vp9_fht16x16 vp9_fht16x16_c |
| 212 | 213 |
| 213 void vp9_fht4x4_c(const int16_t *input, int16_t *output, int stride, int tx_type
); | 214 void vp9_fht4x4_c(const int16_t *input, tran_low_t *output, int stride, int tx_t
ype); |
| 214 #define vp9_fht4x4 vp9_fht4x4_c | 215 #define vp9_fht4x4 vp9_fht4x4_c |
| 215 | 216 |
| 216 void vp9_fht8x8_c(const int16_t *input, int16_t *output, int stride, int tx_type
); | 217 void vp9_fht8x8_c(const int16_t *input, tran_low_t *output, int stride, int tx_t
ype); |
| 217 #define vp9_fht8x8 vp9_fht8x8_c | 218 #define vp9_fht8x8 vp9_fht8x8_c |
| 218 | 219 |
| 219 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); | 220 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); |
| 220 #define vp9_full_range_search vp9_full_range_search_c | 221 #define vp9_full_range_search vp9_full_range_search_c |
| 221 | 222 |
| 222 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); | 223 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); |
| 223 #define vp9_full_search_sad vp9_full_search_sad_c | 224 #define vp9_full_search_sad vp9_full_search_sad_c |
| 224 | 225 |
| 225 void vp9_fwht4x4_c(const int16_t *input, int16_t *output, int stride); | 226 void vp9_fwht4x4_c(const int16_t *input, tran_low_t *output, int stride); |
| 226 #define vp9_fwht4x4 vp9_fwht4x4_c | 227 #define vp9_fwht4x4 vp9_fwht4x4_c |
| 227 | 228 |
| 228 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); | 229 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); |
| 229 void vp9_get16x16var_neon(const uint8_t *src_ptr, int source_stride, const uint8
_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum); | 230 void vp9_get16x16var_neon(const uint8_t *src_ptr, int source_stride, const uint8
_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum); |
| 230 #define vp9_get16x16var vp9_get16x16var_neon | 231 #define vp9_get16x16var vp9_get16x16var_neon |
| 231 | 232 |
| 232 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); | 233 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); |
| 233 void vp9_get8x8var_neon(const uint8_t *src_ptr, int source_stride, const uint8_t
*ref_ptr, int ref_stride, unsigned int *sse, int *sum); | 234 void vp9_get8x8var_neon(const uint8_t *src_ptr, int source_stride, const uint8_t
*ref_ptr, int ref_stride, unsigned int *sse, int *sum); |
| 234 #define vp9_get8x8var vp9_get8x8var_neon | 235 #define vp9_get8x8var vp9_get8x8var_neon |
| 235 | 236 |
| 236 unsigned int vp9_get_mb_ss_c(const int16_t *); | 237 unsigned int vp9_get_mb_ss_c(const int16_t *); |
| 237 #define vp9_get_mb_ss vp9_get_mb_ss_c | 238 #define vp9_get_mb_ss vp9_get_mb_ss_c |
| 238 | 239 |
| 239 void vp9_h_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); | 240 void vp9_h_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); |
| 240 #define vp9_h_predictor_16x16 vp9_h_predictor_16x16_c | 241 #define vp9_h_predictor_16x16 vp9_h_predictor_16x16_c |
| 241 | 242 |
| 242 void vp9_h_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); | 243 void vp9_h_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); |
| 243 #define vp9_h_predictor_32x32 vp9_h_predictor_32x32_c | 244 #define vp9_h_predictor_32x32 vp9_h_predictor_32x32_c |
| 244 | 245 |
| 245 void vp9_h_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov
e, const uint8_t *left); | 246 void vp9_h_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov
e, const uint8_t *left); |
| 246 #define vp9_h_predictor_4x4 vp9_h_predictor_4x4_c | 247 #define vp9_h_predictor_4x4 vp9_h_predictor_4x4_c |
| 247 | 248 |
| 248 void vp9_h_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov
e, const uint8_t *left); | 249 void vp9_h_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov
e, const uint8_t *left); |
| 249 #define vp9_h_predictor_8x8 vp9_h_predictor_8x8_c | 250 #define vp9_h_predictor_8x8 vp9_h_predictor_8x8_c |
| 250 | 251 |
| 251 void vp9_idct16x16_10_add_c(const int16_t *input, uint8_t *dest, int dest_stride
); | 252 void vp9_idct16x16_10_add_c(const tran_low_t *input, uint8_t *dest, int dest_str
ide); |
| 252 #define vp9_idct16x16_10_add vp9_idct16x16_10_add_c | 253 #define vp9_idct16x16_10_add vp9_idct16x16_10_add_c |
| 253 | 254 |
| 254 void vp9_idct16x16_1_add_c(const int16_t *input, uint8_t *dest, int dest_stride)
; | 255 void vp9_idct16x16_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stri
de); |
| 255 #define vp9_idct16x16_1_add vp9_idct16x16_1_add_c | 256 #define vp9_idct16x16_1_add vp9_idct16x16_1_add_c |
| 256 | 257 |
| 257 void vp9_idct16x16_256_add_c(const int16_t *input, uint8_t *dest, int dest_strid
e); | 258 void vp9_idct16x16_256_add_c(const tran_low_t *input, uint8_t *dest, int dest_st
ride); |
| 258 #define vp9_idct16x16_256_add vp9_idct16x16_256_add_c | 259 #define vp9_idct16x16_256_add vp9_idct16x16_256_add_c |
| 259 | 260 |
| 260 void vp9_idct32x32_1024_add_c(const int16_t *input, uint8_t *dest, int dest_stri
de); | 261 void vp9_idct32x32_1024_add_c(const tran_low_t *input, uint8_t *dest, int dest_s
tride); |
| 261 #define vp9_idct32x32_1024_add vp9_idct32x32_1024_add_c | 262 #define vp9_idct32x32_1024_add vp9_idct32x32_1024_add_c |
| 262 | 263 |
| 263 void vp9_idct32x32_1_add_c(const int16_t *input, uint8_t *dest, int dest_stride)
; | 264 void vp9_idct32x32_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stri
de); |
| 264 #define vp9_idct32x32_1_add vp9_idct32x32_1_add_c | 265 #define vp9_idct32x32_1_add vp9_idct32x32_1_add_c |
| 265 | 266 |
| 266 void vp9_idct32x32_34_add_c(const int16_t *input, uint8_t *dest, int dest_stride
); | 267 void vp9_idct32x32_34_add_c(const tran_low_t *input, uint8_t *dest, int dest_str
ide); |
| 267 #define vp9_idct32x32_34_add vp9_idct32x32_34_add_c | 268 #define vp9_idct32x32_34_add vp9_idct32x32_34_add_c |
| 268 | 269 |
| 269 void vp9_idct4x4_16_add_c(const int16_t *input, uint8_t *dest, int dest_stride); | 270 void vp9_idct4x4_16_add_c(const tran_low_t *input, uint8_t *dest, int dest_strid
e); |
| 270 #define vp9_idct4x4_16_add vp9_idct4x4_16_add_c | 271 #define vp9_idct4x4_16_add vp9_idct4x4_16_add_c |
| 271 | 272 |
| 272 void vp9_idct4x4_1_add_c(const int16_t *input, uint8_t *dest, int dest_stride); | 273 void vp9_idct4x4_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride
); |
| 273 #define vp9_idct4x4_1_add vp9_idct4x4_1_add_c | 274 #define vp9_idct4x4_1_add vp9_idct4x4_1_add_c |
| 274 | 275 |
| 275 void vp9_idct8x8_12_add_c(const int16_t *input, uint8_t *dest, int dest_stride); | 276 void vp9_idct8x8_12_add_c(const tran_low_t *input, uint8_t *dest, int dest_strid
e); |
| 276 #define vp9_idct8x8_12_add vp9_idct8x8_12_add_c | 277 #define vp9_idct8x8_12_add vp9_idct8x8_12_add_c |
| 277 | 278 |
| 278 void vp9_idct8x8_1_add_c(const int16_t *input, uint8_t *dest, int dest_stride); | 279 void vp9_idct8x8_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride
); |
| 279 #define vp9_idct8x8_1_add vp9_idct8x8_1_add_c | 280 #define vp9_idct8x8_1_add vp9_idct8x8_1_add_c |
| 280 | 281 |
| 281 void vp9_idct8x8_64_add_c(const int16_t *input, uint8_t *dest, int dest_stride); | 282 void vp9_idct8x8_64_add_c(const tran_low_t *input, uint8_t *dest, int dest_strid
e); |
| 282 #define vp9_idct8x8_64_add vp9_idct8x8_64_add_c | 283 #define vp9_idct8x8_64_add vp9_idct8x8_64_add_c |
| 283 | 284 |
| 284 void vp9_iht16x16_256_add_c(const int16_t *input, uint8_t *output, int pitch, in
t tx_type); | 285 void vp9_iht16x16_256_add_c(const tran_low_t *input, uint8_t *output, int pitch,
int tx_type); |
| 285 #define vp9_iht16x16_256_add vp9_iht16x16_256_add_c | 286 #define vp9_iht16x16_256_add vp9_iht16x16_256_add_c |
| 286 | 287 |
| 287 void vp9_iht4x4_16_add_c(const int16_t *input, uint8_t *dest, int dest_stride, i
nt tx_type); | 288 void vp9_iht4x4_16_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride
, int tx_type); |
| 288 #define vp9_iht4x4_16_add vp9_iht4x4_16_add_c | 289 #define vp9_iht4x4_16_add vp9_iht4x4_16_add_c |
| 289 | 290 |
| 290 void vp9_iht8x8_64_add_c(const int16_t *input, uint8_t *dest, int dest_stride, i
nt tx_type); | 291 void vp9_iht8x8_64_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride
, int tx_type); |
| 291 #define vp9_iht8x8_64_add vp9_iht8x8_64_add_c | 292 #define vp9_iht8x8_64_add vp9_iht8x8_64_add_c |
| 292 | 293 |
| 293 void vp9_iwht4x4_16_add_c(const int16_t *input, uint8_t *dest, int dest_stride); | 294 void vp9_iwht4x4_16_add_c(const tran_low_t *input, uint8_t *dest, int dest_strid
e); |
| 294 #define vp9_iwht4x4_16_add vp9_iwht4x4_16_add_c | 295 #define vp9_iwht4x4_16_add vp9_iwht4x4_16_add_c |
| 295 | 296 |
| 296 void vp9_iwht4x4_1_add_c(const int16_t *input, uint8_t *dest, int dest_stride); | 297 void vp9_iwht4x4_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride
); |
| 297 #define vp9_iwht4x4_1_add vp9_iwht4x4_1_add_c | 298 #define vp9_iwht4x4_1_add vp9_iwht4x4_1_add_c |
| 298 | 299 |
| 299 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); | 300 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); |
| 300 #define vp9_lpf_horizontal_16 vp9_lpf_horizontal_16_c | 301 #define vp9_lpf_horizontal_16 vp9_lpf_horizontal_16_c |
| 301 | 302 |
| 302 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); | 303 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); |
| 303 #define vp9_lpf_horizontal_4 vp9_lpf_horizontal_4_c | 304 #define vp9_lpf_horizontal_4 vp9_lpf_horizontal_4_c |
| 304 | 305 |
| 305 void vp9_lpf_horizontal_4_dual_c(uint8_t *s, int pitch, const uint8_t *blimit0,
const uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1, const uin
t8_t *limit1, const uint8_t *thresh1); | 306 void vp9_lpf_horizontal_4_dual_c(uint8_t *s, int pitch, const uint8_t *blimit0,
const uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1, const uin
t8_t *limit1, const uint8_t *thresh1); |
| 306 #define vp9_lpf_horizontal_4_dual vp9_lpf_horizontal_4_dual_c | 307 #define vp9_lpf_horizontal_4_dual vp9_lpf_horizontal_4_dual_c |
| (...skipping 27 matching lines...) Expand all Loading... |
| 334 | 335 |
| 335 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); | 336 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); |
| 336 #define vp9_mse16x8 vp9_mse16x8_c | 337 #define vp9_mse16x8 vp9_mse16x8_c |
| 337 | 338 |
| 338 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); | 339 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); |
| 339 #define vp9_mse8x16 vp9_mse8x16_c | 340 #define vp9_mse8x16 vp9_mse8x16_c |
| 340 | 341 |
| 341 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); | 342 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); |
| 342 #define vp9_mse8x8 vp9_mse8x8_c | 343 #define vp9_mse8x8 vp9_mse8x8_c |
| 343 | 344 |
| 344 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); | 345 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); |
| 345 #define vp9_quantize_b vp9_quantize_b_c | 346 #define vp9_quantize_b vp9_quantize_b_c |
| 346 | 347 |
| 347 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); | 348 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); |
| 348 #define vp9_quantize_b_32x32 vp9_quantize_b_32x32_c | 349 #define vp9_quantize_b_32x32 vp9_quantize_b_32x32_c |
| 349 | 350 |
| 350 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); | 351 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); |
| 351 void vp9_quantize_fp_neon(const int16_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, int16_t *qcoeff_ptr, int16_t *dqcoeff_ptr, c
onst int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr, const int16_t *
scan, const int16_t *iscan); | 352 void vp9_quantize_fp_neon(const tran_low_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, tran_low_t *qcoeff_ptr, tran_low_t *dqcoe
ff_ptr, const int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr, const
int16_t *scan, const int16_t *iscan); |
| 352 #define vp9_quantize_fp vp9_quantize_fp_neon | 353 #define vp9_quantize_fp vp9_quantize_fp_neon |
| 353 | 354 |
| 354 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); | 355 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); |
| 355 #define vp9_quantize_fp_32x32 vp9_quantize_fp_32x32_c | 356 #define vp9_quantize_fp_32x32 vp9_quantize_fp_32x32_c |
| 356 | 357 |
| 357 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); | 358 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); |
| 358 #define vp9_refining_search_sad vp9_refining_search_sad_c | 359 #define vp9_refining_search_sad vp9_refining_search_sad_c |
| 359 | 360 |
| 360 unsigned int vp9_sad16x16_c(const uint8_t *src_ptr, int source_stride, const uin
t8_t *ref_ptr, int ref_stride); | 361 unsigned int vp9_sad16x16_c(const uint8_t *src_ptr, int source_stride, const uin
t8_t *ref_ptr, int ref_stride); |
| 361 unsigned int vp9_sad16x16_neon(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride); | 362 unsigned int vp9_sad16x16_neon(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride); |
| 362 #define vp9_sad16x16 vp9_sad16x16_neon | 363 #define vp9_sad16x16 vp9_sad16x16_neon |
| 363 | 364 |
| 364 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); | 365 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); |
| (...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 693 (void)flags; | 694 (void)flags; |
| 694 | 695 |
| 695 } | 696 } |
| 696 #endif | 697 #endif |
| 697 | 698 |
| 698 #ifdef __cplusplus | 699 #ifdef __cplusplus |
| 699 } // extern "C" | 700 } // extern "C" |
| 700 #endif | 701 #endif |
| 701 | 702 |
| 702 #endif | 703 #endif |
| OLD | NEW |