Coverage Report

Created: 2026-06-10 07:00

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/work/dav1d/src/itx_tmpl.c
Line
Count
Source
1
/*
2
 * Copyright © 2018-2019, VideoLAN and dav1d authors
3
 * Copyright © 2018-2019, Two Orioles, LLC
4
 * All rights reserved.
5
 *
6
 * Redistribution and use in source and binary forms, with or without
7
 * modification, are permitted provided that the following conditions are met:
8
 *
9
 * 1. Redistributions of source code must retain the above copyright notice, this
10
 *    list of conditions and the following disclaimer.
11
 *
12
 * 2. Redistributions in binary form must reproduce the above copyright notice,
13
 *    this list of conditions and the following disclaimer in the documentation
14
 *    and/or other materials provided with the distribution.
15
 *
16
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
17
 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
18
 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
19
 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
20
 * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
21
 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
22
 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
23
 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
25
 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26
 */
27
28
#include "config.h"
29
30
#include <stddef.h>
31
#include <stdint.h>
32
#include <stdlib.h>
33
#include <string.h>
34
35
#include "common/attributes.h"
36
#include "common/intops.h"
37
38
#include "src/itx.h"
39
#include "src/itx_1d.h"
40
#include "src/scan.h"
41
#include "src/tables.h"
42
43
static NOINLINE void
44
inv_txfm_add_c(pixel *dst, const ptrdiff_t stride, coef *const coeff,
45
               const int eob, const /*enum RectTxfmSize*/ int tx, const int shift,
46
               const enum TxfmType txtp HIGHBD_DECL_SUFFIX)
47
1.50M
{
48
1.50M
    const TxfmInfo *const t_dim = &dav1d_txfm_dimensions[tx];
49
1.50M
    const int w = 4 * t_dim->w, h = 4 * t_dim->h;
50
1.50M
    const int has_dconly = txtp == DCT_DCT;
51
1.50M
    assert(w >= 4 && w <= 64);
52
1.50M
    assert(h >= 4 && h <= 64);
53
1.50M
    assert(eob >= 0);
54
55
1.50M
    const int is_rect2 = w * 2 == h || h * 2 == w;
56
1.50M
    const int rnd = (1 << shift) >> 1;
57
58
1.50M
    if (eob < has_dconly) {
59
517k
        int dc = coeff[0];
60
517k
        coeff[0] = 0;
61
517k
        if (is_rect2)
62
80.2k
            dc = (dc * 181 + 128) >> 8;
63
517k
        dc = (dc * 181 + 128) >> 8;
64
517k
        dc = (dc + rnd) >> shift;
65
517k
        dc = (dc * 181 + 128 + 2048) >> 12;
66
19.4M
        for (int y = 0; y < h; y++, dst += PXSTRIDE(stride))
67
847M
            for (int x = 0; x < w; x++)
68
828M
                dst[x] = iclip_pixel(dst[x] + dc);
69
517k
        return;
70
517k
    }
71
72
984k
    const uint8_t *const txtps = dav1d_tx1d_types[txtp];
73
984k
    const itx_1d_fn first_1d_fn = dav1d_tx1d_fns[t_dim->lw][txtps[0]];
74
984k
    const itx_1d_fn second_1d_fn = dav1d_tx1d_fns[t_dim->lh][txtps[1]];
75
984k
    const int sh = imin(h, 32), sw = imin(w, 32);
76
984k
#if BITDEPTH == 8
77
984k
    const int row_clip_min = INT16_MIN;
78
984k
    const int col_clip_min = INT16_MIN;
79
#else
80
    const int row_clip_min = (int) ((unsigned) ~bitdepth_max << 7);
81
    const int col_clip_min = (int) ((unsigned) ~bitdepth_max << 5);
82
#endif
83
984k
    const int row_clip_max = ~row_clip_min;
84
984k
    const int col_clip_max = ~col_clip_min;
85
86
984k
    int32_t tmp[64 * 64], *c = tmp;
87
984k
    int last_nonzero_col; // in first 1d itx
88
984k
    if (txtps[1] == IDENTITY && txtps[0] != IDENTITY) {
89
61.5k
        last_nonzero_col = imin(sh - 1, eob);
90
922k
    } else if (txtps[0] == IDENTITY && txtps[1] != IDENTITY) {
91
33.6k
        last_nonzero_col = eob >> (t_dim->lw + 2);
92
889k
    } else {
93
889k
        last_nonzero_col = dav1d_last_nonzero_col_from_eob[tx][eob];
94
889k
    }
95
984k
    assert(last_nonzero_col < sh);
96
5.93M
    for (int y = 0; y <= last_nonzero_col; y++, c += w) {
97
4.95M
        if (is_rect2)
98
26.8M
            for (int x = 0; x < sw; x++)
99
25.1M
                c[x] = (coeff[y + x * sh] * 181 + 128) >> 8;
100
3.29M
        else
101
56.9M
            for (int x = 0; x < sw; x++)
102
53.6M
                c[x] = coeff[y + x * sh];
103
4.95M
        first_1d_fn(c, 1, row_clip_min, row_clip_max);
104
4.95M
    }
105
984k
    if (last_nonzero_col + 1 < sh)
106
758k
        memset(c, 0, sizeof(*c) * (sh - last_nonzero_col - 1) * w);
107
108
984k
    memset(coeff, 0, sizeof(*coeff) * sw * sh);
109
287M
    for (int i = 0; i < w * sh; i++)
110
286M
        tmp[i] = iclip((tmp[i] + rnd) >> shift, col_clip_min, col_clip_max);
111
112
15.9M
    for (int x = 0; x < w; x++)
113
15.0M
        second_1d_fn(&tmp[x], w, col_clip_min, col_clip_max);
114
115
984k
    c = tmp;
116
15.6M
    for (int y = 0; y < h; y++, dst += PXSTRIDE(stride))
117
397M
        for (int x = 0; x < w; x++)
118
382M
            dst[x] = iclip_pixel(dst[x] + ((*c++ + 8) >> 4));
119
984k
}
120
121
#define inv_txfm_fn(type1, type2, type, pfx, w, h, shift) \
122
static void \
123
inv_txfm_add_##type1##_##type2##_##w##x##h##_c(pixel *dst, \
124
                                               const ptrdiff_t stride, \
125
                                               coef *const coeff, \
126
                                               const int eob \
127
1.50M
                                               HIGHBD_DECL_SUFFIX) \
128
1.50M
{ \
129
1.50M
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.50M
                   HIGHBD_TAIL_SUFFIX); \
131
1.50M
}
itx_tmpl.c:inv_txfm_add_dct_dct_4x4_c
Line
Count
Source
127
32.1k
                                               HIGHBD_DECL_SUFFIX) \
128
32.1k
{ \
129
32.1k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
32.1k
                   HIGHBD_TAIL_SUFFIX); \
131
32.1k
}
itx_tmpl.c:inv_txfm_add_identity_identity_4x4_c
Line
Count
Source
127
11.4k
                                               HIGHBD_DECL_SUFFIX) \
128
11.4k
{ \
129
11.4k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
11.4k
                   HIGHBD_TAIL_SUFFIX); \
131
11.4k
}
itx_tmpl.c:inv_txfm_add_adst_dct_4x4_c
Line
Count
Source
127
21.2k
                                               HIGHBD_DECL_SUFFIX) \
128
21.2k
{ \
129
21.2k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
21.2k
                   HIGHBD_TAIL_SUFFIX); \
131
21.2k
}
itx_tmpl.c:inv_txfm_add_dct_adst_4x4_c
Line
Count
Source
127
16.8k
                                               HIGHBD_DECL_SUFFIX) \
128
16.8k
{ \
129
16.8k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
16.8k
                   HIGHBD_TAIL_SUFFIX); \
131
16.8k
}
itx_tmpl.c:inv_txfm_add_adst_adst_4x4_c
Line
Count
Source
127
24.9k
                                               HIGHBD_DECL_SUFFIX) \
128
24.9k
{ \
129
24.9k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
24.9k
                   HIGHBD_TAIL_SUFFIX); \
131
24.9k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_4x4_c
Line
Count
Source
127
1.68k
                                               HIGHBD_DECL_SUFFIX) \
128
1.68k
{ \
129
1.68k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.68k
                   HIGHBD_TAIL_SUFFIX); \
131
1.68k
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_4x4_c
Line
Count
Source
127
1.78k
                                               HIGHBD_DECL_SUFFIX) \
128
1.78k
{ \
129
1.78k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.78k
                   HIGHBD_TAIL_SUFFIX); \
131
1.78k
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_4x4_c
Line
Count
Source
127
1.88k
                                               HIGHBD_DECL_SUFFIX) \
128
1.88k
{ \
129
1.88k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.88k
                   HIGHBD_TAIL_SUFFIX); \
131
1.88k
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_4x4_c
Line
Count
Source
127
968
                                               HIGHBD_DECL_SUFFIX) \
128
968
{ \
129
968
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
968
                   HIGHBD_TAIL_SUFFIX); \
