Coverage Report

Created: 2026-09-13 06:34

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.98M
{
48
1.98M
    const TxfmInfo *const t_dim = &dav1d_txfm_dimensions[tx];
49
1.98M
    const int w = 4 * t_dim->w, h = 4 * t_dim->h;
50
1.98M
    const int has_dconly = txtp == DCT_DCT;
51
1.98M
    assert(w >= 4 && w <= 64);
52
1.98M
    assert(h >= 4 && h <= 64);
53
1.98M
    assert(eob >= 0);
54
55
1.98M
    const int is_rect2 = w * 2 == h || h * 2 == w;
56
1.98M
    const int rnd = (1 << shift) >> 1;
57
58
1.98M
    if (eob < has_dconly) {
59
431k
        int dc = coeff[0];
60
431k
        coeff[0] = 0;
61
431k
        if (is_rect2)
62
109k
            dc = (dc * 181 + 128) >> 8;
63
431k
        dc = (dc * 181 + 128) >> 8;
64
431k
        dc = (dc + rnd) >> shift;
65
431k
        dc = (dc * 181 + 128 + 2048) >> 12;
66
13.8M
        for (int y = 0; y < h; y++, dst += PXSTRIDE(stride))
67
530M
            for (int x = 0; x < w; x++)
68
516M
                dst[x] = iclip_pixel(dst[x] + dc);
69
431k
        return;
70
431k
    }
71
72
1.55M
    const uint8_t *const txtps = dav1d_tx1d_types[txtp];
73
1.55M
    const itx_1d_fn first_1d_fn = dav1d_tx1d_fns[t_dim->lw][txtps[0]];
74
1.55M
    const itx_1d_fn second_1d_fn = dav1d_tx1d_fns[t_dim->lh][txtps[1]];
75
1.55M
    const int sh = imin(h, 32), sw = imin(w, 32);
76
1.55M
#if BITDEPTH == 8
77
1.55M
    const int row_clip_min = INT16_MIN;
78
1.55M
    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
1.55M
    const int row_clip_max = ~row_clip_min;
84
1.55M
    const int col_clip_max = ~col_clip_min;
85
86
1.55M
    int32_t tmp[64 * 64], *c = tmp;
87
1.55M
    int last_nonzero_col; // in first 1d itx
88
1.55M
    if (txtps[1] == IDENTITY && txtps[0] != IDENTITY) {
89
145k
        last_nonzero_col = imin(sh - 1, eob);
90
1.40M
    } else if (txtps[0] == IDENTITY && txtps[1] != IDENTITY) {
91
90.0k
        last_nonzero_col = eob >> (t_dim->lw + 2);
92
1.31M
    } else {
93
1.31M
        last_nonzero_col = dav1d_last_nonzero_col_from_eob[tx][eob];
94
1.31M
    }
95
1.55M
    assert(last_nonzero_col < sh);
96
8.91M
    for (int y = 0; y <= last_nonzero_col; y++, c += w) {
97
7.36M
        if (is_rect2)
98
40.1M
            for (int x = 0; x < sw; x++)
99
37.6M
                c[x] = (coeff[y + x * sh] * 181 + 128) >> 8;
100
4.78M
        else
101
75.5M
            for (int x = 0; x < sw; x++)
102
70.7M
                c[x] = coeff[y + x * sh];
103
7.36M
        first_1d_fn(c, 1, row_clip_min, row_clip_max);
104
7.36M
    }
105
1.55M
    if (last_nonzero_col + 1 < sh)
106
1.18M
        memset(c, 0, sizeof(*c) * (sh - last_nonzero_col - 1) * w);
107
108
1.55M
    memset(coeff, 0, sizeof(*coeff) * sw * sh);
109
386M
    for (int i = 0; i < w * sh; i++)
110
384M
        tmp[i] = iclip((tmp[i] + rnd) >> shift, col_clip_min, col_clip_max);
111
112
23.0M
    for (int x = 0; x < w; x++)
113
21.4M
        second_1d_fn(&tmp[x], w, col_clip_min, col_clip_max);
114
115
1.55M
    c = tmp;
116
23.2M
    for (int y = 0; y < h; y++, dst += PXSTRIDE(stride))
117
530M
        for (int x = 0; x < w; x++)
118
508M
            dst[x] = iclip_pixel(dst[x] + ((*c++ + 8) >> 4));
119
1.55M
}
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.98M
                                               HIGHBD_DECL_SUFFIX) \
128
1.98M
{ \
129
1.98M
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.98M
                   HIGHBD_TAIL_SUFFIX); \
131
1.98M
}
itx_tmpl.c:inv_txfm_add_dct_dct_4x4_c
Line
Count
Source
127
50.4k
                                               HIGHBD_DECL_SUFFIX) \
128
50.4k
{ \
129
50.4k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
50.4k
                   HIGHBD_TAIL_SUFFIX); \
131
50.4k
}
itx_tmpl.c:inv_txfm_add_identity_identity_4x4_c
Line
Count
Source
127
26.5k
                                               HIGHBD_DECL_SUFFIX) \
128
26.5k
{ \
129
26.5k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
26.5k
                   HIGHBD_TAIL_SUFFIX); \
131
26.5k
}
itx_tmpl.c:inv_txfm_add_adst_dct_4x4_c
Line
Count
Source
127
25.8k
                                               HIGHBD_DECL_SUFFIX) \
128
25.8k
{ \
129
25.8k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
25.8k
                   HIGHBD_TAIL_SUFFIX); \
131
25.8k
}
itx_tmpl.c:inv_txfm_add_dct_adst_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_adst_adst_4x4_c
Line
Count
Source
127
32.6k
                                               HIGHBD_DECL_SUFFIX) \
128
32.6k
{ \
129
32.6k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
32.6k
                   HIGHBD_TAIL_SUFFIX); \
131
32.6k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_4x4_c
Line
Count
Source
127
5.71k
                                               HIGHBD_DECL_SUFFIX) \
128
5.71k
{ \
129
5.71k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.71k
                   HIGHBD_TAIL_SUFFIX); \
131
5.71k
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_4x4_c
Line
Count
Source
127
6.13k
                                               HIGHBD_DECL_SUFFIX) \
128
6.13k
{ \
129
6.13k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
6.13k
                   HIGHBD_TAIL_SUFFIX); \
131
6.13k
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_4x4_c
Line
Count
Source
127
4.14k
                                               HIGHBD_DECL_SUFFIX) \
128
4.14k
{ \
129
4.14k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.14k
                   HIGHBD_TAIL_SUFFIX); \
131
4.14k
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_4x4_c
Line
Count
Source
127
3.73k
                                               HIGHBD_DECL_SUFFIX) \
128
3.73k
{ \
129
3.73k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.73k
                   HIGHBD_TAIL_SUFFIX); \
131
3.73k
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_4x4_c
Line
Count
Source
127
3.86k
                                               HIGHBD_DECL_SUFFIX) \
128
3.86k
{ \
129
3.86k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.86k
                   HIGHBD_TAIL_SUFFIX); \
131
3.86k
}
itx_tmpl.c:inv_txfm_add_dct_identity_4x4_c
Line
Count
Source
127
12.8k
                                               HIGHBD_DECL_SUFFIX) \
128
12.8k
{ \
129
12.8k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
12.8k
                   HIGHBD_TAIL_SUFFIX); \
131
12.8k
}
itx_tmpl.c:inv_txfm_add_identity_dct_4x4_c
Line
Count
Source
127
6.78k
                                               HIGHBD_DECL_SUFFIX) \
