Coverage Report

Created: 2026-08-31 06:22

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
2.67M
{
48
2.67M
    const TxfmInfo *const t_dim = &dav1d_txfm_dimensions[tx];
49
2.67M
    const int w = 4 * t_dim->w, h = 4 * t_dim->h;
50
2.67M
    const int has_dconly = txtp == DCT_DCT;
51
2.67M
    assert(w >= 4 && w <= 64);
52
2.67M
    assert(h >= 4 && h <= 64);
53
2.67M
    assert(eob >= 0);
54
55
2.67M
    const int is_rect2 = w * 2 == h || h * 2 == w;
56
2.67M
    const int rnd = (1 << shift) >> 1;
57
58
2.67M
    if (eob < has_dconly) {
59
521k
        int dc = coeff[0];
60
521k
        coeff[0] = 0;
61
521k
        if (is_rect2)
62
121k
            dc = (dc * 181 + 128) >> 8;
63
521k
        dc = (dc * 181 + 128) >> 8;
64
521k
        dc = (dc + rnd) >> shift;
65
521k
        dc = (dc * 181 + 128 + 2048) >> 12;
66
16.3M
        for (int y = 0; y < h; y++, dst += PXSTRIDE(stride))
67
650M
            for (int x = 0; x < w; x++)
68
634M
                dst[x] = iclip_pixel(dst[x] + dc);
69
521k
        return;
70
521k
    }
71
72
2.15M
    const uint8_t *const txtps = dav1d_tx1d_types[txtp];
73
2.15M
    const itx_1d_fn first_1d_fn = dav1d_tx1d_fns[t_dim->lw][txtps[0]];
74
2.15M
    const itx_1d_fn second_1d_fn = dav1d_tx1d_fns[t_dim->lh][txtps[1]];
75
2.15M
    const int sh = imin(h, 32), sw = imin(w, 32);
76
2.15M
#if BITDEPTH == 8
77
2.15M
    const int row_clip_min = INT16_MIN;
78
2.15M
    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
2.15M
    const int row_clip_max = ~row_clip_min;
84
2.15M
    const int col_clip_max = ~col_clip_min;
85
86
2.15M
    int32_t tmp[64 * 64], *c = tmp;
87
2.15M
    int last_nonzero_col; // in first 1d itx
88
2.15M
    if (txtps[1] == IDENTITY && txtps[0] != IDENTITY) {
89
175k
        last_nonzero_col = imin(sh - 1, eob);
90
1.98M
    } else if (txtps[0] == IDENTITY && txtps[1] != IDENTITY) {
91
108k
        last_nonzero_col = eob >> (t_dim->lw + 2);
92
1.87M
    } else {
93
1.87M
        last_nonzero_col = dav1d_last_nonzero_col_from_eob[tx][eob];
94
1.87M
    }
95
2.15M
    assert(last_nonzero_col < sh);
96
12.3M
    for (int y = 0; y <= last_nonzero_col; y++, c += w) {
97
10.1M
        if (is_rect2)
98
50.4M
            for (int x = 0; x < sw; x++)
99
47.0M
                c[x] = (coeff[y + x * sh] * 181 + 128) >> 8;
100
6.82M
        else
101
113M
            for (int x = 0; x < sw; x++)
102
106M
                c[x] = coeff[y + x * sh];
103
10.1M
        first_1d_fn(c, 1, row_clip_min, row_clip_max);
104
10.1M
    }
105
2.15M
    if (last_nonzero_col + 1 < sh)
106
1.68M
        memset(c, 0, sizeof(*c) * (sh - last_nonzero_col - 1) * w);
107
108
2.15M
    memset(coeff, 0, sizeof(*coeff) * sw * sh);
109
573M
    for (int i = 0; i < w * sh; i++)
110
571M
        tmp[i] = iclip((tmp[i] + rnd) >> shift, col_clip_min, col_clip_max);
111
112
33.6M
    for (int x = 0; x < w; x++)
113
31.4M
        second_1d_fn(&tmp[x], w, col_clip_min, col_clip_max);
114
115
2.15M
    c = tmp;
116
33.0M
    for (int y = 0; y < h; y++, dst += PXSTRIDE(stride))
117
812M
        for (int x = 0; x < w; x++)
118
781M
            dst[x] = iclip_pixel(dst[x] + ((*c++ + 8) >> 4));
119
2.15M
}
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
2.67M
                                               HIGHBD_DECL_SUFFIX) \
128
2.67M
{ \
129
2.67M
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.67M
                   HIGHBD_TAIL_SUFFIX); \
131
2.67M
}
itx_tmpl.c:inv_txfm_add_dct_dct_4x4_c
Line
Count
Source
127
63.1k
                                               HIGHBD_DECL_SUFFIX) \
128
63.1k
{ \
129
63.1k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
63.1k
                   HIGHBD_TAIL_SUFFIX); \
131
63.1k
}
itx_tmpl.c:inv_txfm_add_identity_identity_4x4_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_4x4_c
Line
Count
Source
127
36.6k
                                               HIGHBD_DECL_SUFFIX) \
128
36.6k
{ \
129
36.6k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
36.6k
                   HIGHBD_TAIL_SUFFIX); \
131
36.6k
}
itx_tmpl.c:inv_txfm_add_dct_adst_4x4_c
Line
Count
Source
127
30.3k
                                               HIGHBD_DECL_SUFFIX) \
128
30.3k
{ \
129
30.3k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
30.3k
                   HIGHBD_TAIL_SUFFIX); \
131
30.3k
}
itx_tmpl.c:inv_txfm_add_adst_adst_4x4_c
Line
Count
Source
127
43.2k
                                               HIGHBD_DECL_SUFFIX) \
128
43.2k
{ \
129
43.2k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
43.2k
                   HIGHBD_TAIL_SUFFIX); \
131
43.2k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_4x4_c
Line
Count
Source
127
5.69k
                                               HIGHBD_DECL_SUFFIX) \
128
5.69k
{ \
129
5.69k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.69k
                   HIGHBD_TAIL_SUFFIX); \
131
5.69k
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_4x4_c
Line
Count
Source
127
7.38k
                                               HIGHBD_DECL_SUFFIX) \
128
7.38k
{ \
129
7.38k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
7.38k
                   HIGHBD_TAIL_SUFFIX); \
131
7.38k
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_4x4_c
Line
Count
Source
127
5.39k
                                               HIGHBD_DECL_SUFFIX) \
128
5.39k
{ \
129
5.39k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.39k
                   HIGHBD_TAIL_SUFFIX); \
131
5.39k
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_4x4_c
Line
Count
Source
127
3.58k
                                               HIGHBD_DECL_SUFFIX) \
128
3.58k
{ \
129
3.58k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.58k
                   HIGHBD_TAIL_SUFFIX); \
131
3.58k
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_4x4_c
Line
Count
Source
127
4.35k
                                               HIGHBD_DECL_SUFFIX) \
128
4.35k
{ \
129
4.35k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.35k
                   HIGHBD_TAIL_SUFFIX); \
131
4.35k
}
itx_tmpl.c:inv_txfm_add_dct_identity_4x4_c
Line
Count
Source
127
15.4k
                                               HIGHBD_DECL_SUFFIX) \
128
15.4k
{ \
129
15.4k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
15.4k
                   HIGHBD_TAIL_SUFFIX); \
131
15.4k
}
itx_tmpl.c:inv_txfm_add_identity_dct_4x4_c
Line
Count
Source
127
9.02k
                                               HIGHBD_DECL_SUFFIX) \
128
9.02k
{ \
129
9.02k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
9.02k
                   HIGHBD_TAIL_SUFFIX); \
