Coverage Report

Created: 2026-12-01 06:52

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
3.97M
{
48
3.97M
    const TxfmInfo *const t_dim = &dav1d_txfm_dimensions[tx];
49
3.97M
    const int w = 4 * t_dim->w, h = 4 * t_dim->h;
50
3.97M
    const int has_dconly = txtp == DCT_DCT;
51
3.97M
    assert(w >= 4 && w <= 64);
52
3.97M
    assert(h >= 4 && h <= 64);
53
3.97M
    assert(eob >= 0);
54
55
3.97M
    const int is_rect2 = w * 2 == h || h * 2 == w;
56
3.97M
    const int rnd = (1 << shift) >> 1;
57
58
3.97M
    if (eob < has_dconly) {
59
864k
        int dc = coeff[0];
60
864k
        coeff[0] = 0;
61
864k
        if (is_rect2)
62
265k
            dc = (dc * 181 + 128) >> 8;
63
864k
        dc = (dc * 181 + 128) >> 8;
64
864k
        dc = (dc + rnd) >> shift;
65
864k
        dc = (dc * 181 + 128 + 2048) >> 12;
66
26.3M
        for (int y = 0; y < h; y++, dst += PXSTRIDE(stride))
67
965M
            for (int x = 0; x < w; x++)
68
940M
                dst[x] = iclip_pixel(dst[x] + dc);
69
864k
        return;
70
864k
    }
71
72
3.10M
    const uint8_t *const txtps = dav1d_tx1d_types[txtp];
73
3.10M
    const itx_1d_fn first_1d_fn = dav1d_tx1d_fns[t_dim->lw][txtps[0]];
74
3.10M
    const itx_1d_fn second_1d_fn = dav1d_tx1d_fns[t_dim->lh][txtps[1]];
75
3.10M
    const int sh = imin(h, 32), sw = imin(w, 32);
76
3.10M
#if BITDEPTH == 8
77
3.10M
    const int row_clip_min = INT16_MIN;
78
3.10M
    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
3.10M
    const int row_clip_max = ~row_clip_min;
84
3.10M
    const int col_clip_max = ~col_clip_min;
85
86
3.10M
    int32_t tmp[64 * 64], *c = tmp;
87
3.10M
    int last_nonzero_col; // in first 1d itx
88
3.10M
    if (txtps[1] == IDENTITY && txtps[0] != IDENTITY) {
89
257k
        last_nonzero_col = imin(sh - 1, eob);
90
2.85M
    } else if (txtps[0] == IDENTITY && txtps[1] != IDENTITY) {
91
136k
        last_nonzero_col = eob >> (t_dim->lw + 2);
92
2.71M
    } else {
93
2.71M
        last_nonzero_col = dav1d_last_nonzero_col_from_eob[tx][eob];
94
2.71M
    }
95
3.10M
    assert(last_nonzero_col < sh);
96
18.3M
    for (int y = 0; y <= last_nonzero_col; y++, c += w) {
97
15.2M
        if (is_rect2)
98
88.5M
            for (int x = 0; x < sw; x++)
99
82.6M
                c[x] = (coeff[y + x * sh] * 181 + 128) >> 8;
100
9.34M
        else
101
150M
            for (int x = 0; x < sw; x++)
102
140M
                c[x] = coeff[y + x * sh];
103
15.2M
        first_1d_fn(c, 1, row_clip_min, row_clip_max);
104
15.2M
    }
105
3.10M
    if (last_nonzero_col + 1 < sh)
106
2.37M
        memset(c, 0, sizeof(*c) * (sh - last_nonzero_col - 1) * w);
107
108
3.10M
    memset(coeff, 0, sizeof(*coeff) * sw * sh);
109
736M
    for (int i = 0; i < w * sh; i++)
110
733M
        tmp[i] = iclip((tmp[i] + rnd) >> shift, col_clip_min, col_clip_max);
111
112
45.4M
    for (int x = 0; x < w; x++)
113
42.3M
        second_1d_fn(&tmp[x], w, col_clip_min, col_clip_max);
114
115
3.10M
    c = tmp;
116
45.4M
    for (int y = 0; y < h; y++, dst += PXSTRIDE(stride))
117
966M
        for (int x = 0; x < w; x++)
118
924M
            dst[x] = iclip_pixel(dst[x] + ((*c++ + 8) >> 4));
119
3.10M
}
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
3.97M
                                               HIGHBD_DECL_SUFFIX) \
128
3.97M
{ \
129
3.97M
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.97M
                   HIGHBD_TAIL_SUFFIX); \
131
3.97M
}
itx_tmpl.c:inv_txfm_add_dct_dct_4x4_c
Line
Count
Source
127
96.3k
                                               HIGHBD_DECL_SUFFIX) \
128
96.3k
{ \
129
96.3k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
96.3k
                   HIGHBD_TAIL_SUFFIX); \
131
96.3k
}
itx_tmpl.c:inv_txfm_add_identity_identity_4x4_c
Line
Count
Source
127
40.8k
                                               HIGHBD_DECL_SUFFIX) \
128
40.8k
{ \
129
40.8k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
40.8k
                   HIGHBD_TAIL_SUFFIX); \
131
40.8k
}
itx_tmpl.c:inv_txfm_add_adst_dct_4x4_c
Line
Count
Source
127
60.0k
                                               HIGHBD_DECL_SUFFIX) \
128
60.0k
{ \
129
60.0k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
60.0k
                   HIGHBD_TAIL_SUFFIX); \
131
60.0k
}
itx_tmpl.c:inv_txfm_add_dct_adst_4x4_c
Line
Count
Source
127
48.3k
                                               HIGHBD_DECL_SUFFIX) \
128
48.3k
{ \
129
48.3k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
48.3k
                   HIGHBD_TAIL_SUFFIX); \
131
48.3k
}
itx_tmpl.c:inv_txfm_add_adst_adst_4x4_c
Line
Count
Source
127
69.3k
                                               HIGHBD_DECL_SUFFIX) \
128
69.3k
{ \
129
69.3k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
69.3k
                   HIGHBD_TAIL_SUFFIX); \
131
69.3k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_4x4_c
Line
Count
Source
127
6.09k
                                               HIGHBD_DECL_SUFFIX) \
128
6.09k
{ \
129
6.09k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
6.09k
                   HIGHBD_TAIL_SUFFIX); \
131
6.09k
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_4x4_c
Line
Count
Source
127
8.24k
                                               HIGHBD_DECL_SUFFIX) \
128
8.24k
{ \
129
8.24k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
8.24k
                   HIGHBD_TAIL_SUFFIX); \
131
8.24k
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_4x4_c
Line
Count
Source
127
6.57k
                                               HIGHBD_DECL_SUFFIX) \
128
6.57k
{ \
129
6.57k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
6.57k
                   HIGHBD_TAIL_SUFFIX); \
131
6.57k
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_4x4_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_flipadst_4x4_c
Line
Count
Source
127
5.59k
                                               HIGHBD_DECL_SUFFIX) \
128
5.59k
{ \
129
5.59k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.59k
                   HIGHBD_TAIL_SUFFIX); \
131
5.59k
}
itx_tmpl.c:inv_txfm_add_dct_identity_4x4_c
Line
Count
Source
127
23.7k
                                               HIGHBD_DECL_SUFFIX) \
128
23.7k
{ \
129
23.7k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
23.7k
                   HIGHBD_TAIL_SUFFIX); \
131
23.7k
}
itx_tmpl.c:inv_txfm_add_identity_dct_4x4_c
Line
Count
Source
127
12.1k
                                               HIGHBD_DECL_SUFFIX) \
