OLD | NEW |
(Empty) | |
| 1 #ifndef VP9_RTCD_H_ |
| 2 #define VP9_RTCD_H_ |
| 3 |
| 4 #ifdef RTCD_C |
| 5 #define RTCD_EXTERN |
| 6 #else |
| 7 #define RTCD_EXTERN extern |
| 8 #endif |
| 9 |
| 10 /* |
| 11 * VP9 |
| 12 */ |
| 13 |
| 14 #include "vpx/vpx_integer.h" |
| 15 #include "vp9/common/vp9_common.h" |
| 16 #include "vp9/common/vp9_enums.h" |
| 17 |
| 18 struct macroblockd; |
| 19 |
| 20 /* Encoder forward decls */ |
| 21 struct macroblock; |
| 22 struct vp9_variance_vtable; |
| 23 struct search_site_config; |
| 24 struct mv; |
| 25 union int_mv; |
| 26 struct yv12_buffer_config; |
| 27 |
| 28 #ifdef __cplusplus |
| 29 extern "C" { |
| 30 #endif |
| 31 |
| 32 void vp9_filter_by_weight16x16_c(const uint8_t *src, int src_stride, uint8_t *ds
t, int dst_stride, int src_weight); |
| 33 #define vp9_filter_by_weight16x16 vp9_filter_by_weight16x16_c |
| 34 |
| 35 void vp9_filter_by_weight8x8_c(const uint8_t *src, int src_stride, uint8_t *dst,
int dst_stride, int src_weight); |
| 36 #define vp9_filter_by_weight8x8 vp9_filter_by_weight8x8_c |
| 37 |
| 38 void vp9_iht16x16_256_add_c(const tran_low_t *input, uint8_t *output, int pitch,
int tx_type); |
| 39 #define vp9_iht16x16_256_add vp9_iht16x16_256_add_c |
| 40 |
| 41 void vp9_iht4x4_16_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride
, int tx_type); |
| 42 void vp9_iht4x4_16_add_neon(const tran_low_t *input, uint8_t *dest, int dest_str
ide, int tx_type); |
| 43 #define vp9_iht4x4_16_add vp9_iht4x4_16_add_neon |
| 44 |
| 45 void vp9_iht8x8_64_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride
, int tx_type); |
| 46 void vp9_iht8x8_64_add_neon(const tran_low_t *input, uint8_t *dest, int dest_str
ide, int tx_type); |
| 47 #define vp9_iht8x8_64_add vp9_iht8x8_64_add_neon |
| 48 |
| 49 void vp9_mbpost_proc_across_ip_c(uint8_t *src, int pitch, int rows, int cols, in
t flimit); |
| 50 #define vp9_mbpost_proc_across_ip vp9_mbpost_proc_across_ip_c |
| 51 |
| 52 void vp9_mbpost_proc_down_c(uint8_t *dst, int pitch, int rows, int cols, int fli
mit); |
| 53 #define vp9_mbpost_proc_down vp9_mbpost_proc_down_c |
| 54 |
| 55 void vp9_post_proc_down_and_across_c(const uint8_t *src_ptr, uint8_t *dst_ptr, i
nt src_pixels_per_line, int dst_pixels_per_line, int rows, int cols, int flimit)
; |
| 56 #define vp9_post_proc_down_and_across vp9_post_proc_down_and_across_c |
| 57 |
| 58 void vp9_rtcd(void); |
| 59 |
| 60 #include "vpx_config.h" |
| 61 |
| 62 #ifdef RTCD_C |
| 63 #include "vpx_ports/arm.h" |
| 64 static void setup_rtcd_internal(void) |
| 65 { |
| 66 int flags = arm_cpu_caps(); |
| 67 |
| 68 (void)flags; |
| 69 |
| 70 } |
| 71 #endif |
| 72 |
| 73 #ifdef __cplusplus |
| 74 } // extern "C" |
| 75 #endif |
| 76 |
| 77 #endif |
OLD | NEW |