128
6.78k
{ \
129
6.78k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
6.78k
                   HIGHBD_TAIL_SUFFIX); \
131
6.78k
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_4x4_c
Line
Count
Source
127
8.58k
                                               HIGHBD_DECL_SUFFIX) \
128
8.58k
{ \
129
8.58k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
8.58k
                   HIGHBD_TAIL_SUFFIX); \
131
8.58k
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_4x4_c
Line
Count
Source
127
5.04k
                                               HIGHBD_DECL_SUFFIX) \
128
5.04k
{ \
129
5.04k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.04k
                   HIGHBD_TAIL_SUFFIX); \
131
5.04k
}
itx_tmpl.c:inv_txfm_add_adst_identity_4x4_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_adst_4x4_c
Line
Count
Source
127
8.47k
                                               HIGHBD_DECL_SUFFIX) \
128
8.47k
{ \
129
8.47k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
8.47k
                   HIGHBD_TAIL_SUFFIX); \
131
8.47k
}
itx_tmpl.c:inv_txfm_add_dct_dct_4x8_c
Line
Count
Source
127
19.6k
                                               HIGHBD_DECL_SUFFIX) \
128
19.6k
{ \
129
19.6k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
19.6k
                   HIGHBD_TAIL_SUFFIX); \
131
19.6k
}
itx_tmpl.c:inv_txfm_add_identity_identity_4x8_c
Line
Count
Source
127
10.7k
                                               HIGHBD_DECL_SUFFIX) \
128
10.7k
{ \
129
10.7k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
10.7k
                   HIGHBD_TAIL_SUFFIX); \
131
10.7k
}
itx_tmpl.c:inv_txfm_add_adst_dct_4x8_c
Line
Count
Source
127
10.8k
                                               HIGHBD_DECL_SUFFIX) \
128
10.8k
{ \
129
10.8k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
10.8k
                   HIGHBD_TAIL_SUFFIX); \
131
10.8k
}
itx_tmpl.c:inv_txfm_add_dct_adst_4x8_c
Line
Count
Source
127
9.16k
                                               HIGHBD_DECL_SUFFIX) \
128
9.16k
{ \
129
9.16k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
9.16k
                   HIGHBD_TAIL_SUFFIX); \
131
9.16k
}
itx_tmpl.c:inv_txfm_add_adst_adst_4x8_c
Line
Count
Source
127
14.1k
                                               HIGHBD_DECL_SUFFIX) \
128
14.1k
{ \
129
14.1k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
14.1k
                   HIGHBD_TAIL_SUFFIX); \
131
14.1k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_4x8_c
Line
Count
Source
127
3.59k
                                               HIGHBD_DECL_SUFFIX) \
128
3.59k
{ \
129
3.59k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.59k
                   HIGHBD_TAIL_SUFFIX); \
131
3.59k
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_4x8_c
Line
Count
Source
127
3.41k
                                               HIGHBD_DECL_SUFFIX) \
128
3.41k
{ \
129
3.41k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.41k
                   HIGHBD_TAIL_SUFFIX); \
131
3.41k
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_4x8_c
Line
Count
Source
127
3.10k
                                               HIGHBD_DECL_SUFFIX) \
128
3.10k
{ \
129
3.10k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.10k
                   HIGHBD_TAIL_SUFFIX); \
131
3.10k
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_4x8_c
Line
Count
Source
127
2.28k
                                               HIGHBD_DECL_SUFFIX) \
128
2.28k
{ \
129
2.28k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.28k
                   HIGHBD_TAIL_SUFFIX); \
131
2.28k
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_4x8_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_4x8_c
Line
Count
Source
127
5.18k
                                               HIGHBD_DECL_SUFFIX) \
128
5.18k
{ \
129
5.18k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.18k
                   HIGHBD_TAIL_SUFFIX); \
131
5.18k
}
itx_tmpl.c:inv_txfm_add_identity_dct_4x8_c
Line
Count
Source
127
3.19k
                                               HIGHBD_DECL_SUFFIX) \
128
3.19k
{ \
129
3.19k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.19k
                   HIGHBD_TAIL_SUFFIX); \
131
3.19k
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_4x8_c
Line
Count
Source
127
4.79k
                                               HIGHBD_DECL_SUFFIX) \
128
4.79k
{ \
129
4.79k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.79k
                   HIGHBD_TAIL_SUFFIX); \
131
4.79k
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_4x8_c
Line
Count
Source
127
2.92k
                                               HIGHBD_DECL_SUFFIX) \
128
2.92k
{ \
129
2.92k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.92k
                   HIGHBD_TAIL_SUFFIX); \
131
2.92k
}
itx_tmpl.c:inv_txfm_add_adst_identity_4x8_c
Line
Count
Source
127
5.62k
                                               HIGHBD_DECL_SUFFIX) \
128
5.62k
{ \
129
5.62k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.62k
                   HIGHBD_TAIL_SUFFIX); \
131
5.62k
}
itx_tmpl.c:inv_txfm_add_identity_adst_4x8_c
Line
Count
Source
127
3.26k
                                               HIGHBD_DECL_SUFFIX) \
128
3.26k
{ \
129
3.26k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.26k
                   HIGHBD_TAIL_SUFFIX); \
131
3.26k
}
itx_tmpl.c:inv_txfm_add_dct_dct_4x16_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_identity_identity_4x16_c
Line
Count
Source
127
4.79k
                                               HIGHBD_DECL_SUFFIX) \
128
4.79k
{ \
129
4.79k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.79k
                   HIGHBD_TAIL_SUFFIX); \
131
4.79k
}
itx_tmpl.c:inv_txfm_add_adst_dct_4x16_c
Line
Count
Source
127
4.73k
                                               HIGHBD_DECL_SUFFIX) \
128
4.73k
{ \
129
4.73k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.73k
                   HIGHBD_TAIL_SUFFIX); \
131
4.73k
}
itx_tmpl.c:inv_txfm_add_dct_adst_4x16_c
Line
Count
Source
127
3.64k
                                               HIGHBD_DECL_SUFFIX) \
128
3.64k
{ \
129
3.64k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.64k
                   HIGHBD_TAIL_SUFFIX); \
131
3.64k
}
itx_tmpl.c:inv_txfm_add_adst_adst_4x16_c
Line
Count
Source
127
6.12k
                                               HIGHBD_DECL_SUFFIX) \
128
6.12k
{ \
129
6.12k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
6.12k
                   HIGHBD_TAIL_SUFFIX); \
131
6.12k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_4x16_c
Line
Count
Source
127
1.05k
                                               HIGHBD_DECL_SUFFIX) \
128
1.05k
{ \
129
1.05k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.05k
                   HIGHBD_TAIL_SUFFIX); \
131
1.05k
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_4x16_c
Line
Count
Source
127
1.53k
                                               HIGHBD_DECL_SUFFIX) \
128
1.53k
{ \
129
1.53k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.53k
                   HIGHBD_TAIL_SUFFIX); \
131
1.53k
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_4x16_c
Line
Count
Source
127
1.00k
                                               HIGHBD_DECL_SUFFIX) \
128
1.00k
{ \
129
1.00k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.00k
                   HIGHBD_TAIL_SUFFIX); \
131
1.00k
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_4x16_c
Line
Count
Source
127
1.15k
                                               HIGHBD_DECL_SUFFIX) \
128
1.15k
{ \
129
1.15k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.15k
                   HIGHBD_TAIL_SUFFIX); \
131
1.15k
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_4x16_c
Line
Count
Source
127
861
                                               HIGHBD_DECL_SUFFIX) \