128
12.1k
{ \
129
12.1k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
12.1k
                   HIGHBD_TAIL_SUFFIX); \
131
12.1k
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_4x4_c
Line
Count
Source
127
10.0k
                                               HIGHBD_DECL_SUFFIX) \
128
10.0k
{ \
129
10.0k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
10.0k
                   HIGHBD_TAIL_SUFFIX); \
131
10.0k
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_4x4_c
Line
Count
Source
127
5.85k
                                               HIGHBD_DECL_SUFFIX) \
128
5.85k
{ \
129
5.85k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.85k
                   HIGHBD_TAIL_SUFFIX); \
131
5.85k
}
itx_tmpl.c:inv_txfm_add_adst_identity_4x4_c
Line
Count
Source
127
11.9k
                                               HIGHBD_DECL_SUFFIX) \
128
11.9k
{ \
129
11.9k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
11.9k
                   HIGHBD_TAIL_SUFFIX); \
131
11.9k
}
itx_tmpl.c:inv_txfm_add_identity_adst_4x4_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_dct_4x8_c
Line
Count
Source
127
48.2k
                                               HIGHBD_DECL_SUFFIX) \
128
48.2k
{ \
129
48.2k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
48.2k
                   HIGHBD_TAIL_SUFFIX); \
131
48.2k
}
itx_tmpl.c:inv_txfm_add_identity_identity_4x8_c
Line
Count
Source
127
21.1k
                                               HIGHBD_DECL_SUFFIX) \
128
21.1k
{ \
129
21.1k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
21.1k
                   HIGHBD_TAIL_SUFFIX); \
131
21.1k
}
itx_tmpl.c:inv_txfm_add_adst_dct_4x8_c
Line
Count
Source
127
28.3k
                                               HIGHBD_DECL_SUFFIX) \
128
28.3k
{ \
129
28.3k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
28.3k
                   HIGHBD_TAIL_SUFFIX); \
131
28.3k
}
itx_tmpl.c:inv_txfm_add_dct_adst_4x8_c
Line
Count
Source
127
24.9k
                                               HIGHBD_DECL_SUFFIX) \
128
24.9k
{ \
129
24.9k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
24.9k
                   HIGHBD_TAIL_SUFFIX); \
131
24.9k
}
itx_tmpl.c:inv_txfm_add_adst_adst_4x8_c
Line
Count
Source
127
36.8k
                                               HIGHBD_DECL_SUFFIX) \
128
36.8k
{ \
129
36.8k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
36.8k
                   HIGHBD_TAIL_SUFFIX); \
131
36.8k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_4x8_c
Line
Count
Source
127
3.82k
                                               HIGHBD_DECL_SUFFIX) \
128
3.82k
{ \
129
3.82k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.82k
                   HIGHBD_TAIL_SUFFIX); \
131
3.82k
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_4x8_c
Line
Count
Source
127
5.88k
                                               HIGHBD_DECL_SUFFIX) \
128
5.88k
{ \
129
5.88k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.88k
                   HIGHBD_TAIL_SUFFIX); \
131
5.88k
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_4x8_c
Line
Count
Source
127
4.03k
                                               HIGHBD_DECL_SUFFIX) \
128
4.03k
{ \
129
4.03k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.03k
                   HIGHBD_TAIL_SUFFIX); \
131
4.03k
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_4x8_c
Line
Count
Source
127
3.11k
                                               HIGHBD_DECL_SUFFIX) \
128
3.11k
{ \
129
3.11k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.11k
                   HIGHBD_TAIL_SUFFIX); \
131
3.11k
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_4x8_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_dct_identity_4x8_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_identity_dct_4x8_c
Line
Count
Source
127
6.11k
                                               HIGHBD_DECL_SUFFIX) \
128
6.11k
{ \
129
6.11k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
6.11k
                   HIGHBD_TAIL_SUFFIX); \
131
6.11k
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_4x8_c
Line
Count
Source
127
6.39k
                                               HIGHBD_DECL_SUFFIX) \
128
6.39k
{ \
129
6.39k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
6.39k
                   HIGHBD_TAIL_SUFFIX); \
131
6.39k
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_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_adst_identity_4x8_c
Line
Count
Source
127
7.29k
                                               HIGHBD_DECL_SUFFIX) \
128
7.29k
{ \
129
7.29k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
7.29k
                   HIGHBD_TAIL_SUFFIX); \
131
7.29k
}
itx_tmpl.c:inv_txfm_add_identity_adst_4x8_c
Line
Count
Source
127
3.83k
                                               HIGHBD_DECL_SUFFIX) \
128
3.83k
{ \
129
3.83k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.83k
                   HIGHBD_TAIL_SUFFIX); \
131
3.83k
}
itx_tmpl.c:inv_txfm_add_dct_dct_4x16_c
Line
Count
Source
127
21.0k
                                               HIGHBD_DECL_SUFFIX) \
128
21.0k
{ \
129
21.0k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
21.0k
                   HIGHBD_TAIL_SUFFIX); \
131
21.0k
}
itx_tmpl.c:inv_txfm_add_identity_identity_4x16_c
Line
Count
Source
127
10.3k
                                               HIGHBD_DECL_SUFFIX) \
128
10.3k
{ \
129
10.3k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
10.3k
                   HIGHBD_TAIL_SUFFIX); \
131
10.3k
}
itx_tmpl.c:inv_txfm_add_adst_dct_4x16_c
Line
Count
Source
127
11.9k
                                               HIGHBD_DECL_SUFFIX) \
128
11.9k
{ \
129
11.9k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
11.9k
                   HIGHBD_TAIL_SUFFIX); \
131
11.9k
}
itx_tmpl.c:inv_txfm_add_dct_adst_4x16_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_adst_adst_4x16_c
Line
Count
Source
127
15.5k
                                               HIGHBD_DECL_SUFFIX) \
128
15.5k
{ \
129
15.5k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
15.5k
                   HIGHBD_TAIL_SUFFIX); \
131
15.5k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_4x16_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_adst_flipadst_4x16_c
Line
Count
Source
127
3.24k
                                               HIGHBD_DECL_SUFFIX) \
128
3.24k
{ \
129
3.24k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.24k
                   HIGHBD_TAIL_SUFFIX); \
131
3.24k
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_4x16_c
Line
Count
Source
127
1.41k
                                               HIGHBD_DECL_SUFFIX) \
128
1.41k
{ \
129
1.41k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.41k
                   HIGHBD_TAIL_SUFFIX); \
131
1.41k
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_4x16_c
Line
Count
Source
127
1.30k
                                               HIGHBD_DECL_SUFFIX) \
128
1.30k
{ \
129
1.30k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.30k
                   HIGHBD_TAIL_SUFFIX); \
131
1.30k
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_4x16_c
Line
Count
Source
127
1.59k
                                               HIGHBD_DECL_SUFFIX) \
128
1.59k
{ \
129
1.59k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.59k
                   HIGHBD_TAIL_SUFFIX); \
131
1.59k
}
itx_tmpl.c:inv_txfm_add_dct_identity_4x16_c
Line
Count
Source
127
6.30k
                                               HIGHBD_DECL_SUFFIX) \
128
6.30k
{ \
129
6.30k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
6.30k
                   HIGHBD_TAIL_SUFFIX); \
131
6.30k
}
itx_tmpl.c:inv_txfm_add_identity_dct_4x16_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_flipadst_identity_4x16_c
Line
Count
Source
127
3.01k
                                               HIGHBD_DECL_SUFFIX) \
