Coverage Report

Created: 2026-10-28 08:13

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/ffmpeg/libavcodec/qpel_template.c
Line
Count
Source
1
/*
2
 * quarterpel DSP function templates
3
 * Copyright (c) 2000, 2001 Fabrice Bellard
4
 * Copyright (c) 2002-2004 Michael Niedermayer <michaelni@gmx.at>
5
 *
6
 * This file is part of FFmpeg.
7
 *
8
 * FFmpeg is free software; you can redistribute it and/or
9
 * modify it under the terms of the GNU Lesser General Public
10
 * License as published by the Free Software Foundation; either
11
 * version 2.1 of the License, or (at your option) any later version.
12
 *
13
 * FFmpeg is distributed in the hope that it will be useful,
14
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16
 * Lesser General Public License for more details.
17
 *
18
 * You should have received a copy of the GNU Lesser General Public
19
 * License along with FFmpeg; if not, write to the Free Software
20
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
21
 */
22
23
/**
24
 * @file
25
 * quarterpel DSP function templates
26
 */
27
28
#define PIXOP2(OPNAME, OP)                                              \
29
static inline void OPNAME ## _no_rnd_pixels8_l2_8(uint8_t *dst,         \
30
                                                  const uint8_t *src1,  \
31
                                                  const uint8_t *src2,  \
32
                                                  ptrdiff_t dst_stride, \
33
                                                  ptrdiff_t src_stride1,\
34
                                                  ptrdiff_t src_stride2,\
35
564k
                                                  int h)                \
36
564k
{                                                                       \
37
564k
    int i;                                                              \
38
564k
                                                                        \
39
9.53M
    for (i = 0; i < h; i++) {                                           \
40
8.97M
        uint32_t a, b;                                                  \
41
8.97M
        a = AV_RN32(&src1[i * src_stride1]);                            \
42
8.97M
        b = AV_RN32(&src2[i * src_stride2]);                            \
43
8.97M
        OP(*((uint32_t *) &dst[i * dst_stride]),                        \
44
8.97M
           no_rnd_avg32(a, b));                                         \
45
8.97M
        a = AV_RN32(&src1[i * src_stride1 + 4]);                        \
46
8.97M
        b = AV_RN32(&src2[i * src_stride2 + 4]);                        \
47
8.97M
        OP(*((uint32_t *) &dst[i * dst_stride + 4]),                    \
48
8.97M
           no_rnd_avg32(a, b));                                         \
49
8.97M
    }                                                                   \
50
564k
}                                                                       \
qpeldsp.c:put_no_rnd_pixels8_l2_8
Line
Count
Source
35
564k
                                                  int h)                \
36
564k
{                                                                       \
37
564k
    int i;                                                              \
38
564k
                                                                        \
39
9.53M
    for (i = 0; i < h; i++) {                                           \
40
8.97M
        uint32_t a, b;                                                  \
41
8.97M
        a = AV_RN32(&src1[i * src_stride1]);                            \
42
8.97M
        b = AV_RN32(&src2[i * src_stride2]);                            \
43
8.97M
        OP(*((uint32_t *) &dst[i * dst_stride]),                        \
44
8.97M
           no_rnd_avg32(a, b));                                         \
45
8.97M
        a = AV_RN32(&src1[i * src_stride1 + 4]);                        \
46
8.97M
        b = AV_RN32(&src2[i * src_stride2 + 4]);                        \
47
8.97M
        OP(*((uint32_t *) &dst[i * dst_stride + 4]),                    \
48
8.97M
           no_rnd_avg32(a, b));                                         \
49
8.97M
    }                                                                   \
50
564k
}                                                                       \
Unexecuted instantiation: qpeldsp.c:avg_no_rnd_pixels8_l2_8
51
                                                                        \
52
static inline void OPNAME ## _no_rnd_pixels16_l2_8(uint8_t *dst,        \
53
                                                   const uint8_t *src1, \
54
                                                   const uint8_t *src2, \
