1 /*
2 * Copyright (c) 2024 The WebM project authors. All Rights Reserved.
3 *
4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
9 */
10
11 // This file is generated. Do not edit.
12 #ifndef VPX_SCALE_RTCD_H_
13 #define VPX_SCALE_RTCD_H_
14
15 #ifdef RTCD_C
16 #define RTCD_EXTERN
17 #else
18 #define RTCD_EXTERN extern
19 #endif
20
21 struct yv12_buffer_config;
22
23 #ifdef __cplusplus
24 extern "C" {
25 #endif
26
27 void vp8_horizontal_line_2_1_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width);
28 #define vp8_horizontal_line_2_1_scale vp8_horizontal_line_2_1_scale_c
29
30 void vp8_horizontal_line_5_3_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width);
31 #define vp8_horizontal_line_5_3_scale vp8_horizontal_line_5_3_scale_c
32
33 void vp8_horizontal_line_5_4_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width);
34 #define vp8_horizontal_line_5_4_scale vp8_horizontal_line_5_4_scale_c
35
36 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);
37 #define vp8_vertical_band_2_1_scale vp8_vertical_band_2_1_scale_c
38
39 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);
40 #define vp8_vertical_band_2_1_scale_i vp8_vertical_band_2_1_scale_i_c
41
42 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);
43 #define vp8_vertical_band_5_3_scale vp8_vertical_band_5_3_scale_c
44
45 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);
46 #define vp8_vertical_band_5_4_scale vp8_vertical_band_5_4_scale_c
47
48 void vp8_yv12_copy_frame_c(const struct yv12_buffer_config *src_ybc, struct yv12_buffer_config *dst_ybc);
49 #define vp8_yv12_copy_frame vp8_yv12_copy_frame_c
50
51 void vp8_yv12_extend_frame_borders_c(struct yv12_buffer_config *ybf);
52 #define vp8_yv12_extend_frame_borders vp8_yv12_extend_frame_borders_c
53
54 void vpx_extend_frame_borders_c(struct yv12_buffer_config *ybf);
55 #define vpx_extend_frame_borders vpx_extend_frame_borders_c
56
57 void vpx_extend_frame_inner_borders_c(struct yv12_buffer_config *ybf);
58 #define vpx_extend_frame_inner_borders vpx_extend_frame_inner_borders_c
59
60 void vpx_yv12_copy_frame_c(const struct yv12_buffer_config *src_ybc, struct yv12_buffer_config *dst_ybc);
61 #define vpx_yv12_copy_frame vpx_yv12_copy_frame_c
62
63 void vpx_yv12_copy_y_c(const struct yv12_buffer_config *src_ybc, struct yv12_buffer_config *dst_ybc);
64 #define vpx_yv12_copy_y vpx_yv12_copy_y_c
65
66 void vpx_scale_rtcd(void);
67
68 #ifdef RTCD_C
69 #include "vpx_ports/x86.h"
setup_rtcd_internal(void)70 static void setup_rtcd_internal(void)
71 {
72 int flags = x86_simd_caps();
73
74 (void)flags;
75
76 }
77 #endif
78
79 #ifdef __cplusplus
80 } // extern "C"
81 #endif
82
83 #endif // VPX_SCALE_RTCD_H_
84