Coverage Report

Created: 2026-12-01 06:47

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
677k
{
48
677k
    const TxfmInfo *const t_dim = &dav1d_txfm_dimensions[tx];
49
677k
    const int w = 4 * t_dim->w, h = 4 * t_dim->h;
50
677k
    const int has_dconly = txtp == DCT_DCT;
51
677k
    assert(w >= 4 && w <= 64);
52
677k
    assert(h >= 4 && h <= 64);
53
677k
    assert(eob >= 0);
54
55
677k
    const int is_rect2 = w * 2 == h || h * 2 == w;
56
677k
    const int rnd = (1 << shift) >> 1;
57
58
677k
    if (eob < has_dconly) {
59
142k
        int dc = coeff[0];
60
142k
        coeff[0] = 0;
61
142k
        if (is_rect2)
62
67.2k
            dc = (dc * 181 + 128) >> 8;
63
142k
        dc = (dc * 181 + 128) >> 8;
64
142k
        dc = (dc + rnd) >> shift;
65
142k
        dc = (dc * 181 + 128 + 2048) >> 12;
66
4.44M
        for (int y = 0; y < h; y++, dst += PXSTRIDE(stride))
67
152M
            for (int x = 0; x < w; x++)
68
148M
                dst[x] = iclip_pixel(dst[x] + dc);
69
142k
        return;
70
142k
    }
71
72
535k
    const uint8_t *const txtps = dav1d_tx1d_types[txtp];
73
535k
    const itx_1d_fn first_1d_fn = dav1d_tx1d_fns[t_dim->lw][txtps[0]];
74
535k
    const itx_1d_fn second_1d_fn = dav1d_tx1d_fns[t_dim->lh][txtps[1]];
75
535k
    const int sh = imin(h, 32), sw = imin(w, 32);
76
535k
#if BITDEPTH == 8
77
535k
    const int row_clip_min = INT16_MIN;
78
535k
    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
535k
    const int row_clip_max = ~row_clip_min;
84
535k
    const int col_clip_max = ~col_clip_min;
85
86
535k
    int32_t tmp[64 * 64], *c = tmp;
87
535k
    int last_nonzero_col; // in first 1d itx
88
535k
    if (txtps[1] == IDENTITY && txtps[0] != IDENTITY) {
89
48.5k
        last_nonzero_col = imin(sh - 1, eob);
90
486k
    } else if (txtps[0] == IDENTITY && txtps[1] != IDENTITY) {
91
27.7k
        last_nonzero_col = eob >> (t_dim->lw + 2);
92
458k
    } else {
93
458k
        last_nonzero_col = dav1d_last_nonzero_col_from_eob[tx][eob];
94
458k
    }
95
535k
    assert(last_nonzero_col < sh);
96
2.99M
    for (int y = 0; y <= last_nonzero_col; y++, c += w) {
97
2.45M
        if (is_rect2)
98
13.8M
            for (int x = 0; x < sw; x++)
99
12.9M
                c[x] = (coeff[y + x * sh] * 181 + 128) >> 8;
100
1.49M
        else
101
21.7M
            for (int x = 0; x < sw; x++)
102
20.2M
                c[x] = coeff[y + x * sh];
103
2.45M
        first_1d_fn(c, 1, row_clip_min, row_clip_max);
104
2.45M
    }
105
535k
    if (last_nonzero_col + 1 < sh)
106
404k
        memset(c, 0, sizeof(*c) * (sh - last_nonzero_col - 1) * w);
107
108
535k
    memset(coeff, 0, sizeof(*coeff) * sw * sh);
109
100M
    for (int i = 0; i < w * sh; i++)
110
100M
        tmp[i] = iclip((tmp[i] + rnd) >> shift, col_clip_min, col_clip_max);
111
112
7.08M
    for (int x = 0; x < w; x++)
113
6.55M
        second_1d_fn(&tmp[x], w, col_clip_min, col_clip_max);
114
115
535k
    c = tmp;
116
6.93M
    for (int y = 0; y < h; y++, dst += PXSTRIDE(stride))
117
129M
        for (int x = 0; x < w; x++)
118
122M
            dst[x] = iclip_pixel(dst[x] + ((*c++ + 8) >> 4));
119
535k
}
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
677k
                                               HIGHBD_DECL_SUFFIX) \
128
677k
{ \
129
677k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
677k
                   HIGHBD_TAIL_SUFFIX); \
131
677k
}
itx_tmpl.c:inv_txfm_add_dct_dct_4x4_c
Line
Count
Source
127
13.7k
                                               HIGHBD_DECL_SUFFIX) \
128
13.7k
{ \
129
13.7k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
13.7k
                   HIGHBD_TAIL_SUFFIX); \
131
13.7k
}
itx_tmpl.c:inv_txfm_add_identity_identity_4x4_c
Line
Count
Source
127
8.04k
                                               HIGHBD_DECL_SUFFIX) \
128
8.04k
{ \
129
8.04k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
8.04k
                   HIGHBD_TAIL_SUFFIX); \
131
8.04k
}
itx_tmpl.c:inv_txfm_add_adst_dct_4x4_c
Line
Count
Source
127
11.4k
                                               HIGHBD_DECL_SUFFIX) \
128
11.4k
{ \
129
11.4k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
11.4k
                   HIGHBD_TAIL_SUFFIX); \
131
11.4k
}
itx_tmpl.c:inv_txfm_add_dct_adst_4x4_c
Line
Count
Source
127
9.29k
                                               HIGHBD_DECL_SUFFIX) \
128
9.29k
{ \
129
9.29k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
9.29k
                   HIGHBD_TAIL_SUFFIX); \
131
9.29k
}
itx_tmpl.c:inv_txfm_add_adst_adst_4x4_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_flipadst_adst_4x4_c
Line
Count
Source
127
1.29k
                                               HIGHBD_DECL_SUFFIX) \
128
1.29k
{ \
129
1.29k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.29k
                   HIGHBD_TAIL_SUFFIX); \
131
1.29k
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_4x4_c
Line
Count
Source
127
1.15k
                                               HIGHBD_DECL_SUFFIX) \
128
1.15k
{ \
129
1.15k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.15k
                   HIGHBD_TAIL_SUFFIX); \
131
1.15k
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_4x4_c
Line
Count
Source
127
1.00k
                                               HIGHBD_DECL_SUFFIX) \
128
1.00k
{ \
129
1.00k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.00k
                   HIGHBD_TAIL_SUFFIX); \
131
1.00k
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_4x4_c
Line
Count
Source
127
951
                                               HIGHBD_DECL_SUFFIX) \
128
951
{ \
129
951
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
951
                   HIGHBD_TAIL_SUFFIX); \
131
951
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_4x4_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_dct_identity_4x4_c
Line
Count
Source
127
5.00k
                                               HIGHBD_DECL_SUFFIX) \
128
5.00k
{ \
129
5.00k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.00k
                   HIGHBD_TAIL_SUFFIX); \
131
5.00k
}
itx_tmpl.c:inv_txfm_add_identity_dct_4x4_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_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_identity_flipadst_4x4_c
Line
Count
Source
127
1.78k
                                               HIGHBD_DECL_SUFFIX) \
