Coverage Report

Created: 2025-07-04 06:17

/work/build/vp8_rtcd.h
Line
Count
Source (jump to first uncovered line)
1
/*
2
 *  Copyright (c) 2025 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 VP8_RTCD_H_
13
#define VP8_RTCD_H_
14
15
#ifdef RTCD_C
16
#define RTCD_EXTERN
17
#else
18
#define RTCD_EXTERN extern
19
#endif
20
21
/*
22
 * VP8
23
 */
24
25
struct blockd;
26
struct macroblockd;
27
struct loop_filter_info;
28
29
/* Encoder forward decls */
30
struct block;
31
struct macroblock;
32
struct variance_vtable;
33
union int_mv;
34
struct yv12_buffer_config;
35
36
#ifdef __cplusplus
37
extern "C" {
38
#endif
39
40
void vp8_bilinear_predict16x16_c(unsigned char *src_ptr, int src_pixels_per_line, int xoffset, int yoffset, unsigned char *dst_ptr, int dst_pitch);
41
void vp8_bilinear_predict16x16_sse2(unsigned char *src_ptr, int src_pixels_per_line, int xoffset, int yoffset, unsigned char *dst_ptr, int dst_pitch);
42
void vp8_bilinear_predict16x16_ssse3(unsigned char *src_ptr, int src_pixels_per_line, int xoffset, int yoffset, unsigned char *dst_ptr, int dst_pitch);
43
RTCD_EXTERN void (*vp8_bilinear_predict16x16)(unsigned char *src_ptr, int src_pixels_per_line, int xoffset, int yoffset, unsigned char *dst_ptr, int dst_pitch);
44
45
void vp8_bilinear_predict4x4_c(unsigned char *src_ptr, int src_pixels_per_line, int xoffset, int yoffset, unsigned char *dst_ptr, int dst_pitch);
46
void vp8_bilinear_predict4x4_sse2(unsigned char *src_ptr, int src_pixels_per_line, int xoffset, int yoffset, unsigned char *dst_ptr, int dst_pitch);
47
3.11k
#define vp8_bilinear_predict4x4 vp8_bilinear_predict4x4_sse2
48
49
void vp8_bilinear_predict8x4_c(unsigned char *src_ptr, int src_pixels_per_line, int xoffset, int yoffset, unsigned char *dst_ptr, int dst_pitch);
50
void vp8_bilinear_predict8x4_sse2(unsigned char *src_ptr, int src_pixels_per_line, int xoffset, int yoffset, unsigned char *dst_ptr, int dst_pitch);
51
3.11k
#define vp8_bilinear_predict8x4 vp8_bilinear_predict8x4_sse2
52
53
void vp8_bilinear_predict8x8_c(unsigned char *src_ptr, int src_pixels_per_line, int xoffset, int yoffset, unsigned char *dst_ptr, int dst_pitch);
54
void vp8_bilinear_predict8x8_sse2(unsigned char *src_ptr, int src_pixels_per_line, int xoffset, int yoffset, unsigned char *dst_ptr, int dst_pitch);
55
void vp8_bilinear_predict8x8_ssse3(unsigned char *src_ptr, int src_pixels_per_line, int xoffset, int yoffset, unsigned char *dst_ptr, int dst_pitch);
56
RTCD_EXTERN void (*vp8_bilinear_predict8x8)(unsigned char *src_ptr, int src_pixels_per_line, int xoffset, int yoffset, unsigned char *dst_ptr, int dst_pitch);
57
58
void vp8_copy_mem16x16_c(unsigned char *src, int src_stride, unsigned char *dst, int dst_stride);
59
void vp8_copy_mem16x16_sse2(unsigned char *src, int src_stride, unsigned char *dst, int dst_stride);
60
4.24M
#define vp8_copy_mem16x16 vp8_copy_mem16x16_sse2
61
62
void vp8_copy_mem8x4_c(unsigned char *src, int src_stride, unsigned char *dst, int dst_stride);
63
void vp8_copy_mem8x4_mmx(unsigned char *src, int src_stride, unsigned char *dst, int dst_stride);
64
2.79M
#define vp8_copy_mem8x4 vp8_copy_mem8x4_mmx
65
66
void vp8_copy_mem8x8_c(unsigned char *src, int src_stride, unsigned char *dst, int dst_stride);
67
void vp8_copy_mem8x8_mmx(unsigned char *src, int src_stride, unsigned char *dst, int dst_stride);
68
11.0M
#define vp8_copy_mem8x8 vp8_copy_mem8x8_mmx
69
70
void vp8_dc_only_idct_add_c(short input_dc, unsigned char *pred_ptr, int pred_stride, unsigned char *dst_ptr, int dst_stride);
71
void vp8_dc_only_idct_add_mmx(short input_dc, unsigned char *pred_ptr, int pred_stride, unsigned char *dst_ptr, int dst_stride);
72
1.50G
#define vp8_dc_only_idct_add vp8_dc_only_idct_add_mmx
73
74
void vp8_dequant_idct_add_c(short *input, short *dq, unsigned char *dest, int stride);
75
void vp8_dequant_idct_add_mmx(short *input, short *dq, unsigned char *dest, int stride);
76
1.79G
#define vp8_dequant_idct_add vp8_dequant_idct_add_mmx
77
78
void vp8_dequant_idct_add_uv_block_c(short *q, short *dq, unsigned char *dst_u, unsigned char *dst_v, int stride, char *eobs);
79
void vp8_dequant_idct_add_uv_block_sse2(short *q, short *dq, unsigned char *dst_u, unsigned char *dst_v, int stride, char *eobs);
80
599M
#define vp8_dequant_idct_add_uv_block vp8_dequant_idct_add_uv_block_sse2
81
82
void vp8_dequant_idct_add_y_block_c(short *q, short *dq, unsigned char *dst, int stride, char *eobs);
83
void vp8_dequant_idct_add_y_block_sse2(short *q, short *dq, unsigned char *dst, int stride, char *eobs);
84
53.3M
#define vp8_dequant_idct_add_y_block vp8_dequant_idct_add_y_block_sse2
85
86
void vp8_dequantize_b_c(struct blockd*, short *DQC);
87
void vp8_dequantize_b_mmx(struct blockd*, short *DQC);
88
8.69M
#define vp8_dequantize_b vp8_dequantize_b_mmx
89
90
void vp8_filter_by_weight16x16_c(unsigned char *src, int src_stride, unsigned char *dst, int dst_stride, int src_weight);
91
void vp8_filter_by_weight16x16_sse2(unsigned char *src, int src_stride, unsigned char *dst, int dst_stride, int src_weight);
92
0
#define vp8_filter_by_weight16x16 vp8_filter_by_weight16x16_sse2
93
94
void vp8_filter_by_weight4x4_c(unsigned char *src, int src_stride, unsigned char *dst, int dst_stride, int src_weight);
95
0
#define vp8_filter_by_weight4x4 vp8_filter_by_weight4x4_c
96
97
void vp8_filter_by_weight8x8_c(unsigned char *src, int src_stride, unsigned char *dst, int dst_stride, int src_weight);
98
void vp8_filter_by_weight8x8_sse2(unsigned char *src, int src_stride, unsigned char *dst, int dst_stride, int src_weight);
99
0
#define vp8_filter_by_weight8x8 vp8_filter_by_weight8x8_sse2
100
101
void vp8_loop_filter_bh_c(unsigned char *y_ptr, unsigned char *u_ptr, unsigned char *v_ptr, int y_stride, int uv_stride, struct loop_filter_info *lfi);
102
void vp8_loop_filter_bh_sse2(unsigned char *y_ptr, unsigned char *u_ptr, unsigned char *v_ptr, int y_stride, int uv_stride, struct loop_filter_info *lfi);
103
141M
#define vp8_loop_filter_bh vp8_loop_filter_bh_sse2
104
105
void vp8_loop_filter_bv_c(unsigned char *y_ptr, unsigned char *u_ptr, unsigned char *v_ptr, int y_stride, int uv_stride, struct loop_filter_info *lfi);
106
void vp8_loop_filter_bv_sse2(unsigned char *y_ptr, unsigned char *u_ptr, unsigned char *v_ptr, int y_stride, int uv_stride, struct loop_filter_info *lfi);
107
141M
#define vp8_loop_filter_bv vp8_loop_filter_bv_sse2
108
109
void vp8_loop_filter_mbh_c(unsigned char *y_ptr, unsigned char *u_ptr, unsigned char *v_ptr, int y_stride, int uv_stride, struct loop_filter_info *lfi);
110
void vp8_loop_filter_mbh_sse2(unsigned char *y_ptr, unsigned char *u_ptr, unsigned char *v_ptr, int y_stride, int uv_stride, struct loop_filter_info *lfi);
111
148M
#define vp8_loop_filter_mbh vp8_loop_filter_mbh_sse2
112
113
void vp8_loop_filter_mbv_c(unsigned char *y_ptr, unsigned char *u_ptr, unsigned char *v_ptr, int y_stride, int uv_stride, struct loop_filter_info *lfi);
114
void vp8_loop_filter_mbv_sse2(unsigned char *y_ptr, unsigned char *u_ptr, unsigned char *v_ptr, int y_stride, int uv_stride, struct loop_filter_info *lfi);
115
148M
#define vp8_loop_filter_mbv vp8_loop_filter_mbv_sse2
116
117
void vp8_loop_filter_bhs_c(unsigned char *y_ptr, int y_stride, const unsigned char *blimit);
118
void vp8_loop_filter_bhs_sse2(unsigned char *y_ptr, int y_stride, const unsigned char *blimit);
119
111M
#define vp8_loop_filter_simple_bh vp8_loop_filter_bhs_sse2
120
121
void vp8_loop_filter_bvs_c(unsigned char *y_ptr, int y_stride, const unsigned char *blimit);
122
void vp8_loop_filter_bvs_sse2(unsigned char *y_ptr, int y_stride, const unsigned char *blimit);
123
111M
#define vp8_loop_filter_simple_bv vp8_loop_filter_bvs_sse2
124
125
void vp8_loop_filter_simple_horizontal_edge_c(unsigned char *y_ptr, int y_stride, const unsigned char *blimit);
126
void vp8_loop_filter_simple_horizontal_edge_sse2(unsigned char *y_ptr, int y_stride, const unsigned char *blimit);
127
111M
#define vp8_loop_filter_simple_mbh vp8_loop_filter_simple_horizontal_edge_sse2
128
129
void vp8_loop_filter_simple_vertical_edge_c(unsigned char *y_ptr, int y_stride, const unsigned char *blimit);
130
void vp8_loop_filter_simple_vertical_edge_sse2(unsigned char *y_ptr, int y_stride, const unsigned char *blimit);
131
110M
#define vp8_loop_filter_simple_mbv vp8_loop_filter_simple_vertical_edge_sse2
132
133
void vp8_short_idct4x4llm_c(short *input, unsigned char *pred_ptr, int pred_stride, unsigned char *dst_ptr, int dst_stride);
134
void vp8_short_idct4x4llm_mmx(short *input, unsigned char *pred_ptr, int pred_stride, unsigned char *dst_ptr, int dst_stride);
135
#define vp8_short_idct4x4llm vp8_short_idct4x4llm_mmx
136
137
void vp8_short_inv_walsh4x4_c(short *input, short *mb_dqcoeff);
138
void vp8_short_inv_walsh4x4_sse2(short *input, short *mb_dqcoeff);
139
8.69M
#define vp8_short_inv_walsh4x4 vp8_short_inv_walsh4x4_sse2
140
141
void vp8_short_inv_walsh4x4_1_c(short *input, short *mb_dqcoeff);
142
44.0M
#define vp8_short_inv_walsh4x4_1 vp8_short_inv_walsh4x4_1_c
143
144
void vp8_sixtap_predict16x16_c(unsigned char *src_ptr, int src_pixels_per_line, int xoffset, int yoffset, unsigned char *dst_ptr, int dst_pitch);
145
void vp8_sixtap_predict16x16_sse2(unsigned char *src_ptr, int src_pixels_per_line, int xoffset, int yoffset, unsigned char *dst_ptr, int dst_pitch);
146
void vp8_sixtap_predict16x16_ssse3(unsigned char *src_ptr, int src_pixels_per_line, int xoffset, int yoffset, unsigned char *dst_ptr, int dst_pitch);
147
RTCD_EXTERN void (*vp8_sixtap_predict16x16)(unsigned char *src_ptr, int src_pixels_per_line, int xoffset, int yoffset, unsigned char *dst_ptr, int dst_pitch);
148
149
void vp8_sixtap_predict4x4_c(unsigned char *src_ptr, int src_pixels_per_line, int xoffset, int yoffset, unsigned char *dst_ptr, int dst_pitch);
150
void vp8_sixtap_predict4x4_mmx(unsigned char *src_ptr, int src_pixels_per_line, int xoffset, int yoffset, unsigned char *dst_ptr, int dst_pitch);
151
void vp8_sixtap_predict4x4_ssse3(unsigned char *src_ptr, int src_pixels_per_line, int xoffset, int yoffset, unsigned char *dst_ptr, int dst_pitch);
152
RTCD_EXTERN void (*vp8_sixtap_predict4x4)(unsigned char *src_ptr, int src_pixels_per_line, int xoffset, int yoffset, unsigned char *dst_ptr, int dst_pitch);
153
154
void vp8_sixtap_predict8x4_c(unsigned char *src_ptr, int src_pixels_per_line, int xoffset, int yoffset, unsigned char *dst_ptr, int dst_pitch);
155
void vp8_sixtap_predict8x4_sse2(unsigned char *src_ptr, int src_pixels_per_line, int xoffset, int yoffset, unsigned char *dst_ptr, int dst_pitch);
156
void vp8_sixtap_predict8x4_ssse3(unsigned char *src_ptr, int src_pixels_per_line, int xoffset, int yoffset, unsigned char *dst_ptr, int dst_pitch);
157
RTCD_EXTERN void (*vp8_sixtap_predict8x4)(unsigned char *src_ptr, int src_pixels_per_line, int xoffset, int yoffset, unsigned char *dst_ptr, int dst_pitch);
158
159
void vp8_sixtap_predict8x8_c(unsigned char *src_ptr, int src_pixels_per_line, int xoffset, int yoffset, unsigned char *dst_ptr, int dst_pitch);
160
void vp8_sixtap_predict8x8_sse2(unsigned char *src_ptr, int src_pixels_per_line, int xoffset, int yoffset, unsigned char *dst_ptr, int dst_pitch);
161
void vp8_sixtap_predict8x8_ssse3(unsigned char *src_ptr, int src_pixels_per_line, int xoffset, int yoffset, unsigned char *dst_ptr, int dst_pitch);
162
RTCD_EXTERN void (*vp8_sixtap_predict8x8)(unsigned char *src_ptr, int src_pixels_per_line, int xoffset, int yoffset, unsigned char *dst_ptr, int dst_pitch);
163
164
void vp8_rtcd(void);
165
166
#ifdef RTCD_C
167
#include "vpx_ports/x86.h"
168
static void setup_rtcd_internal(void)
169
1
{
170
1
    int flags = x86_simd_caps();
171
172
1
    (void)flags;
173
174
1
    vp8_bilinear_predict16x16 = vp8_bilinear_predict16x16_sse2;
175
1
    if (flags & HAS_SSSE3) vp8_bilinear_predict16x16 = vp8_bilinear_predict16x16_ssse3;
176
1
    vp8_bilinear_predict8x8 = vp8_bilinear_predict8x8_sse2;
177
1
    if (flags & HAS_SSSE3) vp8_bilinear_predict8x8 = vp8_bilinear_predict8x8_ssse3;
178
1
    vp8_sixtap_predict16x16 = vp8_sixtap_predict16x16_sse2;
179
1
    if (flags & HAS_SSSE3) vp8_sixtap_predict16x16 = vp8_sixtap_predict16x16_ssse3;
180
1
    vp8_sixtap_predict4x4 = vp8_sixtap_predict4x4_mmx;
181
1
    if (flags & HAS_SSSE3) vp8_sixtap_predict4x4 = vp8_sixtap_predict4x4_ssse3;
182
1
    vp8_sixtap_predict8x4 = vp8_sixtap_predict8x4_sse2;
183
1
    if (flags & HAS_SSSE3) vp8_sixtap_predict8x4 = vp8_sixtap_predict8x4_ssse3;
184
1
    vp8_sixtap_predict8x8 = vp8_sixtap_predict8x8_sse2;
185
1
    if (flags & HAS_SSSE3) vp8_sixtap_predict8x8 = vp8_sixtap_predict8x8_ssse3;
186
1
}
187
#endif
188
189
#ifdef __cplusplus
190
}  // extern "C"
191
#endif
192
193
#endif  // VP8_RTCD_H_