Coverage Report

Created: 2026-09-14 06:44

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
989k
{
48
989k
    const TxfmInfo *const t_dim = &dav1d_txfm_dimensions[tx];
49
989k
    const int w = 4 * t_dim->w, h = 4 * t_dim->h;
50
989k
    const int has_dconly = txtp == DCT_DCT;
51
989k
    assert(w >= 4 && w <= 64);
52
989k
    assert(h >= 4 && h <= 64);
53
989k
    assert(eob >= 0);
54
55
989k
    const int is_rect2 = w * 2 == h || h * 2 == w;
56
989k
    const int rnd = (1 << shift) >> 1;
57
58
989k
    if (eob < has_dconly) {
59
202k
        int dc = coeff[0];
60
202k
        coeff[0] = 0;
61
202k
        if (is_rect2)
62
41.5k
            dc = (dc * 181 + 128) >> 8;
63
202k
        dc = (dc * 181 + 128) >> 8;
64
202k
        dc = (dc + rnd) >> shift;
65
202k
        dc = (dc * 181 + 128 + 2048) >> 12;
66
6.38M
        for (int y = 0; y < h; y++, dst += PXSTRIDE(stride))
67
257M
            for (int x = 0; x < w; x++)
68
251M
                dst[x] = iclip_pixel(dst[x] + dc);
69
202k
        return;
70
202k
    }
71
72
787k
    const uint8_t *const txtps = dav1d_tx1d_types[txtp];
73
787k
    const itx_1d_fn first_1d_fn = dav1d_tx1d_fns[t_dim->lw][txtps[0]];
74
787k
    const itx_1d_fn second_1d_fn = dav1d_tx1d_fns[t_dim->lh][txtps[1]];
75
787k
    const int sh = imin(h, 32), sw = imin(w, 32);
76
787k
#if BITDEPTH == 8
77
787k
    const int row_clip_min = INT16_MIN;
78
787k
    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
787k
    const int row_clip_max = ~row_clip_min;
84
787k
    const int col_clip_max = ~col_clip_min;
85
86
787k
    int32_t tmp[64 * 64], *c = tmp;
87
787k
    int last_nonzero_col; // in first 1d itx
88
787k
    if (txtps[1] == IDENTITY && txtps[0] != IDENTITY) {
89
66.4k
        last_nonzero_col = imin(sh - 1, eob);
90
721k
    } else if (txtps[0] == IDENTITY && txtps[1] != IDENTITY) {
91
37.7k
        last_nonzero_col = eob >> (t_dim->lw + 2);
92
683k
    } else {
93
683k
        last_nonzero_col = dav1d_last_nonzero_col_from_eob[tx][eob];
94
683k
    }
95
787k
    assert(last_nonzero_col < sh);
96
4.65M
    for (int y = 0; y <= last_nonzero_col; y++, c += w) {
97
3.86M
        if (is_rect2)
98
16.6M
            for (int x = 0; x < sw; x++)
99
15.5M
                c[x] = (coeff[y + x * sh] * 181 + 128) >> 8;
100
2.72M
        else
101
44.8M
            for (int x = 0; x < sw; x++)
102
42.1M
                c[x] = coeff[y + x * sh];
103
3.86M
        first_1d_fn(c, 1, row_clip_min, row_clip_max);
104
3.86M
    }
105
787k
    if (last_nonzero_col + 1 < sh)
106
590k
        memset(c, 0, sizeof(*c) * (sh - last_nonzero_col - 1) * w);
107
108
787k
    memset(coeff, 0, sizeof(*coeff) * sw * sh);
109
198M
    for (int i = 0; i < w * sh; i++)
110
198M
        tmp[i] = iclip((tmp[i] + rnd) >> shift, col_clip_min, col_clip_max);
111
112
11.8M
    for (int x = 0; x < w; x++)
113
11.0M
        second_1d_fn(&tmp[x], w, col_clip_min, col_clip_max);
114
115
787k
    c = tmp;
116
11.5M
    for (int y = 0; y < h; y++, dst += PXSTRIDE(stride))
117
269M
        for (int x = 0; x < w; x++)
118
258M
            dst[x] = iclip_pixel(dst[x] + ((*c++ + 8) >> 4));
119
787k
}
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
989k
                                               HIGHBD_DECL_SUFFIX) \
128
989k
{ \
129
989k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
989k
                   HIGHBD_TAIL_SUFFIX); \
131
989k
}
itx_tmpl.c:inv_txfm_add_dct_dct_4x4_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_identity_identity_4x4_c
Line
Count
Source
127
10.9k
                                               HIGHBD_DECL_SUFFIX) \
128
10.9k
{ \
129
10.9k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
10.9k
                   HIGHBD_TAIL_SUFFIX); \
131
10.9k
}
itx_tmpl.c:inv_txfm_add_adst_dct_4x4_c
Line
Count
Source
127
15.3k
                                               HIGHBD_DECL_SUFFIX) \
128
15.3k
{ \
129
15.3k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
15.3k
                   HIGHBD_TAIL_SUFFIX); \
131
15.3k
}
itx_tmpl.c:inv_txfm_add_dct_adst_4x4_c
Line
Count
Source
127
12.8k
                                               HIGHBD_DECL_SUFFIX) \
128
12.8k
{ \
129
12.8k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
12.8k
                   HIGHBD_TAIL_SUFFIX); \
131
12.8k
}
itx_tmpl.c:inv_txfm_add_adst_adst_4x4_c
Line
Count
Source
127
19.0k
                                               HIGHBD_DECL_SUFFIX) \
128
19.0k
{ \
129
19.0k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
19.0k
                   HIGHBD_TAIL_SUFFIX); \
131
19.0k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_4x4_c
Line
Count
Source
127
2.71k
                                               HIGHBD_DECL_SUFFIX) \
128
2.71k
{ \
129
2.71k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.71k
                   HIGHBD_TAIL_SUFFIX); \
131
2.71k
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_4x4_c
Line
Count
Source
127
2.75k
                                               HIGHBD_DECL_SUFFIX) \
128
2.75k
{ \
129
2.75k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.75k
                   HIGHBD_TAIL_SUFFIX); \
131
2.75k
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_4x4_c
Line
Count
Source
127
1.37k
                                               HIGHBD_DECL_SUFFIX) \
128
1.37k
{ \
129
1.37k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.37k
                   HIGHBD_TAIL_SUFFIX); \
131
1.37k
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_4x4_c
Line
Count
Source
127
1.27k
                                               HIGHBD_DECL_SUFFIX) \
128
1.27k
{ \
129
1.27k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.27k
                   HIGHBD_TAIL_SUFFIX); \
131
1.27k
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_4x4_c
Line
Count
Source
127
1.16k
                                               HIGHBD_DECL_SUFFIX) \
128
1.16k
{ \
129
1.16k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.16k
                   HIGHBD_TAIL_SUFFIX); \
131
1.16k
}
itx_tmpl.c:inv_txfm_add_dct_identity_4x4_c
Line
Count
Source
127
5.86k
                                               HIGHBD_DECL_SUFFIX) \
128
5.86k
{ \
129
5.86k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.86k
                   HIGHBD_TAIL_SUFFIX); \
131
5.86k
}
itx_tmpl.c:inv_txfm_add_identity_dct_4x4_c
Line
Count
Source
127
3.41k
                                               HIGHBD_DECL_SUFFIX) \