55
                                                   ptrdiff_t dst_stride,\
56
                                                   ptrdiff_t src_stride1,\
57
                                                   ptrdiff_t src_stride2,\
58
268k
                                                   int h)               \
59
268k
{                                                                       \
60
268k
    OPNAME ## _no_rnd_pixels8_l2_8(dst, src1, src2, dst_stride,         \
61
268k
                                   src_stride1, src_stride2, h);        \
62
268k
    OPNAME ## _no_rnd_pixels8_l2_8(dst  + 8,                            \
63
268k
                                   src1 + 8,                            \
64
268k
                                   src2 + 8,                            \
65
268k
                                   dst_stride, src_stride1,             \
66
268k
                                   src_stride2, h);                     \
67
268k
}                                                                       \
qpeldsp.c:put_no_rnd_pixels16_l2_8
Line
Count
Source
58
268k
                                                   int h)               \
59
268k
{                                                                       \
60
268k
    OPNAME ## _no_rnd_pixels8_l2_8(dst, src1, src2, dst_stride,         \
61
268k
                                   src_stride1, src_stride2, h);        \
62
268k
    OPNAME ## _no_rnd_pixels8_l2_8(dst  + 8,                            \
63
268k
                                   src1 + 8,                            \
64
268k
                                   src2 + 8,                            \
65
268k
                                   dst_stride, src_stride1,             \
66
268k
                                   src_stride2, h);                     \
67
268k
}                                                                       \
Unexecuted instantiation: qpeldsp.c:avg_no_rnd_pixels16_l2_8
68
                                                                        \
69
static inline void OPNAME ## _pixels8_l4_8(uint8_t *dst,                \
70
                                           const uint8_t *src1,         \
71
                                           const uint8_t *src2,         \
72
                                           const uint8_t *src3,         \
73
                                           const uint8_t *src4,         \
74
                                           ptrdiff_t dst_stride,        \
75
                                           ptrdiff_t src_stride1,       \
76
                                           ptrdiff_t src_stride2,       \
77
                                           ptrdiff_t src_stride3,       \
78
                                           ptrdiff_t src_stride4,       \
79
1.62M
                                           int h)                       \
80
1.62M
{                                                                       \
81
1.62M
    /* FIXME HIGH BIT DEPTH */                                          \
82
1.62M
    int i;                                                              \
83
1.62M
                                                                        \
84
10.7M
    for (i = 0; i < h; i++) {                                           \
85
9.10M
        uint32_t a, b, c, d, l0, l1, h0, h1;                            \
86
9.10M
        a  = AV_RN32(&src1[i * src_stride1]);                           \
87
9.10M
        b  = AV_RN32(&src2[i * src_stride2]);                           \
88
9.10M
        c  = AV_RN32(&src3[i * src_stride3]);                           \
89
9.10M
        d  = AV_RN32(&src4[i * src_stride4]);                           \
90
9.10M
        l0 = (a & 0x03030303UL) +                                       \
91
9.10M
             (b & 0x03030303UL) +                                       \
92
9.10M
                  0x02020202UL;                                         \
93
9.10M
        h0 = ((a & 0xFCFCFCFCUL) >> 2) +                                \
94
9.10M
             ((b & 0xFCFCFCFCUL) >> 2);                                 \
95
9.10M
        l1 = (c & 0x03030303UL) +                                       \
96
9.10M
             (d & 0x03030303UL);                                        \
97
9.10M
        h1 = ((c & 0xFCFCFCFCUL) >> 2) +                                \
98
9.10M
             ((d & 0xFCFCFCFCUL) >> 2);                                 \
99
9.10M
        OP(*((uint32_t *) &dst[i * dst_stride]),                        \
100
9.10M
           h0 + h1 + (((l0 + l1) >> 2) & 0x0F0F0F0FUL));                \
101
9.10M
        a  = AV_RN32(&src1[i * src_stride1 + 4]);                       \
102
9.10M
        b  = AV_RN32(&src2[i * src_stride2 + 4]);                       \
103
9.10M
        c  = AV_RN32(&src3[i * src_stride3 + 4]);                       \
104
9.10M
        d  = AV_RN32(&src4[i * src_stride4 + 4]);                       \
105
9.10M
        l0 = (a & 0x03030303UL) +                                       \
106
9.10M
             (b & 0x03030303UL) +                                       \
107
9.10M
                  0x02020202UL;                                         \
108
9.10M
        h0 = ((a & 0xFCFCFCFCUL) >> 2) +                                \
109
9.10M
             ((b & 0xFCFCFCFCUL) >> 2);                                 \
110
9.10M
        l1 = (c & 0x03030303UL) +                                       \
111
9.10M
             (d & 0x03030303UL);                                        \
112
9.10M
        h1 = ((c & 0xFCFCFCFCUL) >> 2) +                                \
113
9.10M
             ((d & 0xFCFCFCFCUL) >> 2);                                 \
114
9.10M
        OP(*((uint32_t *) &dst[i * dst_stride + 4]),                    \
115
9.10M
           h0 + h1 + (((l0 + l1) >> 2) & 0x0F0F0F0FUL));                \
116
9.10M
    }                                                                   \
117
1.62M
}                                                                       \
qpeldsp.c:put_pixels8_l4_8
Line
Count
Source
79
1.30M
                                           int h)                       \