128
1.78k
{ \
129
1.78k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.78k
                   HIGHBD_TAIL_SUFFIX); \
131
1.78k
}
itx_tmpl.c:inv_txfm_add_adst_identity_4x4_c
Line
Count
Source
127
2.32k
                                               HIGHBD_DECL_SUFFIX) \
128
2.32k
{ \
129
2.32k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.32k
                   HIGHBD_TAIL_SUFFIX); \
131
2.32k
}
itx_tmpl.c:inv_txfm_add_identity_adst_4x4_c
Line
Count
Source
127
1.31k
                                               HIGHBD_DECL_SUFFIX) \
128
1.31k
{ \
129
1.31k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.31k
                   HIGHBD_TAIL_SUFFIX); \
131
1.31k
}
itx_tmpl.c:inv_txfm_add_dct_dct_4x8_c
Line
Count
Source
127
8.84k
                                               HIGHBD_DECL_SUFFIX) \
128
8.84k
{ \
129
8.84k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
8.84k
                   HIGHBD_TAIL_SUFFIX); \
131
8.84k
}
itx_tmpl.c:inv_txfm_add_identity_identity_4x8_c
Line
Count
Source
127
3.51k
                                               HIGHBD_DECL_SUFFIX) \
128
3.51k
{ \
129
3.51k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.51k
                   HIGHBD_TAIL_SUFFIX); \
131
3.51k
}
itx_tmpl.c:inv_txfm_add_adst_dct_4x8_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_dct_adst_4x8_c
Line
Count
Source
127
4.66k
                                               HIGHBD_DECL_SUFFIX) \
128
4.66k
{ \
129
4.66k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.66k
                   HIGHBD_TAIL_SUFFIX); \
131
4.66k
}
itx_tmpl.c:inv_txfm_add_adst_adst_4x8_c
Line
Count
Source
127
7.00k
                                               HIGHBD_DECL_SUFFIX) \
128
7.00k
{ \
129
7.00k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
7.00k
                   HIGHBD_TAIL_SUFFIX); \
131
7.00k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_4x8_c
Line
Count
Source
127
771
                                               HIGHBD_DECL_SUFFIX) \
128
771
{ \
129
771
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
771
                   HIGHBD_TAIL_SUFFIX); \
131
771
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_4x8_c
Line
Count
Source
127
840
                                               HIGHBD_DECL_SUFFIX) \
128
840
{ \
129
840
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
840
                   HIGHBD_TAIL_SUFFIX); \
131
840
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_4x8_c
Line
Count
Source
127
662
                                               HIGHBD_DECL_SUFFIX) \
128
662
{ \
129
662
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
662
                   HIGHBD_TAIL_SUFFIX); \
131
662
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_4x8_c
Line
Count
Source
127
590
                                               HIGHBD_DECL_SUFFIX) \
128
590
{ \
129
590
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
590
                   HIGHBD_TAIL_SUFFIX); \
131
590
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_4x8_c
Line
Count
Source
127
588
                                               HIGHBD_DECL_SUFFIX) \
128
588
{ \
129
588
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
588
                   HIGHBD_TAIL_SUFFIX); \
131
588
}
itx_tmpl.c:inv_txfm_add_dct_identity_4x8_c
Line
Count
Source
127
2.57k
                                               HIGHBD_DECL_SUFFIX) \
128
2.57k
{ \
129
2.57k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.57k
                   HIGHBD_TAIL_SUFFIX); \
131
2.57k
}
itx_tmpl.c:inv_txfm_add_identity_dct_4x8_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_flipadst_identity_4x8_c
Line
Count
Source
127
1.07k
                                               HIGHBD_DECL_SUFFIX) \
128
1.07k
{ \
129
1.07k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.07k
                   HIGHBD_TAIL_SUFFIX); \
131
1.07k
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_4x8_c
Line
Count
Source
127
883
                                               HIGHBD_DECL_SUFFIX) \
128
883
{ \
129
883
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
883
                   HIGHBD_TAIL_SUFFIX); \
131
883
}
itx_tmpl.c:inv_txfm_add_adst_identity_4x8_c
Line
Count
Source
127
1.38k
                                               HIGHBD_DECL_SUFFIX) \
128
1.38k
{ \
129
1.38k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.38k
                   HIGHBD_TAIL_SUFFIX); \
131
1.38k
}
itx_tmpl.c:inv_txfm_add_identity_adst_4x8_c
Line
Count
Source
127
746
                                               HIGHBD_DECL_SUFFIX) \
128
746
{ \
129
746
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
746
                   HIGHBD_TAIL_SUFFIX); \
131
746
}
itx_tmpl.c:inv_txfm_add_dct_dct_4x16_c
Line
Count
Source
127
3.47k
                                               HIGHBD_DECL_SUFFIX) \
128
3.47k
{ \
129
3.47k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.47k
                   HIGHBD_TAIL_SUFFIX); \
131
3.47k
}
itx_tmpl.c:inv_txfm_add_identity_identity_4x16_c
Line
Count
Source
127
1.33k
                                               HIGHBD_DECL_SUFFIX) \
128
1.33k
{ \
129
1.33k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.33k
                   HIGHBD_TAIL_SUFFIX); \
131
1.33k
}
itx_tmpl.c:inv_txfm_add_adst_dct_4x16_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_dct_adst_4x16_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_adst_adst_4x16_c
Line
Count
Source
127
3.15k
                                               HIGHBD_DECL_SUFFIX) \
128
3.15k
{ \
129
3.15k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.15k
                   HIGHBD_TAIL_SUFFIX); \
131
3.15k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_4x16_c
Line
Count
Source
127
315
                                               HIGHBD_DECL_SUFFIX) \
128
315
{ \
129
315
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
315
                   HIGHBD_TAIL_SUFFIX); \
131
315
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_4x16_c
Line
Count
Source
127
353
                                               HIGHBD_DECL_SUFFIX) \
128
353
{ \
129
353
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
353
                   HIGHBD_TAIL_SUFFIX); \
131
353
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_4x16_c
Line
Count
Source
127
280
                                               HIGHBD_DECL_SUFFIX) \
128
280
{ \
129
280
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
280
                   HIGHBD_TAIL_SUFFIX); \
131
280
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_4x16_c
Line
Count
Source
127
246
                                               HIGHBD_DECL_SUFFIX) \
128
246
{ \
129
246
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
246
                   HIGHBD_TAIL_SUFFIX); \
131
246
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_4x16_c
Line
Count
Source
127
334
                                               HIGHBD_DECL_SUFFIX) \
128
334
{ \
129
334
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
334
                   HIGHBD_TAIL_SUFFIX); \
131
334
}
itx_tmpl.c:inv_txfm_add_dct_identity_4x16_c
Line
Count
Source
127
1.14k
                                               HIGHBD_DECL_SUFFIX) \
128
1.14k
{ \
129
1.14k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.14k
                   HIGHBD_TAIL_SUFFIX); \
131
1.14k
}
itx_tmpl.c:inv_txfm_add_identity_dct_4x16_c
Line
Count
Source
127
585
                                               HIGHBD_DECL_SUFFIX) \
128
585
{ \
129
585
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
585
                   HIGHBD_TAIL_SUFFIX); \