131
968
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_4x4_c
Line
Count
Source
127
1.26k
                                               HIGHBD_DECL_SUFFIX) \
128
1.26k
{ \
129
1.26k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.26k
                   HIGHBD_TAIL_SUFFIX); \
131
1.26k
}
itx_tmpl.c:inv_txfm_add_dct_identity_4x4_c
Line
Count
Source
127
7.69k
                                               HIGHBD_DECL_SUFFIX) \
128
7.69k
{ \
129
7.69k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
7.69k
                   HIGHBD_TAIL_SUFFIX); \
131
7.69k
}
itx_tmpl.c:inv_txfm_add_identity_dct_4x4_c
Line
Count
Source
127
4.18k
                                               HIGHBD_DECL_SUFFIX) \
128
4.18k
{ \
129
4.18k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.18k
                   HIGHBD_TAIL_SUFFIX); \
131
4.18k
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_4x4_c
Line
Count
Source
127
2.27k
                                               HIGHBD_DECL_SUFFIX) \
128
2.27k
{ \
129
2.27k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.27k
                   HIGHBD_TAIL_SUFFIX); \
131
2.27k
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_4x4_c
Line
Count
Source
127
1.58k
                                               HIGHBD_DECL_SUFFIX) \
128
1.58k
{ \
129
1.58k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.58k
                   HIGHBD_TAIL_SUFFIX); \
131
1.58k
}
itx_tmpl.c:inv_txfm_add_adst_identity_4x4_c
Line
Count
Source
127
3.14k
                                               HIGHBD_DECL_SUFFIX) \
128
3.14k
{ \
129
3.14k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.14k
                   HIGHBD_TAIL_SUFFIX); \
131
3.14k
}
itx_tmpl.c:inv_txfm_add_identity_adst_4x4_c
Line
Count
Source
127
1.73k
                                               HIGHBD_DECL_SUFFIX) \
128
1.73k
{ \
129
1.73k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.73k
                   HIGHBD_TAIL_SUFFIX); \
131
1.73k
}
itx_tmpl.c:inv_txfm_add_dct_dct_4x8_c
Line
Count
Source
127
12.9k
                                               HIGHBD_DECL_SUFFIX) \
128
12.9k
{ \
129
12.9k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
12.9k
                   HIGHBD_TAIL_SUFFIX); \
131
12.9k
}
itx_tmpl.c:inv_txfm_add_identity_identity_4x8_c
Line
Count
Source
127
4.82k
                                               HIGHBD_DECL_SUFFIX) \
128
4.82k
{ \
129
4.82k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.82k
                   HIGHBD_TAIL_SUFFIX); \
131
4.82k
}
itx_tmpl.c:inv_txfm_add_adst_dct_4x8_c
Line
Count
Source
127
8.77k
                                               HIGHBD_DECL_SUFFIX) \
128
8.77k
{ \
129
8.77k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
8.77k
                   HIGHBD_TAIL_SUFFIX); \
131
8.77k
}
itx_tmpl.c:inv_txfm_add_dct_adst_4x8_c
Line
Count
Source
127
7.26k
                                               HIGHBD_DECL_SUFFIX) \
128
7.26k
{ \
129
7.26k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
7.26k
                   HIGHBD_TAIL_SUFFIX); \
131
7.26k
}
itx_tmpl.c:inv_txfm_add_adst_adst_4x8_c
Line
Count
Source
127
10.4k
                                               HIGHBD_DECL_SUFFIX) \
128
10.4k
{ \
129
10.4k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
10.4k
                   HIGHBD_TAIL_SUFFIX); \
131
10.4k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_4x8_c
Line
Count
Source
127
1.14k
                                               HIGHBD_DECL_SUFFIX) \
128
1.14k
{ \
129
1.14k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.14k
                   HIGHBD_TAIL_SUFFIX); \
131
1.14k
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_4x8_c
Line
Count
Source
127
927
                                               HIGHBD_DECL_SUFFIX) \
128
927
{ \
129
927
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
927
                   HIGHBD_TAIL_SUFFIX); \
131
927
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_4x8_c
Line
Count
Source
127
637
                                               HIGHBD_DECL_SUFFIX) \
128
637
{ \
129
637
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
637
                   HIGHBD_TAIL_SUFFIX); \
131
637
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_4x8_c
Line
Count
Source
127
657
                                               HIGHBD_DECL_SUFFIX) \
128
657
{ \
129
657
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
657
                   HIGHBD_TAIL_SUFFIX); \
131
657
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_4x8_c
Line
Count
Source
127
1.07k
                                               HIGHBD_DECL_SUFFIX) \
128
1.07k
{ \
129
1.07k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.07k
                   HIGHBD_TAIL_SUFFIX); \
131
1.07k
}
itx_tmpl.c:inv_txfm_add_dct_identity_4x8_c
Line
Count
Source
127
3.96k
                                               HIGHBD_DECL_SUFFIX) \
128
3.96k
{ \
129
3.96k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.96k
                   HIGHBD_TAIL_SUFFIX); \
131
3.96k
}
itx_tmpl.c:inv_txfm_add_identity_dct_4x8_c
Line
Count
Source
127
1.88k
                                               HIGHBD_DECL_SUFFIX) \
128
1.88k
{ \
129
1.88k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.88k
                   HIGHBD_TAIL_SUFFIX); \
131
1.88k
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_4x8_c
Line
Count
Source
127
1.60k
                                               HIGHBD_DECL_SUFFIX) \
128
1.60k
{ \
129
1.60k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.60k
                   HIGHBD_TAIL_SUFFIX); \
131
1.60k
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_4x8_c
Line
Count
Source
127
1.26k
                                               HIGHBD_DECL_SUFFIX) \
128
1.26k
{ \
129
1.26k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.26k
                   HIGHBD_TAIL_SUFFIX); \
131
1.26k
}
itx_tmpl.c:inv_txfm_add_adst_identity_4x8_c
Line
Count
Source
127
1.73k
                                               HIGHBD_DECL_SUFFIX) \
128
1.73k
{ \
129
1.73k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.73k
                   HIGHBD_TAIL_SUFFIX); \
131
1.73k
}
itx_tmpl.c:inv_txfm_add_identity_adst_4x8_c
Line
Count
Source
127
1.10k
                                               HIGHBD_DECL_SUFFIX) \
128
1.10k
{ \
129
1.10k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.10k
                   HIGHBD_TAIL_SUFFIX); \
131
1.10k
}
itx_tmpl.c:inv_txfm_add_dct_dct_4x16_c
Line
Count
Source
127
6.20k
                                               HIGHBD_DECL_SUFFIX) \
128
6.20k
{ \
129
6.20k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
6.20k
                   HIGHBD_TAIL_SUFFIX); \
131
6.20k
}
itx_tmpl.c:inv_txfm_add_identity_identity_4x16_c
Line
Count
Source
127
2.53k
                                               HIGHBD_DECL_SUFFIX) \
128
2.53k
{ \
129
2.53k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.53k
                   HIGHBD_TAIL_SUFFIX); \
131
2.53k
}
itx_tmpl.c:inv_txfm_add_adst_dct_4x16_c
Line
Count
Source
127
3.75k
                                               HIGHBD_DECL_SUFFIX) \
128
3.75k
{ \
129
3.75k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.75k
                   HIGHBD_TAIL_SUFFIX); \
131
3.75k
}
itx_tmpl.c:inv_txfm_add_dct_adst_4x16_c
Line
Count
Source
127
3.31k
                                               HIGHBD_DECL_SUFFIX) \
128
3.31k
{ \
129
3.31k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.31k
                   HIGHBD_TAIL_SUFFIX); \
131
3.31k
}
itx_tmpl.c:inv_txfm_add_adst_adst_4x16_c
Line
Count
Source
127
4.69k
                                               HIGHBD_DECL_SUFFIX) \
128
4.69k
{ \
129
4.69k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.69k
                   HIGHBD_TAIL_SUFFIX); \
131
4.69k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_4x16_c
Line
Count
Source
127
559
                                               HIGHBD_DECL_SUFFIX) \
128
559
{ \
129
559
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
559
                   HIGHBD_TAIL_SUFFIX); \
131
559
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_4x16_c
Line
Count
Source
127
406
                                               HIGHBD_DECL_SUFFIX) \
128
406
{ \
129
406
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
406
                   HIGHBD_TAIL_SUFFIX); \
131
406
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_4x16_c
Line
Count
Source
127
389
                                               HIGHBD_DECL_SUFFIX) \
128
389
{ \
129
389
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
389
                   HIGHBD_TAIL_SUFFIX); \
131
389
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_4x16_c
Line
Count
Source
127
321
                                               HIGHBD_DECL_SUFFIX) \
128
321
{ \
129
321
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
321
                   HIGHBD_TAIL_SUFFIX); \
131
321
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_4x16_c
Line
Count
Source
127
269
                                               HIGHBD_DECL_SUFFIX) \
128
269
{ \
129
269
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
269
                   HIGHBD_TAIL_SUFFIX); \