128
3.41k
{ \
129
3.41k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.41k
                   HIGHBD_TAIL_SUFFIX); \
131
3.41k
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_4x4_c
Line
Count
Source
127
3.88k
                                               HIGHBD_DECL_SUFFIX) \
128
3.88k
{ \
129
3.88k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.88k
                   HIGHBD_TAIL_SUFFIX); \
131
3.88k
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_4x4_c
Line
Count
Source
127
1.88k
                                               HIGHBD_DECL_SUFFIX) \
128
1.88k
{ \
129
1.88k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.88k
                   HIGHBD_TAIL_SUFFIX); \
131
1.88k
}
itx_tmpl.c:inv_txfm_add_adst_identity_4x4_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_identity_adst_4x4_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_dct_dct_4x8_c
Line
Count
Source
127
9.76k
                                               HIGHBD_DECL_SUFFIX) \
128
9.76k
{ \
129
9.76k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
9.76k
                   HIGHBD_TAIL_SUFFIX); \
131
9.76k
}
itx_tmpl.c:inv_txfm_add_identity_identity_4x8_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_adst_dct_4x8_c
Line
Count
Source
127
6.32k
                                               HIGHBD_DECL_SUFFIX) \
128
6.32k
{ \
129
6.32k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
6.32k
                   HIGHBD_TAIL_SUFFIX); \
131
6.32k
}
itx_tmpl.c:inv_txfm_add_dct_adst_4x8_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_adst_adst_4x8_c
Line
Count
Source
127
7.39k
                                               HIGHBD_DECL_SUFFIX) \
128
7.39k
{ \
129
7.39k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
7.39k
                   HIGHBD_TAIL_SUFFIX); \
131
7.39k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_4x8_c
Line
Count
Source
127
1.58k
                                               HIGHBD_DECL_SUFFIX) \
128
1.58k
{ \
129
1.58k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.58k
                   HIGHBD_TAIL_SUFFIX); \
131
1.58k
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_4x8_c
Line
Count
Source
127
1.55k
                                               HIGHBD_DECL_SUFFIX) \
128
1.55k
{ \
129
1.55k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.55k
                   HIGHBD_TAIL_SUFFIX); \
131
1.55k
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_4x8_c
Line
Count
Source
127
1.20k
                                               HIGHBD_DECL_SUFFIX) \
128
1.20k
{ \
129
1.20k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.20k
                   HIGHBD_TAIL_SUFFIX); \
131
1.20k
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_4x8_c
Line
Count
Source
127
879
                                               HIGHBD_DECL_SUFFIX) \
128
879
{ \
129
879
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
879
                   HIGHBD_TAIL_SUFFIX); \
131
879
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_4x8_c
Line
Count
Source
127
848
                                               HIGHBD_DECL_SUFFIX) \
128
848
{ \
129
848
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
848
                   HIGHBD_TAIL_SUFFIX); \
131
848
}
itx_tmpl.c:inv_txfm_add_dct_identity_4x8_c
Line
Count
Source
127
2.83k
                                               HIGHBD_DECL_SUFFIX) \
128
2.83k
{ \
129
2.83k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.83k
                   HIGHBD_TAIL_SUFFIX); \
131
2.83k
}
itx_tmpl.c:inv_txfm_add_identity_dct_4x8_c
Line
Count
Source
127
1.36k
                                               HIGHBD_DECL_SUFFIX) \
128
1.36k
{ \
129
1.36k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.36k
                   HIGHBD_TAIL_SUFFIX); \
131
1.36k
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_4x8_c
Line
Count
Source
127
2.12k
                                               HIGHBD_DECL_SUFFIX) \
128
2.12k
{ \
129
2.12k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.12k
                   HIGHBD_TAIL_SUFFIX); \
131
2.12k
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_4x8_c
Line
Count
Source
127
1.72k
                                               HIGHBD_DECL_SUFFIX) \
128
1.72k
{ \
129
1.72k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.72k
                   HIGHBD_TAIL_SUFFIX); \
131
1.72k
}
itx_tmpl.c:inv_txfm_add_adst_identity_4x8_c
Line
Count
Source
127
2.31k
                                               HIGHBD_DECL_SUFFIX) \
128
2.31k
{ \
129
2.31k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.31k
                   HIGHBD_TAIL_SUFFIX); \
131
2.31k
}
itx_tmpl.c:inv_txfm_add_identity_adst_4x8_c
Line
Count
Source
127
1.62k
                                               HIGHBD_DECL_SUFFIX) \
128
1.62k
{ \
129
1.62k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.62k
                   HIGHBD_TAIL_SUFFIX); \
131
1.62k
}
itx_tmpl.c:inv_txfm_add_dct_dct_4x16_c
Line
Count
Source
127
4.00k
                                               HIGHBD_DECL_SUFFIX) \
128
4.00k
{ \
129
4.00k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.00k
                   HIGHBD_TAIL_SUFFIX); \
131
4.00k
}
itx_tmpl.c:inv_txfm_add_identity_identity_4x16_c
Line
Count
Source
127
1.69k
                                               HIGHBD_DECL_SUFFIX) \
128
1.69k
{ \
129
1.69k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.69k
                   HIGHBD_TAIL_SUFFIX); \
131
1.69k
}
itx_tmpl.c:inv_txfm_add_adst_dct_4x16_c
Line
Count
Source
127
2.66k
                                               HIGHBD_DECL_SUFFIX) \
128
2.66k
{ \
129
2.66k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.66k
                   HIGHBD_TAIL_SUFFIX); \
131
2.66k
}
itx_tmpl.c:inv_txfm_add_dct_adst_4x16_c
Line
Count
Source
127
2.17k
                                               HIGHBD_DECL_SUFFIX) \
128
2.17k
{ \
129
2.17k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.17k
                   HIGHBD_TAIL_SUFFIX); \
131
2.17k
}
itx_tmpl.c:inv_txfm_add_adst_adst_4x16_c
Line
Count
Source
127
3.53k
                                               HIGHBD_DECL_SUFFIX) \
128
3.53k
{ \
129
3.53k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.53k
                   HIGHBD_TAIL_SUFFIX); \
131
3.53k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_4x16_c
Line
Count
Source
127
387
                                               HIGHBD_DECL_SUFFIX) \
128
387
{ \
129
387
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
387
                   HIGHBD_TAIL_SUFFIX); \
131
387
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_4x16_c
Line
Count
Source
127
652
                                               HIGHBD_DECL_SUFFIX) \
128
652
{ \
129
652
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
652
                   HIGHBD_TAIL_SUFFIX); \
131
652
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_4x16_c
Line
Count
Source
127
392
                                               HIGHBD_DECL_SUFFIX) \
128
392
{ \
129
392
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
392
                   HIGHBD_TAIL_SUFFIX); \
131
392
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_4x16_c
Line
Count
Source
127
326
                                               HIGHBD_DECL_SUFFIX) \
128
326
{ \
129
326
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
326
                   HIGHBD_TAIL_SUFFIX); \
131
326
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_4x16_c
Line
Count
Source
127
348
                                               HIGHBD_DECL_SUFFIX) \
128
348
{ \
129
348
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
348
                   HIGHBD_TAIL_SUFFIX); \
131
348
}
itx_tmpl.c:inv_txfm_add_dct_identity_4x16_c
Line
Count
Source
127
1.10k
                                               HIGHBD_DECL_SUFFIX) \
