media/libvpx/vpx_scale_rtcd_x86-darwin9-gcc.h

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/media/libvpx/vpx_scale_rtcd_x86-darwin9-gcc.h	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,61 @@
     1.4 +#ifndef VPX_SCALE_RTCD_H_
     1.5 +#define VPX_SCALE_RTCD_H_
     1.6 +
     1.7 +#ifdef RTCD_C
     1.8 +#define RTCD_EXTERN
     1.9 +#else
    1.10 +#define RTCD_EXTERN extern
    1.11 +#endif
    1.12 +
    1.13 +struct yv12_buffer_config;
    1.14 +
    1.15 +void vp8_horizontal_line_5_4_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width);
    1.16 +#define vp8_horizontal_line_5_4_scale vp8_horizontal_line_5_4_scale_c
    1.17 +
    1.18 +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);
    1.19 +#define vp8_vertical_band_5_4_scale vp8_vertical_band_5_4_scale_c
    1.20 +
    1.21 +void vp8_horizontal_line_5_3_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width);
    1.22 +#define vp8_horizontal_line_5_3_scale vp8_horizontal_line_5_3_scale_c
    1.23 +
    1.24 +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);
    1.25 +#define vp8_vertical_band_5_3_scale vp8_vertical_band_5_3_scale_c
    1.26 +
    1.27 +void vp8_horizontal_line_2_1_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width);
    1.28 +#define vp8_horizontal_line_2_1_scale vp8_horizontal_line_2_1_scale_c
    1.29 +
    1.30 +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);
    1.31 +#define vp8_vertical_band_2_1_scale vp8_vertical_band_2_1_scale_c
    1.32 +
    1.33 +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);
    1.34 +#define vp8_vertical_band_2_1_scale_i vp8_vertical_band_2_1_scale_i_c
    1.35 +
    1.36 +void vp8_yv12_extend_frame_borders_c(struct yv12_buffer_config *ybf);
    1.37 +#define vp8_yv12_extend_frame_borders vp8_yv12_extend_frame_borders_c
    1.38 +
    1.39 +void vp8_yv12_copy_frame_c(const struct yv12_buffer_config *src_ybc, struct yv12_buffer_config *dst_ybc);
    1.40 +#define vp8_yv12_copy_frame vp8_yv12_copy_frame_c
    1.41 +
    1.42 +void vpx_yv12_copy_y_c(const struct yv12_buffer_config *src_ybc, struct yv12_buffer_config *dst_ybc);
    1.43 +#define vpx_yv12_copy_y vpx_yv12_copy_y_c
    1.44 +
    1.45 +void vp9_extend_frame_borders_c(struct yv12_buffer_config *ybf, int subsampling_x, int subsampling_y);
    1.46 +#define vp9_extend_frame_borders vp9_extend_frame_borders_c
    1.47 +
    1.48 +void vp9_extend_frame_inner_borders_c(struct yv12_buffer_config *ybf, int subsampling_x, int subsampling_y);
    1.49 +#define vp9_extend_frame_inner_borders vp9_extend_frame_inner_borders_c
    1.50 +
    1.51 +void vpx_scale_rtcd(void);
    1.52 +
    1.53 +#ifdef RTCD_C
    1.54 +#include "vpx_ports/x86.h"
    1.55 +static void setup_rtcd_internal(void)
    1.56 +{
    1.57 +    int flags = x86_simd_caps();
    1.58 +
    1.59 +    (void)flags;
    1.60 +
    1.61 +
    1.62 +}
    1.63 +#endif
    1.64 +#endif

mercurial