128
3.01k
{ \
129
3.01k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.01k
                   HIGHBD_TAIL_SUFFIX); \
131
3.01k
}
itx_tmpl.c:inv_txfm_add_identity_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_adst_identity_4x16_c
Line
Count
Source
127
3.70k
                                               HIGHBD_DECL_SUFFIX) \
128
3.70k
{ \
129
3.70k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.70k
                   HIGHBD_TAIL_SUFFIX); \
131
3.70k
}
itx_tmpl.c:inv_txfm_add_identity_adst_4x16_c
Line
Count
Source
127
2.16k
                                               HIGHBD_DECL_SUFFIX) \
128
2.16k
{ \
129
2.16k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.16k
                   HIGHBD_TAIL_SUFFIX); \
131
2.16k
}
itx_tmpl.c:inv_txfm_add_dct_dct_8x4_c
Line
Count
Source
127
56.2k
                                               HIGHBD_DECL_SUFFIX) \
128
56.2k
{ \
129
56.2k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
56.2k
                   HIGHBD_TAIL_SUFFIX); \
131
56.2k
}
itx_tmpl.c:inv_txfm_add_identity_identity_8x4_c
Line
Count
Source
127
28.2k
                                               HIGHBD_DECL_SUFFIX) \
128
28.2k
{ \
129
28.2k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
28.2k
                   HIGHBD_TAIL_SUFFIX); \
131
28.2k
}
itx_tmpl.c:inv_txfm_add_adst_dct_8x4_c
Line
Count
Source
127
34.4k
                                               HIGHBD_DECL_SUFFIX) \
128
34.4k
{ \
129
34.4k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
34.4k
                   HIGHBD_TAIL_SUFFIX); \
131
34.4k
}
itx_tmpl.c:inv_txfm_add_dct_adst_8x4_c
Line
Count
Source
127
29.0k
                                               HIGHBD_DECL_SUFFIX) \
128
29.0k
{ \
129
29.0k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
29.0k
                   HIGHBD_TAIL_SUFFIX); \
131
29.0k
}
itx_tmpl.c:inv_txfm_add_adst_adst_8x4_c
Line
Count
Source
127
43.8k
                                               HIGHBD_DECL_SUFFIX) \
128
43.8k
{ \
129
43.8k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
43.8k
                   HIGHBD_TAIL_SUFFIX); \
131
43.8k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_8x4_c
Line
Count
Source
127
5.72k
                                               HIGHBD_DECL_SUFFIX) \
128
5.72k
{ \
129
5.72k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.72k
                   HIGHBD_TAIL_SUFFIX); \
131
5.72k
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_8x4_c
Line
Count
Source
127
8.32k
                                               HIGHBD_DECL_SUFFIX) \
128
8.32k
{ \
129
8.32k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
8.32k
                   HIGHBD_TAIL_SUFFIX); \
131
8.32k
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_8x4_c
Line
Count
Source
127
6.18k
                                               HIGHBD_DECL_SUFFIX) \
128
6.18k
{ \
129
6.18k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
6.18k
                   HIGHBD_TAIL_SUFFIX); \
131
6.18k
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_8x4_c
Line
Count
Source
127
4.13k
                                               HIGHBD_DECL_SUFFIX) \
128
4.13k
{ \
129
4.13k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.13k
                   HIGHBD_TAIL_SUFFIX); \
131
4.13k
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_8x4_c
Line
Count
Source
127
4.67k
                                               HIGHBD_DECL_SUFFIX) \
128
4.67k
{ \
129
4.67k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.67k
                   HIGHBD_TAIL_SUFFIX); \
131
4.67k
}
itx_tmpl.c:inv_txfm_add_dct_identity_8x4_c
Line
Count
Source
127
17.3k
                                               HIGHBD_DECL_SUFFIX) \
128
17.3k
{ \
129
17.3k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
17.3k
                   HIGHBD_TAIL_SUFFIX); \
131
17.3k
}
itx_tmpl.c:inv_txfm_add_identity_dct_8x4_c
Line
Count
Source
127
7.82k
                                               HIGHBD_DECL_SUFFIX) \
128
7.82k
{ \
129
7.82k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
7.82k
                   HIGHBD_TAIL_SUFFIX); \
131
7.82k
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_8x4_c
Line
Count
Source
127
10.3k
                                               HIGHBD_DECL_SUFFIX) \
128
10.3k
{ \
129
10.3k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
10.3k
                   HIGHBD_TAIL_SUFFIX); \
131
10.3k
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_8x4_c
Line
Count
Source
127
4.87k
                                               HIGHBD_DECL_SUFFIX) \
128
4.87k
{ \
129
4.87k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.87k
                   HIGHBD_TAIL_SUFFIX); \
131
4.87k
}
itx_tmpl.c:inv_txfm_add_adst_identity_8x4_c
Line
Count
Source
127
10.4k
                                               HIGHBD_DECL_SUFFIX) \
128
10.4k
{ \
129
10.4k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
10.4k
                   HIGHBD_TAIL_SUFFIX); \
131
10.4k
}
itx_tmpl.c:inv_txfm_add_identity_adst_8x4_c
Line
Count
Source
127
5.32k
                                               HIGHBD_DECL_SUFFIX) \
128
5.32k
{ \
129
5.32k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.32k
                   HIGHBD_TAIL_SUFFIX); \
131
5.32k
}
itx_tmpl.c:inv_txfm_add_dct_dct_8x8_c
Line
Count
Source
127
171k
                                               HIGHBD_DECL_SUFFIX) \
128
171k
{ \
129
171k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
171k
                   HIGHBD_TAIL_SUFFIX); \
131
171k
}
itx_tmpl.c:inv_txfm_add_identity_identity_8x8_c
Line
Count
Source
127
49.1k
                                               HIGHBD_DECL_SUFFIX) \
128
49.1k
{ \
129
49.1k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
49.1k
                   HIGHBD_TAIL_SUFFIX); \
131
49.1k
}
itx_tmpl.c:inv_txfm_add_adst_dct_8x8_c
Line
Count
Source
127
98.2k
                                               HIGHBD_DECL_SUFFIX) \
128
98.2k
{ \
129
98.2k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
98.2k
                   HIGHBD_TAIL_SUFFIX); \
131
98.2k
}
itx_tmpl.c:inv_txfm_add_dct_adst_8x8_c
Line
Count
Source
127
83.0k
                                               HIGHBD_DECL_SUFFIX) \
128
83.0k
{ \
129
83.0k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
83.0k
                   HIGHBD_TAIL_SUFFIX); \
131
83.0k
}
itx_tmpl.c:inv_txfm_add_adst_adst_8x8_c
Line
Count
Source
127
93.6k
                                               HIGHBD_DECL_SUFFIX) \
128
93.6k
{ \
129
93.6k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
93.6k
                   HIGHBD_TAIL_SUFFIX); \
131
93.6k
}
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
11.0k
                                               HIGHBD_DECL_SUFFIX) \
128
11.0k
{ \
129
11.0k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
11.0k
                   HIGHBD_TAIL_SUFFIX); \
131
11.0k
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_8x8_c
Line
Count
Source
127
14.4k
                                               HIGHBD_DECL_SUFFIX) \
128
14.4k
{ \
129
14.4k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
14.4k
                   HIGHBD_TAIL_SUFFIX); \
131
14.4k
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_8x8_c
Line
Count
Source
127
11.1k
                                               HIGHBD_DECL_SUFFIX) \