131
9.02k
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_4x4_c
Line
Count
Source
127
7.56k
                                               HIGHBD_DECL_SUFFIX) \
128
7.56k
{ \
129
7.56k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
7.56k
                   HIGHBD_TAIL_SUFFIX); \
131
7.56k
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_4x4_c
Line
Count
Source
127
5.90k
                                               HIGHBD_DECL_SUFFIX) \
128
5.90k
{ \
129
5.90k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.90k
                   HIGHBD_TAIL_SUFFIX); \
131
5.90k
}
itx_tmpl.c:inv_txfm_add_adst_identity_4x4_c
Line
Count
Source
127
10.6k
                                               HIGHBD_DECL_SUFFIX) \
128
10.6k
{ \
129
10.6k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
10.6k
                   HIGHBD_TAIL_SUFFIX); \
131
10.6k
}
itx_tmpl.c:inv_txfm_add_identity_adst_4x4_c
Line
Count
Source
127
8.12k
                                               HIGHBD_DECL_SUFFIX) \
128
8.12k
{ \
129
8.12k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
8.12k
                   HIGHBD_TAIL_SUFFIX); \
131
8.12k
}
itx_tmpl.c:inv_txfm_add_dct_dct_4x8_c
Line
Count
Source
127
28.4k
                                               HIGHBD_DECL_SUFFIX) \
128
28.4k
{ \
129
28.4k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
28.4k
                   HIGHBD_TAIL_SUFFIX); \
131
28.4k
}
itx_tmpl.c:inv_txfm_add_identity_identity_4x8_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_adst_dct_4x8_c
Line
Count
Source
127
17.9k
                                               HIGHBD_DECL_SUFFIX) \
128
17.9k
{ \
129
17.9k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
17.9k
                   HIGHBD_TAIL_SUFFIX); \
131
17.9k
}
itx_tmpl.c:inv_txfm_add_dct_adst_4x8_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_adst_adst_4x8_c
Line
Count
Source
127
22.0k
                                               HIGHBD_DECL_SUFFIX) \
128
22.0k
{ \
129
22.0k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
22.0k
                   HIGHBD_TAIL_SUFFIX); \
131
22.0k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_4x8_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_adst_flipadst_4x8_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_flipadst_dct_4x8_c
Line
Count
Source
127
3.50k
                                               HIGHBD_DECL_SUFFIX) \
128
3.50k
{ \
129
3.50k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.50k
                   HIGHBD_TAIL_SUFFIX); \
131
3.50k
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_4x8_c
Line
Count
Source
127
2.67k
                                               HIGHBD_DECL_SUFFIX) \
128
2.67k
{ \
129
2.67k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.67k
                   HIGHBD_TAIL_SUFFIX); \
131
2.67k
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_4x8_c
Line
Count
Source
127
2.81k
                                               HIGHBD_DECL_SUFFIX) \
128
2.81k
{ \
129
2.81k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.81k
                   HIGHBD_TAIL_SUFFIX); \
131
2.81k
}
itx_tmpl.c:inv_txfm_add_dct_identity_4x8_c
Line
Count
Source
127
8.56k
                                               HIGHBD_DECL_SUFFIX) \
128
8.56k
{ \
129
8.56k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
8.56k
                   HIGHBD_TAIL_SUFFIX); \
131
8.56k
}
itx_tmpl.c:inv_txfm_add_identity_dct_4x8_c
Line
Count
Source
127
4.51k
                                               HIGHBD_DECL_SUFFIX) \
128
4.51k
{ \
129
4.51k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.51k
                   HIGHBD_TAIL_SUFFIX); \
131
4.51k
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_4x8_c
Line
Count
Source
127
3.61k
                                               HIGHBD_DECL_SUFFIX) \
128
3.61k
{ \
129
3.61k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.61k
                   HIGHBD_TAIL_SUFFIX); \
131
3.61k
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_4x8_c
Line
Count
Source
127
2.99k
                                               HIGHBD_DECL_SUFFIX) \
128
2.99k
{ \
129
2.99k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.99k
                   HIGHBD_TAIL_SUFFIX); \
131
2.99k
}
itx_tmpl.c:inv_txfm_add_adst_identity_4x8_c
Line
Count
Source
127
5.73k
                                               HIGHBD_DECL_SUFFIX) \
128
5.73k
{ \
129
5.73k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.73k
                   HIGHBD_TAIL_SUFFIX); \
131
5.73k
}
itx_tmpl.c:inv_txfm_add_identity_adst_4x8_c
Line
Count
Source
127
3.27k
                                               HIGHBD_DECL_SUFFIX) \
128
3.27k
{ \
129
3.27k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.27k
                   HIGHBD_TAIL_SUFFIX); \
131
3.27k
}
itx_tmpl.c:inv_txfm_add_dct_dct_4x16_c
Line
Count
Source
127
14.0k
                                               HIGHBD_DECL_SUFFIX) \
128
14.0k
{ \
129
14.0k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
14.0k
                   HIGHBD_TAIL_SUFFIX); \
131
14.0k
}
itx_tmpl.c:inv_txfm_add_identity_identity_4x16_c
Line
Count
Source
127
6.64k
                                               HIGHBD_DECL_SUFFIX) \
128
6.64k
{ \
129
6.64k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
6.64k
                   HIGHBD_TAIL_SUFFIX); \
131
6.64k
}
itx_tmpl.c:inv_txfm_add_adst_dct_4x16_c
Line
Count
Source
127
8.95k
                                               HIGHBD_DECL_SUFFIX) \
128
8.95k
{ \
129
8.95k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
8.95k
                   HIGHBD_TAIL_SUFFIX); \
131
8.95k
}
itx_tmpl.c:inv_txfm_add_dct_adst_4x16_c
Line
Count
Source
127
7.19k
                                               HIGHBD_DECL_SUFFIX) \
128
7.19k
{ \
129
7.19k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
7.19k
                   HIGHBD_TAIL_SUFFIX); \
131
7.19k
}
itx_tmpl.c:inv_txfm_add_adst_adst_4x16_c
Line
Count
Source
127
11.3k
                                               HIGHBD_DECL_SUFFIX) \
128
11.3k
{ \
129
11.3k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
11.3k
                   HIGHBD_TAIL_SUFFIX); \
131
11.3k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_4x16_c
Line
Count
Source
127
1.47k
                                               HIGHBD_DECL_SUFFIX) \
128
1.47k
{ \
129
1.47k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.47k
                   HIGHBD_TAIL_SUFFIX); \
131
1.47k
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_4x16_c
Line
Count
Source
127
1.67k
                                               HIGHBD_DECL_SUFFIX) \
128
1.67k
{ \
129
1.67k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.67k
                   HIGHBD_TAIL_SUFFIX); \
131
1.67k
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_4x16_c
Line
Count
Source
127
1.22k
                                               HIGHBD_DECL_SUFFIX) \
128
1.22k
{ \
129
1.22k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.22k
                   HIGHBD_TAIL_SUFFIX); \
131
1.22k
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_4x16_c
Line
Count
Source
127
1.22k
                                               HIGHBD_DECL_SUFFIX) \
128
1.22k
{ \
129
1.22k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.22k
                   HIGHBD_TAIL_SUFFIX); \
131
1.22k
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_4x16_c
Line
Count
Source
127
1.18k
                                               HIGHBD_DECL_SUFFIX) \
128
1.18k
{ \
129
1.18k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.18k
                   HIGHBD_TAIL_SUFFIX); \
131
1.18k
}
itx_tmpl.c:inv_txfm_add_dct_identity_4x16_c
Line
Count
Source
127
4.55k
                                               HIGHBD_DECL_SUFFIX) \