131
269
}
itx_tmpl.c:inv_txfm_add_dct_identity_4x16_c
Line
Count
Source
127
1.64k
                                               HIGHBD_DECL_SUFFIX) \
128
1.64k
{ \
129
1.64k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.64k
                   HIGHBD_TAIL_SUFFIX); \
131
1.64k
}
itx_tmpl.c:inv_txfm_add_identity_dct_4x16_c
Line
Count
Source
127
817
                                               HIGHBD_DECL_SUFFIX) \
128
817
{ \
129
817
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
817
                   HIGHBD_TAIL_SUFFIX); \
131
817
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_4x16_c
Line
Count
Source
127
551
                                               HIGHBD_DECL_SUFFIX) \
128
551
{ \
129
551
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
551
                   HIGHBD_TAIL_SUFFIX); \
131
551
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_4x16_c
Line
Count
Source
127
400
                                               HIGHBD_DECL_SUFFIX) \
128
400
{ \
129
400
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
400
                   HIGHBD_TAIL_SUFFIX); \
131
400
}
itx_tmpl.c:inv_txfm_add_adst_identity_4x16_c
Line
Count
Source
127
543
                                               HIGHBD_DECL_SUFFIX) \
128
543
{ \
129
543
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
543
                   HIGHBD_TAIL_SUFFIX); \
131
543
}
itx_tmpl.c:inv_txfm_add_identity_adst_4x16_c
Line
Count
Source
127
341
                                               HIGHBD_DECL_SUFFIX) \
128
341
{ \
129
341
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
341
                   HIGHBD_TAIL_SUFFIX); \
131
341
}
itx_tmpl.c:inv_txfm_add_dct_dct_8x4_c
Line
Count
Source
127
20.8k
                                               HIGHBD_DECL_SUFFIX) \
128
20.8k
{ \
129
20.8k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
20.8k
                   HIGHBD_TAIL_SUFFIX); \
131
20.8k
}
itx_tmpl.c:inv_txfm_add_identity_identity_8x4_c
Line
Count
Source
127
5.95k
                                               HIGHBD_DECL_SUFFIX) \
128
5.95k
{ \
129
5.95k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.95k
                   HIGHBD_TAIL_SUFFIX); \
131
5.95k
}
itx_tmpl.c:inv_txfm_add_adst_dct_8x4_c
Line
Count
Source
127
12.6k
                                               HIGHBD_DECL_SUFFIX) \
128
12.6k
{ \
129
12.6k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
12.6k
                   HIGHBD_TAIL_SUFFIX); \
131
12.6k
}
itx_tmpl.c:inv_txfm_add_dct_adst_8x4_c
Line
Count
Source
127
10.4k
                                               HIGHBD_DECL_SUFFIX) \
128
10.4k
{ \
129
10.4k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
10.4k
                   HIGHBD_TAIL_SUFFIX); \
131
10.4k
}
itx_tmpl.c:inv_txfm_add_adst_adst_8x4_c
Line
Count
Source
127
15.1k
                                               HIGHBD_DECL_SUFFIX) \
128
15.1k
{ \
129
15.1k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
15.1k
                   HIGHBD_TAIL_SUFFIX); \
131
15.1k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_8x4_c
Line
Count
Source
127
1.29k
                                               HIGHBD_DECL_SUFFIX) \
128
1.29k
{ \
129
1.29k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.29k
                   HIGHBD_TAIL_SUFFIX); \
131
1.29k
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_8x4_c
Line
Count
Source
127
1.50k
                                               HIGHBD_DECL_SUFFIX) \
128
1.50k
{ \
129
1.50k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.50k
                   HIGHBD_TAIL_SUFFIX); \
131
1.50k
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_8x4_c
Line
Count
Source
127
1.04k
                                               HIGHBD_DECL_SUFFIX) \
128
1.04k
{ \
129
1.04k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.04k
                   HIGHBD_TAIL_SUFFIX); \
131
1.04k
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_8x4_c
Line
Count
Source
127
812
                                               HIGHBD_DECL_SUFFIX) \
128
812
{ \
129
812
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
812
                   HIGHBD_TAIL_SUFFIX); \
131
812
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_8x4_c
Line
Count
Source
127
801
                                               HIGHBD_DECL_SUFFIX) \
128
801
{ \
129
801
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
801
                   HIGHBD_TAIL_SUFFIX); \
131
801
}
itx_tmpl.c:inv_txfm_add_dct_identity_8x4_c
Line
Count
Source
127
4.26k
                                               HIGHBD_DECL_SUFFIX) \
128
4.26k
{ \
129
4.26k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.26k
                   HIGHBD_TAIL_SUFFIX); \
131
4.26k
}
itx_tmpl.c:inv_txfm_add_identity_dct_8x4_c
Line
Count
Source
127
2.10k
                                               HIGHBD_DECL_SUFFIX) \
128
2.10k
{ \
129
2.10k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.10k
                   HIGHBD_TAIL_SUFFIX); \
131
2.10k
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_8x4_c
Line
Count
Source
127
1.83k
                                               HIGHBD_DECL_SUFFIX) \
128
1.83k
{ \
129
1.83k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.83k
                   HIGHBD_TAIL_SUFFIX); \
131
1.83k
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_8x4_c
Line
Count
Source
127
1.14k
                                               HIGHBD_DECL_SUFFIX) \
128
1.14k
{ \
129
1.14k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.14k
                   HIGHBD_TAIL_SUFFIX); \
131
1.14k
}
itx_tmpl.c:inv_txfm_add_adst_identity_8x4_c
Line
Count
Source
127
2.41k
                                               HIGHBD_DECL_SUFFIX) \
128
2.41k
{ \
129
2.41k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.41k
                   HIGHBD_TAIL_SUFFIX); \
131
2.41k
}
itx_tmpl.c:inv_txfm_add_identity_adst_8x4_c
Line
Count
Source
127
1.35k
                                               HIGHBD_DECL_SUFFIX) \
128
1.35k
{ \
129
1.35k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.35k
                   HIGHBD_TAIL_SUFFIX); \
131
1.35k
}
itx_tmpl.c:inv_txfm_add_dct_dct_8x8_c
Line
Count
Source
127
48.5k
                                               HIGHBD_DECL_SUFFIX) \
128
48.5k
{ \
129
48.5k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
48.5k
                   HIGHBD_TAIL_SUFFIX); \
131
48.5k
}
itx_tmpl.c:inv_txfm_add_identity_identity_8x8_c
Line
Count
Source
127
13.1k
                                               HIGHBD_DECL_SUFFIX) \
128
13.1k
{ \
129
13.1k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
13.1k
                   HIGHBD_TAIL_SUFFIX); \
131
13.1k
}
itx_tmpl.c:inv_txfm_add_adst_dct_8x8_c
Line
Count
Source
127
32.3k
                                               HIGHBD_DECL_SUFFIX) \
128
32.3k
{ \
129
32.3k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
32.3k
                   HIGHBD_TAIL_SUFFIX); \
131
32.3k
}
itx_tmpl.c:inv_txfm_add_dct_adst_8x8_c
Line
Count
Source
127
25.5k
                                               HIGHBD_DECL_SUFFIX) \
128
25.5k
{ \
129
25.5k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
25.5k
                   HIGHBD_TAIL_SUFFIX); \
131
25.5k
}
itx_tmpl.c:inv_txfm_add_adst_adst_8x8_c
Line
Count
Source
127
30.5k
                                               HIGHBD_DECL_SUFFIX) \
128
30.5k
{ \
129
30.5k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
30.5k
                   HIGHBD_TAIL_SUFFIX); \
131
30.5k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_8x8_c
Line
Count
Source
127
2.09k
                                               HIGHBD_DECL_SUFFIX) \
128
2.09k
{ \
129
2.09k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.09k
                   HIGHBD_TAIL_SUFFIX); \
131
2.09k
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_8x8_c
Line
Count
Source
127
2.24k
                                               HIGHBD_DECL_SUFFIX) \
128
2.24k
{ \
129
2.24k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.24k
                   HIGHBD_TAIL_SUFFIX); \
131
2.24k
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_8x8_c
Line
Count
Source
127
3.25k
                                               HIGHBD_DECL_SUFFIX) \
128
3.25k
{ \
129
3.25k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.25k
                   HIGHBD_TAIL_SUFFIX); \
131
3.25k
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_8x8_c
Line
Count
Source
127
2.68k
                                               HIGHBD_DECL_SUFFIX) \
128
2.68k
{ \
129
2.68k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.68k
                   HIGHBD_TAIL_SUFFIX); \
131
2.68k
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_8x8_c
Line
Count
Source
127
2.27k
                                               HIGHBD_DECL_SUFFIX) \
128
2.27k
{ \
129
2.27k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.27k
                   HIGHBD_TAIL_SUFFIX); \
131
2.27k
}
itx_tmpl.c:inv_txfm_add_dct_identity_8x8_c
Line
Count
Source
127
8.92k
                                               HIGHBD_DECL_SUFFIX) \
