1ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang#ifndef VPX_SCALE_RTCD_H_
2ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang#define VPX_SCALE_RTCD_H_
3ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang
4ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang#ifdef RTCD_C
5ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang#define RTCD_EXTERN
6ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang#else
7ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang#define RTCD_EXTERN extern
8ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang#endif
9ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang
10da49e34c1fb5e99681f4ad99c21d9cfd83eddb96Vignesh Venkatasubramanianstruct yv12_buffer_config;
11da49e34c1fb5e99681f4ad99c21d9cfd83eddb96Vignesh Venkatasubramanian
122ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#ifdef __cplusplus
132ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianextern "C" {
142ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#endif
15ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang
162ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianvoid vp8_horizontal_line_2_1_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width);
172ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp8_horizontal_line_2_1_scale vp8_horizontal_line_2_1_scale_c
18ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang
19ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuangvoid vp8_horizontal_line_5_3_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width);
20ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang#define vp8_horizontal_line_5_3_scale vp8_horizontal_line_5_3_scale_c
21ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang
222ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianvoid vp8_horizontal_line_5_4_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width);
232ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp8_horizontal_line_5_4_scale vp8_horizontal_line_5_4_scale_c
24ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang
25ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuangvoid 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);
26ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang#define vp8_vertical_band_2_1_scale vp8_vertical_band_2_1_scale_c
27ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang
28ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuangvoid 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);
29ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang#define vp8_vertical_band_2_1_scale_i vp8_vertical_band_2_1_scale_i_c
30ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang
312ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianvoid 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);
322ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp8_vertical_band_5_3_scale vp8_vertical_band_5_3_scale_c
332ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
342ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianvoid 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);
352ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp8_vertical_band_5_4_scale vp8_vertical_band_5_4_scale_c
36ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang
371184aebb761cbeac9124c37189a80a1a58f04b6bhkuangvoid vp8_yv12_copy_frame_c(const struct yv12_buffer_config *src_ybc, struct yv12_buffer_config *dst_ybc);
38ba6c59e9d7d7013b3906b6f4230b663422681848Vignesh Venkatasubramanian#define vp8_yv12_copy_frame vp8_yv12_copy_frame_c
39ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang
402ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianvoid vp8_yv12_extend_frame_borders_c(struct yv12_buffer_config *ybf);
41ba6c59e9d7d7013b3906b6f4230b663422681848Vignesh Venkatasubramanian#define vp8_yv12_extend_frame_borders vp8_yv12_extend_frame_borders_c
42ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang
43da49e34c1fb5e99681f4ad99c21d9cfd83eddb96Vignesh Venkatasubramanianvoid vpx_extend_frame_borders_c(struct yv12_buffer_config *ybf);
44da49e34c1fb5e99681f4ad99c21d9cfd83eddb96Vignesh Venkatasubramanian#define vpx_extend_frame_borders vpx_extend_frame_borders_c
45ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang
46da49e34c1fb5e99681f4ad99c21d9cfd83eddb96Vignesh Venkatasubramanianvoid vpx_extend_frame_inner_borders_c(struct yv12_buffer_config *ybf);
47da49e34c1fb5e99681f4ad99c21d9cfd83eddb96Vignesh Venkatasubramanian#define vpx_extend_frame_inner_borders vpx_extend_frame_inner_borders_c
4891037db265ecdd914a26e056cf69207b4f50924ehkuang
492ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianvoid vpx_yv12_copy_y_c(const struct yv12_buffer_config *src_ybc, struct yv12_buffer_config *dst_ybc);
502ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vpx_yv12_copy_y vpx_yv12_copy_y_c
512ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
52ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuangvoid vpx_scale_rtcd(void);
532ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
54ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang#include "vpx_config.h"
55ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang
56ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang#ifdef RTCD_C
57ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang#include "vpx_ports/arm.h"
58ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuangstatic void setup_rtcd_internal(void)
59ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang{
60ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang    int flags = arm_cpu_caps();
61ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang
62ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang    (void)flags;
63ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang
64ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang}
65ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang#endif
662ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
672ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#ifdef __cplusplus
682ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian}  // extern "C"
692ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#endif
702ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
71ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang#endif
72