128
1.10k
{ \
129
1.10k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.10k
                   HIGHBD_TAIL_SUFFIX); \
131
1.10k
}
itx_tmpl.c:inv_txfm_add_identity_dct_4x16_c
Line
Count
Source
127
859
                                               HIGHBD_DECL_SUFFIX) \
128
859
{ \
129
859
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
859
                   HIGHBD_TAIL_SUFFIX); \
131
859
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_4x16_c
Line
Count
Source
127
610
                                               HIGHBD_DECL_SUFFIX) \
128
610
{ \
129
610
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
610
                   HIGHBD_TAIL_SUFFIX); \
131
610
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_4x16_c
Line
Count
Source
127
377
                                               HIGHBD_DECL_SUFFIX) \
128
377
{ \
129
377
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
377
                   HIGHBD_TAIL_SUFFIX); \
131
377
}
itx_tmpl.c:inv_txfm_add_adst_identity_4x16_c
Line
Count
Source
127
917
                                               HIGHBD_DECL_SUFFIX) \
128
917
{ \
129
917
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
917
                   HIGHBD_TAIL_SUFFIX); \
131
917
}
itx_tmpl.c:inv_txfm_add_identity_adst_4x16_c
Line
Count
Source
127
503
                                               HIGHBD_DECL_SUFFIX) \
128
503
{ \
129
503
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
503
                   HIGHBD_TAIL_SUFFIX); \
131
503
}
itx_tmpl.c:inv_txfm_add_dct_dct_8x4_c
Line
Count
Source
127
13.2k
                                               HIGHBD_DECL_SUFFIX) \
128
13.2k
{ \
129
13.2k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
13.2k
                   HIGHBD_TAIL_SUFFIX); \
131
13.2k
}
itx_tmpl.c:inv_txfm_add_identity_identity_8x4_c
Line
Count
Source
127
5.36k
                                               HIGHBD_DECL_SUFFIX) \
128
5.36k
{ \
129
5.36k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.36k
                   HIGHBD_TAIL_SUFFIX); \
131
5.36k
}
itx_tmpl.c:inv_txfm_add_adst_dct_8x4_c
Line
Count
Source
127
8.74k
                                               HIGHBD_DECL_SUFFIX) \
128
8.74k
{ \
129
8.74k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
8.74k
                   HIGHBD_TAIL_SUFFIX); \
131
8.74k
}
itx_tmpl.c:inv_txfm_add_dct_adst_8x4_c
Line
Count
Source
127
6.92k
                                               HIGHBD_DECL_SUFFIX) \
128
6.92k
{ \
129
6.92k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
6.92k
                   HIGHBD_TAIL_SUFFIX); \
131
6.92k
}
itx_tmpl.c:inv_txfm_add_adst_adst_8x4_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_flipadst_adst_8x4_c
Line
Count
Source
127
1.65k
                                               HIGHBD_DECL_SUFFIX) \
128
1.65k
{ \
129
1.65k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.65k
                   HIGHBD_TAIL_SUFFIX); \
131
1.65k
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_8x4_c
Line
Count
Source
127
1.70k
                                               HIGHBD_DECL_SUFFIX) \
128
1.70k
{ \
129
1.70k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.70k
                   HIGHBD_TAIL_SUFFIX); \
131
1.70k
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_8x4_c
Line
Count
Source
127
1.71k
                                               HIGHBD_DECL_SUFFIX) \
128
1.71k
{ \
129
1.71k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.71k
                   HIGHBD_TAIL_SUFFIX); \
131
1.71k
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_8x4_c
Line
Count
Source
127
1.24k
                                               HIGHBD_DECL_SUFFIX) \
128
1.24k
{ \
129
1.24k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.24k
                   HIGHBD_TAIL_SUFFIX); \
131
1.24k
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_8x4_c
Line
Count
Source
127
1.15k
                                               HIGHBD_DECL_SUFFIX) \
128
1.15k
{ \
129
1.15k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.15k
                   HIGHBD_TAIL_SUFFIX); \
131
1.15k
}
itx_tmpl.c:inv_txfm_add_dct_identity_8x4_c
Line
Count
Source
127
3.33k
                                               HIGHBD_DECL_SUFFIX) \
128
3.33k
{ \
129
3.33k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.33k
                   HIGHBD_TAIL_SUFFIX); \
131
3.33k
}
itx_tmpl.c:inv_txfm_add_identity_dct_8x4_c
Line
Count
Source
127
2.30k
                                               HIGHBD_DECL_SUFFIX) \
128
2.30k
{ \
129
2.30k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.30k
                   HIGHBD_TAIL_SUFFIX); \
131
2.30k
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_8x4_c
Line
Count
Source
127
2.26k
                                               HIGHBD_DECL_SUFFIX) \
128
2.26k
{ \
129
2.26k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.26k
                   HIGHBD_TAIL_SUFFIX); \
131
2.26k
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_8x4_c
Line
Count
Source
127
1.42k
                                               HIGHBD_DECL_SUFFIX) \
128
1.42k
{ \
129
1.42k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.42k
                   HIGHBD_TAIL_SUFFIX); \
131
1.42k
}
itx_tmpl.c:inv_txfm_add_adst_identity_8x4_c
Line
Count
Source
127
2.74k
                                               HIGHBD_DECL_SUFFIX) \
128
2.74k
{ \
129
2.74k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.74k
                   HIGHBD_TAIL_SUFFIX); \
131
2.74k
}
itx_tmpl.c:inv_txfm_add_identity_adst_8x4_c
Line
Count
Source
127
1.97k
                                               HIGHBD_DECL_SUFFIX) \
128
1.97k
{ \
129
1.97k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.97k
                   HIGHBD_TAIL_SUFFIX); \
131
1.97k
}
itx_tmpl.c:inv_txfm_add_dct_dct_8x8_c
Line
Count
Source
127
42.3k
                                               HIGHBD_DECL_SUFFIX) \
128
42.3k
{ \
129
42.3k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
42.3k
                   HIGHBD_TAIL_SUFFIX); \
131
42.3k
}
itx_tmpl.c:inv_txfm_add_identity_identity_8x8_c
Line
Count
Source
127
12.9k
                                               HIGHBD_DECL_SUFFIX) \
128
12.9k
{ \
129
12.9k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
12.9k
                   HIGHBD_TAIL_SUFFIX); \
131
12.9k
}
itx_tmpl.c:inv_txfm_add_adst_dct_8x8_c
Line
Count
Source
127
26.9k
                                               HIGHBD_DECL_SUFFIX) \
128
26.9k
{ \
129
26.9k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
26.9k
                   HIGHBD_TAIL_SUFFIX); \
131
26.9k
}
itx_tmpl.c:inv_txfm_add_dct_adst_8x8_c
Line
Count
Source
127
22.8k
                                               HIGHBD_DECL_SUFFIX) \
128
22.8k
{ \
129
22.8k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
22.8k
                   HIGHBD_TAIL_SUFFIX); \
131
22.8k
}
itx_tmpl.c:inv_txfm_add_adst_adst_8x8_c
Line
Count
Source
127
25.4k
                                               HIGHBD_DECL_SUFFIX) \
128
25.4k
{ \
129
25.4k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
25.4k
                   HIGHBD_TAIL_SUFFIX); \
131
25.4k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_8x8_c
Line
Count
Source
127
3.33k
                                               HIGHBD_DECL_SUFFIX) \