128
8.92k
{ \
129
8.92k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
8.92k
                   HIGHBD_TAIL_SUFFIX); \
131
8.92k
}
itx_tmpl.c:inv_txfm_add_identity_dct_8x8_c
Line
Count
Source
127
4.47k
                                               HIGHBD_DECL_SUFFIX) \
128
4.47k
{ \
129
4.47k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.47k
                   HIGHBD_TAIL_SUFFIX); \
131
4.47k
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_8x8_c
Line
Count
Source
127
2.55k
                                               HIGHBD_DECL_SUFFIX) \
128
2.55k
{ \
129
2.55k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.55k
                   HIGHBD_TAIL_SUFFIX); \
131
2.55k
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_8x8_c
Line
Count
Source
127
976
                                               HIGHBD_DECL_SUFFIX) \
128
976
{ \
129
976
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
976
                   HIGHBD_TAIL_SUFFIX); \
131
976
}
itx_tmpl.c:inv_txfm_add_adst_identity_8x8_c
Line
Count
Source
127
2.90k
                                               HIGHBD_DECL_SUFFIX) \
128
2.90k
{ \
129
2.90k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.90k
                   HIGHBD_TAIL_SUFFIX); \
131
2.90k
}
itx_tmpl.c:inv_txfm_add_identity_adst_8x8_c
Line
Count
Source
127
1.36k
                                               HIGHBD_DECL_SUFFIX) \
128
1.36k
{ \
129
1.36k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.36k
                   HIGHBD_TAIL_SUFFIX); \
131
1.36k
}
itx_tmpl.c:inv_txfm_add_dct_dct_8x16_c
Line
Count
Source
127
17.8k
                                               HIGHBD_DECL_SUFFIX) \
128
17.8k
{ \
129
17.8k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
17.8k
                   HIGHBD_TAIL_SUFFIX); \
131
17.8k
}
itx_tmpl.c:inv_txfm_add_identity_identity_8x16_c
Line
Count
Source
127
4.23k
                                               HIGHBD_DECL_SUFFIX) \
128
4.23k
{ \
129
4.23k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.23k
                   HIGHBD_TAIL_SUFFIX); \
131
4.23k
}
itx_tmpl.c:inv_txfm_add_adst_dct_8x16_c
Line
Count
Source
127
9.94k
                                               HIGHBD_DECL_SUFFIX) \
128
9.94k
{ \
129
9.94k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
9.94k
                   HIGHBD_TAIL_SUFFIX); \
131
9.94k
}
itx_tmpl.c:inv_txfm_add_dct_adst_8x16_c
Line
Count
Source
127
8.07k
                                               HIGHBD_DECL_SUFFIX) \
128
8.07k
{ \
129
8.07k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
8.07k
                   HIGHBD_TAIL_SUFFIX); \
131
8.07k
}
itx_tmpl.c:inv_txfm_add_adst_adst_8x16_c
Line
Count
Source
127
9.88k
                                               HIGHBD_DECL_SUFFIX) \
128
9.88k
{ \
129
9.88k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
9.88k
                   HIGHBD_TAIL_SUFFIX); \
131
9.88k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_8x16_c
Line
Count
Source
127
712
                                               HIGHBD_DECL_SUFFIX) \
128
712
{ \
129
712
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
712
                   HIGHBD_TAIL_SUFFIX); \
131
712
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_8x16_c
Line
Count
Source
127
1.12k
                                               HIGHBD_DECL_SUFFIX) \
128
1.12k
{ \
129
1.12k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.12k
                   HIGHBD_TAIL_SUFFIX); \
131
1.12k
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_8x16_c
Line
Count
Source
127
927
                                               HIGHBD_DECL_SUFFIX) \
128
927
{ \
129
927
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
927
                   HIGHBD_TAIL_SUFFIX); \
131
927
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_8x16_c
Line
Count
Source
127
810
                                               HIGHBD_DECL_SUFFIX) \
128
810
{ \
129
810
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
810
                   HIGHBD_TAIL_SUFFIX); \
131
810
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_8x16_c
Line
Count
Source
127
909
                                               HIGHBD_DECL_SUFFIX) \
128
909
{ \
129
909
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
909
                   HIGHBD_TAIL_SUFFIX); \
131
909
}
itx_tmpl.c:inv_txfm_add_dct_identity_8x16_c
Line
Count
Source
127
2.48k
                                               HIGHBD_DECL_SUFFIX) \
128
2.48k
{ \
129
2.48k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.48k
                   HIGHBD_TAIL_SUFFIX); \
131
2.48k
}
itx_tmpl.c:inv_txfm_add_identity_dct_8x16_c
Line
Count
Source
127
1.55k
                                               HIGHBD_DECL_SUFFIX) \
128
1.55k
{ \
129
1.55k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.55k
                   HIGHBD_TAIL_SUFFIX); \
131
1.55k
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_8x16_c
Line
Count
Source
127
1.29k
                                               HIGHBD_DECL_SUFFIX) \
128
1.29k
{ \
129
1.29k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.29k
                   HIGHBD_TAIL_SUFFIX); \
131
1.29k
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_8x16_c
Line
Count
Source
127
570
                                               HIGHBD_DECL_SUFFIX) \
128
570
{ \
129
570
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
570
                   HIGHBD_TAIL_SUFFIX); \
131
570
}
itx_tmpl.c:inv_txfm_add_adst_identity_8x16_c
Line
Count
Source
127
820
                                               HIGHBD_DECL_SUFFIX) \
128
820
{ \
129
820
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
820
                   HIGHBD_TAIL_SUFFIX); \
131
820
}
itx_tmpl.c:inv_txfm_add_identity_adst_8x16_c
Line
Count
Source
127
553
                                               HIGHBD_DECL_SUFFIX) \
128
553
{ \
129
553
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
553
                   HIGHBD_TAIL_SUFFIX); \
131
553
}
itx_tmpl.c:inv_txfm_add_dct_dct_8x32_c
Line
Count
Source
127
13.7k
                                               HIGHBD_DECL_SUFFIX) \
128
13.7k
{ \
129
13.7k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
13.7k
                   HIGHBD_TAIL_SUFFIX); \
131
13.7k
}
itx_tmpl.c:inv_txfm_add_identity_identity_8x32_c
Line
Count
Source
127
437
                                               HIGHBD_DECL_SUFFIX) \
128
437
{ \
129
437
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
437
                   HIGHBD_TAIL_SUFFIX); \
131
437
}
itx_tmpl.c:inv_txfm_add_dct_dct_16x4_c
Line
Count
Source
127
10.2k
                                               HIGHBD_DECL_SUFFIX) \
128
10.2k
{ \
129
10.2k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
10.2k
                   HIGHBD_TAIL_SUFFIX); \
131
10.2k
}
itx_tmpl.c:inv_txfm_add_identity_identity_16x4_c
Line
Count
Source
127
3.30k
                                               HIGHBD_DECL_SUFFIX) \
128
3.30k
{ \
129
3.30k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.30k
                   HIGHBD_TAIL_SUFFIX); \
131
3.30k
}
itx_tmpl.c:inv_txfm_add_adst_dct_16x4_c
Line
Count
Source
127
7.66k
                                               HIGHBD_DECL_SUFFIX) \
128
7.66k
{ \
129
7.66k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
7.66k
                   HIGHBD_TAIL_SUFFIX); \
131
7.66k
}
itx_tmpl.c:inv_txfm_add_dct_adst_16x4_c
Line
Count
Source
127
6.06k
                                               HIGHBD_DECL_SUFFIX) \
128
6.06k
{ \
129
6.06k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
6.06k
                   HIGHBD_TAIL_SUFFIX); \
131
6.06k
}
itx_tmpl.c:inv_txfm_add_adst_adst_16x4_c
Line
Count
Source
127
9.10k
                                               HIGHBD_DECL_SUFFIX) \
128
9.10k
{ \
129
9.10k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
9.10k
                   HIGHBD_TAIL_SUFFIX); \
131
9.10k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_16x4_c
Line
Count
Source
127
616
                                               HIGHBD_DECL_SUFFIX) \
128
616
{ \
129
616
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
616
                   HIGHBD_TAIL_SUFFIX); \
131
616
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_16x4_c
Line
Count
Source
127
510
                                               HIGHBD_DECL_SUFFIX) \
128
510
{ \
129
510
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
510
                   HIGHBD_TAIL_SUFFIX); \
131
510
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_16x4_c
Line
Count
Source
127
488
                                               HIGHBD_DECL_SUFFIX) \
128
488
{ \
129
488
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
488
                   HIGHBD_TAIL_SUFFIX); \
131
488
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_16x4_c
Line
Count
Source
127
398
                                               HIGHBD_DECL_SUFFIX) \
128
398
{ \
129
398
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
398
                   HIGHBD_TAIL_SUFFIX); \
131
398
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_16x4_c
Line
Count
Source
127
454
                                               HIGHBD_DECL_SUFFIX) \