131
585
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_4x16_c
Line
Count
Source
127
551
                                               HIGHBD_DECL_SUFFIX) \
128
551
{ \
129
551
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
551
                   HIGHBD_TAIL_SUFFIX); \
131
551
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_4x16_c
Line
Count
Source
127
362
                                               HIGHBD_DECL_SUFFIX) \
128
362
{ \
129
362
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
362
                   HIGHBD_TAIL_SUFFIX); \
131
362
}
itx_tmpl.c:inv_txfm_add_adst_identity_4x16_c
Line
Count
Source
127
583
                                               HIGHBD_DECL_SUFFIX) \
128
583
{ \
129
583
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
583
                   HIGHBD_TAIL_SUFFIX); \
131
583
}
itx_tmpl.c:inv_txfm_add_identity_adst_4x16_c
Line
Count
Source
127
385
                                               HIGHBD_DECL_SUFFIX) \
128
385
{ \
129
385
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
385
                   HIGHBD_TAIL_SUFFIX); \
131
385
}
itx_tmpl.c:inv_txfm_add_dct_dct_8x4_c
Line
Count
Source
127
9.46k
                                               HIGHBD_DECL_SUFFIX) \
128
9.46k
{ \
129
9.46k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
9.46k
                   HIGHBD_TAIL_SUFFIX); \
131
9.46k
}
itx_tmpl.c:inv_txfm_add_identity_identity_8x4_c
Line
Count
Source
127
4.62k
                                               HIGHBD_DECL_SUFFIX) \
128
4.62k
{ \
129
4.62k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.62k
                   HIGHBD_TAIL_SUFFIX); \
131
4.62k
}
itx_tmpl.c:inv_txfm_add_adst_dct_8x4_c
Line
Count
Source
127
7.14k
                                               HIGHBD_DECL_SUFFIX) \
128
7.14k
{ \
129
7.14k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
7.14k
                   HIGHBD_TAIL_SUFFIX); \
131
7.14k
}
itx_tmpl.c:inv_txfm_add_dct_adst_8x4_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_adst_8x4_c
Line
Count
Source
127
8.89k
                                               HIGHBD_DECL_SUFFIX) \
128
8.89k
{ \
129
8.89k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
8.89k
                   HIGHBD_TAIL_SUFFIX); \
131
8.89k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_8x4_c
Line
Count
Source
127
1.00k
                                               HIGHBD_DECL_SUFFIX) \
128
1.00k
{ \
129
1.00k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.00k
                   HIGHBD_TAIL_SUFFIX); \
131
1.00k
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_8x4_c
Line
Count
Source
127
943
                                               HIGHBD_DECL_SUFFIX) \
128
943
{ \
129
943
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
943
                   HIGHBD_TAIL_SUFFIX); \
131
943
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_8x4_c
Line
Count
Source
127
816
                                               HIGHBD_DECL_SUFFIX) \
128
816
{ \
129
816
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
816
                   HIGHBD_TAIL_SUFFIX); \
131
816
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_8x4_c
Line
Count
Source
127
740
                                               HIGHBD_DECL_SUFFIX) \
128
740
{ \
129
740
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
740
                   HIGHBD_TAIL_SUFFIX); \
131
740
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_8x4_c
Line
Count
Source
127
883
                                               HIGHBD_DECL_SUFFIX) \
128
883
{ \
129
883
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
883
                   HIGHBD_TAIL_SUFFIX); \
131
883
}
itx_tmpl.c:inv_txfm_add_dct_identity_8x4_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_identity_dct_8x4_c
Line
Count
Source
127
1.76k
                                               HIGHBD_DECL_SUFFIX) \
128
1.76k
{ \
129
1.76k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.76k
                   HIGHBD_TAIL_SUFFIX); \
131
1.76k
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_8x4_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_identity_flipadst_8x4_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_adst_identity_8x4_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_identity_adst_8x4_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_8x8_c
Line
Count
Source
127
31.5k
                                               HIGHBD_DECL_SUFFIX) \
128
31.5k
{ \
129
31.5k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
31.5k
                   HIGHBD_TAIL_SUFFIX); \
131
31.5k
}
itx_tmpl.c:inv_txfm_add_identity_identity_8x8_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_8x8_c
Line
Count
Source
127
20.2k
                                               HIGHBD_DECL_SUFFIX) \
128
20.2k
{ \
129
20.2k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
20.2k
                   HIGHBD_TAIL_SUFFIX); \
131
20.2k
}
itx_tmpl.c:inv_txfm_add_dct_adst_8x8_c
Line
Count
Source
127
16.8k
                                               HIGHBD_DECL_SUFFIX) \
128
16.8k
{ \
129
16.8k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
16.8k
                   HIGHBD_TAIL_SUFFIX); \
131
16.8k
}
itx_tmpl.c:inv_txfm_add_adst_adst_8x8_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_8x8_c
Line
Count
Source
127
2.19k
                                               HIGHBD_DECL_SUFFIX) \
128
2.19k
{ \
129
2.19k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.19k
                   HIGHBD_TAIL_SUFFIX); \
131
2.19k
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_8x8_c
Line
Count
Source
127
2.19k
                                               HIGHBD_DECL_SUFFIX) \
128
2.19k
{ \
129
2.19k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.19k
                   HIGHBD_TAIL_SUFFIX); \
131
2.19k
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_8x8_c
Line
Count
Source
127
3.10k
                                               HIGHBD_DECL_SUFFIX) \
128
3.10k
{ \
129
3.10k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.10k
                   HIGHBD_TAIL_SUFFIX); \
131
3.10k
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_8x8_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_flipadst_8x8_c
Line
Count
Source
127
1.90k
                                               HIGHBD_DECL_SUFFIX) \
128
1.90k
{ \
129
1.90k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.90k
                   HIGHBD_TAIL_SUFFIX); \
131
1.90k
}
itx_tmpl.c:inv_txfm_add_dct_identity_8x8_c
Line
Count
Source
127
5.50k
                                               HIGHBD_DECL_SUFFIX) \
128
5.50k
{ \
129
5.50k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.50k
                   HIGHBD_TAIL_SUFFIX); \
131
5.50k
}
itx_tmpl.c:inv_txfm_add_identity_dct_8x8_c
Line
Count
Source
127
3.18k
                                               HIGHBD_DECL_SUFFIX) \
128
3.18k
{ \
129
3.18k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.18k
                   HIGHBD_TAIL_SUFFIX); \
131
3.18k
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_8x8_c
Line
Count
Source
127
3.28k
                                               HIGHBD_DECL_SUFFIX) \
128
3.28k
{ \
129
3.28k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.28k
                   HIGHBD_TAIL_SUFFIX); \
131
3.28k
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_8x8_c
Line
Count
Source
127
948
                                               HIGHBD_DECL_SUFFIX) \
128
948
{ \
129
948
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
948
                   HIGHBD_TAIL_SUFFIX); \
131
948
}
itx_tmpl.c:inv_txfm_add_adst_identity_8x8_c
Line
Count
Source
127
2.23k
                                               HIGHBD_DECL_SUFFIX) \
128
2.23k
{ \
129
2.23k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.23k
                   HIGHBD_TAIL_SUFFIX); \