80
1.30M
{                                                                       \
81
1.30M
    /* FIXME HIGH BIT DEPTH */                                          \
82
1.30M
    int i;                                                              \
83
1.30M
                                                                        \
84
7.88M
    for (i = 0; i < h; i++) {                                           \
85
6.57M
        uint32_t a, b, c, d, l0, l1, h0, h1;                            \
86
6.57M
        a  = AV_RN32(&src1[i * src_stride1]);                           \
87
6.57M
        b  = AV_RN32(&src2[i * src_stride2]);                           \
88
6.57M
        c  = AV_RN32(&src3[i * src_stride3]);                           \
89
6.57M
        d  = AV_RN32(&src4[i * src_stride4]);                           \
90
6.57M
        l0 = (a & 0x03030303UL) +                                       \
91
6.57M
             (b & 0x03030303UL) +                                       \
92
6.57M
                  0x02020202UL;                                         \
93
6.57M
        h0 = ((a & 0xFCFCFCFCUL) >> 2) +                                \
94
6.57M
             ((b & 0xFCFCFCFCUL) >> 2);                                 \
95
6.57M
        l1 = (c & 0x03030303UL) +                                       \
96
6.57M
             (d & 0x03030303UL);                                        \
97
6.57M
        h1 = ((c & 0xFCFCFCFCUL) >> 2) +                                \
98
6.57M
             ((d & 0xFCFCFCFCUL) >> 2);                                 \
99
6.57M
        OP(*((uint32_t *) &dst[i * dst_stride]),                        \
100
6.57M
           h0 + h1 + (((l0 + l1) >> 2) & 0x0F0F0F0FUL));                \
101
6.57M
        a  = AV_RN32(&src1[i * src_stride1 + 4]);                       \
102
6.57M
        b  = AV_RN32(&src2[i * src_stride2 + 4]);                       \
103
6.57M
        c  = AV_RN32(&src3[i * src_stride3 + 4]);                       \
104
6.57M
        d  = AV_RN32(&src4[i * src_stride4 + 4]);                       \
105
6.57M
        l0 = (a & 0x03030303UL) +                                       \
106
6.57M
             (b & 0x03030303UL) +                                       \
107
6.57M
                  0x02020202UL;                                         \
108
6.57M
        h0 = ((a & 0xFCFCFCFCUL) >> 2) +                                \
109
6.57M
             ((b & 0xFCFCFCFCUL) >> 2);                                 \
110
6.57M
        l1 = (c & 0x03030303UL) +                                       \
111
6.57M
             (d & 0x03030303UL);                                        \
112
6.57M
        h1 = ((c & 0xFCFCFCFCUL) >> 2) +                                \
113
6.57M
             ((d & 0xFCFCFCFCUL) >> 2);                                 \
114
6.57M
        OP(*((uint32_t *) &dst[i * dst_stride + 4]),                    \
115
6.57M
           h0 + h1 + (((l0 + l1) >> 2) & 0x0F0F0F0FUL));                \
116
6.57M
    }                                                                   \
117
1.30M
}                                                                       \
qpeldsp.c:avg_pixels8_l4_8
Line
Count
Source
79
322k
                                           int h)                       \