128
454
{ \
129
454
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
454
                   HIGHBD_TAIL_SUFFIX); \
131
454
}
itx_tmpl.c:inv_txfm_add_dct_identity_16x4_c
Line
Count
Source
127
2.87k
                                               HIGHBD_DECL_SUFFIX) \
128
2.87k
{ \
129
2.87k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.87k
                   HIGHBD_TAIL_SUFFIX); \
131
2.87k
}
itx_tmpl.c:inv_txfm_add_identity_dct_16x4_c
Line
Count
Source
127
1.54k
                                               HIGHBD_DECL_SUFFIX) \
128
1.54k
{ \
129
1.54k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.54k
                   HIGHBD_TAIL_SUFFIX); \
131
1.54k
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_16x4_c
Line
Count
Source
127
796
                                               HIGHBD_DECL_SUFFIX) \
128
796
{ \
129
796
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
796
                   HIGHBD_TAIL_SUFFIX); \
131
796
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_16x4_c
Line
Count
Source
127
451
                                               HIGHBD_DECL_SUFFIX) \
128
451
{ \
129
451
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
451
                   HIGHBD_TAIL_SUFFIX); \
131
451
}
itx_tmpl.c:inv_txfm_add_adst_identity_16x4_c
Line
Count
Source
127
852
                                               HIGHBD_DECL_SUFFIX) \
128
852
{ \
129
852
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
852
                   HIGHBD_TAIL_SUFFIX); \
131
852
}
itx_tmpl.c:inv_txfm_add_identity_adst_16x4_c
Line
Count
Source
127
510
                                               HIGHBD_DECL_SUFFIX) \
128
510
{ \
129
510
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
510
                   HIGHBD_TAIL_SUFFIX); \
131
510
}
itx_tmpl.c:inv_txfm_add_dct_dct_16x8_c
Line
Count
Source
127
21.9k
                                               HIGHBD_DECL_SUFFIX) \
128
21.9k
{ \
129
21.9k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
21.9k
                   HIGHBD_TAIL_SUFFIX); \
131
21.9k
}
itx_tmpl.c:inv_txfm_add_identity_identity_16x8_c
Line
Count
Source
127
5.25k
                                               HIGHBD_DECL_SUFFIX) \
128
5.25k
{ \
129
5.25k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.25k
                   HIGHBD_TAIL_SUFFIX); \
131
5.25k
}
itx_tmpl.c:inv_txfm_add_adst_dct_16x8_c
Line
Count
Source
127
13.9k
                                               HIGHBD_DECL_SUFFIX) \
128
13.9k
{ \
129
13.9k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
13.9k
                   HIGHBD_TAIL_SUFFIX); \
131
13.9k
}
itx_tmpl.c:inv_txfm_add_dct_adst_16x8_c
Line
Count
Source
127
10.5k
                                               HIGHBD_DECL_SUFFIX) \
128
10.5k
{ \
129
10.5k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
10.5k
                   HIGHBD_TAIL_SUFFIX); \
131
10.5k
}
itx_tmpl.c:inv_txfm_add_adst_adst_16x8_c
Line
Count
Source
127
12.9k
                                               HIGHBD_DECL_SUFFIX) \
128
12.9k
{ \
129
12.9k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
12.9k
                   HIGHBD_TAIL_SUFFIX); \
131
12.9k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_16x8_c
Line
Count
Source
127
1.14k
                                               HIGHBD_DECL_SUFFIX) \
128
1.14k
{ \
129
1.14k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.14k
                   HIGHBD_TAIL_SUFFIX); \
131
1.14k
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_16x8_c
Line
Count
Source
127
1.10k
                                               HIGHBD_DECL_SUFFIX) \
128
1.10k
{ \
129
1.10k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.10k
                   HIGHBD_TAIL_SUFFIX); \
131
1.10k
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_16x8_c
Line
Count
Source
127
1.40k
                                               HIGHBD_DECL_SUFFIX) \
128
1.40k
{ \
129
1.40k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.40k
                   HIGHBD_TAIL_SUFFIX); \
131
1.40k
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_16x8_c
Line
Count
Source
127
836
                                               HIGHBD_DECL_SUFFIX) \
128
836
{ \
129
836
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
836
                   HIGHBD_TAIL_SUFFIX); \
131
836
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_16x8_c
Line
Count
Source
127
883
                                               HIGHBD_DECL_SUFFIX) \
128
883
{ \
129
883
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
883
                   HIGHBD_TAIL_SUFFIX); \
131
883
}
itx_tmpl.c:inv_txfm_add_dct_identity_16x8_c
Line
Count
Source
127
3.13k
                                               HIGHBD_DECL_SUFFIX) \
128
3.13k
{ \
129
3.13k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.13k
                   HIGHBD_TAIL_SUFFIX); \
131
3.13k
}
itx_tmpl.c:inv_txfm_add_identity_dct_16x8_c
Line
Count
Source
127
1.91k
                                               HIGHBD_DECL_SUFFIX) \
128
1.91k
{ \
129
1.91k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.91k
                   HIGHBD_TAIL_SUFFIX); \
131
1.91k
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_16x8_c
Line
Count
Source
127
1.24k
                                               HIGHBD_DECL_SUFFIX) \
128
1.24k
{ \
129
1.24k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.24k
                   HIGHBD_TAIL_SUFFIX); \
131
1.24k
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_16x8_c
Line
Count
Source
127
647
                                               HIGHBD_DECL_SUFFIX) \
128
647
{ \
129
647
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
647
                   HIGHBD_TAIL_SUFFIX); \
131
647
}
itx_tmpl.c:inv_txfm_add_adst_identity_16x8_c
Line
Count
Source
127
1.08k
                                               HIGHBD_DECL_SUFFIX) \
128
1.08k
{ \
129
1.08k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.08k
                   HIGHBD_TAIL_SUFFIX); \
131
1.08k
}
itx_tmpl.c:inv_txfm_add_identity_adst_16x8_c
Line
Count
Source
127
575
                                               HIGHBD_DECL_SUFFIX) \
128
575
{ \
129
575
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
575
                   HIGHBD_TAIL_SUFFIX); \
131
575
}
itx_tmpl.c:inv_txfm_add_dct_dct_16x16_c
Line
Count
Source
127
49.3k
                                               HIGHBD_DECL_SUFFIX) \
128
49.3k
{ \
129
49.3k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
49.3k
                   HIGHBD_TAIL_SUFFIX); \
131
49.3k
}
itx_tmpl.c:inv_txfm_add_identity_identity_16x16_c
Line
Count
Source
127
6.71k
                                               HIGHBD_DECL_SUFFIX) \
128
6.71k
{ \
129
6.71k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
6.71k
                   HIGHBD_TAIL_SUFFIX); \
131
6.71k
}
itx_tmpl.c:inv_txfm_add_adst_dct_16x16_c
Line
Count
Source
127
45.8k
                                               HIGHBD_DECL_SUFFIX) \
128
45.8k
{ \
129
45.8k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
45.8k
                   HIGHBD_TAIL_SUFFIX); \
131
45.8k
}
itx_tmpl.c:inv_txfm_add_dct_adst_16x16_c
Line
Count
Source
127
31.7k
                                               HIGHBD_DECL_SUFFIX) \
128
31.7k
{ \
129
31.7k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
31.7k
                   HIGHBD_TAIL_SUFFIX); \
131
31.7k
}
itx_tmpl.c:inv_txfm_add_adst_adst_16x16_c
Line
Count
Source
127
42.1k
                                               HIGHBD_DECL_SUFFIX) \
128
42.1k
{ \
129
42.1k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
42.1k
                   HIGHBD_TAIL_SUFFIX); \
131
42.1k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_16x16_c
Line
Count
Source
127
609
                                               HIGHBD_DECL_SUFFIX) \
128
609
{ \
129
609
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
609
                   HIGHBD_TAIL_SUFFIX); \
131
609
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_16x16_c
Line
Count
Source
127
781
                                               HIGHBD_DECL_SUFFIX) \
128
781
{ \
129
781
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
781
                   HIGHBD_TAIL_SUFFIX); \
131
781
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_16x16_c
Line
Count
Source
127
930
                                               HIGHBD_DECL_SUFFIX) \
128
930
{ \
129
930
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
930
                   HIGHBD_TAIL_SUFFIX); \
131
930
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_16x16_c
Line
Count
Source
127
907
                                               HIGHBD_DECL_SUFFIX) \
128
907
{ \
129
907
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
907
                   HIGHBD_TAIL_SUFFIX); \
131
907
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_16x16_c
Line
Count
Source
127
834
                                               HIGHBD_DECL_SUFFIX) \
128
834
{ \
129
834
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
834
                   HIGHBD_TAIL_SUFFIX); \
131
834
}
itx_tmpl.c:inv_txfm_add_dct_identity_16x16_c
Line
Count
Source
127
942
                                               HIGHBD_DECL_SUFFIX) \
128
942
{ \
129
942
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
942
                   HIGHBD_TAIL_SUFFIX); \