128
11.1k
{ \
129
11.1k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
11.1k
                   HIGHBD_TAIL_SUFFIX); \
131
11.1k
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_8x8_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_dct_identity_8x8_c
Line
Count
Source
127
28.6k
                                               HIGHBD_DECL_SUFFIX) \
128
28.6k
{ \
129
28.6k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
28.6k
                   HIGHBD_TAIL_SUFFIX); \
131
28.6k
}
itx_tmpl.c:inv_txfm_add_identity_dct_8x8_c
Line
Count
Source
127
15.1k
                                               HIGHBD_DECL_SUFFIX) \
128
15.1k
{ \
129
15.1k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
15.1k
                   HIGHBD_TAIL_SUFFIX); \
131
15.1k
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_8x8_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_flipadst_8x8_c
Line
Count
Source
127
7.30k
                                               HIGHBD_DECL_SUFFIX) \
128
7.30k
{ \
129
7.30k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
7.30k
                   HIGHBD_TAIL_SUFFIX); \
131
7.30k
}
itx_tmpl.c:inv_txfm_add_adst_identity_8x8_c
Line
Count
Source
127
11.9k
                                               HIGHBD_DECL_SUFFIX) \
128
11.9k
{ \
129
11.9k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
11.9k
                   HIGHBD_TAIL_SUFFIX); \
131
11.9k
}
itx_tmpl.c:inv_txfm_add_identity_adst_8x8_c
Line
Count
Source
127
6.76k
                                               HIGHBD_DECL_SUFFIX) \
128
6.76k
{ \
129
6.76k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
6.76k
                   HIGHBD_TAIL_SUFFIX); \
131
6.76k
}
itx_tmpl.c:inv_txfm_add_dct_dct_8x16_c
Line
Count
Source
127
78.0k
                                               HIGHBD_DECL_SUFFIX) \
128
78.0k
{ \
129
78.0k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
78.0k
                   HIGHBD_TAIL_SUFFIX); \
131
78.0k
}
itx_tmpl.c:inv_txfm_add_identity_identity_8x16_c
Line
Count
Source
127
18.4k
                                               HIGHBD_DECL_SUFFIX) \
128
18.4k
{ \
129
18.4k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
18.4k
                   HIGHBD_TAIL_SUFFIX); \
131
18.4k
}
itx_tmpl.c:inv_txfm_add_adst_dct_8x16_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_dct_adst_8x16_c
Line
Count
Source
127
31.2k
                                               HIGHBD_DECL_SUFFIX) \
128
31.2k
{ \
129
31.2k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
31.2k
                   HIGHBD_TAIL_SUFFIX); \
131
31.2k
}
itx_tmpl.c:inv_txfm_add_adst_adst_8x16_c
Line
Count
Source
127
36.9k
                                               HIGHBD_DECL_SUFFIX) \
128
36.9k
{ \
129
36.9k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
36.9k
                   HIGHBD_TAIL_SUFFIX); \
131
36.9k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_8x16_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_adst_flipadst_8x16_c
Line
Count
Source
127
5.65k
                                               HIGHBD_DECL_SUFFIX) \
128
5.65k
{ \
129
5.65k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.65k
                   HIGHBD_TAIL_SUFFIX); \
131
5.65k
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_8x16_c
Line
Count
Source
127
7.85k
                                               HIGHBD_DECL_SUFFIX) \
128
7.85k
{ \
129
7.85k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
7.85k
                   HIGHBD_TAIL_SUFFIX); \
131
7.85k
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_8x16_c
Line
Count
Source
127
5.96k
                                               HIGHBD_DECL_SUFFIX) \
128
5.96k
{ \
129
5.96k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.96k
                   HIGHBD_TAIL_SUFFIX); \
131
5.96k
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_8x16_c
Line
Count
Source
127
5.29k
                                               HIGHBD_DECL_SUFFIX) \
128
5.29k
{ \
129
5.29k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.29k
                   HIGHBD_TAIL_SUFFIX); \
131
5.29k
}
itx_tmpl.c:inv_txfm_add_dct_identity_8x16_c
Line
Count
Source
127
11.0k
                                               HIGHBD_DECL_SUFFIX) \
128
11.0k
{ \
129
11.0k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
11.0k
                   HIGHBD_TAIL_SUFFIX); \
131
11.0k
}
itx_tmpl.c:inv_txfm_add_identity_dct_8x16_c
Line
Count
Source
127
5.92k
                                               HIGHBD_DECL_SUFFIX) \
128
5.92k
{ \
129
5.92k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.92k
                   HIGHBD_TAIL_SUFFIX); \
131
5.92k
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_8x16_c
Line
Count
Source
127
5.44k
                                               HIGHBD_DECL_SUFFIX) \
128
5.44k
{ \
129
5.44k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.44k
                   HIGHBD_TAIL_SUFFIX); \
131
5.44k
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_8x16_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_adst_identity_8x16_c
Line
Count
Source
127
6.71k
                                               HIGHBD_DECL_SUFFIX) \
128
6.71k
{ \
129
6.71k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
6.71k
                   HIGHBD_TAIL_SUFFIX); \
131
6.71k
}
itx_tmpl.c:inv_txfm_add_identity_adst_8x16_c
Line
Count
Source
127
4.16k
                                               HIGHBD_DECL_SUFFIX) \
128
4.16k
{ \
129
4.16k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.16k
                   HIGHBD_TAIL_SUFFIX); \
131
4.16k
}
itx_tmpl.c:inv_txfm_add_dct_dct_8x32_c
Line
Count
Source
127
49.1k
                                               HIGHBD_DECL_SUFFIX) \
128
49.1k
{ \
129
49.1k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
49.1k
                   HIGHBD_TAIL_SUFFIX); \
131
49.1k
}
itx_tmpl.c:inv_txfm_add_identity_identity_8x32_c
Line
Count
Source
127
2.82k
                                               HIGHBD_DECL_SUFFIX) \
128
2.82k
{ \
129
2.82k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.82k
                   HIGHBD_TAIL_SUFFIX); \
131
2.82k
}
itx_tmpl.c:inv_txfm_add_dct_dct_16x4_c
Line
Count
Source
127
38.3k
                                               HIGHBD_DECL_SUFFIX) \
128
38.3k
{ \
129
38.3k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
38.3k
                   HIGHBD_TAIL_SUFFIX); \
131
38.3k
}
itx_tmpl.c:inv_txfm_add_identity_identity_16x4_c
Line
Count
Source
127
19.3k
                                               HIGHBD_DECL_SUFFIX) \
128
19.3k
{ \
129
19.3k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
19.3k
                   HIGHBD_TAIL_SUFFIX); \
131
19.3k
}
itx_tmpl.c:inv_txfm_add_adst_dct_16x4_c
Line
Count
Source
127
23.4k
                                               HIGHBD_DECL_SUFFIX) \
128
23.4k
{ \
129
23.4k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
23.4k
                   HIGHBD_TAIL_SUFFIX); \
131
23.4k
}
itx_tmpl.c:inv_txfm_add_dct_adst_16x4_c
Line
Count
Source
127
19.8k
                                               HIGHBD_DECL_SUFFIX) \
128
19.8k
{ \
129
19.8k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
19.8k
                   HIGHBD_TAIL_SUFFIX); \
131
19.8k
}
itx_tmpl.c:inv_txfm_add_adst_adst_16x4_c
Line
Count
Source
127
29.1k
                                               HIGHBD_DECL_SUFFIX) \
128
29.1k
{ \
129
29.1k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
29.1k
                   HIGHBD_TAIL_SUFFIX); \