80
322k
{                                                                       \
81
322k
    /* FIXME HIGH BIT DEPTH */                                          \
82
322k
    int i;                                                              \
83
322k
                                                                        \
84
2.84M
    for (i = 0; i < h; i++) {                                           \
85
2.52M
        uint32_t a, b, c, d, l0, l1, h0, h1;                            \
86
2.52M
        a  = AV_RN32(&src1[i * src_stride1]);                           \
87
2.52M
        b  = AV_RN32(&src2[i * src_stride2]);                           \
88
2.52M
        c  = AV_RN32(&src3[i * src_stride3]);                           \
89
2.52M
        d  = AV_RN32(&src4[i * src_stride4]);                           \
90
2.52M
        l0 = (a & 0x03030303UL) +                                       \
91
2.52M
             (b & 0x03030303UL) +                                       \
92
2.52M
                  0x02020202UL;                                         \
93
2.52M
        h0 = ((a & 0xFCFCFCFCUL) >> 2) +                                \
94
2.52M
             ((b & 0xFCFCFCFCUL) >> 2);                                 \
95
2.52M
        l1 = (c & 0x03030303UL) +                                       \
96
2.52M
             (d & 0x03030303UL);                                        \
97
2.52M
        h1 = ((c & 0xFCFCFCFCUL) >> 2) +                                \
98
2.52M
             ((d & 0xFCFCFCFCUL) >> 2);                                 \
99
2.52M
        OP(*((uint32_t *) &dst[i * dst_stride]),                        \
100
2.52M
           h0 + h1 + (((l0 + l1) >> 2) & 0x0F0F0F0FUL));                \
101
2.52M
        a  = AV_RN32(&src1[i * src_stride1 + 4]);                       \
102
2.52M
        b  = AV_RN32(&src2[i * src_stride2 + 4]);                       \
103
2.52M
        c  = AV_RN32(&src3[i * src_stride3 + 4]);                       \
104
2.52M
        d  = AV_RN32(&src4[i * src_stride4 + 4]);                       \
105
2.52M
        l0 = (a & 0x03030303UL) +                                       \
106
2.52M
             (b & 0x03030303UL) +                                       \
107
2.52M
                  0x02020202UL;                                         \
108
2.52M
        h0 = ((a & 0xFCFCFCFCUL) >> 2) +                                \
109
2.52M
             ((b & 0xFCFCFCFCUL) >> 2);                                 \
110
2.52M
        l1 = (c & 0x03030303UL) +                                       \
111
2.52M
             (d & 0x03030303UL);                                        \
112
2.52M
        h1 = ((c & 0xFCFCFCFCUL) >> 2) +                                \
113
2.52M
             ((d & 0xFCFCFCFCUL) >> 2);                                 \
114
2.52M
        OP(*((uint32_t *) &dst[i * dst_stride + 4]),                    \
115
2.52M
           h0 + h1 + (((l0 + l1) >> 2) & 0x0F0F0F0FUL));                \
116
2.52M
    }                                                                   \
117
322k
}                                                                       \
118
                                                                        \
119
static inline void OPNAME ## _no_rnd_pixels8_l4_8(uint8_t *dst,         \
120
                                                  const uint8_t *src1,  \
121
                                                  const uint8_t *src2,  \
122
                                                  const uint8_t *src3,  \
123
                                                  const uint8_t *src4,  \
124
                                                  ptrdiff_t dst_stride, \
125
                                                  ptrdiff_t src_stride1,\