128
861
{ \
129
861
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
861
                   HIGHBD_TAIL_SUFFIX); \
131
861
}
itx_tmpl.c:inv_txfm_add_dct_identity_4x16_c
Line
Count
Source
127
2.28k
                                               HIGHBD_DECL_SUFFIX) \
128
2.28k
{ \
129
2.28k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.28k
                   HIGHBD_TAIL_SUFFIX); \
131
2.28k
}
itx_tmpl.c:inv_txfm_add_identity_dct_4x16_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_flipadst_identity_4x16_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_identity_flipadst_4x16_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_adst_identity_4x16_c
Line
Count
Source
127
2.05k
                                               HIGHBD_DECL_SUFFIX) \
128
2.05k
{ \
129
2.05k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.05k
                   HIGHBD_TAIL_SUFFIX); \
131
2.05k
}
itx_tmpl.c:inv_txfm_add_identity_adst_4x16_c
Line
Count
Source
127
1.20k
                                               HIGHBD_DECL_SUFFIX) \
128
1.20k
{ \
129
1.20k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.20k
                   HIGHBD_TAIL_SUFFIX); \
131
1.20k
}
itx_tmpl.c:inv_txfm_add_dct_dct_8x4_c
Line
Count
Source
127
27.2k
                                               HIGHBD_DECL_SUFFIX) \
128
27.2k
{ \
129
27.2k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
27.2k
                   HIGHBD_TAIL_SUFFIX); \
131
27.2k
}
itx_tmpl.c:inv_txfm_add_identity_identity_8x4_c
Line
Count
Source
127
14.5k
                                               HIGHBD_DECL_SUFFIX) \
128
14.5k
{ \
129
14.5k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
14.5k
                   HIGHBD_TAIL_SUFFIX); \
131
14.5k
}
itx_tmpl.c:inv_txfm_add_adst_dct_8x4_c
Line
Count
Source
127
14.2k
                                               HIGHBD_DECL_SUFFIX) \
128
14.2k
{ \
129
14.2k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
14.2k
                   HIGHBD_TAIL_SUFFIX); \
131
14.2k
}
itx_tmpl.c:inv_txfm_add_dct_adst_8x4_c
Line
Count
Source
127
11.8k
                                               HIGHBD_DECL_SUFFIX) \
128
11.8k
{ \
129
11.8k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
11.8k
                   HIGHBD_TAIL_SUFFIX); \
131
11.8k
}
itx_tmpl.c:inv_txfm_add_adst_adst_8x4_c
Line
Count
Source
127
17.2k
                                               HIGHBD_DECL_SUFFIX) \
128
17.2k
{ \
129
17.2k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
17.2k
                   HIGHBD_TAIL_SUFFIX); \
131
17.2k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_8x4_c
Line
Count
Source
127
8.36k
                                               HIGHBD_DECL_SUFFIX) \
128
8.36k
{ \
129
8.36k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
8.36k
                   HIGHBD_TAIL_SUFFIX); \
131
8.36k
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_8x4_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_dct_8x4_c
Line
Count
Source
127
4.79k
                                               HIGHBD_DECL_SUFFIX) \
128
4.79k
{ \
129
4.79k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.79k
                   HIGHBD_TAIL_SUFFIX); \
131
4.79k
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_8x4_c
Line
Count
Source
127
3.07k
                                               HIGHBD_DECL_SUFFIX) \
128
3.07k
{ \
129
3.07k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.07k
                   HIGHBD_TAIL_SUFFIX); \
131
3.07k
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_8x4_c
Line
Count
Source
127
3.68k
                                               HIGHBD_DECL_SUFFIX) \
128
3.68k
{ \
129
3.68k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.68k
                   HIGHBD_TAIL_SUFFIX); \
131
3.68k
}
itx_tmpl.c:inv_txfm_add_dct_identity_8x4_c
Line
Count
Source
127
7.14k
                                               HIGHBD_DECL_SUFFIX) \
128
7.14k
{ \
129
7.14k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
7.14k
                   HIGHBD_TAIL_SUFFIX); \
131
7.14k
}
itx_tmpl.c:inv_txfm_add_identity_dct_8x4_c
Line
Count
Source
127
4.11k
                                               HIGHBD_DECL_SUFFIX) \
128
4.11k
{ \
129
4.11k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.11k
                   HIGHBD_TAIL_SUFFIX); \
131
4.11k
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_8x4_c
Line
Count
Source
127
6.02k
                                               HIGHBD_DECL_SUFFIX) \
128
6.02k
{ \
129
6.02k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
6.02k
                   HIGHBD_TAIL_SUFFIX); \
131
6.02k
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_8x4_c
Line
Count
Source
127
7.83k
                                               HIGHBD_DECL_SUFFIX) \
128
7.83k
{ \
129
7.83k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
7.83k
                   HIGHBD_TAIL_SUFFIX); \
131
7.83k
}
itx_tmpl.c:inv_txfm_add_adst_identity_8x4_c
Line
Count
Source
127
7.16k
                                               HIGHBD_DECL_SUFFIX) \
128
7.16k
{ \
129
7.16k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
7.16k
                   HIGHBD_TAIL_SUFFIX); \
131
7.16k
}
itx_tmpl.c:inv_txfm_add_identity_adst_8x4_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_dct_dct_8x8_c
Line
Count
Source
127
84.8k
                                               HIGHBD_DECL_SUFFIX) \
128
84.8k
{ \
129
84.8k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
84.8k
                   HIGHBD_TAIL_SUFFIX); \
131
84.8k
}
itx_tmpl.c:inv_txfm_add_identity_identity_8x8_c
Line
Count
Source
127
29.2k
                                               HIGHBD_DECL_SUFFIX) \
128
29.2k
{ \
129
29.2k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
29.2k
                   HIGHBD_TAIL_SUFFIX); \
131
29.2k
}
itx_tmpl.c:inv_txfm_add_adst_dct_8x8_c
Line
Count
Source
127
45.0k
                                               HIGHBD_DECL_SUFFIX) \
128
45.0k
{ \
129
45.0k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
45.0k
                   HIGHBD_TAIL_SUFFIX); \
131
45.0k
}
itx_tmpl.c:inv_txfm_add_dct_adst_8x8_c
Line
Count
Source
127
39.0k
                                               HIGHBD_DECL_SUFFIX) \
128
39.0k
{ \
129
39.0k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
39.0k
                   HIGHBD_TAIL_SUFFIX); \
131
39.0k
}
itx_tmpl.c:inv_txfm_add_adst_adst_8x8_c
Line
Count
Source
127
40.4k
                                               HIGHBD_DECL_SUFFIX) \
128
40.4k
{ \
129
40.4k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
40.4k
                   HIGHBD_TAIL_SUFFIX); \
131
40.4k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_8x8_c
Line
Count
Source
127
7.41k
                                               HIGHBD_DECL_SUFFIX) \
128
7.41k
{ \
129
7.41k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
7.41k
                   HIGHBD_TAIL_SUFFIX); \
131
7.41k
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_8x8_c
Line
Count
Source
127
7.71k
                                               HIGHBD_DECL_SUFFIX) \
128
7.71k
{ \
129
7.71k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
7.71k
                   HIGHBD_TAIL_SUFFIX); \
131
7.71k
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_8x8_c
Line
Count
Source
127
9.15k
                                               HIGHBD_DECL_SUFFIX) \
128
9.15k
{ \
129
9.15k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
9.15k
                   HIGHBD_TAIL_SUFFIX); \
131
9.15k
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_8x8_c
Line
Count
Source
127
7.54k
                                               HIGHBD_DECL_SUFFIX) \