128
4.55k
{ \
129
4.55k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.55k
                   HIGHBD_TAIL_SUFFIX); \
131
4.55k
}
itx_tmpl.c:inv_txfm_add_identity_dct_4x16_c
Line
Count
Source
127
2.39k
                                               HIGHBD_DECL_SUFFIX) \
128
2.39k
{ \
129
2.39k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.39k
                   HIGHBD_TAIL_SUFFIX); \
131
2.39k
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_4x16_c
Line
Count
Source
127
2.00k
                                               HIGHBD_DECL_SUFFIX) \
128
2.00k
{ \
129
2.00k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.00k
                   HIGHBD_TAIL_SUFFIX); \
131
2.00k
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_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_adst_identity_4x16_c
Line
Count
Source
127
2.60k
                                               HIGHBD_DECL_SUFFIX) \
128
2.60k
{ \
129
2.60k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.60k
                   HIGHBD_TAIL_SUFFIX); \
131
2.60k
}
itx_tmpl.c:inv_txfm_add_identity_adst_4x16_c
Line
Count
Source
127
1.66k
                                               HIGHBD_DECL_SUFFIX) \
128
1.66k
{ \
129
1.66k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.66k
                   HIGHBD_TAIL_SUFFIX); \
131
1.66k
}
itx_tmpl.c:inv_txfm_add_dct_dct_8x4_c
Line
Count
Source
127
38.6k
                                               HIGHBD_DECL_SUFFIX) \
128
38.6k
{ \
129
38.6k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
38.6k
                   HIGHBD_TAIL_SUFFIX); \
131
38.6k
}
itx_tmpl.c:inv_txfm_add_identity_identity_8x4_c
Line
Count
Source
127
17.9k
                                               HIGHBD_DECL_SUFFIX) \
128
17.9k
{ \
129
17.9k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
17.9k
                   HIGHBD_TAIL_SUFFIX); \
131
17.9k
}
itx_tmpl.c:inv_txfm_add_adst_dct_8x4_c
Line
Count
Source
127
24.4k
                                               HIGHBD_DECL_SUFFIX) \
128
24.4k
{ \
129
24.4k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
24.4k
                   HIGHBD_TAIL_SUFFIX); \
131
24.4k
}
itx_tmpl.c:inv_txfm_add_dct_adst_8x4_c
Line
Count
Source
127
19.7k
                                               HIGHBD_DECL_SUFFIX) \
128
19.7k
{ \
129
19.7k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
19.7k
                   HIGHBD_TAIL_SUFFIX); \
131
19.7k
}
itx_tmpl.c:inv_txfm_add_adst_adst_8x4_c
Line
Count
Source
127
28.5k
                                               HIGHBD_DECL_SUFFIX) \
128
28.5k
{ \
129
28.5k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
28.5k
                   HIGHBD_TAIL_SUFFIX); \
131
28.5k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_8x4_c
Line
Count
Source
127
7.76k
                                               HIGHBD_DECL_SUFFIX) \
128
7.76k
{ \
129
7.76k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
7.76k
                   HIGHBD_TAIL_SUFFIX); \
131
7.76k
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_8x4_c
Line
Count
Source
127
4.75k
                                               HIGHBD_DECL_SUFFIX) \
128
4.75k
{ \
129
4.75k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.75k
                   HIGHBD_TAIL_SUFFIX); \
131
4.75k
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_8x4_c
Line
Count
Source
127
5.27k
                                               HIGHBD_DECL_SUFFIX) \
128
5.27k
{ \
129
5.27k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.27k
                   HIGHBD_TAIL_SUFFIX); \
131
5.27k
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_8x4_c
Line
Count
Source
127
3.76k
                                               HIGHBD_DECL_SUFFIX) \
128
3.76k
{ \
129
3.76k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.76k
                   HIGHBD_TAIL_SUFFIX); \
131
3.76k
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_8x4_c
Line
Count
Source
127
4.36k
                                               HIGHBD_DECL_SUFFIX) \
128
4.36k
{ \
129
4.36k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.36k
                   HIGHBD_TAIL_SUFFIX); \
131
4.36k
}
itx_tmpl.c:inv_txfm_add_dct_identity_8x4_c
Line
Count
Source
127
11.2k
                                               HIGHBD_DECL_SUFFIX) \
128
11.2k
{ \
129
11.2k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
11.2k
                   HIGHBD_TAIL_SUFFIX); \
131
11.2k
}
itx_tmpl.c:inv_txfm_add_identity_dct_8x4_c
Line
Count
Source
127
5.80k
                                               HIGHBD_DECL_SUFFIX) \
128
5.80k
{ \
129
5.80k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.80k
                   HIGHBD_TAIL_SUFFIX); \
131
5.80k
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_8x4_c
Line
Count
Source
127
6.14k
                                               HIGHBD_DECL_SUFFIX) \
128
6.14k
{ \
129
6.14k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
6.14k
                   HIGHBD_TAIL_SUFFIX); \
131
6.14k
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_8x4_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_identity_8x4_c
Line
Count
Source
127
8.26k
                                               HIGHBD_DECL_SUFFIX) \
128
8.26k
{ \
129
8.26k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
8.26k
                   HIGHBD_TAIL_SUFFIX); \
131
8.26k
}
itx_tmpl.c:inv_txfm_add_identity_adst_8x4_c
Line
Count
Source
127
4.70k
                                               HIGHBD_DECL_SUFFIX) \
128
4.70k
{ \
129
4.70k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.70k
                   HIGHBD_TAIL_SUFFIX); \
131
4.70k
}
itx_tmpl.c:inv_txfm_add_dct_dct_8x8_c
Line
Count
Source
127
110k
                                               HIGHBD_DECL_SUFFIX) \
128
110k
{ \
129
110k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
110k
                   HIGHBD_TAIL_SUFFIX); \
131
110k
}
itx_tmpl.c:inv_txfm_add_identity_identity_8x8_c
Line
Count
Source
127
35.3k
                                               HIGHBD_DECL_SUFFIX) \
128
35.3k
{ \
129
35.3k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
35.3k
                   HIGHBD_TAIL_SUFFIX); \
131
35.3k
}
itx_tmpl.c:inv_txfm_add_adst_dct_8x8_c
Line
Count
Source
127
68.6k
                                               HIGHBD_DECL_SUFFIX) \
128
68.6k
{ \
129
68.6k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
68.6k
                   HIGHBD_TAIL_SUFFIX); \
131
68.6k
}
itx_tmpl.c:inv_txfm_add_dct_adst_8x8_c
Line
Count
Source
127
57.8k
                                               HIGHBD_DECL_SUFFIX) \
128
57.8k
{ \
129
57.8k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
57.8k
                   HIGHBD_TAIL_SUFFIX); \
131
57.8k
}
itx_tmpl.c:inv_txfm_add_adst_adst_8x8_c
Line
Count
Source
127
60.8k
                                               HIGHBD_DECL_SUFFIX) \
128
60.8k
{ \
129
60.8k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
60.8k
                   HIGHBD_TAIL_SUFFIX); \
131
60.8k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_8x8_c
Line
Count
Source
127
10.1k
                                               HIGHBD_DECL_SUFFIX) \
128
10.1k
{ \
129
10.1k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
10.1k
                   HIGHBD_TAIL_SUFFIX); \
131
10.1k
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_8x8_c
Line
Count
Source
127
7.91k
                                               HIGHBD_DECL_SUFFIX) \
128
7.91k
{ \
129
7.91k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
7.91k
                   HIGHBD_TAIL_SUFFIX); \
