OLD | NEW |
(Empty) | |
| 1 #ifndef VPX_SCALE_RTCD_ |
| 2 #define VPX_SCALE_RTCD_ |
| 3 |
| 4 #ifdef RTCD_C |
| 5 #define RTCD_EXTERN |
| 6 #else |
| 7 #define RTCD_EXTERN extern |
| 8 #endif |
| 9 |
| 10 struct yv12_buffer_config; |
| 11 |
| 12 void vp8_horizontal_line_5_4_scale_c(const unsigned char *source, unsigned int s
ource_width, unsigned char *dest, unsigned int dest_width); |
| 13 #define vp8_horizontal_line_5_4_scale vp8_horizontal_line_5_4_scale_c |
| 14 |
| 15 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); |
| 16 #define vp8_vertical_band_5_4_scale vp8_vertical_band_5_4_scale_c |
| 17 |
| 18 void vp8_horizontal_line_5_3_scale_c(const unsigned char *source, unsigned int s
ource_width, unsigned char *dest, unsigned int dest_width); |
| 19 #define vp8_horizontal_line_5_3_scale vp8_horizontal_line_5_3_scale_c |
| 20 |
| 21 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); |
| 22 #define vp8_vertical_band_5_3_scale vp8_vertical_band_5_3_scale_c |
| 23 |
| 24 void vp8_horizontal_line_2_1_scale_c(const unsigned char *source, unsigned int s
ource_width, unsigned char *dest, unsigned int dest_width); |
| 25 #define vp8_horizontal_line_2_1_scale vp8_horizontal_line_2_1_scale_c |
| 26 |
| 27 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); |
| 28 #define vp8_vertical_band_2_1_scale vp8_vertical_band_2_1_scale_c |
| 29 |
| 30 void vp8_vertical_band_2_1_scale_i_c(unsigned char *source, unsigned int src_pit
ch, unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width); |
| 31 #define vp8_vertical_band_2_1_scale_i vp8_vertical_band_2_1_scale_i_c |
| 32 |
| 33 void vp8_yv12_extend_frame_borders_c(struct yv12_buffer_config *ybf); |
| 34 void vp8_yv12_extend_frame_borders_neon(struct yv12_buffer_config *ybf); |
| 35 #define vp8_yv12_extend_frame_borders vp8_yv12_extend_frame_borders_neon |
| 36 |
| 37 void vp8_yv12_copy_frame_c(struct yv12_buffer_config *src_ybc, struct yv12_buffe
r_config *dst_ybc); |
| 38 void vp8_yv12_copy_frame_neon(struct yv12_buffer_config *src_ybc, struct yv12_bu
ffer_config *dst_ybc); |
| 39 #define vp8_yv12_copy_frame vp8_yv12_copy_frame_neon |
| 40 |
| 41 void vp8_yv12_copy_y_c(struct yv12_buffer_config *src_ybc, struct yv12_buffer_co
nfig *dst_ybc); |
| 42 void vp8_yv12_copy_y_neon(struct yv12_buffer_config *src_ybc, struct yv12_buffer
_config *dst_ybc); |
| 43 #define vp8_yv12_copy_y vp8_yv12_copy_y_neon |
| 44 |
| 45 void vpx_scale_rtcd(void); |
| 46 #include "vpx_config.h" |
| 47 |
| 48 #ifdef RTCD_C |
| 49 #include "vpx_ports/arm.h" |
| 50 static void setup_rtcd_internal(void) |
| 51 { |
| 52 int flags = arm_cpu_caps(); |
| 53 |
| 54 (void)flags; |
| 55 |
| 56 |
| 57 } |
| 58 #endif |
| 59 #endif |
OLD | NEW |