128
3.33k
{ \
129
3.33k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.33k
                   HIGHBD_TAIL_SUFFIX); \
131
3.33k
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_8x8_c
Line
Count
Source
127
3.53k
                                               HIGHBD_DECL_SUFFIX) \
128
3.53k
{ \
129
3.53k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.53k
                   HIGHBD_TAIL_SUFFIX); \
131
3.53k
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_8x8_c
Line
Count
Source
127
3.98k
                                               HIGHBD_DECL_SUFFIX) \
128
3.98k
{ \
129
3.98k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.98k
                   HIGHBD_TAIL_SUFFIX); \
131
3.98k
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_8x8_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_flipadst_flipadst_8x8_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_dct_identity_8x8_c
Line
Count
Source
127
9.41k
                                               HIGHBD_DECL_SUFFIX) \
128
9.41k
{ \
129
9.41k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
9.41k
                   HIGHBD_TAIL_SUFFIX); \
131
9.41k
}
itx_tmpl.c:inv_txfm_add_identity_dct_8x8_c
Line
Count
Source
127
3.80k
                                               HIGHBD_DECL_SUFFIX) \
128
3.80k
{ \
129
3.80k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.80k
                   HIGHBD_TAIL_SUFFIX); \
131
3.80k
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_8x8_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_identity_flipadst_8x8_c
Line
Count
Source
127
1.70k
                                               HIGHBD_DECL_SUFFIX) \
128
1.70k
{ \
129
1.70k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.70k
                   HIGHBD_TAIL_SUFFIX); \
131
1.70k
}
itx_tmpl.c:inv_txfm_add_adst_identity_8x8_c
Line
Count
Source
127
3.53k
                                               HIGHBD_DECL_SUFFIX) \
128
3.53k
{ \
129
3.53k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.53k
                   HIGHBD_TAIL_SUFFIX); \
131
3.53k
}
itx_tmpl.c:inv_txfm_add_identity_adst_8x8_c
Line
Count
Source
127
2.86k
                                               HIGHBD_DECL_SUFFIX) \
128
2.86k
{ \
129
2.86k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.86k
                   HIGHBD_TAIL_SUFFIX); \
131
2.86k
}
itx_tmpl.c:inv_txfm_add_dct_dct_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_identity_8x16_c
Line
Count
Source
127
2.56k
                                               HIGHBD_DECL_SUFFIX) \
128
2.56k
{ \
129
2.56k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.56k
                   HIGHBD_TAIL_SUFFIX); \
131
2.56k
}
itx_tmpl.c:inv_txfm_add_adst_dct_8x16_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_adst_8x16_c
Line
Count
Source
127
4.82k
                                               HIGHBD_DECL_SUFFIX) \
128
4.82k
{ \
129
4.82k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.82k
                   HIGHBD_TAIL_SUFFIX); \
131
4.82k
}
itx_tmpl.c:inv_txfm_add_adst_adst_8x16_c
Line
Count
Source
127
5.52k
                                               HIGHBD_DECL_SUFFIX) \
128
5.52k
{ \
129
5.52k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.52k
                   HIGHBD_TAIL_SUFFIX); \
131
5.52k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_8x16_c
Line
Count
Source
127
869
                                               HIGHBD_DECL_SUFFIX) \
128
869
{ \
129
869
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
869
                   HIGHBD_TAIL_SUFFIX); \
131
869
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_8x16_c
Line
Count
Source
127
1.05k
                                               HIGHBD_DECL_SUFFIX) \
128
1.05k
{ \
129
1.05k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.05k
                   HIGHBD_TAIL_SUFFIX); \
131
1.05k
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_8x16_c
Line
Count
Source
127
1.42k
                                               HIGHBD_DECL_SUFFIX) \
128
1.42k
{ \
129
1.42k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.42k
                   HIGHBD_TAIL_SUFFIX); \
131
1.42k
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_8x16_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_flipadst_flipadst_8x16_c
Line
Count
Source
127
925
                                               HIGHBD_DECL_SUFFIX) \
128
925
{ \
129
925
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
925
                   HIGHBD_TAIL_SUFFIX); \
131
925
}
itx_tmpl.c:inv_txfm_add_dct_identity_8x16_c
Line
Count
Source
127
2.05k
                                               HIGHBD_DECL_SUFFIX) \
128
2.05k
{ \
129
2.05k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.05k
                   HIGHBD_TAIL_SUFFIX); \
131
2.05k
}
itx_tmpl.c:inv_txfm_add_identity_dct_8x16_c
Line
Count
Source
127
833
                                               HIGHBD_DECL_SUFFIX) \
128
833
{ \
129
833
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
833
                   HIGHBD_TAIL_SUFFIX); \
131
833
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_8x16_c
Line
Count
Source
127
1.37k
                                               HIGHBD_DECL_SUFFIX) \
128
1.37k
{ \
129
1.37k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.37k
                   HIGHBD_TAIL_SUFFIX); \
131
1.37k
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_8x16_c
Line
Count
Source
127
776
                                               HIGHBD_DECL_SUFFIX) \
128
776
{ \
129
776
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
776
                   HIGHBD_TAIL_SUFFIX); \
131
776
}
itx_tmpl.c:inv_txfm_add_adst_identity_8x16_c
Line
Count
Source
127
1.06k
                                               HIGHBD_DECL_SUFFIX) \
128
1.06k
{ \
129
1.06k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.06k
                   HIGHBD_TAIL_SUFFIX); \
131
1.06k
}
itx_tmpl.c:inv_txfm_add_identity_adst_8x16_c
Line
Count
Source
127
625
                                               HIGHBD_DECL_SUFFIX) \
128
625
{ \
129
625
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
625
                   HIGHBD_TAIL_SUFFIX); \
131
625
}
itx_tmpl.c:inv_txfm_add_dct_dct_8x32_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_identity_8x32_c
Line
Count
Source
127
858
                                               HIGHBD_DECL_SUFFIX) \
128
858
{ \
129
858
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
858
                   HIGHBD_TAIL_SUFFIX); \
131
858
}
itx_tmpl.c:inv_txfm_add_dct_dct_16x4_c
Line
Count
Source
127
7.59k
                                               HIGHBD_DECL_SUFFIX) \
128
7.59k
{ \
129
7.59k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
7.59k
                   HIGHBD_TAIL_SUFFIX); \
131
7.59k
}
itx_tmpl.c:inv_txfm_add_identity_identity_16x4_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_adst_dct_16x4_c
Line
Count
Source
127
5.16k
                                               HIGHBD_DECL_SUFFIX) \
128
5.16k
{ \
129
5.16k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.16k
                   HIGHBD_TAIL_SUFFIX); \
131
5.16k
}
itx_tmpl.c:inv_txfm_add_dct_adst_16x4_c
Line
Count
Source
127
4.43k
                                               HIGHBD_DECL_SUFFIX) \
128
4.43k
{ \
129
4.43k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.43k
                   HIGHBD_TAIL_SUFFIX); \
131
4.43k
}
itx_tmpl.c:inv_txfm_add_adst_adst_16x4_c
Line
Count
Source
127
6.32k
                                               HIGHBD_DECL_SUFFIX) \
128
6.32k
{ \
129
6.32k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
6.32k
                   HIGHBD_TAIL_SUFFIX); \
131
6.32k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_16x4_c
Line
Count
Source
127
993
                                               HIGHBD_DECL_SUFFIX) \
128
993
{ \
129
993
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
993
                   HIGHBD_TAIL_SUFFIX); \