131
7.91k
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_8x8_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_dct_flipadst_8x8_c
Line
Count
Source
127
8.37k
                                               HIGHBD_DECL_SUFFIX) \
128
8.37k
{ \
129
8.37k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
8.37k
                   HIGHBD_TAIL_SUFFIX); \
131
8.37k
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_8x8_c
Line
Count
Source
127
7.57k
                                               HIGHBD_DECL_SUFFIX) \
128
7.57k
{ \
129
7.57k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
7.57k
                   HIGHBD_TAIL_SUFFIX); \
131
7.57k
}
itx_tmpl.c:inv_txfm_add_dct_identity_8x8_c
Line
Count
Source
127
21.5k
                                               HIGHBD_DECL_SUFFIX) \
128
21.5k
{ \
129
21.5k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
21.5k
                   HIGHBD_TAIL_SUFFIX); \
131
21.5k
}
itx_tmpl.c:inv_txfm_add_identity_dct_8x8_c
Line
Count
Source
127
11.3k
                                               HIGHBD_DECL_SUFFIX) \
128
11.3k
{ \
129
11.3k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
11.3k
                   HIGHBD_TAIL_SUFFIX); \
131
11.3k
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_8x8_c
Line
Count
Source
127
7.45k
                                               HIGHBD_DECL_SUFFIX) \
128
7.45k
{ \
129
7.45k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
7.45k
                   HIGHBD_TAIL_SUFFIX); \
131
7.45k
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_8x8_c
Line
Count
Source
127
5.30k
                                               HIGHBD_DECL_SUFFIX) \
128
5.30k
{ \
129
5.30k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.30k
                   HIGHBD_TAIL_SUFFIX); \
131
5.30k
}
itx_tmpl.c:inv_txfm_add_adst_identity_8x8_c
Line
Count
Source
127
7.77k
                                               HIGHBD_DECL_SUFFIX) \
128
7.77k
{ \
129
7.77k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
7.77k
                   HIGHBD_TAIL_SUFFIX); \
131
7.77k
}
itx_tmpl.c:inv_txfm_add_identity_adst_8x8_c
Line
Count
Source
127
4.95k
                                               HIGHBD_DECL_SUFFIX) \
128
4.95k
{ \
129
4.95k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.95k
                   HIGHBD_TAIL_SUFFIX); \
131
4.95k
}
itx_tmpl.c:inv_txfm_add_dct_dct_8x16_c
Line
Count
Source
127
35.8k
                                               HIGHBD_DECL_SUFFIX) \
128
35.8k
{ \
129
35.8k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
35.8k
                   HIGHBD_TAIL_SUFFIX); \
131
35.8k
}
itx_tmpl.c:inv_txfm_add_identity_identity_8x16_c
Line
Count
Source
127
8.15k
                                               HIGHBD_DECL_SUFFIX) \
128
8.15k
{ \
129
8.15k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
8.15k
                   HIGHBD_TAIL_SUFFIX); \
131
8.15k
}
itx_tmpl.c:inv_txfm_add_adst_dct_8x16_c
Line
Count
Source
127
18.7k
                                               HIGHBD_DECL_SUFFIX) \
128
18.7k
{ \
129
18.7k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
18.7k
                   HIGHBD_TAIL_SUFFIX); \
131
18.7k
}
itx_tmpl.c:inv_txfm_add_dct_adst_8x16_c
Line
Count
Source
127
15.6k
                                               HIGHBD_DECL_SUFFIX) \
128
15.6k
{ \
129
15.6k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
15.6k
                   HIGHBD_TAIL_SUFFIX); \
131
15.6k
}
itx_tmpl.c:inv_txfm_add_adst_adst_8x16_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_flipadst_adst_8x16_c
Line
Count
Source
127
3.32k
                                               HIGHBD_DECL_SUFFIX) \
128
3.32k
{ \
129
3.32k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.32k
                   HIGHBD_TAIL_SUFFIX); \
131
3.32k
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_8x16_c
Line
Count
Source
127
3.37k
                                               HIGHBD_DECL_SUFFIX) \
128
3.37k
{ \
129
3.37k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.37k
                   HIGHBD_TAIL_SUFFIX); \
131
3.37k
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_8x16_c
Line
Count
Source
127
3.92k
                                               HIGHBD_DECL_SUFFIX) \
128
3.92k
{ \
129
3.92k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.92k
                   HIGHBD_TAIL_SUFFIX); \
131
3.92k
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_8x16_c
Line
Count
Source
127
3.32k
                                               HIGHBD_DECL_SUFFIX) \
128
3.32k
{ \
129
3.32k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.32k
                   HIGHBD_TAIL_SUFFIX); \
131
3.32k
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_8x16_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_dct_identity_8x16_c
Line
Count
Source
127
7.28k
                                               HIGHBD_DECL_SUFFIX) \
128
7.28k
{ \
129
7.28k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
7.28k
                   HIGHBD_TAIL_SUFFIX); \
131
7.28k
}
itx_tmpl.c:inv_txfm_add_identity_dct_8x16_c
Line
Count
Source
127
4.09k
                                               HIGHBD_DECL_SUFFIX) \
128
4.09k
{ \
129
4.09k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.09k
                   HIGHBD_TAIL_SUFFIX); \
131
4.09k
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_8x16_c
Line
Count
Source
127
2.80k
                                               HIGHBD_DECL_SUFFIX) \
128
2.80k
{ \
129
2.80k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.80k
                   HIGHBD_TAIL_SUFFIX); \
131
2.80k
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_8x16_c
Line
Count
Source
127
1.92k
                                               HIGHBD_DECL_SUFFIX) \
128
1.92k
{ \
129
1.92k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.92k
                   HIGHBD_TAIL_SUFFIX); \
131
1.92k
}
itx_tmpl.c:inv_txfm_add_adst_identity_8x16_c
Line
Count
Source
127
2.84k
                                               HIGHBD_DECL_SUFFIX) \
128
2.84k
{ \
129
2.84k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.84k
                   HIGHBD_TAIL_SUFFIX); \
131
2.84k
}
itx_tmpl.c:inv_txfm_add_identity_adst_8x16_c
Line
Count
Source
127
1.75k
                                               HIGHBD_DECL_SUFFIX) \
128
1.75k
{ \
129
1.75k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.75k
                   HIGHBD_TAIL_SUFFIX); \
131
1.75k
}
itx_tmpl.c:inv_txfm_add_dct_dct_8x32_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_identity_identity_8x32_c
Line
Count
Source
127
3.57k
                                               HIGHBD_DECL_SUFFIX) \
128
3.57k
{ \
129
3.57k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.57k
                   HIGHBD_TAIL_SUFFIX); \
131
3.57k
}
itx_tmpl.c:inv_txfm_add_dct_dct_16x4_c
Line
Count
Source
127
22.6k
                                               HIGHBD_DECL_SUFFIX) \
128
22.6k
{ \
129
22.6k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
22.6k
                   HIGHBD_TAIL_SUFFIX); \
131
22.6k
}
itx_tmpl.c:inv_txfm_add_identity_identity_16x4_c
Line
Count
Source
127
11.7k
                                               HIGHBD_DECL_SUFFIX) \
128
11.7k
{ \
129
11.7k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
11.7k
                   HIGHBD_TAIL_SUFFIX); \
131
11.7k
}
itx_tmpl.c:inv_txfm_add_adst_dct_16x4_c
Line
Count
Source
127
16.3k
                                               HIGHBD_DECL_SUFFIX) \
128
16.3k
{ \
129
16.3k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
16.3k
                   HIGHBD_TAIL_SUFFIX); \
