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_common.h" |
15 #include "vp9/common/vp9_enums.h" | 16 #include "vp9/common/vp9_enums.h" |
16 #include "vp9/common/vp9_idct.h" | |
17 | 17 |
18 struct macroblockd; | 18 struct macroblockd; |
19 | 19 |
20 /* Encoder forward decls */ | 20 /* Encoder forward decls */ |
21 struct macroblock; | 21 struct macroblock; |
22 struct vp9_variance_vtable; | 22 struct vp9_variance_vtable; |
23 struct search_site_config; | 23 struct search_site_config; |
24 struct mv; | 24 struct mv; |
25 union int_mv; | 25 union int_mv; |
26 struct yv12_buffer_config; | 26 struct yv12_buffer_config; |
27 | 27 |
28 #ifdef __cplusplus | 28 #ifdef __cplusplus |
29 extern "C" { | 29 extern "C" { |
30 #endif | 30 #endif |
31 | 31 |
| 32 unsigned int vp9_avg_8x8_c(const uint8_t *, int p); |
| 33 #define vp9_avg_8x8 vp9_avg_8x8_c |
| 34 |
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); | 35 int64_t vp9_block_error_c(const tran_low_t *coeff, const tran_low_t *dqcoeff, in
tptr_t block_size, int64_t *ssz); |
33 #define vp9_block_error vp9_block_error_c | 36 #define vp9_block_error vp9_block_error_c |
34 | 37 |
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); | 38 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); |
36 #define vp9_convolve8 vp9_convolve8_c | 39 #define vp9_convolve8 vp9_convolve8_c |
37 | 40 |
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); | 41 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); |
39 #define vp9_convolve8_avg vp9_convolve8_avg_c | 42 #define vp9_convolve8_avg vp9_convolve8_avg_c |
40 | 43 |
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); | 44 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); |
(...skipping 652 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
694 (void)flags; | 697 (void)flags; |
695 | 698 |
696 } | 699 } |
697 #endif | 700 #endif |
698 | 701 |
699 #ifdef __cplusplus | 702 #ifdef __cplusplus |
700 } // extern "C" | 703 } // extern "C" |
701 #endif | 704 #endif |
702 | 705 |
703 #endif | 706 #endif |
OLD | NEW |