131
993
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_16x4_c
Line
Count
Source
127
889
                                               HIGHBD_DECL_SUFFIX) \
128
889
{ \
129
889
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
889
                   HIGHBD_TAIL_SUFFIX); \
131
889
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_16x4_c
Line
Count
Source
127
788
                                               HIGHBD_DECL_SUFFIX) \
128
788
{ \
129
788
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
788
                   HIGHBD_TAIL_SUFFIX); \
131
788
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_16x4_c
Line
Count
Source
127
699
                                               HIGHBD_DECL_SUFFIX) \
128
699
{ \
129
699
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
699
                   HIGHBD_TAIL_SUFFIX); \
131
699
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_16x4_c
Line
Count
Source
127
644
                                               HIGHBD_DECL_SUFFIX) \
128
644
{ \
129
644
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
644
                   HIGHBD_TAIL_SUFFIX); \
131
644
}
itx_tmpl.c:inv_txfm_add_dct_identity_16x4_c
Line
Count
Source
127
2.26k
                                               HIGHBD_DECL_SUFFIX) \
128
2.26k
{ \
129
2.26k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.26k
                   HIGHBD_TAIL_SUFFIX); \
131
2.26k
}
itx_tmpl.c:inv_txfm_add_identity_dct_16x4_c
Line
Count
Source
127
1.17k
                                               HIGHBD_DECL_SUFFIX) \
128
1.17k
{ \
129
1.17k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.17k
                   HIGHBD_TAIL_SUFFIX); \
131
1.17k
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_16x4_c
Line
Count
Source
127
1.34k
                                               HIGHBD_DECL_SUFFIX) \
128
1.34k
{ \
129
1.34k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.34k
                   HIGHBD_TAIL_SUFFIX); \
131
1.34k
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_16x4_c
Line
Count
Source
127
628
                                               HIGHBD_DECL_SUFFIX) \
128
628
{ \
129
628
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
628
                   HIGHBD_TAIL_SUFFIX); \
131
628
}
itx_tmpl.c:inv_txfm_add_adst_identity_16x4_c
Line
Count
Source
127
1.70k
                                               HIGHBD_DECL_SUFFIX) \
128
1.70k
{ \
129
1.70k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.70k
                   HIGHBD_TAIL_SUFFIX); \
131
1.70k
}
itx_tmpl.c:inv_txfm_add_identity_adst_16x4_c
Line
Count
Source
127
1.03k
                                               HIGHBD_DECL_SUFFIX) \
128
1.03k
{ \
129
1.03k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.03k
                   HIGHBD_TAIL_SUFFIX); \
131
1.03k
}
itx_tmpl.c:inv_txfm_add_dct_dct_16x8_c
Line
Count
Source
127
16.0k
                                               HIGHBD_DECL_SUFFIX) \
128
16.0k
{ \
129
16.0k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
16.0k
                   HIGHBD_TAIL_SUFFIX); \
131
16.0k
}
itx_tmpl.c:inv_txfm_add_identity_identity_16x8_c
Line
Count
Source
127
4.08k
                                               HIGHBD_DECL_SUFFIX) \
128
4.08k
{ \
129
4.08k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.08k
                   HIGHBD_TAIL_SUFFIX); \
131
4.08k
}
itx_tmpl.c:inv_txfm_add_adst_dct_16x8_c
Line
Count
Source
127
9.69k
                                               HIGHBD_DECL_SUFFIX) \
128
9.69k
{ \
129
9.69k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
9.69k
                   HIGHBD_TAIL_SUFFIX); \
131
9.69k
}
itx_tmpl.c:inv_txfm_add_dct_adst_16x8_c
Line
Count
Source
127
7.36k
                                               HIGHBD_DECL_SUFFIX) \
128
7.36k
{ \
129
7.36k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
7.36k
                   HIGHBD_TAIL_SUFFIX); \
131
7.36k
}
itx_tmpl.c:inv_txfm_add_adst_adst_16x8_c
Line
Count
Source
127
8.25k
                                               HIGHBD_DECL_SUFFIX) \
128
8.25k
{ \
129
8.25k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
8.25k
                   HIGHBD_TAIL_SUFFIX); \
131
8.25k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_16x8_c
Line
Count
Source
127
1.49k
                                               HIGHBD_DECL_SUFFIX) \
128
1.49k
{ \
129
1.49k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.49k
                   HIGHBD_TAIL_SUFFIX); \
131
1.49k
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_16x8_c
Line
Count
Source
127
1.57k
                                               HIGHBD_DECL_SUFFIX) \
128
1.57k
{ \
129
1.57k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.57k
                   HIGHBD_TAIL_SUFFIX); \
131
1.57k
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_16x8_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_dct_flipadst_16x8_c
Line
Count
Source
127
1.62k
                                               HIGHBD_DECL_SUFFIX) \
128
1.62k
{ \
129
1.62k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.62k
                   HIGHBD_TAIL_SUFFIX); \
131
1.62k
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_16x8_c
Line
Count
Source
127
1.40k
                                               HIGHBD_DECL_SUFFIX) \
128
1.40k
{ \
129
1.40k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.40k
                   HIGHBD_TAIL_SUFFIX); \
131
1.40k
}
itx_tmpl.c:inv_txfm_add_dct_identity_16x8_c
Line
Count
Source
127
3.67k
                                               HIGHBD_DECL_SUFFIX) \
128
3.67k
{ \
129
3.67k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.67k
                   HIGHBD_TAIL_SUFFIX); \
131
3.67k
}
itx_tmpl.c:inv_txfm_add_identity_dct_16x8_c
Line
Count
Source
127
1.48k
                                               HIGHBD_DECL_SUFFIX) \
128
1.48k
{ \
129
1.48k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.48k
                   HIGHBD_TAIL_SUFFIX); \
131
1.48k
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_16x8_c
Line
Count
Source
127
1.70k
                                               HIGHBD_DECL_SUFFIX) \
128
1.70k
{ \
129
1.70k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.70k
                   HIGHBD_TAIL_SUFFIX); \
131
1.70k
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_16x8_c
Line
Count
Source
127
1.01k
                                               HIGHBD_DECL_SUFFIX) \
128
1.01k
{ \
129
1.01k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.01k
                   HIGHBD_TAIL_SUFFIX); \
131
1.01k
}
itx_tmpl.c:inv_txfm_add_adst_identity_16x8_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_identity_adst_16x8_c
Line
Count
Source
127
895
                                               HIGHBD_DECL_SUFFIX) \
128
895
{ \
129
895
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
895
                   HIGHBD_TAIL_SUFFIX); \
131
895
}
itx_tmpl.c:inv_txfm_add_dct_dct_16x16_c
Line
Count
Source
127
36.3k
                                               HIGHBD_DECL_SUFFIX) \
128
36.3k
{ \
129
36.3k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
36.3k
                   HIGHBD_TAIL_SUFFIX); \
131
36.3k
}
itx_tmpl.c:inv_txfm_add_identity_identity_16x16_c
Line
Count
Source
127
4.85k
                                               HIGHBD_DECL_SUFFIX) \
128
4.85k
{ \
129
4.85k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.85k
                   HIGHBD_TAIL_SUFFIX); \
131
4.85k
}
itx_tmpl.c:inv_txfm_add_adst_dct_16x16_c
Line
Count
Source
127
30.5k
                                               HIGHBD_DECL_SUFFIX) \