131
16.3k
}
itx_tmpl.c:inv_txfm_add_dct_adst_16x4_c
Line
Count
Source
127
13.3k
                                               HIGHBD_DECL_SUFFIX) \
128
13.3k
{ \
129
13.3k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
13.3k
                   HIGHBD_TAIL_SUFFIX); \
131
13.3k
}
itx_tmpl.c:inv_txfm_add_adst_adst_16x4_c
Line
Count
Source
127
20.0k
                                               HIGHBD_DECL_SUFFIX) \
128
20.0k
{ \
129
20.0k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
20.0k
                   HIGHBD_TAIL_SUFFIX); \
131
20.0k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_16x4_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_adst_flipadst_16x4_c
Line
Count
Source
127
2.99k
                                               HIGHBD_DECL_SUFFIX) \
128
2.99k
{ \
129
2.99k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.99k
                   HIGHBD_TAIL_SUFFIX); \
131
2.99k
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_16x4_c
Line
Count
Source
127
2.08k
                                               HIGHBD_DECL_SUFFIX) \
128
2.08k
{ \
129
2.08k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.08k
                   HIGHBD_TAIL_SUFFIX); \
131
2.08k
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_16x4_c
Line
Count
Source
127
2.14k
                                               HIGHBD_DECL_SUFFIX) \
128
2.14k
{ \
129
2.14k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.14k
                   HIGHBD_TAIL_SUFFIX); \
131
2.14k
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_16x4_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_dct_identity_16x4_c
Line
Count
Source
127
7.86k
                                               HIGHBD_DECL_SUFFIX) \
128
7.86k
{ \
129
7.86k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
7.86k
                   HIGHBD_TAIL_SUFFIX); \
131
7.86k
}
itx_tmpl.c:inv_txfm_add_identity_dct_16x4_c
Line
Count
Source
127
4.31k
                                               HIGHBD_DECL_SUFFIX) \
128
4.31k
{ \
129
4.31k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.31k
                   HIGHBD_TAIL_SUFFIX); \
131
4.31k
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_16x4_c
Line
Count
Source
127
3.77k
                                               HIGHBD_DECL_SUFFIX) \
128
3.77k
{ \
129
3.77k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.77k
                   HIGHBD_TAIL_SUFFIX); \
131
3.77k
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_16x4_c
Line
Count
Source
127
1.96k
                                               HIGHBD_DECL_SUFFIX) \
128
1.96k
{ \
129
1.96k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.96k
                   HIGHBD_TAIL_SUFFIX); \
131
1.96k
}
itx_tmpl.c:inv_txfm_add_adst_identity_16x4_c
Line
Count
Source
127
4.15k
                                               HIGHBD_DECL_SUFFIX) \
128
4.15k
{ \
129
4.15k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.15k
                   HIGHBD_TAIL_SUFFIX); \
131
4.15k
}
itx_tmpl.c:inv_txfm_add_identity_adst_16x4_c
Line
Count
Source
127
2.70k
                                               HIGHBD_DECL_SUFFIX) \
128
2.70k
{ \
129
2.70k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.70k
                   HIGHBD_TAIL_SUFFIX); \
131
2.70k
}
itx_tmpl.c:inv_txfm_add_dct_dct_16x8_c
Line
Count
Source
127
45.4k
                                               HIGHBD_DECL_SUFFIX) \
128
45.4k
{ \
129
45.4k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
45.4k
                   HIGHBD_TAIL_SUFFIX); \
131
45.4k
}
itx_tmpl.c:inv_txfm_add_identity_identity_16x8_c
Line
Count
Source
127
11.2k
                                               HIGHBD_DECL_SUFFIX) \
128
11.2k
{ \
129
11.2k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
11.2k
                   HIGHBD_TAIL_SUFFIX); \
131
11.2k
}
itx_tmpl.c:inv_txfm_add_adst_dct_16x8_c
Line
Count
Source
127
26.6k
                                               HIGHBD_DECL_SUFFIX) \
128
26.6k
{ \
129
26.6k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
26.6k
                   HIGHBD_TAIL_SUFFIX); \
131
26.6k
}
itx_tmpl.c:inv_txfm_add_dct_adst_16x8_c
Line
Count
Source
127
21.4k
                                               HIGHBD_DECL_SUFFIX) \
128
21.4k
{ \
129
21.4k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
21.4k
                   HIGHBD_TAIL_SUFFIX); \
131
21.4k
}
itx_tmpl.c:inv_txfm_add_adst_adst_16x8_c
Line
Count
Source
127
23.5k
                                               HIGHBD_DECL_SUFFIX) \
128
23.5k
{ \
129
23.5k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
23.5k
                   HIGHBD_TAIL_SUFFIX); \
131
23.5k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_16x8_c
Line
Count
Source
127
4.86k
                                               HIGHBD_DECL_SUFFIX) \
128
4.86k
{ \
129
4.86k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.86k
                   HIGHBD_TAIL_SUFFIX); \
131
4.86k
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_16x8_c
Line
Count
Source
127
4.59k
                                               HIGHBD_DECL_SUFFIX) \
128
4.59k
{ \
129
4.59k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.59k
                   HIGHBD_TAIL_SUFFIX); \
131
4.59k
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_16x8_c
Line
Count
Source
127
5.30k
                                               HIGHBD_DECL_SUFFIX) \
128
5.30k
{ \
129
5.30k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.30k
                   HIGHBD_TAIL_SUFFIX); \
131
5.30k
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_16x8_c
Line
Count
Source
127
4.80k
                                               HIGHBD_DECL_SUFFIX) \
128
4.80k
{ \
129
4.80k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.80k
                   HIGHBD_TAIL_SUFFIX); \
131
4.80k
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_16x8_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_identity_16x8_c
Line
Count
Source
127
9.72k
                                               HIGHBD_DECL_SUFFIX) \
128
9.72k
{ \
129
9.72k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
9.72k
                   HIGHBD_TAIL_SUFFIX); \
131
9.72k
}
itx_tmpl.c:inv_txfm_add_identity_dct_16x8_c
Line
Count
Source
127
5.15k
                                               HIGHBD_DECL_SUFFIX) \
128
5.15k
{ \
129
5.15k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.15k
                   HIGHBD_TAIL_SUFFIX); \
131
5.15k
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_16x8_c
Line
Count
Source
127
3.91k
                                               HIGHBD_DECL_SUFFIX) \
128
3.91k
{ \
129
3.91k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.91k
                   HIGHBD_TAIL_SUFFIX); \
131
3.91k
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_16x8_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_adst_identity_16x8_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_identity_adst_16x8_c
Line
Count
Source
127
2.34k
                                               HIGHBD_DECL_SUFFIX) \
128
2.34k
{ \
129
2.34k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.34k
                   HIGHBD_TAIL_SUFFIX); \
131
2.34k
}
itx_tmpl.c:inv_txfm_add_dct_dct_16x16_c
Line
Count
Source
127
99.6k
                                               HIGHBD_DECL_SUFFIX) \
128
99.6k
{ \
129
99.6k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
99.6k
                   HIGHBD_TAIL_SUFFIX); \
131
99.6k
}
itx_tmpl.c:inv_txfm_add_identity_identity_16x16_c
Line
Count
Source
127
9.84k
                                               HIGHBD_DECL_SUFFIX) \
128
9.84k
{ \
129
9.84k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
9.84k
                   HIGHBD_TAIL_SUFFIX); \
131
9.84k
}
itx_tmpl.c:inv_txfm_add_adst_dct_16x16_c
Line
Count
Source
127
67.9k
                                               HIGHBD_DECL_SUFFIX) \