131
2.23k
}
itx_tmpl.c:inv_txfm_add_identity_adst_8x8_c
Line
Count
Source
127
1.43k
                                               HIGHBD_DECL_SUFFIX) \
128
1.43k
{ \
129
1.43k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.43k
                   HIGHBD_TAIL_SUFFIX); \
131
1.43k
}
itx_tmpl.c:inv_txfm_add_dct_dct_8x16_c
Line
Count
Source
127
13.0k
                                               HIGHBD_DECL_SUFFIX) \
128
13.0k
{ \
129
13.0k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
13.0k
                   HIGHBD_TAIL_SUFFIX); \
131
13.0k
}
itx_tmpl.c:inv_txfm_add_identity_identity_8x16_c
Line
Count
Source
127
2.99k
                                               HIGHBD_DECL_SUFFIX) \
128
2.99k
{ \
129
2.99k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.99k
                   HIGHBD_TAIL_SUFFIX); \
131
2.99k
}
itx_tmpl.c:inv_txfm_add_adst_dct_8x16_c
Line
Count
Source
127
6.78k
                                               HIGHBD_DECL_SUFFIX) \
128
6.78k
{ \
129
6.78k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
6.78k
                   HIGHBD_TAIL_SUFFIX); \
131
6.78k
}
itx_tmpl.c:inv_txfm_add_dct_adst_8x16_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_adst_adst_8x16_c
Line
Count
Source
127
6.89k
                                               HIGHBD_DECL_SUFFIX) \
128
6.89k
{ \
129
6.89k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
6.89k
                   HIGHBD_TAIL_SUFFIX); \
131
6.89k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_8x16_c
Line
Count
Source
127
948
                                               HIGHBD_DECL_SUFFIX) \
128
948
{ \
129
948
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
948
                   HIGHBD_TAIL_SUFFIX); \
131
948
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_8x16_c
Line
Count
Source
127
746
                                               HIGHBD_DECL_SUFFIX) \
128
746
{ \
129
746
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
746
                   HIGHBD_TAIL_SUFFIX); \
131
746
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_8x16_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_dct_flipadst_8x16_c
Line
Count
Source
127
1.13k
                                               HIGHBD_DECL_SUFFIX) \
128
1.13k
{ \
129
1.13k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.13k
                   HIGHBD_TAIL_SUFFIX); \
131
1.13k
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_8x16_c
Line
Count
Source
127
827
                                               HIGHBD_DECL_SUFFIX) \
128
827
{ \
129
827
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
827
                   HIGHBD_TAIL_SUFFIX); \
131
827
}
itx_tmpl.c:inv_txfm_add_dct_identity_8x16_c
Line
Count
Source
127
2.18k
                                               HIGHBD_DECL_SUFFIX) \
128
2.18k
{ \
129
2.18k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.18k
                   HIGHBD_TAIL_SUFFIX); \
131
2.18k
}
itx_tmpl.c:inv_txfm_add_identity_dct_8x16_c
Line
Count
Source
127
1.26k
                                               HIGHBD_DECL_SUFFIX) \
128
1.26k
{ \
129
1.26k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.26k
                   HIGHBD_TAIL_SUFFIX); \
131
1.26k
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_8x16_c
Line
Count
Source
127
1.24k
                                               HIGHBD_DECL_SUFFIX) \
128
1.24k
{ \
129
1.24k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.24k
                   HIGHBD_TAIL_SUFFIX); \
131
1.24k
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_8x16_c
Line
Count
Source
127
421
                                               HIGHBD_DECL_SUFFIX) \
128
421
{ \
129
421
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
421
                   HIGHBD_TAIL_SUFFIX); \
131
421
}
itx_tmpl.c:inv_txfm_add_adst_identity_8x16_c
Line
Count
Source
127
899
                                               HIGHBD_DECL_SUFFIX) \
128
899
{ \
129
899
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
899
                   HIGHBD_TAIL_SUFFIX); \
131
899
}
itx_tmpl.c:inv_txfm_add_identity_adst_8x16_c
Line
Count
Source
127
653
                                               HIGHBD_DECL_SUFFIX) \
128
653
{ \
129
653
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
653
                   HIGHBD_TAIL_SUFFIX); \
131
653
}
itx_tmpl.c:inv_txfm_add_dct_dct_8x32_c
Line
Count
Source
127
6.49k
                                               HIGHBD_DECL_SUFFIX) \
128
6.49k
{ \
129
6.49k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
6.49k
                   HIGHBD_TAIL_SUFFIX); \
131
6.49k
}
itx_tmpl.c:inv_txfm_add_identity_identity_8x32_c
Line
Count
Source
127
409
                                               HIGHBD_DECL_SUFFIX) \
128
409
{ \
129
409
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
409
                   HIGHBD_TAIL_SUFFIX); \
131
409
}
itx_tmpl.c:inv_txfm_add_dct_dct_16x4_c
Line
Count
Source
127
7.26k
                                               HIGHBD_DECL_SUFFIX) \
128
7.26k
{ \
129
7.26k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
7.26k
                   HIGHBD_TAIL_SUFFIX); \
131
7.26k
}
itx_tmpl.c:inv_txfm_add_identity_identity_16x4_c
Line
Count
Source
127
2.80k
                                               HIGHBD_DECL_SUFFIX) \
128
2.80k
{ \
129
2.80k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.80k
                   HIGHBD_TAIL_SUFFIX); \
131
2.80k
}
itx_tmpl.c:inv_txfm_add_adst_dct_16x4_c
Line
Count
Source
127
5.49k
                                               HIGHBD_DECL_SUFFIX) \
128
5.49k
{ \
129
5.49k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.49k
                   HIGHBD_TAIL_SUFFIX); \
131
5.49k
}
itx_tmpl.c:inv_txfm_add_dct_adst_16x4_c
Line
Count
Source
127
4.36k
                                               HIGHBD_DECL_SUFFIX) \
128
4.36k
{ \
129
4.36k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.36k
                   HIGHBD_TAIL_SUFFIX); \
131
4.36k
}
itx_tmpl.c:inv_txfm_add_adst_adst_16x4_c
Line
Count
Source
127
6.49k
                                               HIGHBD_DECL_SUFFIX) \
128
6.49k
{ \
129
6.49k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
6.49k
                   HIGHBD_TAIL_SUFFIX); \
131
6.49k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_16x4_c
Line
Count
Source
127
730
                                               HIGHBD_DECL_SUFFIX) \
128
730
{ \
129
730
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
730
                   HIGHBD_TAIL_SUFFIX); \
131
730
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_16x4_c
Line
Count
Source
127
665
                                               HIGHBD_DECL_SUFFIX) \
128
665
{ \
129
665
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
665
                   HIGHBD_TAIL_SUFFIX); \
131
665
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_16x4_c
Line
Count
Source
127
709
                                               HIGHBD_DECL_SUFFIX) \
128
709
{ \
129
709
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
709
                   HIGHBD_TAIL_SUFFIX); \
131
709
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_16x4_c
Line
Count
Source
127
580
                                               HIGHBD_DECL_SUFFIX) \
128
580
{ \
129
580
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
580
                   HIGHBD_TAIL_SUFFIX); \