126
                                                  ptrdiff_t src_stride2,\
127
                                                  ptrdiff_t src_stride3,\
128
                                                  ptrdiff_t src_stride4,\
129
50.4k
                                                  int h)                \
130
50.4k
{                                                                       \
131
50.4k
    /* FIXME HIGH BIT DEPTH */                                          \
132
50.4k
    int i;                                                              \
133
50.4k
                                                                        \
134
811k
    for (i = 0; i < h; i++) {                                           \
135
761k
        uint32_t a, b, c, d, l0, l1, h0, h1;                            \
136
761k
        a  = AV_RN32(&src1[i * src_stride1]);                           \
137
761k
        b  = AV_RN32(&src2[i * src_stride2]);                           \
138
761k
        c  = AV_RN32(&src3[i * src_stride3]);                           \
139
761k
        d  = AV_RN32(&src4[i * src_stride4]);                           \
140
761k
        l0 = (a & 0x03030303UL) +                                       \
141
761k
             (b & 0x03030303UL) +                                       \
142
761k
                  0x01010101UL;                                         \
143
761k
        h0 = ((a & 0xFCFCFCFCUL) >> 2) +                                \
144
761k
             ((b & 0xFCFCFCFCUL) >> 2);                                 \
145
761k
        l1 = (c & 0x03030303UL) +                                       \
146
761k
             (d & 0x03030303UL);                                        \
147
761k
        h1 = ((c & 0xFCFCFCFCUL) >> 2) +                                \
148
761k
             ((d & 0xFCFCFCFCUL) >> 2);                                 \
149
761k
        OP(*((uint32_t *) &dst[i * dst_stride]),                        \
150
761k
           h0 + h1 + (((l0 + l1) >> 2) & 0x0F0F0F0FUL));                \
151
761k
        a  = AV_RN32(&src1[i * src_stride1 + 4]);                       \
152
761k
        b  = AV_RN32(&src2[i * src_stride2 + 4]);                       \
153
761k
        c  = AV_RN32(&src3[i * src_stride3 + 4]);                       \
154
761k
        d  = AV_RN32(&src4[i * src_stride4 + 4]);                       \
155
761k
        l0 = (a & 0x03030303UL) +                                       \
156
761k
             (b & 0x03030303UL) +                                       \
157
761k
                  0x01010101UL;                                         \
158
761k
        h0 = ((a & 0xFCFCFCFCUL) >> 2) +                                \
159
761k
             ((b & 0xFCFCFCFCUL) >> 2);                                 \
160
761k
        l1 = (c & 0x03030303UL) +                                       \
161
761k
             (d & 0x03030303UL);                                        \
162
761k
        h1 = ((c & 0xFCFCFCFCUL) >> 2) +                                \
163
761k
             ((d & 0xFCFCFCFCUL) >> 2);                                 \
164
761k
        OP(*((uint32_t *) &dst[i * dst_stride + 4]),                    \
165
761k
           h0 + h1 + (((l0 + l1) >> 2) & 0x0F0F0F0FUL));                \
166
761k
    }                                                                   \
167
50.4k
}                                                                       \
qpeldsp.c:put_no_rnd_pixels8_l4_8
Line
Count
Source
129
50.4k
                                                  int h)                \