128
7.54k
{ \
129
7.54k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
7.54k
                   HIGHBD_TAIL_SUFFIX); \
131
7.54k
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_8x8_c
Line
Count
Source
127
6.81k
                                               HIGHBD_DECL_SUFFIX) \
128
6.81k
{ \
129
6.81k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
6.81k
                   HIGHBD_TAIL_SUFFIX); \
131
6.81k
}
itx_tmpl.c:inv_txfm_add_dct_identity_8x8_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_identity_dct_8x8_c
Line
Count
Source
127
7.73k
                                               HIGHBD_DECL_SUFFIX) \
128
7.73k
{ \
129
7.73k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
7.73k
                   HIGHBD_TAIL_SUFFIX); \
131
7.73k
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_8x8_c
Line
Count
Source
127
7.90k
                                               HIGHBD_DECL_SUFFIX) \
128
7.90k
{ \
129
7.90k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
7.90k
                   HIGHBD_TAIL_SUFFIX); \
131
7.90k
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_8x8_c
Line
Count
Source
127
4.19k
                                               HIGHBD_DECL_SUFFIX) \
128
4.19k
{ \
129
4.19k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.19k
                   HIGHBD_TAIL_SUFFIX); \
131
4.19k
}
itx_tmpl.c:inv_txfm_add_adst_identity_8x8_c
Line
Count
Source
127
7.58k
                                               HIGHBD_DECL_SUFFIX) \
128
7.58k
{ \
129
7.58k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
7.58k
                   HIGHBD_TAIL_SUFFIX); \
131
7.58k
}
itx_tmpl.c:inv_txfm_add_identity_adst_8x8_c
Line
Count
Source
127
5.78k
                                               HIGHBD_DECL_SUFFIX) \
128
5.78k
{ \
129
5.78k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.78k
                   HIGHBD_TAIL_SUFFIX); \
131
5.78k
}
itx_tmpl.c:inv_txfm_add_dct_dct_8x16_c
Line
Count
Source
127
27.7k
                                               HIGHBD_DECL_SUFFIX) \
128
27.7k
{ \
129
27.7k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
27.7k
                   HIGHBD_TAIL_SUFFIX); \
131
27.7k
}
itx_tmpl.c:inv_txfm_add_identity_identity_8x16_c
Line
Count
Source
127
6.59k
                                               HIGHBD_DECL_SUFFIX) \
128
6.59k
{ \
129
6.59k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
6.59k
                   HIGHBD_TAIL_SUFFIX); \
131
6.59k
}
itx_tmpl.c:inv_txfm_add_adst_dct_8x16_c
Line
Count
Source
127
12.2k
                                               HIGHBD_DECL_SUFFIX) \
128
12.2k
{ \
129
12.2k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
12.2k
                   HIGHBD_TAIL_SUFFIX); \
131
12.2k
}
itx_tmpl.c:inv_txfm_add_dct_adst_8x16_c
Line
Count
Source
127
9.42k
                                               HIGHBD_DECL_SUFFIX) \
128
9.42k
{ \
129
9.42k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
9.42k
                   HIGHBD_TAIL_SUFFIX); \
131
9.42k
}
itx_tmpl.c:inv_txfm_add_adst_adst_8x16_c
Line
Count
Source
127
12.7k
                                               HIGHBD_DECL_SUFFIX) \
128
12.7k
{ \
129
12.7k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
12.7k
                   HIGHBD_TAIL_SUFFIX); \
131
12.7k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_8x16_c
Line
Count
Source
127
2.50k
                                               HIGHBD_DECL_SUFFIX) \
128
2.50k
{ \
129
2.50k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.50k
                   HIGHBD_TAIL_SUFFIX); \
131
2.50k
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_8x16_c
Line
Count
Source
127
3.20k
                                               HIGHBD_DECL_SUFFIX) \
128
3.20k
{ \
129
3.20k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.20k
                   HIGHBD_TAIL_SUFFIX); \
131
3.20k
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_8x16_c
Line
Count
Source
127
3.93k
                                               HIGHBD_DECL_SUFFIX) \
128
3.93k
{ \
129
3.93k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.93k
                   HIGHBD_TAIL_SUFFIX); \
131
3.93k
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_8x16_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_flipadst_flipadst_8x16_c
Line
Count
Source
127
3.21k
                                               HIGHBD_DECL_SUFFIX) \
128
3.21k
{ \
129
3.21k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.21k
                   HIGHBD_TAIL_SUFFIX); \
131
3.21k
}
itx_tmpl.c:inv_txfm_add_dct_identity_8x16_c
Line
Count
Source
127
4.79k
                                               HIGHBD_DECL_SUFFIX) \
128
4.79k
{ \
129
4.79k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.79k
                   HIGHBD_TAIL_SUFFIX); \
131
4.79k
}
itx_tmpl.c:inv_txfm_add_identity_dct_8x16_c
Line
Count
Source
127
2.33k
                                               HIGHBD_DECL_SUFFIX) \
128
2.33k
{ \
129
2.33k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.33k
                   HIGHBD_TAIL_SUFFIX); \
131
2.33k
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_8x16_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_flipadst_8x16_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_identity_8x16_c
Line
Count
Source
127
3.04k
                                               HIGHBD_DECL_SUFFIX) \
128
3.04k
{ \
129
3.04k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.04k
                   HIGHBD_TAIL_SUFFIX); \
131
3.04k
}
itx_tmpl.c:inv_txfm_add_identity_adst_8x16_c
Line
Count
Source
127
1.74k
                                               HIGHBD_DECL_SUFFIX) \
128
1.74k
{ \
129
1.74k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.74k
                   HIGHBD_TAIL_SUFFIX); \
131
1.74k
}
itx_tmpl.c:inv_txfm_add_dct_dct_8x32_c
Line
Count
Source
127
22.8k
                                               HIGHBD_DECL_SUFFIX) \
128
22.8k
{ \
129
22.8k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
22.8k
                   HIGHBD_TAIL_SUFFIX); \
131
22.8k
}
itx_tmpl.c:inv_txfm_add_identity_identity_8x32_c
Line
Count
Source
127
2.21k
                                               HIGHBD_DECL_SUFFIX) \
128
2.21k
{ \
129
2.21k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.21k
                   HIGHBD_TAIL_SUFFIX); \
131
2.21k
}
itx_tmpl.c:inv_txfm_add_dct_dct_16x4_c
Line
Count
Source
127
14.8k
                                               HIGHBD_DECL_SUFFIX) \
128
14.8k
{ \
129
14.8k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
14.8k
                   HIGHBD_TAIL_SUFFIX); \
131
14.8k
}
itx_tmpl.c:inv_txfm_add_identity_identity_16x4_c
Line
Count
Source
127
7.88k
                                               HIGHBD_DECL_SUFFIX) \
128
7.88k
{ \
129
7.88k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
7.88k
                   HIGHBD_TAIL_SUFFIX); \
131
7.88k
}
itx_tmpl.c:inv_txfm_add_adst_dct_16x4_c
Line
Count
Source
127
7.63k
                                               HIGHBD_DECL_SUFFIX) \
128
7.63k
{ \
129
7.63k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
7.63k
                   HIGHBD_TAIL_SUFFIX); \
131
7.63k
}
itx_tmpl.c:inv_txfm_add_dct_adst_16x4_c
Line
Count
Source
127
6.27k
                                               HIGHBD_DECL_SUFFIX) \
128
6.27k
{ \
129
6.27k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
6.27k
                   HIGHBD_TAIL_SUFFIX); \