131
29.1k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_16x4_c
Line
Count
Source
127
4.41k
                                               HIGHBD_DECL_SUFFIX) \
128
4.41k
{ \
129
4.41k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.41k
                   HIGHBD_TAIL_SUFFIX); \
131
4.41k
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_16x4_c
Line
Count
Source
127
7.25k
                                               HIGHBD_DECL_SUFFIX) \
128
7.25k
{ \
129
7.25k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
7.25k
                   HIGHBD_TAIL_SUFFIX); \
131
7.25k
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_16x4_c
Line
Count
Source
127
3.24k
                                               HIGHBD_DECL_SUFFIX) \
128
3.24k
{ \
129
3.24k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.24k
                   HIGHBD_TAIL_SUFFIX); \
131
3.24k
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_16x4_c
Line
Count
Source
127
2.58k
                                               HIGHBD_DECL_SUFFIX) \
128
2.58k
{ \
129
2.58k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.58k
                   HIGHBD_TAIL_SUFFIX); \
131
2.58k
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_16x4_c
Line
Count
Source
127
3.01k
                                               HIGHBD_DECL_SUFFIX) \
128
3.01k
{ \
129
3.01k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.01k
                   HIGHBD_TAIL_SUFFIX); \
131
3.01k
}
itx_tmpl.c:inv_txfm_add_dct_identity_16x4_c
Line
Count
Source
127
12.6k
                                               HIGHBD_DECL_SUFFIX) \
128
12.6k
{ \
129
12.6k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
12.6k
                   HIGHBD_TAIL_SUFFIX); \
131
12.6k
}
itx_tmpl.c:inv_txfm_add_identity_dct_16x4_c
Line
Count
Source
127
5.58k
                                               HIGHBD_DECL_SUFFIX) \
128
5.58k
{ \
129
5.58k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.58k
                   HIGHBD_TAIL_SUFFIX); \
131
5.58k
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_16x4_c
Line
Count
Source
127
6.82k
                                               HIGHBD_DECL_SUFFIX) \
128
6.82k
{ \
129
6.82k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
6.82k
                   HIGHBD_TAIL_SUFFIX); \
131
6.82k
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_16x4_c
Line
Count
Source
127
3.24k
                                               HIGHBD_DECL_SUFFIX) \
128
3.24k
{ \
129
3.24k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.24k
                   HIGHBD_TAIL_SUFFIX); \
131
3.24k
}
itx_tmpl.c:inv_txfm_add_adst_identity_16x4_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_16x4_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_dct_16x8_c
Line
Count
Source
127
74.9k
                                               HIGHBD_DECL_SUFFIX) \
128
74.9k
{ \
129
74.9k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
74.9k
                   HIGHBD_TAIL_SUFFIX); \
131
74.9k
}
itx_tmpl.c:inv_txfm_add_identity_identity_16x8_c
Line
Count
Source
127
16.2k
                                               HIGHBD_DECL_SUFFIX) \
128
16.2k
{ \
129
16.2k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
16.2k
                   HIGHBD_TAIL_SUFFIX); \
131
16.2k
}
itx_tmpl.c:inv_txfm_add_adst_dct_16x8_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_dct_adst_16x8_c
Line
Count
Source
127
32.4k
                                               HIGHBD_DECL_SUFFIX) \
128
32.4k
{ \
129
32.4k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
32.4k
                   HIGHBD_TAIL_SUFFIX); \
131
32.4k
}
itx_tmpl.c:inv_txfm_add_adst_adst_16x8_c
Line
Count
Source
127
36.0k
                                               HIGHBD_DECL_SUFFIX) \
128
36.0k
{ \
129
36.0k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
36.0k
                   HIGHBD_TAIL_SUFFIX); \
131
36.0k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_16x8_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_flipadst_16x8_c
Line
Count
Source
127
5.87k
                                               HIGHBD_DECL_SUFFIX) \
128
5.87k
{ \
129
5.87k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.87k
                   HIGHBD_TAIL_SUFFIX); \
131
5.87k
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_16x8_c
Line
Count
Source
127
6.45k
                                               HIGHBD_DECL_SUFFIX) \
128
6.45k
{ \
129
6.45k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
6.45k
                   HIGHBD_TAIL_SUFFIX); \
131
6.45k
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_16x8_c
Line
Count
Source
127
5.75k
                                               HIGHBD_DECL_SUFFIX) \
128
5.75k
{ \
129
5.75k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.75k
                   HIGHBD_TAIL_SUFFIX); \
131
5.75k
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_16x8_c
Line
Count
Source
127
5.43k
                                               HIGHBD_DECL_SUFFIX) \
128
5.43k
{ \
129
5.43k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.43k
                   HIGHBD_TAIL_SUFFIX); \
131
5.43k
}
itx_tmpl.c:inv_txfm_add_dct_identity_16x8_c
Line
Count
Source
127
10.5k
                                               HIGHBD_DECL_SUFFIX) \
128
10.5k
{ \
129
10.5k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
10.5k
                   HIGHBD_TAIL_SUFFIX); \
131
10.5k
}
itx_tmpl.c:inv_txfm_add_identity_dct_16x8_c
Line
Count
Source
127
5.47k
                                               HIGHBD_DECL_SUFFIX) \
128
5.47k
{ \
129
5.47k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.47k
                   HIGHBD_TAIL_SUFFIX); \
131
5.47k
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_16x8_c
Line
Count
Source
127
5.96k
                                               HIGHBD_DECL_SUFFIX) \
128
5.96k
{ \
129
5.96k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.96k
                   HIGHBD_TAIL_SUFFIX); \
131
5.96k
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_16x8_c
Line
Count
Source
127
4.92k
                                               HIGHBD_DECL_SUFFIX) \
128
4.92k
{ \
129
4.92k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.92k
                   HIGHBD_TAIL_SUFFIX); \
131
4.92k
}
itx_tmpl.c:inv_txfm_add_adst_identity_16x8_c
Line
Count
Source
127
7.23k
                                               HIGHBD_DECL_SUFFIX) \
128
7.23k
{ \
129
7.23k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
7.23k
                   HIGHBD_TAIL_SUFFIX); \
131
7.23k
}
itx_tmpl.c:inv_txfm_add_identity_adst_16x8_c
Line
Count
Source
127
3.02k
                                               HIGHBD_DECL_SUFFIX) \
128
3.02k
{ \
129
3.02k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.02k
                   HIGHBD_TAIL_SUFFIX); \
131
3.02k
}
itx_tmpl.c:inv_txfm_add_dct_dct_16x16_c
Line
Count
Source
127
123k
                                               HIGHBD_DECL_SUFFIX) \
128
123k
{ \
129
123k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
123k
                   HIGHBD_TAIL_SUFFIX); \
131
123k
}
itx_tmpl.c:inv_txfm_add_identity_identity_16x16_c
Line
Count
Source
127
13.6k
                                               HIGHBD_DECL_SUFFIX) \
128
13.6k
{ \
129
13.6k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
13.6k
                   HIGHBD_TAIL_SUFFIX); \
131
13.6k
}
itx_tmpl.c:inv_txfm_add_adst_dct_16x16_c
Line
Count
Source
127
85.5k
                                               HIGHBD_DECL_SUFFIX) \
128
85.5k
{ \
129
85.5k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
85.5k
                   HIGHBD_TAIL_SUFFIX); \
131
85.5k
}
itx_tmpl.c:inv_txfm_add_dct_adst_16x16_c
Line
Count
Source
127
67.0k
                                               HIGHBD_DECL_SUFFIX) \