128
30.5k
{ \
129
30.5k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
30.5k
                   HIGHBD_TAIL_SUFFIX); \
131
30.5k
}
itx_tmpl.c:inv_txfm_add_dct_adst_16x16_c
Line
Count
Source
127
24.0k
                                               HIGHBD_DECL_SUFFIX) \
128
24.0k
{ \
129
24.0k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
24.0k
                   HIGHBD_TAIL_SUFFIX); \
131
24.0k
}
itx_tmpl.c:inv_txfm_add_adst_adst_16x16_c
Line
Count
Source
127
30.6k
                                               HIGHBD_DECL_SUFFIX) \
128
30.6k
{ \
129
30.6k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
30.6k
                   HIGHBD_TAIL_SUFFIX); \
131
30.6k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_16x16_c
Line
Count
Source
127
1.48k
                                               HIGHBD_DECL_SUFFIX) \
128
1.48k
{ \
129
1.48k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.48k
                   HIGHBD_TAIL_SUFFIX); \
131
1.48k
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_16x16_c
Line
Count
Source
127
1.21k
                                               HIGHBD_DECL_SUFFIX) \
128
1.21k
{ \
129
1.21k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.21k
                   HIGHBD_TAIL_SUFFIX); \
131
1.21k
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_16x16_c
Line
Count
Source
127
1.51k
                                               HIGHBD_DECL_SUFFIX) \
128
1.51k
{ \
129
1.51k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.51k
                   HIGHBD_TAIL_SUFFIX); \
131
1.51k
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_16x16_c
Line
Count
Source
127
1.45k
                                               HIGHBD_DECL_SUFFIX) \
128
1.45k
{ \
129
1.45k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.45k
                   HIGHBD_TAIL_SUFFIX); \
131
1.45k
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_16x16_c
Line
Count
Source
127
1.24k
                                               HIGHBD_DECL_SUFFIX) \
128
1.24k
{ \
129
1.24k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.24k
                   HIGHBD_TAIL_SUFFIX); \
131
1.24k
}
itx_tmpl.c:inv_txfm_add_dct_identity_16x16_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_identity_dct_16x16_c
Line
Count
Source
127
796
                                               HIGHBD_DECL_SUFFIX) \
128
796
{ \
129
796
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
796
                   HIGHBD_TAIL_SUFFIX); \
131
796
}
itx_tmpl.c:inv_txfm_add_dct_dct_16x32_c
Line
Count
Source
127
19.9k
                                               HIGHBD_DECL_SUFFIX) \
128
19.9k
{ \
129
19.9k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
19.9k
                   HIGHBD_TAIL_SUFFIX); \
131
19.9k
}
itx_tmpl.c:inv_txfm_add_identity_identity_16x32_c
Line
Count
Source
127
605
                                               HIGHBD_DECL_SUFFIX) \
128
605
{ \
129
605
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
605
                   HIGHBD_TAIL_SUFFIX); \
131
605
}
itx_tmpl.c:inv_txfm_add_dct_dct_16x64_c
Line
Count
Source
127
5.41k
                                               HIGHBD_DECL_SUFFIX) \
128
5.41k
{ \
129
5.41k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.41k
                   HIGHBD_TAIL_SUFFIX); \
131
5.41k
}
itx_tmpl.c:inv_txfm_add_dct_dct_32x8_c
Line
Count
Source
127
16.9k
                                               HIGHBD_DECL_SUFFIX) \
128
16.9k
{ \
129
16.9k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
16.9k
                   HIGHBD_TAIL_SUFFIX); \
131
16.9k
}
itx_tmpl.c:inv_txfm_add_identity_identity_32x8_c
Line
Count
Source
127
1.06k
                                               HIGHBD_DECL_SUFFIX) \
128
1.06k
{ \
129
1.06k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.06k
                   HIGHBD_TAIL_SUFFIX); \
131
1.06k
}
itx_tmpl.c:inv_txfm_add_dct_dct_32x16_c
Line
Count
Source
127
23.2k
                                               HIGHBD_DECL_SUFFIX) \
128
23.2k
{ \
129
23.2k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
23.2k
                   HIGHBD_TAIL_SUFFIX); \
131
23.2k
}
itx_tmpl.c:inv_txfm_add_identity_identity_32x16_c
Line
Count
Source
127
451
                                               HIGHBD_DECL_SUFFIX) \
128
451
{ \
129
451
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
451
                   HIGHBD_TAIL_SUFFIX); \
131
451
}
itx_tmpl.c:inv_txfm_add_dct_dct_32x32_c
Line
Count
Source
127
125k
                                               HIGHBD_DECL_SUFFIX) \
128
125k
{ \
129
125k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
125k
                   HIGHBD_TAIL_SUFFIX); \
131
125k
}
itx_tmpl.c:inv_txfm_add_identity_identity_32x32_c
Line
Count
Source
127
534
                                               HIGHBD_DECL_SUFFIX) \
128
534
{ \
129
534
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
534
                   HIGHBD_TAIL_SUFFIX); \
131
534
}
itx_tmpl.c:inv_txfm_add_dct_dct_32x64_c
Line
Count
Source
127
10.7k
                                               HIGHBD_DECL_SUFFIX) \
128
10.7k
{ \
129
10.7k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
10.7k
                   HIGHBD_TAIL_SUFFIX); \
131
10.7k
}
itx_tmpl.c:inv_txfm_add_dct_dct_64x16_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_64x32_c
Line
Count
Source
127
7.96k
                                               HIGHBD_DECL_SUFFIX) \
128
7.96k
{ \
129
7.96k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
7.96k
                   HIGHBD_TAIL_SUFFIX); \
131
7.96k
}
itx_tmpl.c:inv_txfm_add_dct_dct_64x64_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
}
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
496k
{
188
496k
    int32_t tmp[4 * 4], *c = tmp;
189
2.48M
    for (int y = 0; y < 4; y++, c += 4) {
190
9.93M
        for (int x = 0; x < 4; x++)
191
7.94M
            c[x] = coeff[y + x * 4] >> 2;
192
1.98M
        dav1d_inv_wht4_1d_c(c, 1);
193
1.98M
    }
194
496k
    memset(coeff, 0, sizeof(*coeff) * 4 * 4);
195
196
2.48M
    for (int x = 0; x < 4; x++)
197
1.98M
        dav1d_inv_wht4_1d_c(&tmp[x], 4);
198
199
496k
    c = tmp;
200
2.48M
    for (int y = 0; y < 4; y++, dst += PXSTRIDE(stride))
201
9.93M
        for (int x = 0; x < 4; x++)
202
7.94M
            dst[x] = iclip_pixel(dst[x] + *c++);
203
496k
}
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
21.1k
COLD void bitfn(dav1d_itx_dsp_init)(Dav1dInvTxfmDSPContext *const c, int bpc) {
221
21.1k
#define assign_itx_all_fn64(w, h, pfx) \
222
401k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_DCT  ] = \
223
401k
        inv_txfm_add_dct_dct_##w##x##h##_c
224
225
21.1k
#define assign_itx_all_fn32(w, h, pfx) \
226
295k
    assign_itx_all_fn64(w, h, pfx); \
227
295k
    c->itxfm_add[pfx##TX_##w##X##h][IDTX] = \
228
295k
        inv_txfm_add_identity_identity_##w##x##h##_c
229
230
21.1k
#define assign_itx_all_fn16(w, h, pfx) \
231
190k
    assign_itx_all_fn32(w, h, pfx); \
232
190k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_ADST ] = \
233
190k
        inv_txfm_add_adst_dct_##w##x##h##_c; \
