| 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 /* | 10 /* |
| 11 * VP9 | 11 * VP9 |
| 12 */ | 12 */ |
| 13 | 13 |
| 14 #include "vpx/vpx_integer.h" | 14 #include "vpx/vpx_integer.h" |
| 15 #include "vp9/common/vp9_enums.h" | 15 #include "vp9/common/vp9_enums.h" |
| 16 | 16 |
| 17 struct macroblockd; | 17 struct macroblockd; |
| 18 | 18 |
| 19 /* Encoder forward decls */ | 19 /* Encoder forward decls */ |
| 20 struct macroblock; | 20 struct macroblock; |
| 21 struct vp9_variance_vtable; | 21 struct vp9_variance_vtable; |
| 22 | 22 |
| 23 #define DEC_MVCOSTS int *mvjcost, int *mvcost[2] | 23 #define DEC_MVCOSTS int *mvjcost, int *mvcost[2] |
| 24 struct mv; |
| 24 union int_mv; | 25 union int_mv; |
| 25 struct yv12_buffer_config; | 26 struct yv12_buffer_config; |
| 26 | 27 |
| 27 void vp9_d207_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); | 28 void vp9_d207_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); |
| 28 #define vp9_d207_predictor_4x4 vp9_d207_predictor_4x4_c | 29 #define vp9_d207_predictor_4x4 vp9_d207_predictor_4x4_c |
| 29 | 30 |
| 30 void vp9_d45_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); | 31 void vp9_d45_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); |
| 31 #define vp9_d45_predictor_4x4 vp9_d45_predictor_4x4_c | 32 #define vp9_d45_predictor_4x4 vp9_d45_predictor_4x4_c |
| 32 | 33 |
| 33 void vp9_d63_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); | 34 void vp9_d63_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); |
| (...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 176 | 177 |
| 177 void vp9_dc_left_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8
_t *above, const uint8_t *left); | 178 void vp9_dc_left_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8
_t *above, const uint8_t *left); |
| 178 #define vp9_dc_left_predictor_32x32 vp9_dc_left_predictor_32x32_c | 179 #define vp9_dc_left_predictor_32x32 vp9_dc_left_predictor_32x32_c |
| 179 | 180 |
| 180 void vp9_dc_128_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_
t *above, const uint8_t *left); | 181 void vp9_dc_128_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_
t *above, const uint8_t *left); |
| 181 #define vp9_dc_128_predictor_32x32 vp9_dc_128_predictor_32x32_c | 182 #define vp9_dc_128_predictor_32x32 vp9_dc_128_predictor_32x32_c |
| 182 | 183 |
| 183 void vp9_mb_lpf_vertical_edge_w_c(uint8_t *s, int pitch, const uint8_t *blimit,
const uint8_t *limit, const uint8_t *thresh); | 184 void vp9_mb_lpf_vertical_edge_w_c(uint8_t *s, int pitch, const uint8_t *blimit,
const uint8_t *limit, const uint8_t *thresh); |
| 184 #define vp9_mb_lpf_vertical_edge_w vp9_mb_lpf_vertical_edge_w_c | 185 #define vp9_mb_lpf_vertical_edge_w vp9_mb_lpf_vertical_edge_w_c |
| 185 | 186 |
| 187 void vp9_mb_lpf_vertical_edge_w_16_c(uint8_t *s, int pitch, const uint8_t *blimi
t, const uint8_t *limit, const uint8_t *thresh); |
| 188 #define vp9_mb_lpf_vertical_edge_w_16 vp9_mb_lpf_vertical_edge_w_16_c |
| 189 |
| 186 void vp9_mbloop_filter_vertical_edge_c(uint8_t *s, int pitch, const uint8_t *bli
mit, const uint8_t *limit, const uint8_t *thresh, int count); | 190 void vp9_mbloop_filter_vertical_edge_c(uint8_t *s, int pitch, const uint8_t *bli
mit, const uint8_t *limit, const uint8_t *thresh, int count); |
| 187 #define vp9_mbloop_filter_vertical_edge vp9_mbloop_filter_vertical_edge_c | 191 #define vp9_mbloop_filter_vertical_edge vp9_mbloop_filter_vertical_edge_c |
| 188 | 192 |
| 193 void vp9_mbloop_filter_vertical_edge_16_c(uint8_t *s, int pitch, const uint8_t *
blimit0, const uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1,
const uint8_t *limit1, const uint8_t *thresh1); |
| 194 #define vp9_mbloop_filter_vertical_edge_16 vp9_mbloop_filter_vertical_edge_16_c |
| 195 |
| 189 void vp9_loop_filter_vertical_edge_c(uint8_t *s, int pitch, const uint8_t *blimi
t, const uint8_t *limit, const uint8_t *thresh, int count); | 196 void vp9_loop_filter_vertical_edge_c(uint8_t *s, int pitch, const uint8_t *blimi
t, const uint8_t *limit, const uint8_t *thresh, int count); |
| 190 #define vp9_loop_filter_vertical_edge vp9_loop_filter_vertical_edge_c | 197 #define vp9_loop_filter_vertical_edge vp9_loop_filter_vertical_edge_c |
| 191 | 198 |
| 199 void vp9_loop_filter_vertical_edge_16_c(uint8_t *s, int pitch, const uint8_t *bl
imit0, const uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1, co
nst uint8_t *limit1, const uint8_t *thresh1); |
| 200 #define vp9_loop_filter_vertical_edge_16 vp9_loop_filter_vertical_edge_16_c |
| 201 |
| 192 void vp9_mb_lpf_horizontal_edge_w_c(uint8_t *s, int pitch, const uint8_t *blimit
, const uint8_t *limit, const uint8_t *thresh, int count); | 202 void vp9_mb_lpf_horizontal_edge_w_c(uint8_t *s, int pitch, const uint8_t *blimit
, const uint8_t *limit, const uint8_t *thresh, int count); |
| 193 #define vp9_mb_lpf_horizontal_edge_w vp9_mb_lpf_horizontal_edge_w_c | 203 #define vp9_mb_lpf_horizontal_edge_w vp9_mb_lpf_horizontal_edge_w_c |
| 194 | 204 |
| 195 void vp9_mbloop_filter_horizontal_edge_c(uint8_t *s, int pitch, const uint8_t *b
limit, const uint8_t *limit, const uint8_t *thresh, int count); | 205 void vp9_mbloop_filter_horizontal_edge_c(uint8_t *s, int pitch, const uint8_t *b
limit, const uint8_t *limit, const uint8_t *thresh, int count); |
| 196 #define vp9_mbloop_filter_horizontal_edge vp9_mbloop_filter_horizontal_edge_c | 206 #define vp9_mbloop_filter_horizontal_edge vp9_mbloop_filter_horizontal_edge_c |
| 197 | 207 |
| 208 void vp9_mbloop_filter_horizontal_edge_16_c(uint8_t *s, int pitch, const uint8_t
*blimit0, const uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1
, const uint8_t *limit1, const uint8_t *thresh1); |
| 209 #define vp9_mbloop_filter_horizontal_edge_16 vp9_mbloop_filter_horizontal_edge_1
6_c |
| 210 |
| 198 void vp9_loop_filter_horizontal_edge_c(uint8_t *s, int pitch, const uint8_t *bli
mit, const uint8_t *limit, const uint8_t *thresh, int count); | 211 void vp9_loop_filter_horizontal_edge_c(uint8_t *s, int pitch, const uint8_t *bli
mit, const uint8_t *limit, const uint8_t *thresh, int count); |
| 199 #define vp9_loop_filter_horizontal_edge vp9_loop_filter_horizontal_edge_c | 212 #define vp9_loop_filter_horizontal_edge vp9_loop_filter_horizontal_edge_c |
| 200 | 213 |
| 214 void vp9_loop_filter_horizontal_edge_16_c(uint8_t *s, int pitch, const uint8_t *
blimit0, const uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1,
const uint8_t *limit1, const uint8_t *thresh1); |
| 215 #define vp9_loop_filter_horizontal_edge_16 vp9_loop_filter_horizontal_edge_16_c |
| 216 |
| 201 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); | 217 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); |
| 202 #define vp9_blend_mb_inner vp9_blend_mb_inner_c | 218 #define vp9_blend_mb_inner vp9_blend_mb_inner_c |
| 203 | 219 |
| 204 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); | 220 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); |
| 205 #define vp9_blend_mb_outer vp9_blend_mb_outer_c | 221 #define vp9_blend_mb_outer vp9_blend_mb_outer_c |
| 206 | 222 |
| 207 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); | 223 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); |
| 208 #define vp9_blend_b vp9_blend_b_c | 224 #define vp9_blend_b vp9_blend_b_c |
| 209 | 225 |
| 210 void vp9_convolve_copy_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); | 226 void vp9_convolve_copy_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); |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 287 static void setup_rtcd_internal(void) | 303 static void setup_rtcd_internal(void) |
| 288 { | 304 { |
| 289 int flags = arm_cpu_caps(); | 305 int flags = arm_cpu_caps(); |
| 290 | 306 |
| 291 (void)flags; | 307 (void)flags; |
| 292 | 308 |
| 293 | 309 |
| 294 } | 310 } |
| 295 #endif | 311 #endif |
| 296 #endif | 312 #endif |
| OLD | NEW |