131
580
}
itx_tmpl.c:inv_txfm_add_flipadst_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_dct_identity_16x4_c
Line
Count
Source
127
2.23k
                                               HIGHBD_DECL_SUFFIX) \
128
2.23k
{ \
129
2.23k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.23k
                   HIGHBD_TAIL_SUFFIX); \
131
2.23k
}
itx_tmpl.c:inv_txfm_add_identity_dct_16x4_c
Line
Count
Source
127
1.07k
                                               HIGHBD_DECL_SUFFIX) \
128
1.07k
{ \
129
1.07k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.07k
                   HIGHBD_TAIL_SUFFIX); \
131
1.07k
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_16x4_c
Line
Count
Source
127
957
                                               HIGHBD_DECL_SUFFIX) \
128
957
{ \
129
957
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
957
                   HIGHBD_TAIL_SUFFIX); \
131
957
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_16x4_c
Line
Count
Source
127
764
                                               HIGHBD_DECL_SUFFIX) \
128
764
{ \
129
764
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
764
                   HIGHBD_TAIL_SUFFIX); \
131
764
}
itx_tmpl.c:inv_txfm_add_adst_identity_16x4_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_16x4_c
Line
Count
Source
127
601
                                               HIGHBD_DECL_SUFFIX) \
128
601
{ \
129
601
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
601
                   HIGHBD_TAIL_SUFFIX); \
131
601
}
itx_tmpl.c:inv_txfm_add_dct_dct_16x8_c
Line
Count
Source
127
13.7k
                                               HIGHBD_DECL_SUFFIX) \
128
13.7k
{ \
129
13.7k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
13.7k
                   HIGHBD_TAIL_SUFFIX); \
131
13.7k
}
itx_tmpl.c:inv_txfm_add_identity_identity_16x8_c
Line
Count
Source
127
2.97k
                                               HIGHBD_DECL_SUFFIX) \
128
2.97k
{ \
129
2.97k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.97k
                   HIGHBD_TAIL_SUFFIX); \
131
2.97k
}
itx_tmpl.c:inv_txfm_add_adst_dct_16x8_c
Line
Count
Source
127
7.86k
                                               HIGHBD_DECL_SUFFIX) \
128
7.86k
{ \
129
7.86k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
7.86k
                   HIGHBD_TAIL_SUFFIX); \
131
7.86k
}
itx_tmpl.c:inv_txfm_add_dct_adst_16x8_c
Line
Count
Source
127
6.50k
                                               HIGHBD_DECL_SUFFIX) \
128
6.50k
{ \
129
6.50k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
6.50k
                   HIGHBD_TAIL_SUFFIX); \
131
6.50k
}
itx_tmpl.c:inv_txfm_add_adst_adst_16x8_c
Line
Count
Source
127
7.71k
                                               HIGHBD_DECL_SUFFIX) \
128
7.71k
{ \
129
7.71k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
7.71k
                   HIGHBD_TAIL_SUFFIX); \
131
7.71k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_16x8_c
Line
Count
Source
127
897
                                               HIGHBD_DECL_SUFFIX) \
128
897
{ \
129
897
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
897
                   HIGHBD_TAIL_SUFFIX); \
131
897
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_16x8_c
Line
Count
Source
127
1.12k
                                               HIGHBD_DECL_SUFFIX) \
128
1.12k
{ \
129
1.12k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.12k
                   HIGHBD_TAIL_SUFFIX); \
131
1.12k
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_16x8_c
Line
Count
Source
127
1.28k
                                               HIGHBD_DECL_SUFFIX) \
128
1.28k
{ \
129
1.28k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.28k
                   HIGHBD_TAIL_SUFFIX); \
131
1.28k
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_16x8_c
Line
Count
Source
127
1.04k
                                               HIGHBD_DECL_SUFFIX) \
128
1.04k
{ \
129
1.04k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.04k
                   HIGHBD_TAIL_SUFFIX); \
131
1.04k
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_16x8_c
Line
Count
Source
127
802
                                               HIGHBD_DECL_SUFFIX) \
128
802
{ \
129
802
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
802
                   HIGHBD_TAIL_SUFFIX); \
131
802
}
itx_tmpl.c:inv_txfm_add_dct_identity_16x8_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_identity_dct_16x8_c
Line
Count
Source
127
1.19k
                                               HIGHBD_DECL_SUFFIX) \
128
1.19k
{ \
129
1.19k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.19k
                   HIGHBD_TAIL_SUFFIX); \
131
1.19k
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_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_identity_flipadst_16x8_c
Line
Count
Source
127
457
                                               HIGHBD_DECL_SUFFIX) \
128
457
{ \
129
457
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
457
                   HIGHBD_TAIL_SUFFIX); \
131
457
}
itx_tmpl.c:inv_txfm_add_adst_identity_16x8_c
Line
Count
Source
127
979
                                               HIGHBD_DECL_SUFFIX) \
128
979
{ \
129
979
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
979
                   HIGHBD_TAIL_SUFFIX); \
131
979
}
itx_tmpl.c:inv_txfm_add_identity_adst_16x8_c
Line
Count
Source
127
747
                                               HIGHBD_DECL_SUFFIX) \
128
747
{ \
129
747
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
747
                   HIGHBD_TAIL_SUFFIX); \
131
747
}
itx_tmpl.c:inv_txfm_add_dct_dct_16x16_c
Line
Count
Source
127
15.9k
                                               HIGHBD_DECL_SUFFIX) \
128
15.9k
{ \
129
15.9k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
15.9k
                   HIGHBD_TAIL_SUFFIX); \
131
15.9k
}
itx_tmpl.c:inv_txfm_add_identity_identity_16x16_c
Line
Count
Source
127
1.95k
                                               HIGHBD_DECL_SUFFIX) \
128
1.95k
{ \
129
1.95k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.95k
                   HIGHBD_TAIL_SUFFIX); \
131
1.95k
}
itx_tmpl.c:inv_txfm_add_adst_dct_16x16_c
Line
Count
Source
127
13.0k
                                               HIGHBD_DECL_SUFFIX) \
128
13.0k
{ \
129
13.0k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
13.0k
                   HIGHBD_TAIL_SUFFIX); \
131
13.0k
}
itx_tmpl.c:inv_txfm_add_dct_adst_16x16_c
Line
Count
Source
127
9.88k
                                               HIGHBD_DECL_SUFFIX) \
128
9.88k
{ \
129
9.88k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
9.88k
                   HIGHBD_TAIL_SUFFIX); \
131
9.88k
}
itx_tmpl.c:inv_txfm_add_adst_adst_16x16_c
Line
Count
Source
127
11.4k
                                               HIGHBD_DECL_SUFFIX) \
128
11.4k
{ \
129
11.4k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
11.4k
                   HIGHBD_TAIL_SUFFIX); \
131
11.4k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_16x16_c
Line
Count
Source
127
733
                                               HIGHBD_DECL_SUFFIX) \
128
733
{ \
129
733
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
733
                   HIGHBD_TAIL_SUFFIX); \
131
733
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_16x16_c
Line
Count
Source
127
857
                                               HIGHBD_DECL_SUFFIX) \