128
67.0k
{ \
129
67.0k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
67.0k
                   HIGHBD_TAIL_SUFFIX); \
131
67.0k
}
itx_tmpl.c:inv_txfm_add_adst_adst_16x16_c
Line
Count
Source
127
82.9k
                                               HIGHBD_DECL_SUFFIX) \
128
82.9k
{ \
129
82.9k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
82.9k
                   HIGHBD_TAIL_SUFFIX); \
131
82.9k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_16x16_c
Line
Count
Source
127
5.38k
                                               HIGHBD_DECL_SUFFIX) \
128
5.38k
{ \
129
5.38k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.38k
                   HIGHBD_TAIL_SUFFIX); \
131
5.38k
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_16x16_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_flipadst_dct_16x16_c
Line
Count
Source
127
7.11k
                                               HIGHBD_DECL_SUFFIX) \
128
7.11k
{ \
129
7.11k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
7.11k
                   HIGHBD_TAIL_SUFFIX); \
131
7.11k
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_16x16_c
Line
Count
Source
127
8.52k
                                               HIGHBD_DECL_SUFFIX) \
128
8.52k
{ \
129
8.52k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
8.52k
                   HIGHBD_TAIL_SUFFIX); \
131
8.52k
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_16x16_c
Line
Count
Source
127
5.02k
                                               HIGHBD_DECL_SUFFIX) \
128
5.02k
{ \
129
5.02k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.02k
                   HIGHBD_TAIL_SUFFIX); \
131
5.02k
}
itx_tmpl.c:inv_txfm_add_dct_identity_16x16_c
Line
Count
Source
127
9.97k
                                               HIGHBD_DECL_SUFFIX) \
128
9.97k
{ \
129
9.97k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
9.97k
                   HIGHBD_TAIL_SUFFIX); \
131
9.97k
}
itx_tmpl.c:inv_txfm_add_identity_dct_16x16_c
Line
Count
Source
127
4.52k
                                               HIGHBD_DECL_SUFFIX) \
128
4.52k
{ \
129
4.52k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.52k
                   HIGHBD_TAIL_SUFFIX); \
131
4.52k
}
itx_tmpl.c:inv_txfm_add_dct_dct_16x32_c
Line
Count
Source
127
171k
                                               HIGHBD_DECL_SUFFIX) \
128
171k
{ \
129
171k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
171k
                   HIGHBD_TAIL_SUFFIX); \
131
171k
}
itx_tmpl.c:inv_txfm_add_identity_identity_16x32_c
Line
Count
Source
127
4.63k
                                               HIGHBD_DECL_SUFFIX) \
128
4.63k
{ \
129
4.63k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.63k
                   HIGHBD_TAIL_SUFFIX); \
131
4.63k
}
itx_tmpl.c:inv_txfm_add_dct_dct_16x64_c
Line
Count
Source
127
13.6k
                                               HIGHBD_DECL_SUFFIX) \
128
13.6k
{ \
129
13.6k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
13.6k
                   HIGHBD_TAIL_SUFFIX); \
131
13.6k
}
itx_tmpl.c:inv_txfm_add_dct_dct_32x8_c
Line
Count
Source
127
80.0k
                                               HIGHBD_DECL_SUFFIX) \
128
80.0k
{ \
129
80.0k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
80.0k
                   HIGHBD_TAIL_SUFFIX); \
131
80.0k
}
itx_tmpl.c:inv_txfm_add_identity_identity_32x8_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_dct_dct_32x16_c
Line
Count
Source
127
101k
                                               HIGHBD_DECL_SUFFIX) \
128
101k
{ \
129
101k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
101k
                   HIGHBD_TAIL_SUFFIX); \
131
101k
}
itx_tmpl.c:inv_txfm_add_identity_identity_32x16_c
Line
Count
Source
127
2.25k
                                               HIGHBD_DECL_SUFFIX) \
128
2.25k
{ \
129
2.25k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.25k
                   HIGHBD_TAIL_SUFFIX); \
131
2.25k
}
itx_tmpl.c:inv_txfm_add_dct_dct_32x32_c
Line
Count
Source
127
436k
                                               HIGHBD_DECL_SUFFIX) \
128
436k
{ \
129
436k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
436k
                   HIGHBD_TAIL_SUFFIX); \
131
436k
}
itx_tmpl.c:inv_txfm_add_identity_identity_32x32_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_dct_dct_32x64_c
Line
Count
Source
127
92.8k
                                               HIGHBD_DECL_SUFFIX) \
128
92.8k
{ \
129
92.8k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
92.8k
                   HIGHBD_TAIL_SUFFIX); \
131
92.8k
}
itx_tmpl.c:inv_txfm_add_dct_dct_64x16_c
Line
Count
Source
127
14.9k
                                               HIGHBD_DECL_SUFFIX) \
128
14.9k
{ \
129
14.9k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
14.9k
                   HIGHBD_TAIL_SUFFIX); \
131
14.9k
}
itx_tmpl.c:inv_txfm_add_dct_dct_64x32_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_dct_dct_64x64_c
Line
Count
Source
127
168k
                                               HIGHBD_DECL_SUFFIX) \
128
168k
{ \
129
168k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
168k
                   HIGHBD_TAIL_SUFFIX); \
131
168k
}
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
301k
{
188
301k
    int32_t tmp[4 * 4], *c = tmp;
189
1.50M
    for (int y = 0; y < 4; y++, c += 4) {
190
6.02M
        for (int x = 0; x < 4; x++)
191
4.81M
            c[x] = coeff[y + x * 4] >> 2;
192
1.20M
        dav1d_inv_wht4_1d_c(c, 1);
193
1.20M
    }
194
301k
    memset(coeff, 0, sizeof(*coeff) * 4 * 4);
195
196
1.50M
    for (int x = 0; x < 4; x++)
197
1.20M
        dav1d_inv_wht4_1d_c(&tmp[x], 4);
198
199
301k
    c = tmp;
200
1.50M
    for (int y = 0; y < 4; y++, dst += PXSTRIDE(stride))
201
6.02M
        for (int x = 0; x < 4; x++)
202
4.81M
            dst[x] = iclip_pixel(dst[x] + *c++);
203
301k
}
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
96.1k
COLD void bitfn(dav1d_itx_dsp_init)(Dav1dInvTxfmDSPContext *const c, int bpc) {
221
96.1k
#define assign_itx_all_fn64(w, h, pfx) \
222
1.82M
    c->itxfm_add[pfx##TX_##w##X##h][DCT_DCT  ] = \
223
1.82M
        inv_txfm_add_dct_dct_##w##x##h##_c
224
225
96.1k
#define assign_itx_all_fn32(w, h, pfx) \
226
1.34M
    assign_itx_all_fn64(w, h, pfx); \
227
1.34M
    c->itxfm_add[pfx##TX_##w##X##h][IDTX] = \
228
1.34M
        inv_txfm_add_identity_identity_##w##x##h##_c
229
230
96.1k
#define assign_itx_all_fn16(w, h, pfx) \
231
865k
    assign_itx_all_fn32(w, h, pfx); \
232
865k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_ADST ] = \
233
865k
        inv_txfm_add_adst_dct_##w##x##h##_c; \
234
865k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_DCT ] = \
235
865k
        inv_txfm_add_dct_adst_##w##x##h##_c; \
236
865k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_ADST] = \
237
865k
        inv_txfm_add_adst_adst_##w##x##h##_c; \