131
6.27k
}
itx_tmpl.c:inv_txfm_add_adst_adst_16x4_c
Line
Count
Source
127
9.77k
                                               HIGHBD_DECL_SUFFIX) \
128
9.77k
{ \
129
9.77k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
9.77k
                   HIGHBD_TAIL_SUFFIX); \
131
9.77k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_16x4_c
Line
Count
Source
127
1.99k
                                               HIGHBD_DECL_SUFFIX) \
128
1.99k
{ \
129
1.99k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.99k
                   HIGHBD_TAIL_SUFFIX); \
131
1.99k
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_16x4_c
Line
Count
Source
127
2.01k
                                               HIGHBD_DECL_SUFFIX) \
128
2.01k
{ \
129
2.01k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.01k
                   HIGHBD_TAIL_SUFFIX); \
131
2.01k
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_16x4_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_dct_flipadst_16x4_c
Line
Count
Source
127
1.69k
                                               HIGHBD_DECL_SUFFIX) \
128
1.69k
{ \
129
1.69k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.69k
                   HIGHBD_TAIL_SUFFIX); \
131
1.69k
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_16x4_c
Line
Count
Source
127
1.48k
                                               HIGHBD_DECL_SUFFIX) \
128
1.48k
{ \
129
1.48k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.48k
                   HIGHBD_TAIL_SUFFIX); \
131
1.48k
}
itx_tmpl.c:inv_txfm_add_dct_identity_16x4_c
Line
Count
Source
127
3.88k
                                               HIGHBD_DECL_SUFFIX) \
128
3.88k
{ \
129
3.88k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.88k
                   HIGHBD_TAIL_SUFFIX); \
131
3.88k
}
itx_tmpl.c:inv_txfm_add_identity_dct_16x4_c
Line
Count
Source
127
2.28k
                                               HIGHBD_DECL_SUFFIX) \
128
2.28k
{ \
129
2.28k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.28k
                   HIGHBD_TAIL_SUFFIX); \
131
2.28k
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_16x4_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_flipadst_16x4_c
Line
Count
Source
127
1.53k
                                               HIGHBD_DECL_SUFFIX) \
128
1.53k
{ \
129
1.53k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.53k
                   HIGHBD_TAIL_SUFFIX); \
131
1.53k
}
itx_tmpl.c:inv_txfm_add_adst_identity_16x4_c
Line
Count
Source
127
3.48k
                                               HIGHBD_DECL_SUFFIX) \
128
3.48k
{ \
129
3.48k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.48k
                   HIGHBD_TAIL_SUFFIX); \
131
3.48k
}
itx_tmpl.c:inv_txfm_add_identity_adst_16x4_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_dct_dct_16x8_c
Line
Count
Source
127
35.2k
                                               HIGHBD_DECL_SUFFIX) \
128
35.2k
{ \
129
35.2k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
35.2k
                   HIGHBD_TAIL_SUFFIX); \
131
35.2k
}
itx_tmpl.c:inv_txfm_add_identity_identity_16x8_c
Line
Count
Source
127
8.25k
                                               HIGHBD_DECL_SUFFIX) \
128
8.25k
{ \
129
8.25k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
8.25k
                   HIGHBD_TAIL_SUFFIX); \
131
8.25k
}
itx_tmpl.c:inv_txfm_add_adst_dct_16x8_c
Line
Count
Source
127
15.7k
                                               HIGHBD_DECL_SUFFIX) \
128
15.7k
{ \
129
15.7k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
15.7k
                   HIGHBD_TAIL_SUFFIX); \
131
15.7k
}
itx_tmpl.c:inv_txfm_add_dct_adst_16x8_c
Line
Count
Source
127
12.4k
                                               HIGHBD_DECL_SUFFIX) \
128
12.4k
{ \
129
12.4k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
12.4k
                   HIGHBD_TAIL_SUFFIX); \
131
12.4k
}
itx_tmpl.c:inv_txfm_add_adst_adst_16x8_c
Line
Count
Source
127
14.2k
                                               HIGHBD_DECL_SUFFIX) \
128
14.2k
{ \
129
14.2k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
14.2k
                   HIGHBD_TAIL_SUFFIX); \
131
14.2k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_16x8_c
Line
Count
Source
127
3.18k
                                               HIGHBD_DECL_SUFFIX) \
128
3.18k
{ \
129
3.18k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.18k
                   HIGHBD_TAIL_SUFFIX); \
131
3.18k
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_16x8_c
Line
Count
Source
127
3.68k
                                               HIGHBD_DECL_SUFFIX) \
128
3.68k
{ \
129
3.68k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.68k
                   HIGHBD_TAIL_SUFFIX); \
131
3.68k
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_16x8_c
Line
Count
Source
127
4.27k
                                               HIGHBD_DECL_SUFFIX) \
128
4.27k
{ \
129
4.27k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.27k
                   HIGHBD_TAIL_SUFFIX); \
131
4.27k
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_16x8_c
Line
Count
Source
127
3.63k
                                               HIGHBD_DECL_SUFFIX) \
128
3.63k
{ \
129
3.63k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.63k
                   HIGHBD_TAIL_SUFFIX); \
131
3.63k
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_16x8_c
Line
Count
Source
127
3.43k
                                               HIGHBD_DECL_SUFFIX) \
128
3.43k
{ \
129
3.43k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.43k
                   HIGHBD_TAIL_SUFFIX); \
131
3.43k
}
itx_tmpl.c:inv_txfm_add_dct_identity_16x8_c
Line
Count
Source
127
6.46k
                                               HIGHBD_DECL_SUFFIX) \
128
6.46k
{ \
129
6.46k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
6.46k
                   HIGHBD_TAIL_SUFFIX); \
131
6.46k
}
itx_tmpl.c:inv_txfm_add_identity_dct_16x8_c
Line
Count
Source
127
3.03k
                                               HIGHBD_DECL_SUFFIX) \
128
3.03k
{ \
129
3.03k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.03k
                   HIGHBD_TAIL_SUFFIX); \
131
3.03k
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_16x8_c
Line
Count
Source
127
3.84k
                                               HIGHBD_DECL_SUFFIX) \
128
3.84k
{ \
129
3.84k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.84k
                   HIGHBD_TAIL_SUFFIX); \
131
3.84k
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_16x8_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_adst_identity_16x8_c
Line
Count
Source
127
4.01k
                                               HIGHBD_DECL_SUFFIX) \
128
4.01k
{ \
129
4.01k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.01k
                   HIGHBD_TAIL_SUFFIX); \
131
4.01k
}
itx_tmpl.c:inv_txfm_add_identity_adst_16x8_c
Line
Count
Source
127
2.32k
                                               HIGHBD_DECL_SUFFIX) \
128
2.32k
{ \
129
2.32k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.32k
                   HIGHBD_TAIL_SUFFIX); \
131
2.32k
}
itx_tmpl.c:inv_txfm_add_dct_dct_16x16_c
Line
Count
Source
127
69.1k
                                               HIGHBD_DECL_SUFFIX) \
128
69.1k
{ \
129
69.1k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
69.1k
                   HIGHBD_TAIL_SUFFIX); \
131
69.1k
}
itx_tmpl.c:inv_txfm_add_identity_identity_16x16_c
Line
Count
Source
127
8.34k
                                               HIGHBD_DECL_SUFFIX) \
128
8.34k
{ \
129
8.34k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
8.34k
                   HIGHBD_TAIL_SUFFIX); \
131
8.34k
}
itx_tmpl.c:inv_txfm_add_adst_dct_16x16_c
Line
Count
Source
127
46.3k
                                               HIGHBD_DECL_SUFFIX) \