128
67.9k
{ \
129
67.9k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
67.9k
                   HIGHBD_TAIL_SUFFIX); \
131
67.9k
}
itx_tmpl.c:inv_txfm_add_dct_adst_16x16_c
Line
Count
Source
127
58.5k
                                               HIGHBD_DECL_SUFFIX) \
128
58.5k
{ \
129
58.5k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
58.5k
                   HIGHBD_TAIL_SUFFIX); \
131
58.5k
}
itx_tmpl.c:inv_txfm_add_adst_adst_16x16_c
Line
Count
Source
127
72.7k
                                               HIGHBD_DECL_SUFFIX) \
128
72.7k
{ \
129
72.7k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
72.7k
                   HIGHBD_TAIL_SUFFIX); \
131
72.7k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_16x16_c
Line
Count
Source
127
4.10k
                                               HIGHBD_DECL_SUFFIX) \
128
4.10k
{ \
129
4.10k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.10k
                   HIGHBD_TAIL_SUFFIX); \
131
4.10k
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_16x16_c
Line
Count
Source
127
5.55k
                                               HIGHBD_DECL_SUFFIX) \
128
5.55k
{ \
129
5.55k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.55k
                   HIGHBD_TAIL_SUFFIX); \
131
5.55k
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_16x16_c
Line
Count
Source
127
5.10k
                                               HIGHBD_DECL_SUFFIX) \
128
5.10k
{ \
129
5.10k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.10k
                   HIGHBD_TAIL_SUFFIX); \
131
5.10k
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_16x16_c
Line
Count
Source
127
5.31k
                                               HIGHBD_DECL_SUFFIX) \
128
5.31k
{ \
129
5.31k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.31k
                   HIGHBD_TAIL_SUFFIX); \
131
5.31k
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_16x16_c
Line
Count
Source
127
4.86k
                                               HIGHBD_DECL_SUFFIX) \
128
4.86k
{ \
129
4.86k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.86k
                   HIGHBD_TAIL_SUFFIX); \
131
4.86k
}
itx_tmpl.c:inv_txfm_add_dct_identity_16x16_c
Line
Count
Source
127
5.83k
                                               HIGHBD_DECL_SUFFIX) \
128
5.83k
{ \
129
5.83k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.83k
                   HIGHBD_TAIL_SUFFIX); \
131
5.83k
}
itx_tmpl.c:inv_txfm_add_identity_dct_16x16_c
Line
Count
Source
127
3.44k
                                               HIGHBD_DECL_SUFFIX) \
128
3.44k
{ \
129
3.44k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.44k
                   HIGHBD_TAIL_SUFFIX); \
131
3.44k
}
itx_tmpl.c:inv_txfm_add_dct_dct_16x32_c
Line
Count
Source
127
62.1k
                                               HIGHBD_DECL_SUFFIX) \
128
62.1k
{ \
129
62.1k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
62.1k
                   HIGHBD_TAIL_SUFFIX); \
131
62.1k
}
itx_tmpl.c:inv_txfm_add_identity_identity_16x32_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_dct_16x64_c
Line
Count
Source
127
17.0k
                                               HIGHBD_DECL_SUFFIX) \
128
17.0k
{ \
129
17.0k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
17.0k
                   HIGHBD_TAIL_SUFFIX); \
131
17.0k
}
itx_tmpl.c:inv_txfm_add_dct_dct_32x8_c
Line
Count
Source
127
47.7k
                                               HIGHBD_DECL_SUFFIX) \
128
47.7k
{ \
129
47.7k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
47.7k
                   HIGHBD_TAIL_SUFFIX); \
131
47.7k
}
itx_tmpl.c:inv_txfm_add_identity_identity_32x8_c
Line
Count
Source
127
3.77k
                                               HIGHBD_DECL_SUFFIX) \
128
3.77k
{ \
129
3.77k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.77k
                   HIGHBD_TAIL_SUFFIX); \
131
3.77k
}
itx_tmpl.c:inv_txfm_add_dct_dct_32x16_c
Line
Count
Source
127
61.1k
                                               HIGHBD_DECL_SUFFIX) \
128
61.1k
{ \
129
61.1k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
61.1k
                   HIGHBD_TAIL_SUFFIX); \
131
61.1k
}
itx_tmpl.c:inv_txfm_add_identity_identity_32x16_c
Line
Count
Source
127
2.13k
                                               HIGHBD_DECL_SUFFIX) \
128
2.13k
{ \
129
2.13k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.13k
                   HIGHBD_TAIL_SUFFIX); \
131
2.13k
}
itx_tmpl.c:inv_txfm_add_dct_dct_32x32_c
Line
Count
Source
127
279k
                                               HIGHBD_DECL_SUFFIX) \
128
279k
{ \
129
279k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
279k
                   HIGHBD_TAIL_SUFFIX); \
131
279k
}
itx_tmpl.c:inv_txfm_add_identity_identity_32x32_c
Line
Count
Source
127
1.44k
                                               HIGHBD_DECL_SUFFIX) \
128
1.44k
{ \
129
1.44k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.44k
                   HIGHBD_TAIL_SUFFIX); \
131
1.44k
}
itx_tmpl.c:inv_txfm_add_dct_dct_32x64_c
Line
Count
Source
127
43.3k
                                               HIGHBD_DECL_SUFFIX) \
128
43.3k
{ \
129
43.3k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
43.3k
                   HIGHBD_TAIL_SUFFIX); \
131
43.3k
}
itx_tmpl.c:inv_txfm_add_dct_dct_64x16_c
Line
Count
Source
127
9.54k
                                               HIGHBD_DECL_SUFFIX) \
128
9.54k
{ \
129
9.54k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
9.54k
                   HIGHBD_TAIL_SUFFIX); \
131
9.54k
}
itx_tmpl.c:inv_txfm_add_dct_dct_64x32_c
Line
Count
Source
127
21.4k
                                               HIGHBD_DECL_SUFFIX) \
128
21.4k
{ \
129
21.4k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
21.4k
                   HIGHBD_TAIL_SUFFIX); \
131
21.4k
}
itx_tmpl.c:inv_txfm_add_dct_dct_64x64_c
Line
Count
Source
127
169k
                                               HIGHBD_DECL_SUFFIX) \
128
169k
{ \
129
169k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
169k
                   HIGHBD_TAIL_SUFFIX); \
131
169k
}
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
336k
{
188
336k
    int32_t tmp[4 * 4], *c = tmp;
189
1.68M
    for (int y = 0; y < 4; y++, c += 4) {
190
6.72M
        for (int x = 0; x < 4; x++)
191
5.38M
            c[x] = coeff[y + x * 4] >> 2;
192
1.34M
        dav1d_inv_wht4_1d_c(c, 1);
193
1.34M
    }
194
336k
    memset(coeff, 0, sizeof(*coeff) * 4 * 4);
195
196
1.68M
    for (int x = 0; x < 4; x++)
197
1.34M
        dav1d_inv_wht4_1d_c(&tmp[x], 4);
198
199
336k
    c = tmp;
200
1.68M
    for (int y = 0; y < 4; y++, dst += PXSTRIDE(stride))
201
6.72M
        for (int x = 0; x < 4; x++)
202
5.38M
            dst[x] = iclip_pixel(dst[x] + *c++);
203
336k
}
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
74.6k
COLD void bitfn(dav1d_itx_dsp_init)(Dav1dInvTxfmDSPContext *const c, int bpc) {
221
74.6k
#define assign_itx_all_fn64(w, h, pfx) \
222
1.41M
    c->itxfm_add[pfx##TX_##w##X##h][DCT_DCT  ] = \
223
1.41M
        inv_txfm_add_dct_dct_##w##x##h##_c
224
225
74.6k
#define assign_itx_all_fn32(w, h, pfx) \
226
1.04M
    assign_itx_all_fn64(w, h, pfx); \
227
1.04M
    c->itxfm_add[pfx##TX_##w##X##h][IDTX] = \
228
1.04M
        inv_txfm_add_identity_identity_##w##x##h##_c
229
230
74.6k
#define assign_itx_all_fn16(w, h, pfx) \
231
671k
    assign_itx_all_fn32(w, h, pfx); \
232
671k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_ADST ] = \
233
671k
        inv_txfm_add_adst_dct_##w##x##h##_c; \
234
671k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_DCT ] = \
235
671k
        inv_txfm_add_dct_adst_##w##x##h##_c; \
236
671k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_ADST] = \
237
671k
        inv_txfm_add_adst_adst_##w##x##h##_c; \