238
865k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_FLIPADST] = \
239
865k
        inv_txfm_add_flipadst_adst_##w##x##h##_c; \
240
865k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_ADST] = \
241
865k
        inv_txfm_add_adst_flipadst_##w##x##h##_c; \
242
865k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_FLIPADST] = \
243
865k
        inv_txfm_add_flipadst_dct_##w##x##h##_c; \
244
865k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_DCT] = \
245
865k
        inv_txfm_add_dct_flipadst_##w##x##h##_c; \
246
865k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_FLIPADST] = \
247
865k
        inv_txfm_add_flipadst_flipadst_##w##x##h##_c; \
248
865k
    c->itxfm_add[pfx##TX_##w##X##h][H_DCT] = \
249
865k
        inv_txfm_add_dct_identity_##w##x##h##_c; \
250
865k
    c->itxfm_add[pfx##TX_##w##X##h][V_DCT] = \
251
865k
        inv_txfm_add_identity_dct_##w##x##h##_c
252
253
96.1k
#define assign_itx_all_fn84(w, h, pfx) \
254
769k
    assign_itx_all_fn16(w, h, pfx); \
255
769k
    c->itxfm_add[pfx##TX_##w##X##h][H_FLIPADST] = \
256
769k
        inv_txfm_add_flipadst_identity_##w##x##h##_c; \
257
769k
    c->itxfm_add[pfx##TX_##w##X##h][V_FLIPADST] = \
258
769k
        inv_txfm_add_identity_flipadst_##w##x##h##_c; \
259
769k
    c->itxfm_add[pfx##TX_##w##X##h][H_ADST] = \
260
769k
        inv_txfm_add_adst_identity_##w##x##h##_c; \
261
769k
    c->itxfm_add[pfx##TX_##w##X##h][V_ADST] = \
262
769k
        inv_txfm_add_identity_adst_##w##x##h##_c; \
263
96.1k
264
96.1k
#if !(HAVE_ASM && TRIM_DSP_FUNCTIONS && ( \
265
96.1k
  ARCH_AARCH64 || \
266
96.1k
  (ARCH_ARM && (defined(__ARM_NEON) || defined(__APPLE__) || defined(_WIN32))) \
267
96.1k
))
268
96.1k
    c->itxfm_add[TX_4X4][WHT_WHT] = inv_txfm_add_wht_wht_4x4_c;
269
96.1k
#endif
270
96.1k
    assign_itx_all_fn84( 4,  4, );
271
96.1k
    assign_itx_all_fn84( 4,  8, R);
272
96.1k
    assign_itx_all_fn84( 4, 16, R);
273
96.1k
    assign_itx_all_fn84( 8,  4, R);
274
96.1k
    assign_itx_all_fn84( 8,  8, );
275
96.1k
    assign_itx_all_fn84( 8, 16, R);
276
96.1k
    assign_itx_all_fn32( 8, 32, R);
277
96.1k
    assign_itx_all_fn84(16,  4, R);
278
96.1k
    assign_itx_all_fn84(16,  8, R);
279
96.1k
    assign_itx_all_fn16(16, 16, );
280
96.1k
    assign_itx_all_fn32(16, 32, R);
281
96.1k
    assign_itx_all_fn64(16, 64, R);
282
96.1k
    assign_itx_all_fn32(32,  8, R);
283
96.1k
    assign_itx_all_fn32(32, 16, R);
284
96.1k
    assign_itx_all_fn32(32, 32, );
285
96.1k
    assign_itx_all_fn64(32, 64, R);
286
96.1k
    assign_itx_all_fn64(64, 16, R);
287
96.1k
    assign_itx_all_fn64(64, 32, R);
288
96.1k
    assign_itx_all_fn64(64, 64, );
289
290
96.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
96.1k
    if (!all_simd)
310
96.1k
        dav1d_init_last_nonzero_col_from_eob_tables();
311
96.1k
}
dav1d_itx_dsp_init_8bpc
Line
Count
Source
220
44.8k
COLD void bitfn(dav1d_itx_dsp_init)(Dav1dInvTxfmDSPContext *const c, int bpc) {
221
44.8k
#define assign_itx_all_fn64(w, h, pfx) \
222
44.8k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_DCT  ] = \
223
44.8k
        inv_txfm_add_dct_dct_##w##x##h##_c
224
225
44.8k
#define assign_itx_all_fn32(w, h, pfx) \
226
44.8k
    assign_itx_all_fn64(w, h, pfx); \
227
44.8k
    c->itxfm_add[pfx##TX_##w##X##h][IDTX] = \
228
44.8k
        inv_txfm_add_identity_identity_##w##x##h##_c
229
230
44.8k
#define assign_itx_all_fn16(w, h, pfx) \
231
44.8k
    assign_itx_all_fn32(w, h, pfx); \
232
44.8k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_ADST ] = \
233
44.8k
        inv_txfm_add_adst_dct_##w##x##h##_c; \
234
44.8k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_DCT ] = \
235
44.8k
        inv_txfm_add_dct_adst_##w##x##h##_c; \
236
44.8k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_ADST] = \
237
44.8k
        inv_txfm_add_adst_adst_##w##x##h##_c; \
238
44.8k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_FLIPADST] = \
239
44.8k
        inv_txfm_add_flipadst_adst_##w##x##h##_c; \
240
44.8k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_ADST] = \
241
44.8k
        inv_txfm_add_adst_flipadst_##w##x##h##_c; \
242
44.8k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_FLIPADST] = \
243
44.8k
        inv_txfm_add_flipadst_dct_##w##x##h##_c; \
244
44.8k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_DCT] = \
245
44.8k
        inv_txfm_add_dct_flipadst_##w##x##h##_c; \
246
44.8k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_FLIPADST] = \
247
44.8k
        inv_txfm_add_flipadst_flipadst_##w##x##h##_c; \