131
942
}
itx_tmpl.c:inv_txfm_add_identity_dct_16x16_c
Line
Count
Source
127
575
                                               HIGHBD_DECL_SUFFIX) \
128
575
{ \
129
575
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
575
                   HIGHBD_TAIL_SUFFIX); \
131
575
}
itx_tmpl.c:inv_txfm_add_dct_dct_16x32_c
Line
Count
Source
127
42.9k
                                               HIGHBD_DECL_SUFFIX) \
128
42.9k
{ \
129
42.9k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
42.9k
                   HIGHBD_TAIL_SUFFIX); \
131
42.9k
}
itx_tmpl.c:inv_txfm_add_identity_identity_16x32_c
Line
Count
Source
127
638
                                               HIGHBD_DECL_SUFFIX) \
128
638
{ \
129
638
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
638
                   HIGHBD_TAIL_SUFFIX); \
131
638
}
itx_tmpl.c:inv_txfm_add_dct_dct_16x64_c
Line
Count
Source
127
5.28k
                                               HIGHBD_DECL_SUFFIX) \
128
5.28k
{ \
129
5.28k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.28k
                   HIGHBD_TAIL_SUFFIX); \
131
5.28k
}
itx_tmpl.c:inv_txfm_add_dct_dct_32x8_c
Line
Count
Source
127
19.0k
                                               HIGHBD_DECL_SUFFIX) \
128
19.0k
{ \
129
19.0k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
19.0k
                   HIGHBD_TAIL_SUFFIX); \
131
19.0k
}
itx_tmpl.c:inv_txfm_add_identity_identity_32x8_c
Line
Count
Source
127
582
                                               HIGHBD_DECL_SUFFIX) \
128
582
{ \
129
582
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
582
                   HIGHBD_TAIL_SUFFIX); \
131
582
}
itx_tmpl.c:inv_txfm_add_dct_dct_32x16_c
Line
Count
Source
127
36.1k
                                               HIGHBD_DECL_SUFFIX) \
128
36.1k
{ \
129
36.1k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
36.1k
                   HIGHBD_TAIL_SUFFIX); \
131
36.1k
}
itx_tmpl.c:inv_txfm_add_identity_identity_32x16_c
Line
Count
Source
127
798
                                               HIGHBD_DECL_SUFFIX) \
128
798
{ \
129
798
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
798
                   HIGHBD_TAIL_SUFFIX); \
131
798
}
itx_tmpl.c:inv_txfm_add_dct_dct_32x32_c
Line
Count
Source
127
315k
                                               HIGHBD_DECL_SUFFIX) \
128
315k
{ \
129
315k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
315k
                   HIGHBD_TAIL_SUFFIX); \
131
315k
}
itx_tmpl.c:inv_txfm_add_identity_identity_32x32_c
Line
Count
Source
127
279
                                               HIGHBD_DECL_SUFFIX) \
128
279
{ \
129
279
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
279
                   HIGHBD_TAIL_SUFFIX); \
131
279
}
itx_tmpl.c:inv_txfm_add_dct_dct_32x64_c
Line
Count
Source
127
30.9k
                                               HIGHBD_DECL_SUFFIX) \
128
30.9k
{ \
129
30.9k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
30.9k
                   HIGHBD_TAIL_SUFFIX); \
131
30.9k
}
itx_tmpl.c:inv_txfm_add_dct_dct_64x16_c
Line
Count
Source
127
4.48k
                                               HIGHBD_DECL_SUFFIX) \
128
4.48k
{ \
129
4.48k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.48k
                   HIGHBD_TAIL_SUFFIX); \
131
4.48k
}
itx_tmpl.c:inv_txfm_add_dct_dct_64x32_c
Line
Count
Source
127
16.5k
                                               HIGHBD_DECL_SUFFIX) \
128
16.5k
{ \
129
16.5k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
16.5k
                   HIGHBD_TAIL_SUFFIX); \
131
16.5k
}
itx_tmpl.c:inv_txfm_add_dct_dct_64x64_c
Line
Count
Source
127
157k
                                               HIGHBD_DECL_SUFFIX) \
128
157k
{ \
129
157k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
157k
                   HIGHBD_TAIL_SUFFIX); \
131
157k
}
132
133
#define inv_txfm_fn64(pfx, w, h, shift) \
134
inv_txfm_fn(dct, dct, DCT_DCT, pfx, w, h, shift)
135
136
#define inv_txfm_fn32(pfx, w, h, shift) \
137
inv_txfm_fn64(pfx, w, h, shift) \
138
inv_txfm_fn(identity, identity, IDTX, pfx, w, h, shift)
139
140
#define inv_txfm_fn16(pfx, w, h, shift) \
141
inv_txfm_fn32(pfx, w, h, shift) \
142
inv_txfm_fn(adst,     dct,      ADST_DCT,          pfx,  w, h, shift) \
143
inv_txfm_fn(dct,      adst,     DCT_ADST,          pfx, w, h, shift) \
144
inv_txfm_fn(adst,     adst,     ADST_ADST,         pfx, w, h, shift) \
145
inv_txfm_fn(dct,      flipadst, DCT_FLIPADST,      pfx, w, h, shift) \
146
inv_txfm_fn(flipadst, dct,      FLIPADST_DCT,      pfx, w, h, shift) \
147
inv_txfm_fn(adst,     flipadst, ADST_FLIPADST,     pfx, w, h, shift) \
148
inv_txfm_fn(flipadst, adst,     FLIPADST_ADST,     pfx, w, h, shift) \
149
inv_txfm_fn(flipadst, flipadst, FLIPADST_FLIPADST, pfx, w, h, shift) \
150
inv_txfm_fn(identity, dct,      H_DCT,             pfx, w, h, shift) \
151
inv_txfm_fn(dct,      identity, V_DCT,             pfx, w, h, shift) \
152
153
#define inv_txfm_fn84(pfx, w, h, shift) \
154
inv_txfm_fn16(pfx, w, h, shift) \
155
inv_txfm_fn(identity, flipadst, H_FLIPADST, pfx, w, h, shift) \
156
inv_txfm_fn(flipadst, identity, V_FLIPADST, pfx, w, h, shift) \
157
inv_txfm_fn(identity, adst,     H_ADST,     pfx, w, h, shift) \
158
inv_txfm_fn(adst,     identity, V_ADST,     pfx, w, h, shift) \
159
160
inv_txfm_fn84( ,  4,  4, 0)
161
inv_txfm_fn84(R,  4,  8, 0)
162
inv_txfm_fn84(R,  4, 16, 1)
163
inv_txfm_fn84(R,  8,  4, 0)
164
inv_txfm_fn84( ,  8,  8, 1)
165
inv_txfm_fn84(R,  8, 16, 1)
166
inv_txfm_fn32(R,  8, 32, 2)
167
inv_txfm_fn84(R, 16,  4, 1)
168
inv_txfm_fn84(R, 16,  8, 1)
169
inv_txfm_fn16( , 16, 16, 2)
170
inv_txfm_fn32(R, 16, 32, 1)
171
inv_txfm_fn64(R, 16, 64, 2)
172
inv_txfm_fn32(R, 32,  8, 2)
173
inv_txfm_fn32(R, 32, 16, 1)
174
inv_txfm_fn32( , 32, 32, 2)
175
inv_txfm_fn64(R, 32, 64, 1)
176
inv_txfm_fn64(R, 64, 16, 2)
177
inv_txfm_fn64(R, 64, 32, 1)
178
inv_txfm_fn64( , 64, 64, 2)
179
180
#if !(HAVE_ASM && TRIM_DSP_FUNCTIONS && ( \
181
  ARCH_AARCH64 || \
182
  (ARCH_ARM && (defined(__ARM_NEON) || defined(__APPLE__) || defined(_WIN32))) \
183
))
184
static void inv_txfm_add_wht_wht_4x4_c(pixel *dst, const ptrdiff_t stride,
185
                                       coef *const coeff, const int eob
186
                                       HIGHBD_DECL_SUFFIX)