128
46.3k
{ \
129
46.3k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
46.3k
                   HIGHBD_TAIL_SUFFIX); \
131
46.3k
}
itx_tmpl.c:inv_txfm_add_dct_adst_16x16_c
Line
Count
Source
127
37.6k
                                               HIGHBD_DECL_SUFFIX) \
128
37.6k
{ \
129
37.6k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
37.6k
                   HIGHBD_TAIL_SUFFIX); \
131
37.6k
}
itx_tmpl.c:inv_txfm_add_adst_adst_16x16_c
Line
Count
Source
127
45.6k
                                               HIGHBD_DECL_SUFFIX) \
128
45.6k
{ \
129
45.6k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
45.6k
                   HIGHBD_TAIL_SUFFIX); \
131
45.6k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_16x16_c
Line
Count
Source
127
3.69k
                                               HIGHBD_DECL_SUFFIX) \
128
3.69k
{ \
129
3.69k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.69k
                   HIGHBD_TAIL_SUFFIX); \
131
3.69k
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_16x16_c
Line
Count
Source
127
4.30k
                                               HIGHBD_DECL_SUFFIX) \
128
4.30k
{ \
129
4.30k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.30k
                   HIGHBD_TAIL_SUFFIX); \
131
4.30k
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_16x16_c
Line
Count
Source
127
4.54k
                                               HIGHBD_DECL_SUFFIX) \
128
4.54k
{ \
129
4.54k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.54k
                   HIGHBD_TAIL_SUFFIX); \
131
4.54k
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_16x16_c
Line
Count
Source
127
4.14k
                                               HIGHBD_DECL_SUFFIX) \
128
4.14k
{ \
129
4.14k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.14k
                   HIGHBD_TAIL_SUFFIX); \
131
4.14k
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_16x16_c
Line
Count
Source
127
3.53k
                                               HIGHBD_DECL_SUFFIX) \
128
3.53k
{ \
129
3.53k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.53k
                   HIGHBD_TAIL_SUFFIX); \
131
3.53k
}
itx_tmpl.c:inv_txfm_add_dct_identity_16x16_c
Line
Count
Source
127
4.68k
                                               HIGHBD_DECL_SUFFIX) \
128
4.68k
{ \
129
4.68k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.68k
                   HIGHBD_TAIL_SUFFIX); \
131
4.68k
}
itx_tmpl.c:inv_txfm_add_identity_dct_16x16_c
Line
Count
Source
127
2.83k
                                               HIGHBD_DECL_SUFFIX) \
128
2.83k
{ \
129
2.83k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.83k
                   HIGHBD_TAIL_SUFFIX); \
131
2.83k
}
itx_tmpl.c:inv_txfm_add_dct_dct_16x32_c
Line
Count
Source
127
57.5k
                                               HIGHBD_DECL_SUFFIX) \
128
57.5k
{ \
129
57.5k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
57.5k
                   HIGHBD_TAIL_SUFFIX); \
131
57.5k
}
itx_tmpl.c:inv_txfm_add_identity_identity_16x32_c
Line
Count
Source
127
2.96k
                                               HIGHBD_DECL_SUFFIX) \
128
2.96k
{ \
129
2.96k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.96k
                   HIGHBD_TAIL_SUFFIX); \
131
2.96k
}
itx_tmpl.c:inv_txfm_add_dct_dct_16x64_c
Line
Count
Source
127
11.8k
                                               HIGHBD_DECL_SUFFIX) \
128
11.8k
{ \
129
11.8k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
11.8k
                   HIGHBD_TAIL_SUFFIX); \
131
11.8k
}
itx_tmpl.c:inv_txfm_add_dct_dct_32x8_c
Line
Count
Source
127
26.1k
                                               HIGHBD_DECL_SUFFIX) \
128
26.1k
{ \
129
26.1k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
26.1k
                   HIGHBD_TAIL_SUFFIX); \
131
26.1k
}
itx_tmpl.c:inv_txfm_add_identity_identity_32x8_c
Line
Count
Source
127
2.06k
                                               HIGHBD_DECL_SUFFIX) \
128
2.06k
{ \
129
2.06k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.06k
                   HIGHBD_TAIL_SUFFIX); \
131
2.06k
}
itx_tmpl.c:inv_txfm_add_dct_dct_32x16_c
Line
Count
Source
127
50.3k
                                               HIGHBD_DECL_SUFFIX) \
128
50.3k
{ \
129
50.3k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
50.3k
                   HIGHBD_TAIL_SUFFIX); \
131
50.3k
}
itx_tmpl.c:inv_txfm_add_identity_identity_32x16_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_dct_dct_32x32_c
Line
Count
Source
127
239k
                                               HIGHBD_DECL_SUFFIX) \
128
239k
{ \
129
239k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
239k
                   HIGHBD_TAIL_SUFFIX); \
131
239k
}
itx_tmpl.c:inv_txfm_add_identity_identity_32x32_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_dct_dct_32x64_c
Line
Count
Source
127
52.3k
                                               HIGHBD_DECL_SUFFIX) \
128
52.3k
{ \
129
52.3k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
52.3k
                   HIGHBD_TAIL_SUFFIX); \
131
52.3k
}
itx_tmpl.c:inv_txfm_add_dct_dct_64x16_c
Line
Count
Source
127
4.85k
                                               HIGHBD_DECL_SUFFIX) \
128
4.85k
{ \
129
4.85k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.85k
                   HIGHBD_TAIL_SUFFIX); \
131
4.85k
}
itx_tmpl.c:inv_txfm_add_dct_dct_64x32_c
Line
Count
Source
127
20.9k
                                               HIGHBD_DECL_SUFFIX) \
128
20.9k
{ \
129
20.9k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
20.9k
                   HIGHBD_TAIL_SUFFIX); \
131
20.9k
}
itx_tmpl.c:inv_txfm_add_dct_dct_64x64_c
Line
Count
Source
127
100k
                                               HIGHBD_DECL_SUFFIX) \
128
100k
{ \
129
100k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
100k
                   HIGHBD_TAIL_SUFFIX); \
131
100k
}
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
536k
{
188
536k
    int32_t tmp[4 * 4], *c = tmp;
189
2.68M
    for (int y = 0; y < 4; y++, c += 4) {
190
10.7M
        for (int x = 0; x < 4; x++)
191
8.58M
            c[x] = coeff[y + x * 4] >> 2;
192
2.14M
        dav1d_inv_wht4_1d_c(c, 1);
193
2.14M
    }
194
536k
    memset(coeff, 0, sizeof(*coeff) * 4 * 4);
195
196
2.68M
    for (int x = 0; x < 4; x++)
197
2.14M
        dav1d_inv_wht4_1d_c(&tmp[x], 4);
198
199
536k
    c = tmp;
200
2.68M
    for (int y = 0; y < 4; y++, dst += PXSTRIDE(stride))
201
10.7M
        for (int x = 0; x < 4; x++)
202
8.58M
            dst[x] = iclip_pixel(dst[x] + *c++);
203
536k
}
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
88.4k
COLD void bitfn(dav1d_itx_dsp_init)(Dav1dInvTxfmDSPContext *const c, int bpc) {
221
88.4k
#define assign_itx_all_fn64(w, h, pfx) \
222
1.68M
    c->itxfm_add[pfx##TX_##w##X##h][DCT_DCT  ] = \
223
1.68M
        inv_txfm_add_dct_dct_##w##x##h##_c
224
225
88.4k
#define assign_itx_all_fn32(w, h, pfx) \
226
1.23M
    assign_itx_all_fn64(w, h, pfx); \
227
1.23M
    c->itxfm_add[pfx##TX_##w##X##h][IDTX] = \
228
1.23M
        inv_txfm_add_identity_identity_##w##x##h##_c
229
230
88.4k
#define assign_itx_all_fn16(w, h, pfx) \
231
796k
    assign_itx_all_fn32(w, h, pfx); \
232
796k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_ADST ] = \
233
796k
        inv_txfm_add_adst_dct_##w##x##h##_c; \
234
796k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_DCT ] = \
235
796k
        inv_txfm_add_dct_adst_##w##x##h##_c; \
236
796k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_ADST] = \
237
796k
        inv_txfm_add_adst_adst_##w##x##h##_c; \