234
190k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_DCT ] = \
235
190k
        inv_txfm_add_dct_adst_##w##x##h##_c; \
236
190k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_ADST] = \
237
190k
        inv_txfm_add_adst_adst_##w##x##h##_c; \
238
190k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_FLIPADST] = \
239
190k
        inv_txfm_add_flipadst_adst_##w##x##h##_c; \
240
190k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_ADST] = \
241
190k
        inv_txfm_add_adst_flipadst_##w##x##h##_c; \
242
190k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_FLIPADST] = \
243
190k
        inv_txfm_add_flipadst_dct_##w##x##h##_c; \
244
190k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_DCT] = \
245
190k
        inv_txfm_add_dct_flipadst_##w##x##h##_c; \
246
190k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_FLIPADST] = \
247
190k
        inv_txfm_add_flipadst_flipadst_##w##x##h##_c; \
248
190k
    c->itxfm_add[pfx##TX_##w##X##h][H_DCT] = \
249
190k
        inv_txfm_add_dct_identity_##w##x##h##_c; \
250
190k
    c->itxfm_add[pfx##TX_##w##X##h][V_DCT] = \
251
190k
        inv_txfm_add_identity_dct_##w##x##h##_c
252
253
21.1k
#define assign_itx_all_fn84(w, h, pfx) \
254
169k
    assign_itx_all_fn16(w, h, pfx); \
255
169k
    c->itxfm_add[pfx##TX_##w##X##h][H_FLIPADST] = \
256
169k
        inv_txfm_add_flipadst_identity_##w##x##h##_c; \
257
169k
    c->itxfm_add[pfx##TX_##w##X##h][V_FLIPADST] = \
258
169k
        inv_txfm_add_identity_flipadst_##w##x##h##_c; \
259
169k
    c->itxfm_add[pfx##TX_##w##X##h][H_ADST] = \
260
169k
        inv_txfm_add_adst_identity_##w##x##h##_c; \
261
169k
    c->itxfm_add[pfx##TX_##w##X##h][V_ADST] = \
262
169k
        inv_txfm_add_identity_adst_##w##x##h##_c; \
263
21.1k
264
21.1k
#if !(HAVE_ASM && TRIM_DSP_FUNCTIONS && ( \
265
21.1k
  ARCH_AARCH64 || \
266
21.1k
  (ARCH_ARM && (defined(__ARM_NEON) || defined(__APPLE__) || defined(_WIN32))) \
267
21.1k
))
268
21.1k
    c->itxfm_add[TX_4X4][WHT_WHT] = inv_txfm_add_wht_wht_4x4_c;
269
21.1k
#endif
270
21.1k
    assign_itx_all_fn84( 4,  4, );
271
21.1k
    assign_itx_all_fn84( 4,  8, R);
272
21.1k
    assign_itx_all_fn84( 4, 16, R);
273
21.1k
    assign_itx_all_fn84( 8,  4, R);
274
21.1k
    assign_itx_all_fn84( 8,  8, );
275
21.1k
    assign_itx_all_fn84( 8, 16, R);
276
21.1k
    assign_itx_all_fn32( 8, 32, R);
277
21.1k
    assign_itx_all_fn84(16,  4, R);
278
21.1k
    assign_itx_all_fn84(16,  8, R);
279
21.1k
    assign_itx_all_fn16(16, 16, );
280
21.1k
    assign_itx_all_fn32(16, 32, R);
281
21.1k
    assign_itx_all_fn64(16, 64, R);
282
21.1k
    assign_itx_all_fn32(32,  8, R);
283
21.1k
    assign_itx_all_fn32(32, 16, R);
284
21.1k
    assign_itx_all_fn32(32, 32, );
285
21.1k
    assign_itx_all_fn64(32, 64, R);
286
21.1k
    assign_itx_all_fn64(64, 16, R);
287
21.1k
    assign_itx_all_fn64(64, 32, R);
288
21.1k
    assign_itx_all_fn64(64, 64, );
289
290
21.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
21.1k
    if (!all_simd)
310
21.1k
        dav1d_init_last_nonzero_col_from_eob_tables();
311
21.1k
}
dav1d_itx_dsp_init_8bpc
Line
Count
Source
220
9.74k
COLD void bitfn(dav1d_itx_dsp_init)(Dav1dInvTxfmDSPContext *const c, int bpc) {
221
9.74k
#define assign_itx_all_fn64(w, h, pfx) \
222
9.74k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_DCT  ] = \
223
9.74k
        inv_txfm_add_dct_dct_##w##x##h##_c
224
225
9.74k
#define assign_itx_all_fn32(w, h, pfx) \
226
9.74k
    assign_itx_all_fn64(w, h, pfx); \
227
9.74k
    c->itxfm_add[pfx##TX_##w##X##h][IDTX] = \
228
9.74k
        inv_txfm_add_identity_identity_##w##x##h##_c
229
230
9.74k
#define assign_itx_all_fn16(w, h, pfx) \
231
9.74k
    assign_itx_all_fn32(w, h, pfx); \
232
9.74k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_ADST ] = \
233
9.74k
        inv_txfm_add_adst_dct_##w##x##h##_c; \
234
9.74k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_DCT ] = \
235
9.74k
        inv_txfm_add_dct_adst_##w##x##h##_c; \
236
9.74k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_ADST] = \
237
9.74k
        inv_txfm_add_adst_adst_##w##x##h##_c; \
238
9.74k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_FLIPADST] = \
239
9.74k
        inv_txfm_add_flipadst_adst_##w##x##h##_c; \
240
9.74k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_ADST] = \
241
9.74k
        inv_txfm_add_adst_flipadst_##w##x##h##_c; \
242
9.74k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_FLIPADST] = \
243
9.74k
        inv_txfm_add_flipadst_dct_##w##x##h##_c; \
244
9.74k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_DCT] = \
245
9.74k
        inv_txfm_add_dct_flipadst_##w##x##h##_c; \
246
9.74k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_FLIPADST] = \
247
9.74k
        inv_txfm_add_flipadst_flipadst_##w##x##h##_c; \
