1 // This file is generated. Do not edit. 2 #ifndef VPX_SCALE_RTCD_H_ 3 #define VPX_SCALE_RTCD_H_ 4 5 #ifdef RTCD_C 6 #define RTCD_EXTERN 7 #else 8 #define RTCD_EXTERN extern 9 #endif 10 11 struct yv12_buffer_config; 12 13 #ifdef __cplusplus 14 extern "C" { 15 #endif 16 17 void vp8_horizontal_line_2_1_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width); 18 #define vp8_horizontal_line_2_1_scale vp8_horizontal_line_2_1_scale_c 19 20 void vp8_horizontal_line_5_3_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width); 21 #define vp8_horizontal_line_5_3_scale vp8_horizontal_line_5_3_scale_c 22 23 void vp8_horizontal_line_5_4_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width); 24 #define vp8_horizontal_line_5_4_scale vp8_horizontal_line_5_4_scale_c 25 26 void vp8_vertical_band_2_1_scale_c(unsigned char *source, unsigned int src_pitch, unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width); 27 #define vp8_vertical_band_2_1_scale vp8_vertical_band_2_1_scale_c 28 29 void vp8_vertical_band_2_1_scale_i_c(unsigned char *source, unsigned int src_pitch, unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width); 30 #define vp8_vertical_band_2_1_scale_i vp8_vertical_band_2_1_scale_i_c 31 32 void vp8_vertical_band_5_3_scale_c(unsigned char *source, unsigned int src_pitch, unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width); 33 #define vp8_vertical_band_5_3_scale vp8_vertical_band_5_3_scale_c 34 35 void vp8_vertical_band_5_4_scale_c(unsigned char *source, unsigned int src_pitch, unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width); 36 #define vp8_vertical_band_5_4_scale vp8_vertical_band_5_4_scale_c 37 38 void vp8_yv12_copy_frame_c(const struct yv12_buffer_config *src_ybc, struct yv12_buffer_config *dst_ybc); 39 #define vp8_yv12_copy_frame vp8_yv12_copy_frame_c 40 41 void vp8_yv12_extend_frame_borders_c(struct yv12_buffer_config *ybf); 42 #define vp8_yv12_extend_frame_borders vp8_yv12_extend_frame_borders_c 43 44 void vpx_extend_frame_borders_c(struct yv12_buffer_config *ybf); 45 void vpx_extend_frame_borders_dspr2(struct yv12_buffer_config *ybf); 46 #define vpx_extend_frame_borders vpx_extend_frame_borders_dspr2 47 48 void vpx_extend_frame_inner_borders_c(struct yv12_buffer_config *ybf); 49 void vpx_extend_frame_inner_borders_dspr2(struct yv12_buffer_config *ybf); 50 #define vpx_extend_frame_inner_borders vpx_extend_frame_inner_borders_dspr2 51 52 void vpx_yv12_copy_frame_c(const struct yv12_buffer_config *src_ybc, struct yv12_buffer_config *dst_ybc); 53 #define vpx_yv12_copy_frame vpx_yv12_copy_frame_c 54 55 void vpx_yv12_copy_y_c(const struct yv12_buffer_config *src_ybc, struct yv12_buffer_config *dst_ybc); 56 #define vpx_yv12_copy_y vpx_yv12_copy_y_c 57 58 void vpx_scale_rtcd(void); 59 60 #include "vpx_config.h" 61 62 #ifdef RTCD_C 63 static void setup_rtcd_internal(void) 64 { 65 #if HAVE_DSPR2 66 void vpx_dsputil_static_init(); 67 #if CONFIG_VP8 68 void dsputil_static_init(); 69 #endif 70 71 vpx_dsputil_static_init(); 72 #if CONFIG_VP8 73 dsputil_static_init(); 74 #endif 75 #endif 76 } 77 #endif 78 79 #ifdef __cplusplus 80 } // extern "C" 81 #endif 82 83 #endif 84