130
50.4k
{                                                                       \
131
50.4k
    /* FIXME HIGH BIT DEPTH */                                          \
132
50.4k
    int i;                                                              \
133
50.4k
                                                                        \
134
811k
    for (i = 0; i < h; i++) {                                           \
135
761k
        uint32_t a, b, c, d, l0, l1, h0, h1;                            \
136
761k
        a  = AV_RN32(&src1[i * src_stride1]);                           \
137
761k
        b  = AV_RN32(&src2[i * src_stride2]);                           \
138
761k
        c  = AV_RN32(&src3[i * src_stride3]);                           \
139
761k
        d  = AV_RN32(&src4[i * src_stride4]);                           \
140
761k
        l0 = (a & 0x03030303UL) +                                       \
141
761k
             (b & 0x03030303UL) +                                       \
142
761k
                  0x01010101UL;                                         \
143
761k
        h0 = ((a & 0xFCFCFCFCUL) >> 2) +                                \
144
761k
             ((b & 0xFCFCFCFCUL) >> 2);                                 \
145
761k
        l1 = (c & 0x03030303UL) +                                       \
146
761k
             (d & 0x03030303UL);                                        \
147
761k
        h1 = ((c & 0xFCFCFCFCUL) >> 2) +                                \
148
761k
             ((d & 0xFCFCFCFCUL) >> 2);                                 \
149
761k
        OP(*((uint32_t *) &dst[i * dst_stride]),                        \
150
761k
           h0 + h1 + (((l0 + l1) >> 2) & 0x0F0F0F0FUL));                \
151
761k
        a  = AV_RN32(&src1[i * src_stride1 + 4]);                       \
152
761k
        b  = AV_RN32(&src2[i * src_stride2 + 4]);                       \
153
761k
        c  = AV_RN32(&src3[i * src_stride3 + 4]);                       \
154
761k
        d  = AV_RN32(&src4[i * src_stride4 + 4]);                       \
155
761k
        l0 = (a & 0x03030303UL) +                                       \
156
761k
             (b & 0x03030303UL) +                                       \
157
761k
                  0x01010101UL;                                         \
158
761k
        h0 = ((a & 0xFCFCFCFCUL) >> 2) +                                \
159
761k
             ((b & 0xFCFCFCFCUL) >> 2);                                 \
160
761k
        l1 = (c & 0x03030303UL) +                                       \
161
761k
             (d & 0x03030303UL);                                        \
162
761k
        h1 = ((c & 0xFCFCFCFCUL) >> 2) +                                \
163
761k
             ((d & 0xFCFCFCFCUL) >> 2);                                 \
164
761k
        OP(*((uint32_t *) &dst[i * dst_stride + 4]),                    \
165
761k
           h0 + h1 + (((l0 + l1) >> 2) & 0x0F0F0F0FUL));                \
166
761k
    }                                                                   \
167
50.4k
}                                                                       \
Unexecuted instantiation: qpeldsp.c:avg_no_rnd_pixels8_l4_8
168
                                                                        \
169
static inline void OPNAME ## _pixels16_l4_8(uint8_t *dst,               \
170
                                            const uint8_t *src1,        \
171
                                            const uint8_t *src2,        \
172
                                            const uint8_t *src3,        \
173
                                            const uint8_t *src4,        \
174
                                            ptrdiff_t dst_stride,       \
175
                                            ptrdiff_t src_stride1,      \
176
                                            ptrdiff_t src_stride2,      \
177
                                            ptrdiff_t src_stride3,      \
178
                                            ptrdiff_t src_stride4,      \
179
552k
                                            int h)                      \
180
552k
{                                                                       \
181
552k
    OPNAME ## _pixels8_l4_8(dst, src1, src2, src3, src4, dst_stride,    \
182
552k
                            src_stride1, src_stride2, src_stride3,      \
183
552k
                            src_stride4, h);                            \
184
552k
    OPNAME ## _pixels8_l4_8(dst  + 8,                                   \
185
552k
                            src1 + 8, src2 + 8,                         \
186
552k
                            src3 + 8, src4 + 8,                         \
187
552k
                            dst_stride, src_stride1, src_stride2,       \
188
552k
                            src_stride3, src_stride4, h);               \
189
552k
}                                                                       \
qpeldsp.c:put_pixels16_l4_8
Line
Count
Source
179
479k
                                            int h)                      \
180
479k
{                                                                       \
181
479k
    OPNAME ## _pixels8_l4_8(dst, src1, src2, src3, src4, dst_stride,    \
182
479k
                            src_stride1, src_stride2, src_stride3,      \
183
479k
                            src_stride4, h);                            \
184
479k
    OPNAME ## _pixels8_l4_8(dst  + 8,                                   \
