| OLD | NEW |
| 1 #ifndef VPX_SCALE_RTCD_H_ | 1 #ifndef VPX_SCALE_RTCD_H_ |
| 2 #define VPX_SCALE_RTCD_H_ | 2 #define VPX_SCALE_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 struct yv12_buffer_config; | 10 struct yv12_buffer_config; |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 | 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); | 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 | 28 #define vp8_vertical_band_2_1_scale vp8_vertical_band_2_1_scale_c |
| 29 | 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); | 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 | 31 #define vp8_vertical_band_2_1_scale_i vp8_vertical_band_2_1_scale_i_c |
| 32 | 32 |
| 33 void vp8_yv12_extend_frame_borders_c(struct yv12_buffer_config *ybf); | 33 void vp8_yv12_extend_frame_borders_c(struct yv12_buffer_config *ybf); |
| 34 #define vp8_yv12_extend_frame_borders vp8_yv12_extend_frame_borders_c | 34 #define vp8_yv12_extend_frame_borders vp8_yv12_extend_frame_borders_c |
| 35 | 35 |
| 36 void vp8_yv12_copy_frame_c(struct yv12_buffer_config *src_ybc, struct yv12_buffe
r_config *dst_ybc); | 36 void vp8_yv12_copy_frame_c(const struct yv12_buffer_config *src_ybc, struct yv12
_buffer_config *dst_ybc); |
| 37 #define vp8_yv12_copy_frame vp8_yv12_copy_frame_c | 37 #define vp8_yv12_copy_frame vp8_yv12_copy_frame_c |
| 38 | 38 |
| 39 void vp8_yv12_copy_y_c(struct yv12_buffer_config *src_ybc, struct yv12_buffer_co
nfig *dst_ybc); | 39 void vpx_yv12_copy_y_c(const struct yv12_buffer_config *src_ybc, struct yv12_buf
fer_config *dst_ybc); |
| 40 #define vp8_yv12_copy_y vp8_yv12_copy_y_c | 40 #define vpx_yv12_copy_y vpx_yv12_copy_y_c |
| 41 | 41 |
| 42 void vp9_extend_frame_borders_c(struct yv12_buffer_config *ybf, int subsampling_
x, int subsampling_y); | 42 void vp9_extend_frame_borders_c(struct yv12_buffer_config *ybf, int subsampling_
x, int subsampling_y); |
| 43 #define vp9_extend_frame_borders vp9_extend_frame_borders_c | 43 #define vp9_extend_frame_borders vp9_extend_frame_borders_c |
| 44 | 44 |
| 45 void vp9_extend_frame_inner_borders_c(struct yv12_buffer_config *ybf, int subsam
pling_x, int subsampling_y); | 45 void vp9_extend_frame_inner_borders_c(struct yv12_buffer_config *ybf, int subsam
pling_x, int subsampling_y); |
| 46 #define vp9_extend_frame_inner_borders vp9_extend_frame_inner_borders_c | 46 #define vp9_extend_frame_inner_borders vp9_extend_frame_inner_borders_c |
| 47 | 47 |
| 48 void vpx_scale_rtcd(void); | 48 void vpx_scale_rtcd(void); |
| 49 #include "vpx_config.h" | 49 #include "vpx_config.h" |
| 50 | 50 |
| 51 #ifdef RTCD_C | 51 #ifdef RTCD_C |
| 52 #include "vpx_ports/arm.h" | 52 #include "vpx_ports/arm.h" |
| 53 static void setup_rtcd_internal(void) | 53 static void setup_rtcd_internal(void) |
| 54 { | 54 { |
| 55 int flags = arm_cpu_caps(); | 55 int flags = arm_cpu_caps(); |
| 56 | 56 |
| 57 (void)flags; | 57 (void)flags; |
| 58 | 58 |
| 59 | 59 |
| 60 } | 60 } |
| 61 #endif | 61 #endif |
| 62 #endif | 62 #endif |
| OLD | NEW |