248
44.8k
    c->itxfm_add[pfx##TX_##w##X##h][H_DCT] = \
249
44.8k
        inv_txfm_add_dct_identity_##w##x##h##_c; \
250
44.8k
    c->itxfm_add[pfx##TX_##w##X##h][V_DCT] = \
251
44.8k
        inv_txfm_add_identity_dct_##w##x##h##_c
252
253
44.8k
#define assign_itx_all_fn84(w, h, pfx) \
254
44.8k
    assign_itx_all_fn16(w, h, pfx); \
255
44.8k
    c->itxfm_add[pfx##TX_##w##X##h][H_FLIPADST] = \
256
44.8k
        inv_txfm_add_flipadst_identity_##w##x##h##_c; \
257
44.8k
    c->itxfm_add[pfx##TX_##w##X##h][V_FLIPADST] = \
258
44.8k
        inv_txfm_add_identity_flipadst_##w##x##h##_c; \
259
44.8k
    c->itxfm_add[pfx##TX_##w##X##h][H_ADST] = \
260
44.8k
        inv_txfm_add_adst_identity_##w##x##h##_c; \
261
44.8k
    c->itxfm_add[pfx##TX_##w##X##h][V_ADST] = \
262
44.8k
        inv_txfm_add_identity_adst_##w##x##h##_c; \
263
44.8k
264
44.8k
#if !(HAVE_ASM && TRIM_DSP_FUNCTIONS && ( \
265
44.8k
  ARCH_AARCH64 || \
266
44.8k
  (ARCH_ARM && (defined(__ARM_NEON) || defined(__APPLE__) || defined(_WIN32))) \
267
44.8k
))
268
44.8k
    c->itxfm_add[TX_4X4][WHT_WHT] = inv_txfm_add_wht_wht_4x4_c;
269
44.8k
#endif
270
44.8k
    assign_itx_all_fn84( 4,  4, );
271
44.8k
    assign_itx_all_fn84( 4,  8, R);
272
44.8k
    assign_itx_all_fn84( 4, 16, R);
273
44.8k
    assign_itx_all_fn84( 8,  4, R);
274
44.8k
    assign_itx_all_fn84( 8,  8, );
275
44.8k
    assign_itx_all_fn84( 8, 16, R);
276
44.8k
    assign_itx_all_fn32( 8, 32, R);
277
44.8k
    assign_itx_all_fn84(16,  4, R);
278
44.8k
    assign_itx_all_fn84(16,  8, R);
279
44.8k
    assign_itx_all_fn16(16, 16, );
280
44.8k
    assign_itx_all_fn32(16, 32, R);
281
44.8k
    assign_itx_all_fn64(16, 64, R);
282
44.8k
    assign_itx_all_fn32(32,  8, R);
283
44.8k
    assign_itx_all_fn32(32, 16, R);
284
44.8k
    assign_itx_all_fn32(32, 32, );
285
44.8k
    assign_itx_all_fn64(32, 64, R);
286
44.8k
    assign_itx_all_fn64(64, 16, R);
287
44.8k
    assign_itx_all_fn64(64, 32, R);
288
44.8k
    assign_itx_all_fn64(64, 64, );
289
290
44.8k
    int all_simd = 0;
291
#if HAVE_ASM
292
#if ARCH_AARCH64 || ARCH_ARM
293
    itx_dsp_init_arm(c, bpc, &all_simd);
294
#endif
295
#if ARCH_LOONGARCH64
296
    itx_dsp_init_loongarch(c, bpc);
297
#endif
298
#if ARCH_PPC64LE
299
    itx_dsp_init_ppc(c, bpc);
300
#endif
301
#if ARCH_RISCV
302
    itx_dsp_init_riscv(c, bpc);
303
#endif
304
#if ARCH_X86
305
    itx_dsp_init_x86(c, bpc, &all_simd);
306
#endif
307
#endif
308
309
44.8k
    if (!all_simd)
310
44.8k
        dav1d_init_last_nonzero_col_from_eob_tables();
311
44.8k
}
dav1d_itx_dsp_init_16bpc
Line
Count
Source
220
51.3k
COLD void bitfn(dav1d_itx_dsp_init)(Dav1dInvTxfmDSPContext *const c, int bpc) {
221
51.3k
#define assign_itx_all_fn64(w, h, pfx) \
222
51.3k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_DCT  ] = \
223
51.3k
        inv_txfm_add_dct_dct_##w##x##h##_c
224
225
51.3k
#define assign_itx_all_fn32(w, h, pfx) \
226
51.3k
    assign_itx_all_fn64(w, h, pfx); \
227
51.3k
    c->itxfm_add[pfx##TX_##w##X##h][IDTX] = \
228
51.3k
        inv_txfm_add_identity_identity_##w##x##h##_c
229
230
51.3k
#define assign_itx_all_fn16(w, h, pfx) \
231
51.3k
    assign_itx_all_fn32(w, h, pfx); \
232
51.3k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_ADST ] = \
233
51.3k
        inv_txfm_add_adst_dct_##w##x##h##_c; \
234
51.3k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_DCT ] = \
235
51.3k
        inv_txfm_add_dct_adst_##w##x##h##_c; \
236
51.3k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_ADST] = \
237
51.3k
        inv_txfm_add_adst_adst_##w##x##h##_c; \
238
51.3k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_FLIPADST] = \
239
51.3k
        inv_txfm_add_flipadst_adst_##w##x##h##_c; \
240
51.3k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_ADST] = \
241
51.3k
        inv_txfm_add_adst_flipadst_##w##x##h##_c; \
242
51.3k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_FLIPADST] = \
243
51.3k
        inv_txfm_add_flipadst_dct_##w##x##h##_c; \
244
51.3k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_DCT] = \
245
51.3k
        inv_txfm_add_dct_flipadst_##w##x##h##_c; \
246
51.3k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_FLIPADST] = \
247
51.3k
        inv_txfm_add_flipadst_flipadst_##w##x##h##_c; \
248
51.3k
    c->itxfm_add[pfx##TX_##w##X##h][H_DCT] = \
249
51.3k
        inv_txfm_add_dct_identity_##w##x##h##_c; \
250
51.3k
    c->itxfm_add[pfx##TX_##w##X##h][V_DCT] = \
251
51.3k
        inv_txfm_add_identity_dct_##w##x##h##_c
252
253
51.3k
#define assign_itx_all_fn84(w, h, pfx) \
254
51.3k
    assign_itx_all_fn16(w, h, pfx); \
255
51.3k
    c->itxfm_add[pfx##TX_##w##X##h][H_FLIPADST] = \
256
51.3k
        inv_txfm_add_flipadst_identity_##w##x##h##_c; \
257
51.3k
    c->itxfm_add[pfx##TX_##w##X##h][V_FLIPADST] = \
258
51.3k
        inv_txfm_add_identity_flipadst_##w##x##h##_c; \
259
51.3k
    c->itxfm_add[pfx##TX_##w##X##h][H_ADST] = \
260
51.3k
        inv_txfm_add_adst_identity_##w##x##h##_c; \
261
51.3k
    c->itxfm_add[pfx##TX_##w##X##h][V_ADST] = \
262
51.3k
        inv_txfm_add_identity_adst_##w##x##h##_c; \
263
51.3k
264
51.3k
#if !(HAVE_ASM && TRIM_DSP_FUNCTIONS && ( \
265
51.3k
  ARCH_AARCH64 || \
266
51.3k
  (ARCH_ARM && (defined(__ARM_NEON) || defined(__APPLE__) || defined(_WIN32))) \
267
51.3k
))
268
51.3k
    c->itxfm_add[TX_4X4][WHT_WHT] = inv_txfm_add_wht_wht_4x4_c;
269
51.3k
#endif
270
51.3k
    assign_itx_all_fn84( 4,  4, );
271
51.3k
    assign_itx_all_fn84( 4,  8, R);
272
51.3k
    assign_itx_all_fn84( 4, 16, R);
273
51.3k
    assign_itx_all_fn84( 8,  4, R);
274
51.3k
    assign_itx_all_fn84( 8,  8, );
275
51.3k
    assign_itx_all_fn84( 8, 16, R);
276
51.3k
    assign_itx_all_fn32( 8, 32, R);
277
51.3k
    assign_itx_all_fn84(16,  4, R);
278
51.3k
    assign_itx_all_fn84(16,  8, R);
279
51.3k
    assign_itx_all_fn16(16, 16, );
280
51.3k
    assign_itx_all_fn32(16, 32, R);
281
51.3k
    assign_itx_all_fn64(16, 64, R);
282
51.3k
    assign_itx_all_fn32(32,  8, R);
283
51.3k
    assign_itx_all_fn32(32, 16, R);
284
51.3k
    assign_itx_all_fn32(32, 32, );
285
51.3k
    assign_itx_all_fn64(32, 64, R);
286
51.3k
    assign_itx_all_fn64(64, 16, R);
287
51.3k
    assign_itx_all_fn64(64, 32, R);
288
51.3k
    assign_itx_all_fn64(64, 64, );
289
290
51.3k
    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
51.3k
    if (!all_simd)
310
51.3k
        dav1d_init_last_nonzero_col_from_eob_tables();
311
51.3k
}