128
857
{ \
129
857
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
857
                   HIGHBD_TAIL_SUFFIX); \
131
857
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_16x16_c
Line
Count
Source
127
886
                                               HIGHBD_DECL_SUFFIX) \
128
886
{ \
129
886
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
886
                   HIGHBD_TAIL_SUFFIX); \
131
886
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_16x16_c
Line
Count
Source
127
973
                                               HIGHBD_DECL_SUFFIX) \
128
973
{ \
129
973
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
973
                   HIGHBD_TAIL_SUFFIX); \
131
973
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_16x16_c
Line
Count
Source
127
769
                                               HIGHBD_DECL_SUFFIX) \
128
769
{ \
129
769
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
769
                   HIGHBD_TAIL_SUFFIX); \
131
769
}
itx_tmpl.c:inv_txfm_add_dct_identity_16x16_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_identity_dct_16x16_c
Line
Count
Source
127
634
                                               HIGHBD_DECL_SUFFIX) \
128
634
{ \
129
634
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
634
                   HIGHBD_TAIL_SUFFIX); \
131
634
}
itx_tmpl.c:inv_txfm_add_dct_dct_16x32_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_16x32_c
Line
Count
Source
127
623
                                               HIGHBD_DECL_SUFFIX) \
128
623
{ \
129
623
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
623
                   HIGHBD_TAIL_SUFFIX); \
131
623
}
itx_tmpl.c:inv_txfm_add_dct_dct_16x64_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_dct_dct_32x8_c
Line
Count
Source
127
11.3k
                                               HIGHBD_DECL_SUFFIX) \
128
11.3k
{ \
129
11.3k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
11.3k
                   HIGHBD_TAIL_SUFFIX); \
131
11.3k
}
itx_tmpl.c:inv_txfm_add_identity_identity_32x8_c
Line
Count
Source
127
508
                                               HIGHBD_DECL_SUFFIX) \
128
508
{ \
129
508
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
508
                   HIGHBD_TAIL_SUFFIX); \
131
508
}
itx_tmpl.c:inv_txfm_add_dct_dct_32x16_c
Line
Count
Source
127
15.8k
                                               HIGHBD_DECL_SUFFIX) \
128
15.8k
{ \
129
15.8k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
15.8k
                   HIGHBD_TAIL_SUFFIX); \
131
15.8k
}
itx_tmpl.c:inv_txfm_add_identity_identity_32x16_c
Line
Count
Source
127
445
                                               HIGHBD_DECL_SUFFIX) \
128
445
{ \
129
445
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
445
                   HIGHBD_TAIL_SUFFIX); \
131
445
}
itx_tmpl.c:inv_txfm_add_dct_dct_32x32_c
Line
Count
Source
127
43.9k
                                               HIGHBD_DECL_SUFFIX) \
128
43.9k
{ \
129
43.9k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
43.9k
                   HIGHBD_TAIL_SUFFIX); \
131
43.9k
}
itx_tmpl.c:inv_txfm_add_identity_identity_32x32_c
Line
Count
Source
127
236
                                               HIGHBD_DECL_SUFFIX) \
128
236
{ \
129
236
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
236
                   HIGHBD_TAIL_SUFFIX); \
131
236
}
itx_tmpl.c:inv_txfm_add_dct_dct_32x64_c
Line
Count
Source
127
21.2k
                                               HIGHBD_DECL_SUFFIX) \
128
21.2k
{ \
129
21.2k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
21.2k
                   HIGHBD_TAIL_SUFFIX); \
131
21.2k
}
itx_tmpl.c:inv_txfm_add_dct_dct_64x16_c
Line
Count
Source
127
1.54k
                                               HIGHBD_DECL_SUFFIX) \
128
1.54k
{ \
129
1.54k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.54k
                   HIGHBD_TAIL_SUFFIX); \
131
1.54k
}
itx_tmpl.c:inv_txfm_add_dct_dct_64x32_c
Line
Count
Source
127
8.38k
                                               HIGHBD_DECL_SUFFIX) \
128
8.38k
{ \
129
8.38k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
8.38k
                   HIGHBD_TAIL_SUFFIX); \
131
8.38k
}
itx_tmpl.c:inv_txfm_add_dct_dct_64x64_c
Line
Count
Source
127
21.2k
                                               HIGHBD_DECL_SUFFIX) \
128
21.2k
{ \
129
21.2k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
21.2k
                   HIGHBD_TAIL_SUFFIX); \
131
21.2k
}
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
51.0k
{
188
51.0k
    int32_t tmp[4 * 4], *c = tmp;
189
255k
    for (int y = 0; y < 4; y++, c += 4) {
190
1.02M
        for (int x = 0; x < 4; x++)
191
817k
            c[x] = coeff[y + x * 4] >> 2;
192
204k
        dav1d_inv_wht4_1d_c(c, 1);
193
204k
    }
194
51.0k
    memset(coeff, 0, sizeof(*coeff) * 4 * 4);
195
196
255k
    for (int x = 0; x < 4; x++)
197
204k
        dav1d_inv_wht4_1d_c(&tmp[x], 4);
198
199
51.0k
    c = tmp;
200
255k
    for (int y = 0; y < 4; y++, dst += PXSTRIDE(stride))
201
1.02M
        for (int x = 0; x < 4; x++)
202
817k
            dst[x] = iclip_pixel(dst[x] + *c++);
203
51.0k
}
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
20.4k
COLD void bitfn(dav1d_itx_dsp_init)(Dav1dInvTxfmDSPContext *const c, int bpc) {
221
20.4k
#define assign_itx_all_fn64(w, h, pfx) \
222
389k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_DCT  ] = \
223
389k
        inv_txfm_add_dct_dct_##w##x##h##_c
224
225
20.4k
#define assign_itx_all_fn32(w, h, pfx) \
226
286k
    assign_itx_all_fn64(w, h, pfx); \
227
286k
    c->itxfm_add[pfx##TX_##w##X##h][IDTX] = \
228
286k
        inv_txfm_add_identity_identity_##w##x##h##_c
229
230
20.4k
#define assign_itx_all_fn16(w, h, pfx) \
231
184k
    assign_itx_all_fn32(w, h, pfx); \
232
184k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_ADST ] = \
233
184k
        inv_txfm_add_adst_dct_##w##x##h##_c; \
234
184k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_DCT ] = \
235
184k
        inv_txfm_add_dct_adst_##w##x##h##_c; \
236
184k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_ADST] = \
237
184k
        inv_txfm_add_adst_adst_##w##x##h##_c; \
238
184k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_FLIPADST] = \
239
184k
        inv_txfm_add_flipadst_adst_##w##x##h##_c; \
240
184k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_ADST] = \
241
184k
        inv_txfm_add_adst_flipadst_##w##x##h##_c; \
242
184k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_FLIPADST] = \
243
184k
        inv_txfm_add_flipadst_dct_##w##x##h##_c; \
244
184k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_DCT] = \
245
184k
        inv_txfm_add_dct_flipadst_##w##x##h##_c; \
246
184k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_FLIPADST] = \
247
184k
        inv_txfm_add_flipadst_flipadst_##w##x##h##_c; \