238
671k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_FLIPADST] = \
239
671k
        inv_txfm_add_flipadst_adst_##w##x##h##_c; \
240
671k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_ADST] = \
241
671k
        inv_txfm_add_adst_flipadst_##w##x##h##_c; \
242
671k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_FLIPADST] = \
243
671k
        inv_txfm_add_flipadst_dct_##w##x##h##_c; \
244
671k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_DCT] = \
245
671k
        inv_txfm_add_dct_flipadst_##w##x##h##_c; \
246
671k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_FLIPADST] = \
247
671k
        inv_txfm_add_flipadst_flipadst_##w##x##h##_c; \
248
671k
    c->itxfm_add[pfx##TX_##w##X##h][H_DCT] = \
249
671k
        inv_txfm_add_dct_identity_##w##x##h##_c; \
250
671k
    c->itxfm_add[pfx##TX_##w##X##h][V_DCT] = \
251
671k
        inv_txfm_add_identity_dct_##w##x##h##_c
252
253
74.6k
#define assign_itx_all_fn84(w, h, pfx) \
254
596k
    assign_itx_all_fn16(w, h, pfx); \
255
596k
    c->itxfm_add[pfx##TX_##w##X##h][H_FLIPADST] = \
256
596k
        inv_txfm_add_flipadst_identity_##w##x##h##_c; \
257
596k
    c->itxfm_add[pfx##TX_##w##X##h][V_FLIPADST] = \
258
596k
        inv_txfm_add_identity_flipadst_##w##x##h##_c; \
259
596k
    c->itxfm_add[pfx##TX_##w##X##h][H_ADST] = \
260
596k
        inv_txfm_add_adst_identity_##w##x##h##_c; \
261
596k
    c->itxfm_add[pfx##TX_##w##X##h][V_ADST] = \
262
596k
        inv_txfm_add_identity_adst_##w##x##h##_c; \
263
74.6k
264
74.6k
#if !(HAVE_ASM && TRIM_DSP_FUNCTIONS && ( \
265
74.6k
  ARCH_AARCH64 || \
266
74.6k
  (ARCH_ARM && (defined(__ARM_NEON) || defined(__APPLE__) || defined(_WIN32))) \
267
74.6k
))
268
74.6k
    c->itxfm_add[TX_4X4][WHT_WHT] = inv_txfm_add_wht_wht_4x4_c;
269
74.6k
#endif
270
74.6k
    assign_itx_all_fn84( 4,  4, );
271
74.6k
    assign_itx_all_fn84( 4,  8, R);
272
74.6k
    assign_itx_all_fn84( 4, 16, R);
273
74.6k
    assign_itx_all_fn84( 8,  4, R);
274
74.6k
    assign_itx_all_fn84( 8,  8, );
275
74.6k
    assign_itx_all_fn84( 8, 16, R);
276
74.6k
    assign_itx_all_fn32( 8, 32, R);
277
74.6k
    assign_itx_all_fn84(16,  4, R);
278
74.6k
    assign_itx_all_fn84(16,  8, R);
279
74.6k
    assign_itx_all_fn16(16, 16, );
280
74.6k
    assign_itx_all_fn32(16, 32, R);
281
74.6k
    assign_itx_all_fn64(16, 64, R);
282
74.6k
    assign_itx_all_fn32(32,  8, R);
283
74.6k
    assign_itx_all_fn32(32, 16, R);
284
74.6k
    assign_itx_all_fn32(32, 32, );
285
74.6k
    assign_itx_all_fn64(32, 64, R);
286
74.6k
    assign_itx_all_fn64(64, 16, R);
287
74.6k
    assign_itx_all_fn64(64, 32, R);
288
74.6k
    assign_itx_all_fn64(64, 64, );
289
290
74.6k
    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
74.6k
    if (!all_simd)
310
74.6k
        dav1d_init_last_nonzero_col_from_eob_tables();
311
74.6k
}
dav1d_itx_dsp_init_8bpc
Line
Count
Source
220
34.0k
COLD void bitfn(dav1d_itx_dsp_init)(Dav1dInvTxfmDSPContext *const c, int bpc) {
221
34.0k
#define assign_itx_all_fn64(w, h, pfx) \
222
34.0k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_DCT  ] = \
223
34.0k
        inv_txfm_add_dct_dct_##w##x##h##_c
224
225
34.0k
#define assign_itx_all_fn32(w, h, pfx) \
226
34.0k
    assign_itx_all_fn64(w, h, pfx); \
227
34.0k
    c->itxfm_add[pfx##TX_##w##X##h][IDTX] = \
228
34.0k
        inv_txfm_add_identity_identity_##w##x##h##_c
229
230
34.0k
#define assign_itx_all_fn16(w, h, pfx) \
231
34.0k
    assign_itx_all_fn32(w, h, pfx); \
232
34.0k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_ADST ] = \
233
34.0k
        inv_txfm_add_adst_dct_##w##x##h##_c; \
234
34.0k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_DCT ] = \
235
34.0k
        inv_txfm_add_dct_adst_##w##x##h##_c; \
236
34.0k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_ADST] = \
237
34.0k
        inv_txfm_add_adst_adst_##w##x##h##_c; \
238
34.0k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_FLIPADST] = \
239
34.0k
        inv_txfm_add_flipadst_adst_##w##x##h##_c; \
240
34.0k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_ADST] = \
241
34.0k
        inv_txfm_add_adst_flipadst_##w##x##h##_c; \
242
34.0k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_FLIPADST] = \
243
34.0k
        inv_txfm_add_flipadst_dct_##w##x##h##_c; \
244
34.0k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_DCT] = \
245
34.0k
        inv_txfm_add_dct_flipadst_##w##x##h##_c; \
246
34.0k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_FLIPADST] = \
247
34.0k
        inv_txfm_add_flipadst_flipadst_##w##x##h##_c; \