187
740k
{
188
740k
    int32_t tmp[4 * 4], *c = tmp;
189
3.70M
    for (int y = 0; y < 4; y++, c += 4) {
190
14.8M
        for (int x = 0; x < 4; x++)
191
11.8M
            c[x] = coeff[y + x * 4] >> 2;
192
2.96M
        dav1d_inv_wht4_1d_c(c, 1);
193
2.96M
    }
194
740k
    memset(coeff, 0, sizeof(*coeff) * 4 * 4);
195
196
3.70M
    for (int x = 0; x < 4; x++)
197
2.96M
        dav1d_inv_wht4_1d_c(&tmp[x], 4);
198
199
740k
    c = tmp;
200
3.70M
    for (int y = 0; y < 4; y++, dst += PXSTRIDE(stride))
201
14.8M
        for (int x = 0; x < 4; x++)
202
11.8M
            dst[x] = iclip_pixel(dst[x] + *c++);
203
740k
}
204
#endif
205
206
#if HAVE_ASM
207
#if ARCH_AARCH64 || ARCH_ARM
208
#include "src/arm/itx.h"
209
#elif ARCH_LOONGARCH64
210
#include "src/loongarch/itx.h"
211
#elif ARCH_PPC64LE
212
#include "src/ppc/itx.h"
213
#elif ARCH_RISCV
214
#include "src/riscv/itx.h"
215
#elif ARCH_X86
216
#include "src/x86/itx.h"
217
#endif
218
#endif
219
220
68.7k
COLD void bitfn(dav1d_itx_dsp_init)(Dav1dInvTxfmDSPContext *const c, int bpc) {
221
68.7k
#define assign_itx_all_fn64(w, h, pfx) \
222
1.30M
    c->itxfm_add[pfx##TX_##w##X##h][DCT_DCT  ] = \
223
1.30M
        inv_txfm_add_dct_dct_##w##x##h##_c
224
225
68.7k
#define assign_itx_all_fn32(w, h, pfx) \
226
962k
    assign_itx_all_fn64(w, h, pfx); \
227
962k
    c->itxfm_add[pfx##TX_##w##X##h][IDTX] = \
228
962k
        inv_txfm_add_identity_identity_##w##x##h##_c
229
230
68.7k
#define assign_itx_all_fn16(w, h, pfx) \
231
618k
    assign_itx_all_fn32(w, h, pfx); \
232
618k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_ADST ] = \
233
618k
        inv_txfm_add_adst_dct_##w##x##h##_c; \
234
618k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_DCT ] = \
235
618k
        inv_txfm_add_dct_adst_##w##x##h##_c; \
236
618k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_ADST] = \
237
618k
        inv_txfm_add_adst_adst_##w##x##h##_c; \
238
618k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_FLIPADST] = \
239
618k
        inv_txfm_add_flipadst_adst_##w##x##h##_c; \
240
618k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_ADST] = \
241
618k
        inv_txfm_add_adst_flipadst_##w##x##h##_c; \
242
618k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_FLIPADST] = \
243
618k
        inv_txfm_add_flipadst_dct_##w##x##h##_c; \
244
618k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_DCT] = \
245
618k
        inv_txfm_add_dct_flipadst_##w##x##h##_c; \
246
618k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_FLIPADST] = \
247
618k
        inv_txfm_add_flipadst_flipadst_##w##x##h##_c; \
248
618k
    c->itxfm_add[pfx##TX_##w##X##h][H_DCT] = \
249
618k
        inv_txfm_add_dct_identity_##w##x##h##_c; \
250
618k
    c->itxfm_add[pfx##TX_##w##X##h][V_DCT] = \
251
618k
        inv_txfm_add_identity_dct_##w##x##h##_c
252
253
68.7k
#define assign_itx_all_fn84(w, h, pfx) \
254
549k
    assign_itx_all_fn16(w, h, pfx); \
255
549k
    c->itxfm_add[pfx##TX_##w##X##h][H_FLIPADST] = \
256
549k
        inv_txfm_add_flipadst_identity_##w##x##h##_c; \
257
549k
    c->itxfm_add[pfx##TX_##w##X##h][V_FLIPADST] = \
258
549k
        inv_txfm_add_identity_flipadst_##w##x##h##_c; \
259
549k
    c->itxfm_add[pfx##TX_##w##X##h][H_ADST] = \
260
549k
        inv_txfm_add_adst_identity_##w##x##h##_c; \
261
549k
    c->itxfm_add[pfx##TX_##w##X##h][V_ADST] = \
262
549k
        inv_txfm_add_identity_adst_##w##x##h##_c; \
263
68.7k
264
68.7k
#if !(HAVE_ASM && TRIM_DSP_FUNCTIONS && ( \
265
68.7k
  ARCH_AARCH64 || \
266
68.7k
  (ARCH_ARM && (defined(__ARM_NEON) || defined(__APPLE__) || defined(_WIN32))) \
267
68.7k
))
268
68.7k
    c->itxfm_add[TX_4X4][WHT_WHT] = inv_txfm_add_wht_wht_4x4_c;
269
68.7k
#endif
270
68.7k
    assign_itx_all_fn84( 4,  4, );
271
68.7k
    assign_itx_all_fn84( 4,  8, R);
272
68.7k
    assign_itx_all_fn84( 4, 16, R);
273
68.7k
    assign_itx_all_fn84( 8,  4, R);
274
68.7k
    assign_itx_all_fn84( 8,  8, );
275
68.7k
    assign_itx_all_fn84( 8, 16, R);
276
68.7k
    assign_itx_all_fn32( 8, 32, R);
277
68.7k
    assign_itx_all_fn84(16,  4, R);
278
68.7k
    assign_itx_all_fn84(16,  8, R);
279
68.7k
    assign_itx_all_fn16(16, 16, );
280
68.7k
    assign_itx_all_fn32(16, 32, R);
281
68.7k
    assign_itx_all_fn64(16, 64, R);
282
68.7k
    assign_itx_all_fn32(32,  8, R);
283
68.7k
    assign_itx_all_fn32(32, 16, R);
284
68.7k
    assign_itx_all_fn32(32, 32, );
285
68.7k
    assign_itx_all_fn64(32, 64, R);
286
68.7k
    assign_itx_all_fn64(64, 16, R);
287
68.7k
    assign_itx_all_fn64(64, 32, R);
288
68.7k
    assign_itx_all_fn64(64, 64, );
289
290
68.7k
    int all_simd = 0;
291
#if HAVE_ASM
292
#if ARCH_AARCH64 || ARCH_ARM
293
    itx_dsp_init_arm(c, bpc, &all_simd);
294
#endif
295
#if ARCH_LOONGARCH64
296
    itx_dsp_init_loongarch(c, bpc);
297
#endif
298
#if ARCH_PPC64LE
299
    itx_dsp_init_ppc(c, bpc);
300
#endif
301
#if ARCH_RISCV
302
    itx_dsp_init_riscv(c, bpc);
303
#endif
304
#if ARCH_X86
305
    itx_dsp_init_x86(c, bpc, &all_simd);
306
#endif
307
#endif
308
309
68.7k
    if (!all_simd)
310
68.7k
        dav1d_init_last_nonzero_col_from_eob_tables();
311
68.7k
}
dav1d_itx_dsp_init_8bpc
Line
Count
Source
220
30.8k
COLD void bitfn(dav1d_itx_dsp_init)(Dav1dInvTxfmDSPContext *const c, int bpc) {
221
30.8k
#define assign_itx_all_fn64(w, h, pfx) \
222
30.8k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_DCT  ] = \
223
30.8k
        inv_txfm_add_dct_dct_##w##x##h##_c
224
225
30.8k
#define assign_itx_all_fn32(w, h, pfx) \
226
30.8k
    assign_itx_all_fn64(w, h, pfx); \
227
30.8k
    c->itxfm_add[pfx##TX_##w##X##h][IDTX] = \
228
30.8k
        inv_txfm_add_identity_identity_##w##x##h##_c
229
230
30.8k
#define assign_itx_all_fn16(w, h, pfx) \
231
30.8k
    assign_itx_all_fn32(w, h, pfx); \
232
30.8k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_ADST ] = \
233
30.8k
        inv_txfm_add_adst_dct_##w##x##h##_c; \
234
30.8k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_DCT ] = \
235
30.8k
        inv_txfm_add_dct_adst_##w##x##h##_c; \
236
30.8k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_ADST] = \
237
30.8k
        inv_txfm_add_adst_adst_##w##x##h##_c; \
238
30.8k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_FLIPADST] = \
239
30.8k
        inv_txfm_add_flipadst_adst_##w##x##h##_c; \
240
30.8k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_ADST] = \
241
30.8k
        inv_txfm_add_adst_flipadst_##w##x##h##_c; \
242
30.8k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_FLIPADST] = \
243
30.8k
        inv_txfm_add_flipadst_dct_##w##x##h##_c; \
244
30.8k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_DCT] = \
245
30.8k
        inv_txfm_add_dct_flipadst_##w##x##h##_c; \
246
30.8k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_FLIPADST] = \
247
30.8k
        inv_txfm_add_flipadst_flipadst_##w##x##h##_c; \