248
184k
    c->itxfm_add[pfx##TX_##w##X##h][H_DCT] = \
249
184k
        inv_txfm_add_dct_identity_##w##x##h##_c; \
250
184k
    c->itxfm_add[pfx##TX_##w##X##h][V_DCT] = \
251
184k
        inv_txfm_add_identity_dct_##w##x##h##_c
252
253
20.4k
#define assign_itx_all_fn84(w, h, pfx) \
254
163k
    assign_itx_all_fn16(w, h, pfx); \
255
163k
    c->itxfm_add[pfx##TX_##w##X##h][H_FLIPADST] = \
256
163k
        inv_txfm_add_flipadst_identity_##w##x##h##_c; \
257
163k
    c->itxfm_add[pfx##TX_##w##X##h][V_FLIPADST] = \
258
163k
        inv_txfm_add_identity_flipadst_##w##x##h##_c; \
259
163k
    c->itxfm_add[pfx##TX_##w##X##h][H_ADST] = \
260
163k
        inv_txfm_add_adst_identity_##w##x##h##_c; \
261
163k
    c->itxfm_add[pfx##TX_##w##X##h][V_ADST] = \
262
163k
        inv_txfm_add_identity_adst_##w##x##h##_c; \
263
20.4k
264
20.4k
#if !(HAVE_ASM && TRIM_DSP_FUNCTIONS && ( \
265
20.4k
  ARCH_AARCH64 || \
266
20.4k
  (ARCH_ARM && (defined(__ARM_NEON) || defined(__APPLE__) || defined(_WIN32))) \
267
20.4k
))
268
20.4k
    c->itxfm_add[TX_4X4][WHT_WHT] = inv_txfm_add_wht_wht_4x4_c;
269
20.4k
#endif
270
20.4k
    assign_itx_all_fn84( 4,  4, );
271
20.4k
    assign_itx_all_fn84( 4,  8, R);
272
20.4k
    assign_itx_all_fn84( 4, 16, R);
273
20.4k
    assign_itx_all_fn84( 8,  4, R);
274
20.4k
    assign_itx_all_fn84( 8,  8, );
275
20.4k
    assign_itx_all_fn84( 8, 16, R);
276
20.4k
    assign_itx_all_fn32( 8, 32, R);
277
20.4k
    assign_itx_all_fn84(16,  4, R);
278
20.4k
    assign_itx_all_fn84(16,  8, R);
279
20.4k
    assign_itx_all_fn16(16, 16, );
280
20.4k
    assign_itx_all_fn32(16, 32, R);
281
20.4k
    assign_itx_all_fn64(16, 64, R);
282
20.4k
    assign_itx_all_fn32(32,  8, R);
283
20.4k
    assign_itx_all_fn32(32, 16, R);
284
20.4k
    assign_itx_all_fn32(32, 32, );
285
20.4k
    assign_itx_all_fn64(32, 64, R);
286
20.4k
    assign_itx_all_fn64(64, 16, R);
287
20.4k
    assign_itx_all_fn64(64, 32, R);
288
20.4k
    assign_itx_all_fn64(64, 64, );
289
290
20.4k
    int all_simd = 0;
291
#if HAVE_ASM
292
#if ARCH_AARCH64 || ARCH_ARM
293
    itx_dsp_init_arm(c, bpc, &all_simd);
294
#endif
295
#if ARCH_LOONGARCH64
296
    itx_dsp_init_loongarch(c, bpc);
297
#endif
298
#if ARCH_PPC64LE
299
    itx_dsp_init_ppc(c, bpc);
300
#endif
301
#if ARCH_RISCV
302
    itx_dsp_init_riscv(c, bpc);
303
#endif
304
#if ARCH_X86
305
    itx_dsp_init_x86(c, bpc, &all_simd);
306
#endif
307
#endif
308
309
20.4k
    if (!all_simd)
310
20.4k
        dav1d_init_last_nonzero_col_from_eob_tables();
311
20.4k
}
dav1d_itx_dsp_init_8bpc
Line
Count
Source
220
9.31k
COLD void bitfn(dav1d_itx_dsp_init)(Dav1dInvTxfmDSPContext *const c, int bpc) {
221
9.31k
#define assign_itx_all_fn64(w, h, pfx) \
222
9.31k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_DCT  ] = \
223
9.31k
        inv_txfm_add_dct_dct_##w##x##h##_c
224
225
9.31k
#define assign_itx_all_fn32(w, h, pfx) \
226
9.31k
    assign_itx_all_fn64(w, h, pfx); \
227
9.31k
    c->itxfm_add[pfx##TX_##w##X##h][IDTX] = \
228
9.31k
        inv_txfm_add_identity_identity_##w##x##h##_c
229
230
9.31k
#define assign_itx_all_fn16(w, h, pfx) \
231
9.31k
    assign_itx_all_fn32(w, h, pfx); \
232
9.31k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_ADST ] = \
233
9.31k
        inv_txfm_add_adst_dct_##w##x##h##_c; \
234
9.31k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_DCT ] = \
235
9.31k
        inv_txfm_add_dct_adst_##w##x##h##_c; \
236
9.31k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_ADST] = \
237
9.31k
        inv_txfm_add_adst_adst_##w##x##h##_c; \
238
9.31k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_FLIPADST] = \
239
9.31k
        inv_txfm_add_flipadst_adst_##w##x##h##_c; \
240
9.31k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_ADST] = \
241
9.31k
        inv_txfm_add_adst_flipadst_##w##x##h##_c; \
242
9.31k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_FLIPADST] = \
243
9.31k
        inv_txfm_add_flipadst_dct_##w##x##h##_c; \
244
9.31k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_DCT] = \
245
9.31k
        inv_txfm_add_dct_flipadst_##w##x##h##_c; \
246
9.31k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_FLIPADST] = \
247
9.31k
        inv_txfm_add_flipadst_flipadst_##w##x##h##_c; \