248
34.0k
    c->itxfm_add[pfx##TX_##w##X##h][H_DCT] = \
249
34.0k
        inv_txfm_add_dct_identity_##w##x##h##_c; \
250
34.0k
    c->itxfm_add[pfx##TX_##w##X##h][V_DCT] = \
251
34.0k
        inv_txfm_add_identity_dct_##w##x##h##_c
252
253
34.0k
#define assign_itx_all_fn84(w, h, pfx) \
254
34.0k
    assign_itx_all_fn16(w, h, pfx); \
255
34.0k
    c->itxfm_add[pfx##TX_##w##X##h][H_FLIPADST] = \
256
34.0k
        inv_txfm_add_flipadst_identity_##w##x##h##_c; \
257
34.0k
    c->itxfm_add[pfx##TX_##w##X##h][V_FLIPADST] = \
258
34.0k
        inv_txfm_add_identity_flipadst_##w##x##h##_c; \
259
34.0k
    c->itxfm_add[pfx##TX_##w##X##h][H_ADST] = \
260
34.0k
        inv_txfm_add_adst_identity_##w##x##h##_c; \
261
34.0k
    c->itxfm_add[pfx##TX_##w##X##h][V_ADST] = \
262
34.0k
        inv_txfm_add_identity_adst_##w##x##h##_c; \
263
34.0k
264
34.0k
#if !(HAVE_ASM && TRIM_DSP_FUNCTIONS && ( \
265
34.0k
  ARCH_AARCH64 || \
266
34.0k
  (ARCH_ARM && (defined(__ARM_NEON) || defined(__APPLE__) || defined(_WIN32))) \
267
34.0k
))
268
34.0k
    c->itxfm_add[TX_4X4][WHT_WHT] = inv_txfm_add_wht_wht_4x4_c;
269
34.0k
#endif
270
34.0k
    assign_itx_all_fn84( 4,  4, );
271
34.0k
    assign_itx_all_fn84( 4,  8, R);
272
34.0k
    assign_itx_all_fn84( 4, 16, R);
273
34.0k
    assign_itx_all_fn84( 8,  4, R);
274
34.0k
    assign_itx_all_fn84( 8,  8, );
275
34.0k
    assign_itx_all_fn84( 8, 16, R);
276
34.0k
    assign_itx_all_fn32( 8, 32, R);
277
34.0k
    assign_itx_all_fn84(16,  4, R);
278
34.0k
    assign_itx_all_fn84(16,  8, R);
279
34.0k
    assign_itx_all_fn16(16, 16, );
280
34.0k
    assign_itx_all_fn32(16, 32, R);
281
34.0k
    assign_itx_all_fn64(16, 64, R);
282
34.0k
    assign_itx_all_fn32(32,  8, R);
283
34.0k
    assign_itx_all_fn32(32, 16, R);
284
34.0k
    assign_itx_all_fn32(32, 32, );
285
34.0k
    assign_itx_all_fn64(32, 64, R);
286
34.0k
    assign_itx_all_fn64(64, 16, R);
287
34.0k
    assign_itx_all_fn64(64, 32, R);
288
34.0k
    assign_itx_all_fn64(64, 64, );
289
290
34.0k
    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
34.0k
    if (!all_simd)
310
34.0k
        dav1d_init_last_nonzero_col_from_eob_tables();
311
34.0k
}
dav1d_itx_dsp_init_16bpc
Line
Count
Source
220
40.5k
COLD void bitfn(dav1d_itx_dsp_init)(Dav1dInvTxfmDSPContext *const c, int bpc) {
221
40.5k
#define assign_itx_all_fn64(w, h, pfx) \
222
40.5k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_DCT  ] = \
223
40.5k
        inv_txfm_add_dct_dct_##w##x##h##_c
224
225
40.5k
#define assign_itx_all_fn32(w, h, pfx) \
226
40.5k
    assign_itx_all_fn64(w, h, pfx); \
227
40.5k
    c->itxfm_add[pfx##TX_##w##X##h][IDTX] = \
228
40.5k
        inv_txfm_add_identity_identity_##w##x##h##_c
229
230
40.5k
#define assign_itx_all_fn16(w, h, pfx) \
231
40.5k
    assign_itx_all_fn32(w, h, pfx); \
232
40.5k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_ADST ] = \
233
40.5k
        inv_txfm_add_adst_dct_##w##x##h##_c; \
234
40.5k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_DCT ] = \
235
40.5k
        inv_txfm_add_dct_adst_##w##x##h##_c; \
236
40.5k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_ADST] = \
237
40.5k
        inv_txfm_add_adst_adst_##w##x##h##_c; \
238
40.5k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_FLIPADST] = \
239
40.5k
        inv_txfm_add_flipadst_adst_##w##x##h##_c; \
240
40.5k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_ADST] = \
241
40.5k
        inv_txfm_add_adst_flipadst_##w##x##h##_c; \
242
40.5k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_FLIPADST] = \
243
40.5k
        inv_txfm_add_flipadst_dct_##w##x##h##_c; \
244
40.5k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_DCT] = \
245
40.5k
        inv_txfm_add_dct_flipadst_##w##x##h##_c; \
246
40.5k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_FLIPADST] = \
247
40.5k
        inv_txfm_add_flipadst_flipadst_##w##x##h##_c; \
248
40.5k
    c->itxfm_add[pfx##TX_##w##X##h][H_DCT] = \
249
40.5k
        inv_txfm_add_dct_identity_##w##x##h##_c; \
250
40.5k
    c->itxfm_add[pfx##TX_##w##X##h][V_DCT] = \
251
40.5k
        inv_txfm_add_identity_dct_##w##x##h##_c
252
253
40.5k
#define assign_itx_all_fn84(w, h, pfx) \
254
40.5k
    assign_itx_all_fn16(w, h, pfx); \
255
40.5k
    c->itxfm_add[pfx##TX_##w##X##h][H_FLIPADST] = \
256
40.5k
        inv_txfm_add_flipadst_identity_##w##x##h##_c; \
257
40.5k
    c->itxfm_add[pfx##TX_##w##X##h][V_FLIPADST] = \
258
40.5k
        inv_txfm_add_identity_flipadst_##w##x##h##_c; \
259
40.5k
    c->itxfm_add[pfx##TX_##w##X##h][H_ADST] = \
260
40.5k
        inv_txfm_add_adst_identity_##w##x##h##_c; \
261
40.5k
    c->itxfm_add[pfx##TX_##w##X##h][V_ADST] = \
262
40.5k
        inv_txfm_add_identity_adst_##w##x##h##_c; \
263
40.5k
264
40.5k
#if !(HAVE_ASM && TRIM_DSP_FUNCTIONS && ( \
265
40.5k
  ARCH_AARCH64 || \
266
40.5k
  (ARCH_ARM && (defined(__ARM_NEON) || defined(__APPLE__) || defined(_WIN32))) \
267
40.5k
))
268
40.5k
    c->itxfm_add[TX_4X4][WHT_WHT] = inv_txfm_add_wht_wht_4x4_c;
269
40.5k
#endif
270
40.5k
    assign_itx_all_fn84( 4,  4, );
271
40.5k
    assign_itx_all_fn84( 4,  8, R);
272
40.5k
    assign_itx_all_fn84( 4, 16, R);
273
40.5k
    assign_itx_all_fn84( 8,  4, R);
274
40.5k
    assign_itx_all_fn84( 8,  8, );
275
40.5k
    assign_itx_all_fn84( 8, 16, R);
276
40.5k
    assign_itx_all_fn32( 8, 32, R);
277
40.5k
    assign_itx_all_fn84(16,  4, R);
278
40.5k
    assign_itx_all_fn84(16,  8, R);
279
40.5k
    assign_itx_all_fn16(16, 16, );
280
40.5k
    assign_itx_all_fn32(16, 32, R);
281
40.5k
    assign_itx_all_fn64(16, 64, R);
282
40.5k
    assign_itx_all_fn32(32,  8, R);
283
40.5k
    assign_itx_all_fn32(32, 16, R);
284
40.5k
    assign_itx_all_fn32(32, 32, );
285
40.5k
    assign_itx_all_fn64(32, 64, R);
286
40.5k
    assign_itx_all_fn64(64, 16, R);
287
40.5k
    assign_itx_all_fn64(64, 32, R);
288
40.5k
    assign_itx_all_fn64(64, 64, );
289
290
40.5k
    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.5k
    if (!all_simd)
310
40.5k
        dav1d_init_last_nonzero_col_from_eob_tables();
311
40.5k
}