238
796k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_FLIPADST] = \
239
796k
        inv_txfm_add_flipadst_adst_##w##x##h##_c; \
240
796k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_ADST] = \
241
796k
        inv_txfm_add_adst_flipadst_##w##x##h##_c; \
242
796k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_FLIPADST] = \
243
796k
        inv_txfm_add_flipadst_dct_##w##x##h##_c; \
244
796k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_DCT] = \
245
796k
        inv_txfm_add_dct_flipadst_##w##x##h##_c; \
246
796k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_FLIPADST] = \
247
796k
        inv_txfm_add_flipadst_flipadst_##w##x##h##_c; \
248
796k
    c->itxfm_add[pfx##TX_##w##X##h][H_DCT] = \
249
796k
        inv_txfm_add_dct_identity_##w##x##h##_c; \
250
796k
    c->itxfm_add[pfx##TX_##w##X##h][V_DCT] = \
251
796k
        inv_txfm_add_identity_dct_##w##x##h##_c
252
253
88.4k
#define assign_itx_all_fn84(w, h, pfx) \
254
707k
    assign_itx_all_fn16(w, h, pfx); \
255
707k
    c->itxfm_add[pfx##TX_##w##X##h][H_FLIPADST] = \
256
707k
        inv_txfm_add_flipadst_identity_##w##x##h##_c; \
257
707k
    c->itxfm_add[pfx##TX_##w##X##h][V_FLIPADST] = \
258
707k
        inv_txfm_add_identity_flipadst_##w##x##h##_c; \
259
707k
    c->itxfm_add[pfx##TX_##w##X##h][H_ADST] = \
260
707k
        inv_txfm_add_adst_identity_##w##x##h##_c; \
261
707k
    c->itxfm_add[pfx##TX_##w##X##h][V_ADST] = \
262
707k
        inv_txfm_add_identity_adst_##w##x##h##_c; \
263
88.4k
264
88.4k
#if !(HAVE_ASM && TRIM_DSP_FUNCTIONS && ( \
265
88.4k
  ARCH_AARCH64 || \
266
88.4k
  (ARCH_ARM && (defined(__ARM_NEON) || defined(__APPLE__) || defined(_WIN32))) \
267
88.4k
))
268
88.4k
    c->itxfm_add[TX_4X4][WHT_WHT] = inv_txfm_add_wht_wht_4x4_c;
269
88.4k
#endif
270
88.4k
    assign_itx_all_fn84( 4,  4, );
271
88.4k
    assign_itx_all_fn84( 4,  8, R);
272
88.4k
    assign_itx_all_fn84( 4, 16, R);
273
88.4k
    assign_itx_all_fn84( 8,  4, R);
274
88.4k
    assign_itx_all_fn84( 8,  8, );
275
88.4k
    assign_itx_all_fn84( 8, 16, R);
276
88.4k
    assign_itx_all_fn32( 8, 32, R);
277
88.4k
    assign_itx_all_fn84(16,  4, R);
278
88.4k
    assign_itx_all_fn84(16,  8, R);
279
88.4k
    assign_itx_all_fn16(16, 16, );
280
88.4k
    assign_itx_all_fn32(16, 32, R);
281
88.4k
    assign_itx_all_fn64(16, 64, R);
282
88.4k
    assign_itx_all_fn32(32,  8, R);
283
88.4k
    assign_itx_all_fn32(32, 16, R);
284
88.4k
    assign_itx_all_fn32(32, 32, );
285
88.4k
    assign_itx_all_fn64(32, 64, R);
286
88.4k
    assign_itx_all_fn64(64, 16, R);
287
88.4k
    assign_itx_all_fn64(64, 32, R);
288
88.4k
    assign_itx_all_fn64(64, 64, );
289
290
88.4k
    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
88.4k
    if (!all_simd)
310
88.4k
        dav1d_init_last_nonzero_col_from_eob_tables();
311
88.4k
}
dav1d_itx_dsp_init_8bpc
Line
Count
Source
220
40.2k
COLD void bitfn(dav1d_itx_dsp_init)(Dav1dInvTxfmDSPContext *const c, int bpc) {
221
40.2k
#define assign_itx_all_fn64(w, h, pfx) \
222
40.2k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_DCT  ] = \
223
40.2k
        inv_txfm_add_dct_dct_##w##x##h##_c
224
225
40.2k
#define assign_itx_all_fn32(w, h, pfx) \
226
40.2k
    assign_itx_all_fn64(w, h, pfx); \
227
40.2k
    c->itxfm_add[pfx##TX_##w##X##h][IDTX] = \
228
40.2k
        inv_txfm_add_identity_identity_##w##x##h##_c
229
230
40.2k
#define assign_itx_all_fn16(w, h, pfx) \
231
40.2k
    assign_itx_all_fn32(w, h, pfx); \
232
40.2k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_ADST ] = \
233
40.2k
        inv_txfm_add_adst_dct_##w##x##h##_c; \
234
40.2k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_DCT ] = \
235
40.2k
        inv_txfm_add_dct_adst_##w##x##h##_c; \
236
40.2k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_ADST] = \
237
40.2k
        inv_txfm_add_adst_adst_##w##x##h##_c; \
238
40.2k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_FLIPADST] = \
239
40.2k
        inv_txfm_add_flipadst_adst_##w##x##h##_c; \
240
40.2k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_ADST] = \
241
40.2k
        inv_txfm_add_adst_flipadst_##w##x##h##_c; \
242
40.2k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_FLIPADST] = \
243
40.2k
        inv_txfm_add_flipadst_dct_##w##x##h##_c; \
244
40.2k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_DCT] = \
245
40.2k
        inv_txfm_add_dct_flipadst_##w##x##h##_c; \
246
40.2k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_FLIPADST] = \
247
40.2k
        inv_txfm_add_flipadst_flipadst_##w##x##h##_c; \