248
9.31k
    c->itxfm_add[pfx##TX_##w##X##h][H_DCT] = \
249
9.31k
        inv_txfm_add_dct_identity_##w##x##h##_c; \
250
9.31k
    c->itxfm_add[pfx##TX_##w##X##h][V_DCT] = \
251
9.31k
        inv_txfm_add_identity_dct_##w##x##h##_c
252
253
9.31k
#define assign_itx_all_fn84(w, h, pfx) \
254
9.31k
    assign_itx_all_fn16(w, h, pfx); \
255
9.31k
    c->itxfm_add[pfx##TX_##w##X##h][H_FLIPADST] = \
256
9.31k
        inv_txfm_add_flipadst_identity_##w##x##h##_c; \
257
9.31k
    c->itxfm_add[pfx##TX_##w##X##h][V_FLIPADST] = \
258
9.31k
        inv_txfm_add_identity_flipadst_##w##x##h##_c; \
259
9.31k
    c->itxfm_add[pfx##TX_##w##X##h][H_ADST] = \
260
9.31k
        inv_txfm_add_adst_identity_##w##x##h##_c; \
261
9.31k
    c->itxfm_add[pfx##TX_##w##X##h][V_ADST] = \
262
9.31k
        inv_txfm_add_identity_adst_##w##x##h##_c; \
263
9.31k
264
9.31k
#if !(HAVE_ASM && TRIM_DSP_FUNCTIONS && ( \
265
9.31k
  ARCH_AARCH64 || \
266
9.31k
  (ARCH_ARM && (defined(__ARM_NEON) || defined(__APPLE__) || defined(_WIN32))) \
267
9.31k
))
268
9.31k
    c->itxfm_add[TX_4X4][WHT_WHT] = inv_txfm_add_wht_wht_4x4_c;
269
9.31k
#endif
270
9.31k
    assign_itx_all_fn84( 4,  4, );
271
9.31k
    assign_itx_all_fn84( 4,  8, R);
272
9.31k
    assign_itx_all_fn84( 4, 16, R);
273
9.31k
    assign_itx_all_fn84( 8,  4, R);
274
9.31k
    assign_itx_all_fn84( 8,  8, );
275
9.31k
    assign_itx_all_fn84( 8, 16, R);
276
9.31k
    assign_itx_all_fn32( 8, 32, R);
277
9.31k
    assign_itx_all_fn84(16,  4, R);
278
9.31k
    assign_itx_all_fn84(16,  8, R);
279
9.31k
    assign_itx_all_fn16(16, 16, );
280
9.31k
    assign_itx_all_fn32(16, 32, R);
281
9.31k
    assign_itx_all_fn64(16, 64, R);
282
9.31k
    assign_itx_all_fn32(32,  8, R);
283
9.31k
    assign_itx_all_fn32(32, 16, R);
284
9.31k
    assign_itx_all_fn32(32, 32, );
285
9.31k
    assign_itx_all_fn64(32, 64, R);
286
9.31k
    assign_itx_all_fn64(64, 16, R);
287
9.31k
    assign_itx_all_fn64(64, 32, R);
288
9.31k
    assign_itx_all_fn64(64, 64, );
289
290
9.31k
    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.31k
    if (!all_simd)
310
9.31k
        dav1d_init_last_nonzero_col_from_eob_tables();
311
9.31k
}
dav1d_itx_dsp_init_16bpc
Line
Count
Source
220
11.1k
COLD void bitfn(dav1d_itx_dsp_init)(Dav1dInvTxfmDSPContext *const c, int bpc) {
221
11.1k
#define assign_itx_all_fn64(w, h, pfx) \
222
11.1k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_DCT  ] = \
223
11.1k
        inv_txfm_add_dct_dct_##w##x##h##_c
224
225
11.1k
#define assign_itx_all_fn32(w, h, pfx) \
226
11.1k
    assign_itx_all_fn64(w, h, pfx); \
227
11.1k
    c->itxfm_add[pfx##TX_##w##X##h][IDTX] = \
228
11.1k
        inv_txfm_add_identity_identity_##w##x##h##_c
229
230
11.1k
#define assign_itx_all_fn16(w, h, pfx) \
231
11.1k
    assign_itx_all_fn32(w, h, pfx); \
232
11.1k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_ADST ] = \
233
11.1k
        inv_txfm_add_adst_dct_##w##x##h##_c; \
234
11.1k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_DCT ] = \
235
11.1k
        inv_txfm_add_dct_adst_##w##x##h##_c; \
236
11.1k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_ADST] = \
237
11.1k
        inv_txfm_add_adst_adst_##w##x##h##_c; \
238
11.1k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_FLIPADST] = \
239
11.1k
        inv_txfm_add_flipadst_adst_##w##x##h##_c; \
240
11.1k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_ADST] = \
241
11.1k
        inv_txfm_add_adst_flipadst_##w##x##h##_c; \
242
11.1k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_FLIPADST] = \
243
11.1k
        inv_txfm_add_flipadst_dct_##w##x##h##_c; \
244
11.1k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_DCT] = \
245
11.1k
        inv_txfm_add_dct_flipadst_##w##x##h##_c; \
246
11.1k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_FLIPADST] = \
247
11.1k
        inv_txfm_add_flipadst_flipadst_##w##x##h##_c; \
248
11.1k
    c->itxfm_add[pfx##TX_##w##X##h][H_DCT] = \
249
11.1k
        inv_txfm_add_dct_identity_##w##x##h##_c; \
250
11.1k
    c->itxfm_add[pfx##TX_##w##X##h][V_DCT] = \
251
11.1k
        inv_txfm_add_identity_dct_##w##x##h##_c
252
253
11.1k
#define assign_itx_all_fn84(w, h, pfx) \
254
11.1k
    assign_itx_all_fn16(w, h, pfx); \
255
11.1k
    c->itxfm_add[pfx##TX_##w##X##h][H_FLIPADST] = \
256
11.1k
        inv_txfm_add_flipadst_identity_##w##x##h##_c; \
257
11.1k
    c->itxfm_add[pfx##TX_##w##X##h][V_FLIPADST] = \
258
11.1k
        inv_txfm_add_identity_flipadst_##w##x##h##_c; \
259
11.1k
    c->itxfm_add[pfx##TX_##w##X##h][H_ADST] = \
260
11.1k
        inv_txfm_add_adst_identity_##w##x##h##_c; \
261
11.1k
    c->itxfm_add[pfx##TX_##w##X##h][V_ADST] = \
262
11.1k
        inv_txfm_add_identity_adst_##w##x##h##_c; \
263
11.1k
264
11.1k
#if !(HAVE_ASM && TRIM_DSP_FUNCTIONS && ( \
265
11.1k
  ARCH_AARCH64 || \
266
11.1k
  (ARCH_ARM && (defined(__ARM_NEON) || defined(__APPLE__) || defined(_WIN32))) \
267
11.1k
))
268
11.1k
    c->itxfm_add[TX_4X4][WHT_WHT] = inv_txfm_add_wht_wht_4x4_c;
269
11.1k
#endif
270
11.1k
    assign_itx_all_fn84( 4,  4, );
271
11.1k
    assign_itx_all_fn84( 4,  8, R);
272
11.1k
    assign_itx_all_fn84( 4, 16, R);
273
11.1k
    assign_itx_all_fn84( 8,  4, R);
274
11.1k
    assign_itx_all_fn84( 8,  8, );
275
11.1k
    assign_itx_all_fn84( 8, 16, R);
276
11.1k
    assign_itx_all_fn32( 8, 32, R);
277
11.1k
    assign_itx_all_fn84(16,  4, R);
278
11.1k
    assign_itx_all_fn84(16,  8, R);
279
11.1k
    assign_itx_all_fn16(16, 16, );
280
11.1k
    assign_itx_all_fn32(16, 32, R);
281
11.1k
    assign_itx_all_fn64(16, 64, R);
282
11.1k
    assign_itx_all_fn32(32,  8, R);
283
11.1k
    assign_itx_all_fn32(32, 16, R);
284
11.1k
    assign_itx_all_fn32(32, 32, );
285
11.1k
    assign_itx_all_fn64(32, 64, R);
286
11.1k
    assign_itx_all_fn64(64, 16, R);
287
11.1k
    assign_itx_all_fn64(64, 32, R);
288
11.1k
    assign_itx_all_fn64(64, 64, );
289
290
11.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
11.1k
    if (!all_simd)
310
11.1k
        dav1d_init_last_nonzero_col_from_eob_tables();
311
11.1k
}