185
479k
                            src1 + 8, src2 + 8,                         \
186
479k
                            src3 + 8, src4 + 8,                         \
187
479k
                            dst_stride, src_stride1, src_stride2,       \
188
479k
                            src_stride3, src_stride4, h);               \
189
479k
}                                                                       \
qpeldsp.c:avg_pixels16_l4_8
Line
Count
Source
179
73.1k
                                            int h)                      \
180
73.1k
{                                                                       \
181
73.1k
    OPNAME ## _pixels8_l4_8(dst, src1, src2, src3, src4, dst_stride,    \
182
73.1k
                            src_stride1, src_stride2, src_stride3,      \
183
73.1k
                            src_stride4, h);                            \
184
73.1k
    OPNAME ## _pixels8_l4_8(dst  + 8,                                   \
185
73.1k
                            src1 + 8, src2 + 8,                         \
186
73.1k
                            src3 + 8, src4 + 8,                         \
187
73.1k
                            dst_stride, src_stride1, src_stride2,       \
188
73.1k
                            src_stride3, src_stride4, h);               \
189
73.1k
}                                                                       \
190
                                                                        \
191
static inline void OPNAME ## _no_rnd_pixels16_l4_8(uint8_t *dst,        \
192
                                                   const uint8_t *src1, \
193
                                                   const uint8_t *src2, \
194
                                                   const uint8_t *src3, \
195
                                                   const uint8_t *src4, \
196
                                                   ptrdiff_t dst_stride,\
197
                                                   ptrdiff_t src_stride1,\
198
                                                   ptrdiff_t src_stride2,\
199
                                                   ptrdiff_t src_stride3,\
200
                                                   ptrdiff_t src_stride4,\
201
22.3k
                                                   int h)               \
202
22.3k
{                                                                       \
203
22.3k
    OPNAME ## _no_rnd_pixels8_l4_8(dst, src1, src2, src3, src4,         \
204
22.3k
                                   dst_stride, src_stride1,             \
205
22.3k
                                   src_stride2, src_stride3,            \
206
22.3k
                                   src_stride4, h);                     \
207
22.3k
    OPNAME ## _no_rnd_pixels8_l4_8(dst  + 8,                            \
208
22.3k
                                   src1 + 8, src2 + 8,                  \
209
22.3k
                                   src3 + 8, src4 + 8,                  \
210
22.3k
                                   dst_stride, src_stride1,             \
211
22.3k
                                   src_stride2, src_stride3,            \
212
22.3k
                                   src_stride4, h);                     \
213
22.3k
}                                                                       \
qpeldsp.c:put_no_rnd_pixels16_l4_8
Line
Count
Source
201
22.3k
                                                   int h)               \
202
22.3k
{                                                                       \
203
22.3k
    OPNAME ## _no_rnd_pixels8_l4_8(dst, src1, src2, src3, src4,         \
204
22.3k
                                   dst_stride, src_stride1,             \
205
22.3k
                                   src_stride2, src_stride3,            \
206
22.3k
                                   src_stride4, h);                     \
207
22.3k
    OPNAME ## _no_rnd_pixels8_l4_8(dst  + 8,                            \
208
22.3k
                                   src1 + 8, src2 + 8,                  \
209
22.3k
                                   src3 + 8, src4 + 8,                  \
210
22.3k
                                   dst_stride, src_stride1,             \
211
22.3k
                                   src_stride2, src_stride3,            \
212
22.3k
                                   src_stride4, h);                     \
213
22.3k
}                                                                       \
Unexecuted instantiation: qpeldsp.c:avg_no_rnd_pixels16_l4_8
214
215
5.04M
#define op_avg(a, b) a = rnd_avg32(a, b)
216
32.6M
#define op_put(a, b) a = b
217
#define put_no_rnd_pixels8_8_c put_pixels8_8_c
218
5.04M
PIXOP2(avg, op_avg)
219
32.6M
PIXOP2(put, op_put)
220
#undef op_avg
221
#undef op_put