248
40.2k
    c->itxfm_add[pfx##TX_##w##X##h][H_DCT] = \
249
40.2k
        inv_txfm_add_dct_identity_##w##x##h##_c; \
250
40.2k
    c->itxfm_add[pfx##TX_##w##X##h][V_DCT] = \
251
40.2k
        inv_txfm_add_identity_dct_##w##x##h##_c
252
253
40.2k
#define assign_itx_all_fn84(w, h, pfx) \
254
40.2k
    assign_itx_all_fn16(w, h, pfx); \
255
40.2k
    c->itxfm_add[pfx##TX_##w##X##h][H_FLIPADST] = \
256
40.2k
        inv_txfm_add_flipadst_identity_##w##x##h##_c; \
257
40.2k
    c->itxfm_add[pfx##TX_##w##X##h][V_FLIPADST] = \
258
40.2k
        inv_txfm_add_identity_flipadst_##w##x##h##_c; \
259
40.2k
    c->itxfm_add[pfx##TX_##w##X##h][H_ADST] = \
260
40.2k
        inv_txfm_add_adst_identity_##w##x##h##_c; \
261
40.2k
    c->itxfm_add[pfx##TX_##w##X##h][V_ADST] = \
262
40.2k
        inv_txfm_add_identity_adst_##w##x##h##_c; \
263
40.2k
264
40.2k
#if !(HAVE_ASM && TRIM_DSP_FUNCTIONS && ( \
265
40.2k
  ARCH_AARCH64 || \
266
40.2k
  (ARCH_ARM && (defined(__ARM_NEON) || defined(__APPLE__) || defined(_WIN32))) \
267
40.2k
))
268
40.2k
    c->itxfm_add[TX_4X4][WHT_WHT] = inv_txfm_add_wht_wht_4x4_c;
269
40.2k
#endif
270
40.2k
    assign_itx_all_fn84( 4,  4, );
271
40.2k
    assign_itx_all_fn84( 4,  8, R);
272
40.2k
    assign_itx_all_fn84( 4, 16, R);
273
40.2k
    assign_itx_all_fn84( 8,  4, R);
274
40.2k
    assign_itx_all_fn84( 8,  8, );
275
40.2k
    assign_itx_all_fn84( 8, 16, R);
276
40.2k
    assign_itx_all_fn32( 8, 32, R);
277
40.2k
    assign_itx_all_fn84(16,  4, R);
278
40.2k
    assign_itx_all_fn84(16,  8, R);
279
40.2k
    assign_itx_all_fn16(16, 16, );
280
40.2k
    assign_itx_all_fn32(16, 32, R);
281
40.2k
    assign_itx_all_fn64(16, 64, R);
282
40.2k
    assign_itx_all_fn32(32,  8, R);
283
40.2k
    assign_itx_all_fn32(32, 16, R);
284
40.2k
    assign_itx_all_fn32(32, 32, );
285
40.2k
    assign_itx_all_fn64(32, 64, R);
286
40.2k
    assign_itx_all_fn64(64, 16, R);
287
40.2k
    assign_itx_all_fn64(64, 32, R);
288
40.2k
    assign_itx_all_fn64(64, 64, );
289
290
40.2k
    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
40.2k
    if (!all_simd)
310
40.2k
        dav1d_init_last_nonzero_col_from_eob_tables();
311
40.2k
}
dav1d_itx_dsp_init_16bpc
Line
Count
Source
220
48.1k
COLD void bitfn(dav1d_itx_dsp_init)(Dav1dInvTxfmDSPContext *const c, int bpc) {
221
48.1k
#define assign_itx_all_fn64(w, h, pfx) \
222
48.1k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_DCT  ] = \
223
48.1k
        inv_txfm_add_dct_dct_##w##x##h##_c
224
225
48.1k
#define assign_itx_all_fn32(w, h, pfx) \
226
48.1k
    assign_itx_all_fn64(w, h, pfx); \
227
48.1k
    c->itxfm_add[pfx##TX_##w##X##h][IDTX] = \
228
48.1k
        inv_txfm_add_identity_identity_##w##x##h##_c
229
230
48.1k
#define assign_itx_all_fn16(w, h, pfx) \
231
48.1k
    assign_itx_all_fn32(w, h, pfx); \
232
48.1k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_ADST ] = \
233
48.1k
        inv_txfm_add_adst_dct_##w##x##h##_c; \
234
48.1k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_DCT ] = \
235
48.1k
        inv_txfm_add_dct_adst_##w##x##h##_c; \
236
48.1k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_ADST] = \
237
48.1k
        inv_txfm_add_adst_adst_##w##x##h##_c; \
238
48.1k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_FLIPADST] = \
239
48.1k
        inv_txfm_add_flipadst_adst_##w##x##h##_c; \
240
48.1k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_ADST] = \
241
48.1k
        inv_txfm_add_adst_flipadst_##w##x##h##_c; \
242
48.1k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_FLIPADST] = \
243
48.1k
        inv_txfm_add_flipadst_dct_##w##x##h##_c; \
244
48.1k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_DCT] = \
245
48.1k
        inv_txfm_add_dct_flipadst_##w##x##h##_c; \
246
48.1k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_FLIPADST] = \
247
48.1k
        inv_txfm_add_flipadst_flipadst_##w##x##h##_c; \
248
48.1k
    c->itxfm_add[pfx##TX_##w##X##h][H_DCT] = \
249
48.1k
        inv_txfm_add_dct_identity_##w##x##h##_c; \
250
48.1k
    c->itxfm_add[pfx##TX_##w##X##h][V_DCT] = \
251
48.1k
        inv_txfm_add_identity_dct_##w##x##h##_c
252
253
48.1k
#define assign_itx_all_fn84(w, h, pfx) \
254
48.1k
    assign_itx_all_fn16(w, h, pfx); \
255
48.1k
    c->itxfm_add[pfx##TX_##w##X##h][H_FLIPADST] = \
256
48.1k
        inv_txfm_add_flipadst_identity_##w##x##h##_c; \
257
48.1k
    c->itxfm_add[pfx##TX_##w##X##h][V_FLIPADST] = \
258
48.1k
        inv_txfm_add_identity_flipadst_##w##x##h##_c; \
259
48.1k
    c->itxfm_add[pfx##TX_##w##X##h][H_ADST] = \
260
48.1k
        inv_txfm_add_adst_identity_##w##x##h##_c; \
261
48.1k
    c->itxfm_add[pfx##TX_##w##X##h][V_ADST] = \
262
48.1k
        inv_txfm_add_identity_adst_##w##x##h##_c; \
263
48.1k
264
48.1k
#if !(HAVE_ASM && TRIM_DSP_FUNCTIONS && ( \
265
48.1k
  ARCH_AARCH64 || \
266
48.1k
  (ARCH_ARM && (defined(__ARM_NEON) || defined(__APPLE__) || defined(_WIN32))) \
267
48.1k
))
268
48.1k
    c->itxfm_add[TX_4X4][WHT_WHT] = inv_txfm_add_wht_wht_4x4_c;
269
48.1k
#endif
270
48.1k
    assign_itx_all_fn84( 4,  4, );
271
48.1k
    assign_itx_all_fn84( 4,  8, R);
272
48.1k
    assign_itx_all_fn84( 4, 16, R);
273
48.1k
    assign_itx_all_fn84( 8,  4, R);
274
48.1k
    assign_itx_all_fn84( 8,  8, );
275
48.1k
    assign_itx_all_fn84( 8, 16, R);
276
48.1k
    assign_itx_all_fn32( 8, 32, R);
277
48.1k
    assign_itx_all_fn84(16,  4, R);
278
48.1k
    assign_itx_all_fn84(16,  8, R);
279
48.1k
    assign_itx_all_fn16(16, 16, );
280
48.1k
    assign_itx_all_fn32(16, 32, R);
281
48.1k
    assign_itx_all_fn64(16, 64, R);
282
48.1k
    assign_itx_all_fn32(32,  8, R);
283
48.1k
    assign_itx_all_fn32(32, 16, R);
284
48.1k
    assign_itx_all_fn32(32, 32, );
285
48.1k
    assign_itx_all_fn64(32, 64, R);
286
48.1k
    assign_itx_all_fn64(64, 16, R);
287
48.1k
    assign_itx_all_fn64(64, 32, R);
288
48.1k
    assign_itx_all_fn64(64, 64, );
289
290
48.1k
    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
48.1k
    if (!all_simd)
310
48.1k
        dav1d_init_last_nonzero_col_from_eob_tables();
311
48.1k
}