248
9.74k
    c->itxfm_add[pfx##TX_##w##X##h][H_DCT] = \
249
9.74k
        inv_txfm_add_dct_identity_##w##x##h##_c; \
250
9.74k
    c->itxfm_add[pfx##TX_##w##X##h][V_DCT] = \
251
9.74k
        inv_txfm_add_identity_dct_##w##x##h##_c
252
253
9.74k
#define assign_itx_all_fn84(w, h, pfx) \
254
9.74k
    assign_itx_all_fn16(w, h, pfx); \
255
9.74k
    c->itxfm_add[pfx##TX_##w##X##h][H_FLIPADST] = \
256
9.74k
        inv_txfm_add_flipadst_identity_##w##x##h##_c; \
257
9.74k
    c->itxfm_add[pfx##TX_##w##X##h][V_FLIPADST] = \
258
9.74k
        inv_txfm_add_identity_flipadst_##w##x##h##_c; \
259
9.74k
    c->itxfm_add[pfx##TX_##w##X##h][H_ADST] = \
260
9.74k
        inv_txfm_add_adst_identity_##w##x##h##_c; \
261
9.74k
    c->itxfm_add[pfx##TX_##w##X##h][V_ADST] = \
262
9.74k
        inv_txfm_add_identity_adst_##w##x##h##_c; \
263
9.74k
264
9.74k
#if !(HAVE_ASM && TRIM_DSP_FUNCTIONS && ( \
265
9.74k
  ARCH_AARCH64 || \
266
9.74k
  (ARCH_ARM && (defined(__ARM_NEON) || defined(__APPLE__) || defined(_WIN32))) \
267
9.74k
))
268
9.74k
    c->itxfm_add[TX_4X4][WHT_WHT] = inv_txfm_add_wht_wht_4x4_c;
269
9.74k
#endif
270
9.74k
    assign_itx_all_fn84( 4,  4, );
271
9.74k
    assign_itx_all_fn84( 4,  8, R);
272
9.74k
    assign_itx_all_fn84( 4, 16, R);
273
9.74k
    assign_itx_all_fn84( 8,  4, R);
274
9.74k
    assign_itx_all_fn84( 8,  8, );
275
9.74k
    assign_itx_all_fn84( 8, 16, R);
276
9.74k
    assign_itx_all_fn32( 8, 32, R);
277
9.74k
    assign_itx_all_fn84(16,  4, R);
278
9.74k
    assign_itx_all_fn84(16,  8, R);
279
9.74k
    assign_itx_all_fn16(16, 16, );
280
9.74k
    assign_itx_all_fn32(16, 32, R);
281
9.74k
    assign_itx_all_fn64(16, 64, R);
282
9.74k
    assign_itx_all_fn32(32,  8, R);
283
9.74k
    assign_itx_all_fn32(32, 16, R);
284
9.74k
    assign_itx_all_fn32(32, 32, );
285
9.74k
    assign_itx_all_fn64(32, 64, R);
286
9.74k
    assign_itx_all_fn64(64, 16, R);
287
9.74k
    assign_itx_all_fn64(64, 32, R);
288
9.74k
    assign_itx_all_fn64(64, 64, );
289
290
9.74k
    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
9.74k
    if (!all_simd)
310
9.74k
        dav1d_init_last_nonzero_col_from_eob_tables();
311
9.74k
}
dav1d_itx_dsp_init_16bpc
Line
Count
Source
220
11.3k
COLD void bitfn(dav1d_itx_dsp_init)(Dav1dInvTxfmDSPContext *const c, int bpc) {
221
11.3k
#define assign_itx_all_fn64(w, h, pfx) \
222
11.3k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_DCT  ] = \
223
11.3k
        inv_txfm_add_dct_dct_##w##x##h##_c
224
225
11.3k
#define assign_itx_all_fn32(w, h, pfx) \
226
11.3k
    assign_itx_all_fn64(w, h, pfx); \
227
11.3k
    c->itxfm_add[pfx##TX_##w##X##h][IDTX] = \
228
11.3k
        inv_txfm_add_identity_identity_##w##x##h##_c
229
230
11.3k
#define assign_itx_all_fn16(w, h, pfx) \
231
11.3k
    assign_itx_all_fn32(w, h, pfx); \
232
11.3k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_ADST ] = \
233
11.3k
        inv_txfm_add_adst_dct_##w##x##h##_c; \
234
11.3k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_DCT ] = \
235
11.3k
        inv_txfm_add_dct_adst_##w##x##h##_c; \
236
11.3k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_ADST] = \
237
11.3k
        inv_txfm_add_adst_adst_##w##x##h##_c; \
238
11.3k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_FLIPADST] = \
239
11.3k
        inv_txfm_add_flipadst_adst_##w##x##h##_c; \
240
11.3k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_ADST] = \
241
11.3k
        inv_txfm_add_adst_flipadst_##w##x##h##_c; \
242
11.3k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_FLIPADST] = \
243
11.3k
        inv_txfm_add_flipadst_dct_##w##x##h##_c; \
244
11.3k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_DCT] = \
245
11.3k
        inv_txfm_add_dct_flipadst_##w##x##h##_c; \
246
11.3k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_FLIPADST] = \
247
11.3k
        inv_txfm_add_flipadst_flipadst_##w##x##h##_c; \
248
11.3k
    c->itxfm_add[pfx##TX_##w##X##h][H_DCT] = \
249
11.3k
        inv_txfm_add_dct_identity_##w##x##h##_c; \
250
11.3k
    c->itxfm_add[pfx##TX_##w##X##h][V_DCT] = \
251
11.3k
        inv_txfm_add_identity_dct_##w##x##h##_c
252
253
11.3k
#define assign_itx_all_fn84(w, h, pfx) \
254
11.3k
    assign_itx_all_fn16(w, h, pfx); \
255
11.3k
    c->itxfm_add[pfx##TX_##w##X##h][H_FLIPADST] = \
256
11.3k
        inv_txfm_add_flipadst_identity_##w##x##h##_c; \
257
11.3k
    c->itxfm_add[pfx##TX_##w##X##h][V_FLIPADST] = \
258
11.3k
        inv_txfm_add_identity_flipadst_##w##x##h##_c; \
259
11.3k
    c->itxfm_add[pfx##TX_##w##X##h][H_ADST] = \
260
11.3k
        inv_txfm_add_adst_identity_##w##x##h##_c; \
261
11.3k
    c->itxfm_add[pfx##TX_##w##X##h][V_ADST] = \
262
11.3k
        inv_txfm_add_identity_adst_##w##x##h##_c; \
263
11.3k
264
11.3k
#if !(HAVE_ASM && TRIM_DSP_FUNCTIONS && ( \
265
11.3k
  ARCH_AARCH64 || \
266
11.3k
  (ARCH_ARM && (defined(__ARM_NEON) || defined(__APPLE__) || defined(_WIN32))) \
267
11.3k
))
268
11.3k
    c->itxfm_add[TX_4X4][WHT_WHT] = inv_txfm_add_wht_wht_4x4_c;
269
11.3k
#endif
270
11.3k
    assign_itx_all_fn84( 4,  4, );
271
11.3k
    assign_itx_all_fn84( 4,  8, R);
272
11.3k
    assign_itx_all_fn84( 4, 16, R);
273
11.3k
    assign_itx_all_fn84( 8,  4, R);
274
11.3k
    assign_itx_all_fn84( 8,  8, );
275
11.3k
    assign_itx_all_fn84( 8, 16, R);
276
11.3k
    assign_itx_all_fn32( 8, 32, R);
277
11.3k
    assign_itx_all_fn84(16,  4, R);
278
11.3k
    assign_itx_all_fn84(16,  8, R);
279
11.3k
    assign_itx_all_fn16(16, 16, );
280
11.3k
    assign_itx_all_fn32(16, 32, R);
281
11.3k
    assign_itx_all_fn64(16, 64, R);
282
11.3k
    assign_itx_all_fn32(32,  8, R);
283
11.3k
    assign_itx_all_fn32(32, 16, R);
284
11.3k
    assign_itx_all_fn32(32, 32, );
285
11.3k
    assign_itx_all_fn64(32, 64, R);
286
11.3k
    assign_itx_all_fn64(64, 16, R);
287
11.3k
    assign_itx_all_fn64(64, 32, R);
288
11.3k
    assign_itx_all_fn64(64, 64, );
289
290
11.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
11.3k
    if (!all_simd)
310
11.3k
        dav1d_init_last_nonzero_col_from_eob_tables();
311
11.3k
}