248
30.8k
    c->itxfm_add[pfx##TX_##w##X##h][H_DCT] = \
249
30.8k
        inv_txfm_add_dct_identity_##w##x##h##_c; \
250
30.8k
    c->itxfm_add[pfx##TX_##w##X##h][V_DCT] = \
251
30.8k
        inv_txfm_add_identity_dct_##w##x##h##_c
252
253
30.8k
#define assign_itx_all_fn84(w, h, pfx) \
254
30.8k
    assign_itx_all_fn16(w, h, pfx); \
255
30.8k
    c->itxfm_add[pfx##TX_##w##X##h][H_FLIPADST] = \
256
30.8k
        inv_txfm_add_flipadst_identity_##w##x##h##_c; \
257
30.8k
    c->itxfm_add[pfx##TX_##w##X##h][V_FLIPADST] = \
258
30.8k
        inv_txfm_add_identity_flipadst_##w##x##h##_c; \
259
30.8k
    c->itxfm_add[pfx##TX_##w##X##h][H_ADST] = \
260
30.8k
        inv_txfm_add_adst_identity_##w##x##h##_c; \
261
30.8k
    c->itxfm_add[pfx##TX_##w##X##h][V_ADST] = \
262
30.8k
        inv_txfm_add_identity_adst_##w##x##h##_c; \
263
30.8k
264
30.8k
#if !(HAVE_ASM && TRIM_DSP_FUNCTIONS && ( \
265
30.8k
  ARCH_AARCH64 || \
266
30.8k
  (ARCH_ARM && (defined(__ARM_NEON) || defined(__APPLE__) || defined(_WIN32))) \
267
30.8k
))
268
30.8k
    c->itxfm_add[TX_4X4][WHT_WHT] = inv_txfm_add_wht_wht_4x4_c;
269
30.8k
#endif
270
30.8k
    assign_itx_all_fn84( 4,  4, );
271
30.8k
    assign_itx_all_fn84( 4,  8, R);
272
30.8k
    assign_itx_all_fn84( 4, 16, R);
273
30.8k
    assign_itx_all_fn84( 8,  4, R);
274
30.8k
    assign_itx_all_fn84( 8,  8, );
275
30.8k
    assign_itx_all_fn84( 8, 16, R);
276
30.8k
    assign_itx_all_fn32( 8, 32, R);
277
30.8k
    assign_itx_all_fn84(16,  4, R);
278
30.8k
    assign_itx_all_fn84(16,  8, R);
279
30.8k
    assign_itx_all_fn16(16, 16, );
280
30.8k
    assign_itx_all_fn32(16, 32, R);
281
30.8k
    assign_itx_all_fn64(16, 64, R);
282
30.8k
    assign_itx_all_fn32(32,  8, R);
283
30.8k
    assign_itx_all_fn32(32, 16, R);
284
30.8k
    assign_itx_all_fn32(32, 32, );
285
30.8k
    assign_itx_all_fn64(32, 64, R);
286
30.8k
    assign_itx_all_fn64(64, 16, R);
287
30.8k
    assign_itx_all_fn64(64, 32, R);
288
30.8k
    assign_itx_all_fn64(64, 64, );
289
290
30.8k
    int all_simd = 0;
291
#if HAVE_ASM
292
#if ARCH_AARCH64 || ARCH_ARM
293
    itx_dsp_init_arm(c, bpc, &all_simd);
294
#endif
295
#if ARCH_LOONGARCH64
296
    itx_dsp_init_loongarch(c, bpc);
297
#endif
298
#if ARCH_PPC64LE
299
    itx_dsp_init_ppc(c, bpc);
300
#endif
301
#if ARCH_RISCV
302
    itx_dsp_init_riscv(c, bpc);
303
#endif
304
#if ARCH_X86
305
    itx_dsp_init_x86(c, bpc, &all_simd);
306
#endif
307
#endif
308
309
30.8k
    if (!all_simd)
310
30.8k
        dav1d_init_last_nonzero_col_from_eob_tables();
311
30.8k
}
dav1d_itx_dsp_init_16bpc
Line
Count
Source
220
37.9k
COLD void bitfn(dav1d_itx_dsp_init)(Dav1dInvTxfmDSPContext *const c, int bpc) {
221
37.9k
#define assign_itx_all_fn64(w, h, pfx) \
222
37.9k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_DCT  ] = \
223
37.9k
        inv_txfm_add_dct_dct_##w##x##h##_c
224
225
37.9k
#define assign_itx_all_fn32(w, h, pfx) \
226
37.9k
    assign_itx_all_fn64(w, h, pfx); \
227
37.9k
    c->itxfm_add[pfx##TX_##w##X##h][IDTX] = \
228
37.9k
        inv_txfm_add_identity_identity_##w##x##h##_c
229
230
37.9k
#define assign_itx_all_fn16(w, h, pfx) \
231
37.9k
    assign_itx_all_fn32(w, h, pfx); \
232
37.9k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_ADST ] = \
233
37.9k
        inv_txfm_add_adst_dct_##w##x##h##_c; \
234
37.9k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_DCT ] = \
235
37.9k
        inv_txfm_add_dct_adst_##w##x##h##_c; \
236
37.9k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_ADST] = \
237
37.9k
        inv_txfm_add_adst_adst_##w##x##h##_c; \
238
37.9k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_FLIPADST] = \
239
37.9k
        inv_txfm_add_flipadst_adst_##w##x##h##_c; \
240
37.9k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_ADST] = \
241
37.9k
        inv_txfm_add_adst_flipadst_##w##x##h##_c; \
242
37.9k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_FLIPADST] = \
243
37.9k
        inv_txfm_add_flipadst_dct_##w##x##h##_c; \
244
37.9k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_DCT] = \
245
37.9k
        inv_txfm_add_dct_flipadst_##w##x##h##_c; \
246
37.9k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_FLIPADST] = \
247
37.9k
        inv_txfm_add_flipadst_flipadst_##w##x##h##_c; \
248
37.9k
    c->itxfm_add[pfx##TX_##w##X##h][H_DCT] = \
249
37.9k
        inv_txfm_add_dct_identity_##w##x##h##_c; \
250
37.9k
    c->itxfm_add[pfx##TX_##w##X##h][V_DCT] = \
251
37.9k
        inv_txfm_add_identity_dct_##w##x##h##_c
252
253
37.9k
#define assign_itx_all_fn84(w, h, pfx) \
254
37.9k
    assign_itx_all_fn16(w, h, pfx); \
255
37.9k
    c->itxfm_add[pfx##TX_##w##X##h][H_FLIPADST] = \
256
37.9k
        inv_txfm_add_flipadst_identity_##w##x##h##_c; \
257
37.9k
    c->itxfm_add[pfx##TX_##w##X##h][V_FLIPADST] = \
258
37.9k
        inv_txfm_add_identity_flipadst_##w##x##h##_c; \
259
37.9k
    c->itxfm_add[pfx##TX_##w##X##h][H_ADST] = \
260
37.9k
        inv_txfm_add_adst_identity_##w##x##h##_c; \
261
37.9k
    c->itxfm_add[pfx##TX_##w##X##h][V_ADST] = \
262
37.9k
        inv_txfm_add_identity_adst_##w##x##h##_c; \
263
37.9k
264
37.9k
#if !(HAVE_ASM && TRIM_DSP_FUNCTIONS && ( \
265
37.9k
  ARCH_AARCH64 || \
266
37.9k
  (ARCH_ARM && (defined(__ARM_NEON) || defined(__APPLE__) || defined(_WIN32))) \
267
37.9k
))
268
37.9k
    c->itxfm_add[TX_4X4][WHT_WHT] = inv_txfm_add_wht_wht_4x4_c;
269
37.9k
#endif
270
37.9k
    assign_itx_all_fn84( 4,  4, );
271
37.9k
    assign_itx_all_fn84( 4,  8, R);
272
37.9k
    assign_itx_all_fn84( 4, 16, R);
273
37.9k
    assign_itx_all_fn84( 8,  4, R);
274
37.9k
    assign_itx_all_fn84( 8,  8, );
275
37.9k
    assign_itx_all_fn84( 8, 16, R);
276
37.9k
    assign_itx_all_fn32( 8, 32, R);
277
37.9k
    assign_itx_all_fn84(16,  4, R);
278
37.9k
    assign_itx_all_fn84(16,  8, R);
279
37.9k
    assign_itx_all_fn16(16, 16, );
280
37.9k
    assign_itx_all_fn32(16, 32, R);
281
37.9k
    assign_itx_all_fn64(16, 64, R);
282
37.9k
    assign_itx_all_fn32(32,  8, R);
283
37.9k
    assign_itx_all_fn32(32, 16, R);
284
37.9k
    assign_itx_all_fn32(32, 32, );
285
37.9k
    assign_itx_all_fn64(32, 64, R);
286
37.9k
    assign_itx_all_fn64(64, 16, R);
287
37.9k
    assign_itx_all_fn64(64, 32, R);
288
37.9k
    assign_itx_all_fn64(64, 64, );
289
290
37.9k
    int all_simd = 0;
291
#if HAVE_ASM
292
#if ARCH_AARCH64 || ARCH_ARM
293
    itx_dsp_init_arm(c, bpc, &all_simd);
294
#endif
295
#if ARCH_LOONGARCH64
296
    itx_dsp_init_loongarch(c, bpc);
297
#endif
298
#if ARCH_PPC64LE
299
    itx_dsp_init_ppc(c, bpc);
300
#endif
301
#if ARCH_RISCV
302
    itx_dsp_init_riscv(c, bpc);
303
#endif
304
#if ARCH_X86
305
    itx_dsp_init_x86(c, bpc, &all_simd);
306
#endif
307
#endif
308
309
37.9k
    if (!all_simd)
310
37.9k
        dav1d_init_last_nonzero_col_from_eob_tables();
311
37.9k
}