Coverage Report

Created: 2026-10-28 06:18

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/work/dav1d/src/itx_tmpl.c
Line
Count
Source
1
/*
2
 * Copyright © 2018-2019, VideoLAN and dav1d authors
3
 * Copyright © 2018-2019, Two Orioles, LLC
4
 * All rights reserved.
5
 *
6
 * Redistribution and use in source and binary forms, with or without
7
 * modification, are permitted provided that the following conditions are met:
8
 *
9
 * 1. Redistributions of source code must retain the above copyright notice, this
10
 *    list of conditions and the following disclaimer.
11
 *
12
 * 2. Redistributions in binary form must reproduce the above copyright notice,
13
 *    this list of conditions and the following disclaimer in the documentation
14
 *    and/or other materials provided with the distribution.
15
 *
16
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
17
 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
18
 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
19
 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
20
 * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
21
 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
22
 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
23
 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
25
 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26
 */
27
28
#include "config.h"
29
30
#include <stddef.h>
31
#include <stdint.h>
32
#include <stdlib.h>
33
#include <string.h>
34
35
#include "common/attributes.h"
36
#include "common/intops.h"
37
38
#include "src/itx.h"
39
#include "src/itx_1d.h"
40
#include "src/scan.h"
41
#include "src/tables.h"
42
43
static NOINLINE void
44
inv_txfm_add_c(pixel *dst, const ptrdiff_t stride, coef *const coeff,
45
               const int eob, const /*enum RectTxfmSize*/ int tx, const int shift,
46
               const enum TxfmType txtp HIGHBD_DECL_SUFFIX)
47
1.50M
{
48
1.50M
    const TxfmInfo *const t_dim = &dav1d_txfm_dimensions[tx];
49
1.50M
    const int w = 4 * t_dim->w, h = 4 * t_dim->h;
50
1.50M
    const int has_dconly = txtp == DCT_DCT;
51
1.50M
    assert(w >= 4 && w <= 64);
52
1.50M
    assert(h >= 4 && h <= 64);
53
1.50M
    assert(eob >= 0);
54
55
1.50M
    const int is_rect2 = w * 2 == h || h * 2 == w;
56
1.50M
    const int rnd = (1 << shift) >> 1;
57
58
1.50M
    if (eob < has_dconly) {
59
286k
        int dc = coeff[0];
60
286k
        coeff[0] = 0;
61
286k
        if (is_rect2)
62
65.7k
            dc = (dc * 181 + 128) >> 8;
63
286k
        dc = (dc * 181 + 128) >> 8;
64
286k
        dc = (dc + rnd) >> shift;
65
286k
        dc = (dc * 181 + 128 + 2048) >> 12;
66
8.99M
        for (int y = 0; y < h; y++, dst += PXSTRIDE(stride))
67
368M
            for (int x = 0; x < w; x++)
68
359M
                dst[x] = iclip_pixel(dst[x] + dc);
69
286k
        return;
70
286k
    }
71
72
1.21M
    const uint8_t *const txtps = dav1d_tx1d_types[txtp];
73
1.21M
    const itx_1d_fn first_1d_fn = dav1d_tx1d_fns[t_dim->lw][txtps[0]];
74
1.21M
    const itx_1d_fn second_1d_fn = dav1d_tx1d_fns[t_dim->lh][txtps[1]];
75
1.21M
    const int sh = imin(h, 32), sw = imin(w, 32);
76
1.21M
#if BITDEPTH == 8
77
1.21M
    const int row_clip_min = INT16_MIN;
78
1.21M
    const int col_clip_min = INT16_MIN;
79
#else
80
    const int row_clip_min = (int) ((unsigned) ~bitdepth_max << 7);
81
    const int col_clip_min = (int) ((unsigned) ~bitdepth_max << 5);
82
#endif
83
1.21M
    const int row_clip_max = ~row_clip_min;
84
1.21M
    const int col_clip_max = ~col_clip_min;
85
86
1.21M
    int32_t tmp[64 * 64], *c = tmp;
87
1.21M
    int last_nonzero_col; // in first 1d itx
88
1.21M
    if (txtps[1] == IDENTITY && txtps[0] != IDENTITY) {
89
80.7k
        last_nonzero_col = imin(sh - 1, eob);
90
1.13M
    } else if (txtps[0] == IDENTITY && txtps[1] != IDENTITY) {
91
45.6k
        last_nonzero_col = eob >> (t_dim->lw + 2);
92
1.08M
    } else {
93
1.08M
        last_nonzero_col = dav1d_last_nonzero_col_from_eob[tx][eob];
94
1.08M
    }
95
1.21M
    assert(last_nonzero_col < sh);
96
7.39M
    for (int y = 0; y <= last_nonzero_col; y++, c += w) {
97
6.18M
        if (is_rect2)
98
28.2M
            for (int x = 0; x < sw; x++)
99
26.2M
                c[x] = (coeff[y + x * sh] * 181 + 128) >> 8;
100
4.19M
        else
101
63.2M
            for (int x = 0; x < sw; x++)
102
59.1M
                c[x] = coeff[y + x * sh];
103
6.18M
        first_1d_fn(c, 1, row_clip_min, row_clip_max);
104
6.18M
    }
105
1.21M
    if (last_nonzero_col + 1 < sh)
106
857k
        memset(c, 0, sizeof(*c) * (sh - last_nonzero_col - 1) * w);
107
108
1.21M
    memset(coeff, 0, sizeof(*coeff) * sw * sh);
109
253M
    for (int i = 0; i < w * sh; i++)
110
251M
        tmp[i] = iclip((tmp[i] + rnd) >> shift, col_clip_min, col_clip_max);
111
112
16.7M
    for (int x = 0; x < w; x++)
113
15.4M
        second_1d_fn(&tmp[x], w, col_clip_min, col_clip_max);
114
115
1.21M
    c = tmp;
116
16.5M
    for (int y = 0; y < h; y++, dst += PXSTRIDE(stride))
117
334M
        for (int x = 0; x < w; x++)
118
318M
            dst[x] = iclip_pixel(dst[x] + ((*c++ + 8) >> 4));
119
1.21M
}
120
121
#define inv_txfm_fn(type1, type2, type, pfx, w, h, shift) \
122
static void \
123
inv_txfm_add_##type1##_##type2##_##w##x##h##_c(pixel *dst, \
124
                                               const ptrdiff_t stride, \
125
                                               coef *const coeff, \
126
                                               const int eob \
127
1.50M
                                               HIGHBD_DECL_SUFFIX) \
128
1.50M
{ \
129
1.50M
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.50M
                   HIGHBD_TAIL_SUFFIX); \
131
1.50M
}
itx_tmpl.c:inv_txfm_add_dct_dct_4x4_c
Line
Count
Source
127
47.4k
                                               HIGHBD_DECL_SUFFIX) \
128
47.4k
{ \
129
47.4k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
47.4k
                   HIGHBD_TAIL_SUFFIX); \
131
47.4k
}
itx_tmpl.c:inv_txfm_add_identity_identity_4x4_c
Line
Count
Source
127
16.3k
                                               HIGHBD_DECL_SUFFIX) \
128
16.3k
{ \
129
16.3k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
16.3k
                   HIGHBD_TAIL_SUFFIX); \
131
16.3k
}
itx_tmpl.c:inv_txfm_add_adst_dct_4x4_c
Line
Count
Source
127
32.4k
                                               HIGHBD_DECL_SUFFIX) \
128
32.4k
{ \
129
32.4k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
32.4k
                   HIGHBD_TAIL_SUFFIX); \
131
32.4k
}
itx_tmpl.c:inv_txfm_add_dct_adst_4x4_c
Line
Count
Source
127
25.6k
                                               HIGHBD_DECL_SUFFIX) \
128
25.6k
{ \
129
25.6k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
25.6k
                   HIGHBD_TAIL_SUFFIX); \
131
25.6k
}
itx_tmpl.c:inv_txfm_add_adst_adst_4x4_c
Line
Count
Source
127
38.6k
                                               HIGHBD_DECL_SUFFIX) \
128
38.6k
{ \
129
38.6k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
38.6k
                   HIGHBD_TAIL_SUFFIX); \
131
38.6k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_4x4_c
Line
Count
Source
127
2.69k
                                               HIGHBD_DECL_SUFFIX) \
128
2.69k
{ \
129
2.69k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.69k
                   HIGHBD_TAIL_SUFFIX); \
131
2.69k
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_4x4_c
Line
Count
Source
127
3.02k
                                               HIGHBD_DECL_SUFFIX) \
128
3.02k
{ \
129
3.02k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.02k
                   HIGHBD_TAIL_SUFFIX); \
131
3.02k
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_4x4_c
Line
Count
Source
127
3.38k
                                               HIGHBD_DECL_SUFFIX) \
128
3.38k
{ \
129
3.38k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.38k
                   HIGHBD_TAIL_SUFFIX); \
131
3.38k
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_4x4_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_flipadst_flipadst_4x4_c
Line
Count
Source
127
2.25k
                                               HIGHBD_DECL_SUFFIX) \
128
2.25k
{ \
129
2.25k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.25k
                   HIGHBD_TAIL_SUFFIX); \
131
2.25k
}
itx_tmpl.c:inv_txfm_add_dct_identity_4x4_c
Line
Count
Source
127
11.1k
                                               HIGHBD_DECL_SUFFIX) \
128
11.1k
{ \
129
11.1k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
11.1k
                   HIGHBD_TAIL_SUFFIX); \
131
11.1k
}
itx_tmpl.c:inv_txfm_add_identity_dct_4x4_c
Line
Count
Source
127
4.88k
                                               HIGHBD_DECL_SUFFIX) \
128
4.88k
{ \
129
4.88k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.88k
                   HIGHBD_TAIL_SUFFIX); \
131
4.88k
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_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_identity_flipadst_4x4_c
Line
Count
Source
127
2.22k
                                               HIGHBD_DECL_SUFFIX) \
128
2.22k
{ \
129
2.22k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.22k
                   HIGHBD_TAIL_SUFFIX); \
131
2.22k
}
itx_tmpl.c:inv_txfm_add_adst_identity_4x4_c
Line
Count
Source
127
4.68k
                                               HIGHBD_DECL_SUFFIX) \
128
4.68k
{ \
129
4.68k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.68k
                   HIGHBD_TAIL_SUFFIX); \
131
4.68k
}
itx_tmpl.c:inv_txfm_add_identity_adst_4x4_c
Line
Count
Source
127
3.00k
                                               HIGHBD_DECL_SUFFIX) \
128
3.00k
{ \
129
3.00k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.00k
                   HIGHBD_TAIL_SUFFIX); \
131
3.00k
}
itx_tmpl.c:inv_txfm_add_dct_dct_4x8_c
Line
Count
Source
127
20.7k
                                               HIGHBD_DECL_SUFFIX) \
128
20.7k
{ \
129
20.7k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
20.7k
                   HIGHBD_TAIL_SUFFIX); \
131
20.7k
}
itx_tmpl.c:inv_txfm_add_identity_identity_4x8_c
Line
Count
Source
127
5.97k
                                               HIGHBD_DECL_SUFFIX) \
128
5.97k
{ \
129
5.97k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.97k
                   HIGHBD_TAIL_SUFFIX); \
131
5.97k
}
itx_tmpl.c:inv_txfm_add_adst_dct_4x8_c
Line
Count
Source
127
13.3k
                                               HIGHBD_DECL_SUFFIX) \
128
13.3k
{ \
129
13.3k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
13.3k
                   HIGHBD_TAIL_SUFFIX); \
131
13.3k
}
itx_tmpl.c:inv_txfm_add_dct_adst_4x8_c
Line
Count
Source
127
11.2k
                                               HIGHBD_DECL_SUFFIX) \
128
11.2k
{ \
129
11.2k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
11.2k
                   HIGHBD_TAIL_SUFFIX); \
131
11.2k
}
itx_tmpl.c:inv_txfm_add_adst_adst_4x8_c
Line
Count
Source
127
15.1k
                                               HIGHBD_DECL_SUFFIX) \
128
15.1k
{ \
129
15.1k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
15.1k
                   HIGHBD_TAIL_SUFFIX); \
131
15.1k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_4x8_c
Line
Count
Source
127
1.35k
                                               HIGHBD_DECL_SUFFIX) \
128
1.35k
{ \
129
1.35k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.35k
                   HIGHBD_TAIL_SUFFIX); \
131
1.35k
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_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_dct_4x8_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_dct_flipadst_4x8_c
Line
Count
Source
127
950
                                               HIGHBD_DECL_SUFFIX) \
128
950
{ \
129
950
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
950
                   HIGHBD_TAIL_SUFFIX); \
131
950
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_4x8_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_4x8_c
Line
Count
Source
127
4.52k
                                               HIGHBD_DECL_SUFFIX) \
128
4.52k
{ \
129
4.52k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.52k
                   HIGHBD_TAIL_SUFFIX); \
131
4.52k
}
itx_tmpl.c:inv_txfm_add_identity_dct_4x8_c
Line
Count
Source
127
2.11k
                                               HIGHBD_DECL_SUFFIX) \
128
2.11k
{ \
129
2.11k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.11k
                   HIGHBD_TAIL_SUFFIX); \
131
2.11k
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_4x8_c
Line
Count
Source
127
1.84k
                                               HIGHBD_DECL_SUFFIX) \
128
1.84k
{ \
129
1.84k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.84k
                   HIGHBD_TAIL_SUFFIX); \
131
1.84k
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_4x8_c
Line
Count
Source
127
893
                                               HIGHBD_DECL_SUFFIX) \
128
893
{ \
129
893
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
893
                   HIGHBD_TAIL_SUFFIX); \
131
893
}
itx_tmpl.c:inv_txfm_add_adst_identity_4x8_c
Line
Count
Source
127
1.85k
                                               HIGHBD_DECL_SUFFIX) \
128
1.85k
{ \
129
1.85k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.85k
                   HIGHBD_TAIL_SUFFIX); \
131
1.85k
}
itx_tmpl.c:inv_txfm_add_identity_adst_4x8_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_4x16_c
Line
Count
Source
127
7.21k
                                               HIGHBD_DECL_SUFFIX) \
128
7.21k
{ \
129
7.21k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
7.21k
                   HIGHBD_TAIL_SUFFIX); \
131
7.21k
}
itx_tmpl.c:inv_txfm_add_identity_identity_4x16_c
Line
Count
Source
127
2.45k
                                               HIGHBD_DECL_SUFFIX) \
128
2.45k
{ \
129
2.45k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.45k
                   HIGHBD_TAIL_SUFFIX); \
131
2.45k
}
itx_tmpl.c:inv_txfm_add_adst_dct_4x16_c
Line
Count
Source
127
5.51k
                                               HIGHBD_DECL_SUFFIX) \
128
5.51k
{ \
129
5.51k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.51k
                   HIGHBD_TAIL_SUFFIX); \
131
5.51k
}
itx_tmpl.c:inv_txfm_add_dct_adst_4x16_c
Line
Count
Source
127
4.40k
                                               HIGHBD_DECL_SUFFIX) \
128
4.40k
{ \
129
4.40k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.40k
                   HIGHBD_TAIL_SUFFIX); \
131
4.40k
}
itx_tmpl.c:inv_txfm_add_adst_adst_4x16_c
Line
Count
Source
127
6.38k
                                               HIGHBD_DECL_SUFFIX) \
128
6.38k
{ \
129
6.38k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
6.38k
                   HIGHBD_TAIL_SUFFIX); \
131
6.38k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_4x16_c
Line
Count
Source
127
506
                                               HIGHBD_DECL_SUFFIX) \
128
506
{ \
129
506
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
506
                   HIGHBD_TAIL_SUFFIX); \
131
506
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_4x16_c
Line
Count
Source
127
526
                                               HIGHBD_DECL_SUFFIX) \
128
526
{ \
129
526
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
526
                   HIGHBD_TAIL_SUFFIX); \
131
526
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_4x16_c
Line
Count
Source
127
390
                                               HIGHBD_DECL_SUFFIX) \
128
390
{ \
129
390
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
390
                   HIGHBD_TAIL_SUFFIX); \
131
390
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_4x16_c
Line
Count
Source
127
251
                                               HIGHBD_DECL_SUFFIX) \
128
251
{ \
129
251
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
251
                   HIGHBD_TAIL_SUFFIX); \
131
251
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_4x16_c
Line
Count
Source
127
253
                                               HIGHBD_DECL_SUFFIX) \
128
253
{ \
129
253
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
253
                   HIGHBD_TAIL_SUFFIX); \
131
253
}
itx_tmpl.c:inv_txfm_add_dct_identity_4x16_c
Line
Count
Source
127
2.21k
                                               HIGHBD_DECL_SUFFIX) \
128
2.21k
{ \
129
2.21k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.21k
                   HIGHBD_TAIL_SUFFIX); \
131
2.21k
}
itx_tmpl.c:inv_txfm_add_identity_dct_4x16_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_4x16_c
Line
Count
Source
127
679
                                               HIGHBD_DECL_SUFFIX) \
128
679
{ \
129
679
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
679
                   HIGHBD_TAIL_SUFFIX); \
131
679
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_4x16_c
Line
Count
Source
127
310
                                               HIGHBD_DECL_SUFFIX) \
128
310
{ \
129
310
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
310
                   HIGHBD_TAIL_SUFFIX); \
131
310
}
itx_tmpl.c:inv_txfm_add_adst_identity_4x16_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_adst_4x16_c
Line
Count
Source
127
474
                                               HIGHBD_DECL_SUFFIX) \
128
474
{ \
129
474
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
474
                   HIGHBD_TAIL_SUFFIX); \
131
474
}
itx_tmpl.c:inv_txfm_add_dct_dct_8x4_c
Line
Count
Source
127
27.6k
                                               HIGHBD_DECL_SUFFIX) \
128
27.6k
{ \
129
27.6k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
27.6k
                   HIGHBD_TAIL_SUFFIX); \
131
27.6k
}
itx_tmpl.c:inv_txfm_add_identity_identity_8x4_c
Line
Count
Source
127
7.91k
                                               HIGHBD_DECL_SUFFIX) \
128
7.91k
{ \
129
7.91k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
7.91k
                   HIGHBD_TAIL_SUFFIX); \
131
7.91k
}
itx_tmpl.c:inv_txfm_add_adst_dct_8x4_c
Line
Count
Source
127
18.5k
                                               HIGHBD_DECL_SUFFIX) \
128
18.5k
{ \
129
18.5k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
18.5k
                   HIGHBD_TAIL_SUFFIX); \
131
18.5k
}
itx_tmpl.c:inv_txfm_add_dct_adst_8x4_c
Line
Count
Source
127
13.8k
                                               HIGHBD_DECL_SUFFIX) \
128
13.8k
{ \
129
13.8k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
13.8k
                   HIGHBD_TAIL_SUFFIX); \
131
13.8k
}
itx_tmpl.c:inv_txfm_add_adst_adst_8x4_c
Line
Count
Source
127
20.0k
                                               HIGHBD_DECL_SUFFIX) \
128
20.0k
{ \
129
20.0k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
20.0k
                   HIGHBD_TAIL_SUFFIX); \
131
20.0k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_8x4_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_flipadst_8x4_c
Line
Count
Source
127
2.04k
                                               HIGHBD_DECL_SUFFIX) \
128
2.04k
{ \
129
2.04k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.04k
                   HIGHBD_TAIL_SUFFIX); \
131
2.04k
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_8x4_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_dct_flipadst_8x4_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_flipadst_flipadst_8x4_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_dct_identity_8x4_c
Line
Count
Source
127
6.68k
                                               HIGHBD_DECL_SUFFIX) \
128
6.68k
{ \
129
6.68k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
6.68k
                   HIGHBD_TAIL_SUFFIX); \
131
6.68k
}
itx_tmpl.c:inv_txfm_add_identity_dct_8x4_c
Line
Count
Source
127
2.76k
                                               HIGHBD_DECL_SUFFIX) \
128
2.76k
{ \
129
2.76k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.76k
                   HIGHBD_TAIL_SUFFIX); \
131
2.76k
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_8x4_c
Line
Count
Source
127
2.27k
                                               HIGHBD_DECL_SUFFIX) \
128
2.27k
{ \
129
2.27k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.27k
                   HIGHBD_TAIL_SUFFIX); \
131
2.27k
}
itx_tmpl.c:inv_txfm_add_identity_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_adst_identity_8x4_c
Line
Count
Source
127
3.03k
                                               HIGHBD_DECL_SUFFIX) \
128
3.03k
{ \
129
3.03k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.03k
                   HIGHBD_TAIL_SUFFIX); \
131
3.03k
}
itx_tmpl.c:inv_txfm_add_identity_adst_8x4_c
Line
Count
Source
127
1.59k
                                               HIGHBD_DECL_SUFFIX) \
128
1.59k
{ \
129
1.59k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.59k
                   HIGHBD_TAIL_SUFFIX); \
131
1.59k
}
itx_tmpl.c:inv_txfm_add_dct_dct_8x8_c
Line
Count
Source
127
68.5k
                                               HIGHBD_DECL_SUFFIX) \
128
68.5k
{ \
129
68.5k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
68.5k
                   HIGHBD_TAIL_SUFFIX); \
131
68.5k
}
itx_tmpl.c:inv_txfm_add_identity_identity_8x8_c
Line
Count
Source
127
17.2k
                                               HIGHBD_DECL_SUFFIX) \
128
17.2k
{ \
129
17.2k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
17.2k
                   HIGHBD_TAIL_SUFFIX); \
131
17.2k
}
itx_tmpl.c:inv_txfm_add_adst_dct_8x8_c
Line
Count
Source
127
48.0k
                                               HIGHBD_DECL_SUFFIX) \
128
48.0k
{ \
129
48.0k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
48.0k
                   HIGHBD_TAIL_SUFFIX); \
131
48.0k
}
itx_tmpl.c:inv_txfm_add_dct_adst_8x8_c
Line
Count
Source
127
38.2k
                                               HIGHBD_DECL_SUFFIX) \
128
38.2k
{ \
129
38.2k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
38.2k
                   HIGHBD_TAIL_SUFFIX); \
131
38.2k
}
itx_tmpl.c:inv_txfm_add_adst_adst_8x8_c
Line
Count
Source
127
43.6k
                                               HIGHBD_DECL_SUFFIX) \
128
43.6k
{ \
129
43.6k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
43.6k
                   HIGHBD_TAIL_SUFFIX); \
131
43.6k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_8x8_c
Line
Count
Source
127
3.31k
                                               HIGHBD_DECL_SUFFIX) \
128
3.31k
{ \
129
3.31k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.31k
                   HIGHBD_TAIL_SUFFIX); \
131
3.31k
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_8x8_c
Line
Count
Source
127
2.55k
                                               HIGHBD_DECL_SUFFIX) \
128
2.55k
{ \
129
2.55k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.55k
                   HIGHBD_TAIL_SUFFIX); \
131
2.55k
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_8x8_c
Line
Count
Source
127
3.91k
                                               HIGHBD_DECL_SUFFIX) \
128
3.91k
{ \
129
3.91k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.91k
                   HIGHBD_TAIL_SUFFIX); \
131
3.91k
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_8x8_c
Line
Count
Source
127
3.64k
                                               HIGHBD_DECL_SUFFIX) \
128
3.64k
{ \
129
3.64k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.64k
                   HIGHBD_TAIL_SUFFIX); \
131
3.64k
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_8x8_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_dct_identity_8x8_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_identity_dct_8x8_c
Line
Count
Source
127
6.56k
                                               HIGHBD_DECL_SUFFIX) \
128
6.56k
{ \
129
6.56k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
6.56k
                   HIGHBD_TAIL_SUFFIX); \
131
6.56k
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_8x8_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_flipadst_8x8_c
Line
Count
Source
127
2.55k
                                               HIGHBD_DECL_SUFFIX) \
128
2.55k
{ \
129
2.55k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.55k
                   HIGHBD_TAIL_SUFFIX); \
131
2.55k
}
itx_tmpl.c:inv_txfm_add_adst_identity_8x8_c
Line
Count
Source
127
2.35k
                                               HIGHBD_DECL_SUFFIX) \
128
2.35k
{ \
129
2.35k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.35k
                   HIGHBD_TAIL_SUFFIX); \
131
2.35k
}
itx_tmpl.c:inv_txfm_add_identity_adst_8x8_c
Line
Count
Source
127
1.84k
                                               HIGHBD_DECL_SUFFIX) \
128
1.84k
{ \
129
1.84k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.84k
                   HIGHBD_TAIL_SUFFIX); \
131
1.84k
}
itx_tmpl.c:inv_txfm_add_dct_dct_8x16_c
Line
Count
Source
127
23.9k
                                               HIGHBD_DECL_SUFFIX) \
128
23.9k
{ \
129
23.9k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
23.9k
                   HIGHBD_TAIL_SUFFIX); \
131
23.9k
}
itx_tmpl.c:inv_txfm_add_identity_identity_8x16_c
Line
Count
Source
127
4.55k
                                               HIGHBD_DECL_SUFFIX) \
128
4.55k
{ \
129
4.55k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.55k
                   HIGHBD_TAIL_SUFFIX); \
131
4.55k
}
itx_tmpl.c:inv_txfm_add_adst_dct_8x16_c
Line
Count
Source
127
14.6k
                                               HIGHBD_DECL_SUFFIX) \
128
14.6k
{ \
129
14.6k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
14.6k
                   HIGHBD_TAIL_SUFFIX); \
131
14.6k
}
itx_tmpl.c:inv_txfm_add_dct_adst_8x16_c
Line
Count
Source
127
10.4k
                                               HIGHBD_DECL_SUFFIX) \
128
10.4k
{ \
129
10.4k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
10.4k
                   HIGHBD_TAIL_SUFFIX); \
131
10.4k
}
itx_tmpl.c:inv_txfm_add_adst_adst_8x16_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_flipadst_adst_8x16_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_adst_flipadst_8x16_c
Line
Count
Source
127
1.08k
                                               HIGHBD_DECL_SUFFIX) \
128
1.08k
{ \
129
1.08k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.08k
                   HIGHBD_TAIL_SUFFIX); \
131
1.08k
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_8x16_c
Line
Count
Source
127
1.50k
                                               HIGHBD_DECL_SUFFIX) \
128
1.50k
{ \
129
1.50k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.50k
                   HIGHBD_TAIL_SUFFIX); \
131
1.50k
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_8x16_c
Line
Count
Source
127
1.52k
                                               HIGHBD_DECL_SUFFIX) \
128
1.52k
{ \
129
1.52k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.52k
                   HIGHBD_TAIL_SUFFIX); \
131
1.52k
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_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_identity_8x16_c
Line
Count
Source
127
3.64k
                                               HIGHBD_DECL_SUFFIX) \
128
3.64k
{ \
129
3.64k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.64k
                   HIGHBD_TAIL_SUFFIX); \
131
3.64k
}
itx_tmpl.c:inv_txfm_add_identity_dct_8x16_c
Line
Count
Source
127
2.01k
                                               HIGHBD_DECL_SUFFIX) \
128
2.01k
{ \
129
2.01k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.01k
                   HIGHBD_TAIL_SUFFIX); \
131
2.01k
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_8x16_c
Line
Count
Source
127
1.25k
                                               HIGHBD_DECL_SUFFIX) \
128
1.25k
{ \
129
1.25k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.25k
                   HIGHBD_TAIL_SUFFIX); \
131
1.25k
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_8x16_c
Line
Count
Source
127
812
                                               HIGHBD_DECL_SUFFIX) \
128
812
{ \
129
812
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
812
                   HIGHBD_TAIL_SUFFIX); \
131
812
}
itx_tmpl.c:inv_txfm_add_adst_identity_8x16_c
Line
Count
Source
127
1.09k
                                               HIGHBD_DECL_SUFFIX) \
128
1.09k
{ \
129
1.09k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.09k
                   HIGHBD_TAIL_SUFFIX); \
131
1.09k
}
itx_tmpl.c:inv_txfm_add_identity_adst_8x16_c
Line
Count
Source
127
961
                                               HIGHBD_DECL_SUFFIX) \
128
961
{ \
129
961
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
961
                   HIGHBD_TAIL_SUFFIX); \
131
961
}
itx_tmpl.c:inv_txfm_add_dct_dct_8x32_c
Line
Count
Source
127
15.4k
                                               HIGHBD_DECL_SUFFIX) \
128
15.4k
{ \
129
15.4k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
15.4k
                   HIGHBD_TAIL_SUFFIX); \
131
15.4k
}
itx_tmpl.c:inv_txfm_add_identity_identity_8x32_c
Line
Count
Source
127
426
                                               HIGHBD_DECL_SUFFIX) \
128
426
{ \
129
426
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
426
                   HIGHBD_TAIL_SUFFIX); \
131
426
}
itx_tmpl.c:inv_txfm_add_dct_dct_16x4_c
Line
Count
Source
127
15.7k
                                               HIGHBD_DECL_SUFFIX) \
128
15.7k
{ \
129
15.7k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
15.7k
                   HIGHBD_TAIL_SUFFIX); \
131
15.7k
}
itx_tmpl.c:inv_txfm_add_identity_identity_16x4_c
Line
Count
Source
127
5.89k
                                               HIGHBD_DECL_SUFFIX) \
128
5.89k
{ \
129
5.89k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.89k
                   HIGHBD_TAIL_SUFFIX); \
131
5.89k
}
itx_tmpl.c:inv_txfm_add_adst_dct_16x4_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_adst_16x4_c
Line
Count
Source
127
9.44k
                                               HIGHBD_DECL_SUFFIX) \
128
9.44k
{ \
129
9.44k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
9.44k
                   HIGHBD_TAIL_SUFFIX); \
131
9.44k
}
itx_tmpl.c:inv_txfm_add_adst_adst_16x4_c
Line
Count
Source
127
13.9k
                                               HIGHBD_DECL_SUFFIX) \
128
13.9k
{ \
129
13.9k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
13.9k
                   HIGHBD_TAIL_SUFFIX); \
131
13.9k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_16x4_c
Line
Count
Source
127
908
                                               HIGHBD_DECL_SUFFIX) \
128
908
{ \
129
908
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
908
                   HIGHBD_TAIL_SUFFIX); \
131
908
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_16x4_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_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
540
                                               HIGHBD_DECL_SUFFIX) \
128
540
{ \
129
540
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
540
                   HIGHBD_TAIL_SUFFIX); \
131
540
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_16x4_c
Line
Count
Source
127
481
                                               HIGHBD_DECL_SUFFIX) \
128
481
{ \
129
481
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
481
                   HIGHBD_TAIL_SUFFIX); \
131
481
}
itx_tmpl.c:inv_txfm_add_dct_identity_16x4_c
Line
Count
Source
127
4.49k
                                               HIGHBD_DECL_SUFFIX) \
128
4.49k
{ \
129
4.49k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.49k
                   HIGHBD_TAIL_SUFFIX); \
131
4.49k
}
itx_tmpl.c:inv_txfm_add_identity_dct_16x4_c
Line
Count
Source
127
2.08k
                                               HIGHBD_DECL_SUFFIX) \
128
2.08k
{ \
129
2.08k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.08k
                   HIGHBD_TAIL_SUFFIX); \
131
2.08k
}
itx_tmpl.c:inv_txfm_add_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
581
                                               HIGHBD_DECL_SUFFIX) \
128
581
{ \
129
581
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
581
                   HIGHBD_TAIL_SUFFIX); \
131
581
}
itx_tmpl.c:inv_txfm_add_adst_identity_16x4_c
Line
Count
Source
127
1.59k
                                               HIGHBD_DECL_SUFFIX) \
128
1.59k
{ \
129
1.59k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.59k
                   HIGHBD_TAIL_SUFFIX); \
131
1.59k
}
itx_tmpl.c:inv_txfm_add_identity_adst_16x4_c
Line
Count
Source
127
914
                                               HIGHBD_DECL_SUFFIX) \
128
914
{ \
129
914
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
914
                   HIGHBD_TAIL_SUFFIX); \
131
914
}
itx_tmpl.c:inv_txfm_add_dct_dct_16x8_c
Line
Count
Source
127
25.2k
                                               HIGHBD_DECL_SUFFIX) \
128
25.2k
{ \
129
25.2k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
25.2k
                   HIGHBD_TAIL_SUFFIX); \
131
25.2k
}
itx_tmpl.c:inv_txfm_add_identity_identity_16x8_c
Line
Count
Source
127
5.27k
                                               HIGHBD_DECL_SUFFIX) \
128
5.27k
{ \
129
5.27k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.27k
                   HIGHBD_TAIL_SUFFIX); \
131
5.27k
}
itx_tmpl.c:inv_txfm_add_adst_dct_16x8_c
Line
Count
Source
127
16.1k
                                               HIGHBD_DECL_SUFFIX) \
128
16.1k
{ \
129
16.1k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
16.1k
                   HIGHBD_TAIL_SUFFIX); \
131
16.1k
}
itx_tmpl.c:inv_txfm_add_dct_adst_16x8_c
Line
Count
Source
127
12.1k
                                               HIGHBD_DECL_SUFFIX) \
128
12.1k
{ \
129
12.1k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
12.1k
                   HIGHBD_TAIL_SUFFIX); \
131
12.1k
}
itx_tmpl.c:inv_txfm_add_adst_adst_16x8_c
Line
Count
Source
127
14.7k
                                               HIGHBD_DECL_SUFFIX) \
128
14.7k
{ \
129
14.7k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
14.7k
                   HIGHBD_TAIL_SUFFIX); \
131
14.7k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_16x8_c
Line
Count
Source
127
1.46k
                                               HIGHBD_DECL_SUFFIX) \
128
1.46k
{ \
129
1.46k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.46k
                   HIGHBD_TAIL_SUFFIX); \
131
1.46k
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_16x8_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_flipadst_dct_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_dct_flipadst_16x8_c
Line
Count
Source
127
924
                                               HIGHBD_DECL_SUFFIX) \
128
924
{ \
129
924
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
924
                   HIGHBD_TAIL_SUFFIX); \
131
924
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_16x8_c
Line
Count
Source
127
727
                                               HIGHBD_DECL_SUFFIX) \
128
727
{ \
129
727
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
727
                   HIGHBD_TAIL_SUFFIX); \
131
727
}
itx_tmpl.c:inv_txfm_add_dct_identity_16x8_c
Line
Count
Source
127
4.27k
                                               HIGHBD_DECL_SUFFIX) \
128
4.27k
{ \
129
4.27k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.27k
                   HIGHBD_TAIL_SUFFIX); \
131
4.27k
}
itx_tmpl.c:inv_txfm_add_identity_dct_16x8_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_flipadst_identity_16x8_c
Line
Count
Source
127
778
                                               HIGHBD_DECL_SUFFIX) \
128
778
{ \
129
778
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
778
                   HIGHBD_TAIL_SUFFIX); \
131
778
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_16x8_c
Line
Count
Source
127
1.25k
                                               HIGHBD_DECL_SUFFIX) \
128
1.25k
{ \
129
1.25k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.25k
                   HIGHBD_TAIL_SUFFIX); \
131
1.25k
}
itx_tmpl.c:inv_txfm_add_adst_identity_16x8_c
Line
Count
Source
127
783
                                               HIGHBD_DECL_SUFFIX) \
128
783
{ \
129
783
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
783
                   HIGHBD_TAIL_SUFFIX); \
131
783
}
itx_tmpl.c:inv_txfm_add_identity_adst_16x8_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_dct_dct_16x16_c
Line
Count
Source
127
51.5k
                                               HIGHBD_DECL_SUFFIX) \
128
51.5k
{ \
129
51.5k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
51.5k
                   HIGHBD_TAIL_SUFFIX); \
131
51.5k
}
itx_tmpl.c:inv_txfm_add_identity_identity_16x16_c
Line
Count
Source
127
5.91k
                                               HIGHBD_DECL_SUFFIX) \
128
5.91k
{ \
129
5.91k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.91k
                   HIGHBD_TAIL_SUFFIX); \
131
5.91k
}
itx_tmpl.c:inv_txfm_add_adst_dct_16x16_c
Line
Count
Source
127
40.1k
                                               HIGHBD_DECL_SUFFIX) \
128
40.1k
{ \
129
40.1k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
40.1k
                   HIGHBD_TAIL_SUFFIX); \
131
40.1k
}
itx_tmpl.c:inv_txfm_add_dct_adst_16x16_c
Line
Count
Source
127
31.1k
                                               HIGHBD_DECL_SUFFIX) \
128
31.1k
{ \
129
31.1k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
31.1k
                   HIGHBD_TAIL_SUFFIX); \
131
31.1k
}
itx_tmpl.c:inv_txfm_add_adst_adst_16x16_c
Line
Count
Source
127
39.2k
                                               HIGHBD_DECL_SUFFIX) \
128
39.2k
{ \
129
39.2k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
39.2k
                   HIGHBD_TAIL_SUFFIX); \
131
39.2k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_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_adst_flipadst_16x16_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_flipadst_dct_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_dct_flipadst_16x16_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_flipadst_flipadst_16x16_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_dct_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_identity_dct_16x16_c
Line
Count
Source
127
912
                                               HIGHBD_DECL_SUFFIX) \
128
912
{ \
129
912
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
912
                   HIGHBD_TAIL_SUFFIX); \
131
912
}
itx_tmpl.c:inv_txfm_add_dct_dct_16x32_c
Line
Count
Source
127
42.0k
                                               HIGHBD_DECL_SUFFIX) \
128
42.0k
{ \
129
42.0k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
42.0k
                   HIGHBD_TAIL_SUFFIX); \
131
42.0k
}
itx_tmpl.c:inv_txfm_add_identity_identity_16x32_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_dct_dct_16x64_c
Line
Count
Source
127
9.38k
                                               HIGHBD_DECL_SUFFIX) \
128
9.38k
{ \
129
9.38k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
9.38k
                   HIGHBD_TAIL_SUFFIX); \
131
9.38k
}
itx_tmpl.c:inv_txfm_add_dct_dct_32x8_c
Line
Count
Source
127
27.5k
                                               HIGHBD_DECL_SUFFIX) \
128
27.5k
{ \
129
27.5k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
27.5k
                   HIGHBD_TAIL_SUFFIX); \
131
27.5k
}
itx_tmpl.c:inv_txfm_add_identity_identity_32x8_c
Line
Count
Source
127
828
                                               HIGHBD_DECL_SUFFIX) \
128
828
{ \
129
828
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
828
                   HIGHBD_TAIL_SUFFIX); \
131
828
}
itx_tmpl.c:inv_txfm_add_dct_dct_32x16_c
Line
Count
Source
127
29.9k
                                               HIGHBD_DECL_SUFFIX) \
128
29.9k
{ \
129
29.9k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
29.9k
                   HIGHBD_TAIL_SUFFIX); \
131
29.9k
}
itx_tmpl.c:inv_txfm_add_identity_identity_32x16_c
Line
Count
Source
127
260
                                               HIGHBD_DECL_SUFFIX) \
128
260
{ \
129
260
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
260
                   HIGHBD_TAIL_SUFFIX); \
131
260
}
itx_tmpl.c:inv_txfm_add_dct_dct_32x32_c
Line
Count
Source
127
153k
                                               HIGHBD_DECL_SUFFIX) \
128
153k
{ \
129
153k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
153k
                   HIGHBD_TAIL_SUFFIX); \
131
153k
}
itx_tmpl.c:inv_txfm_add_identity_identity_32x32_c
Line
Count
Source
127
141
                                               HIGHBD_DECL_SUFFIX) \
128
141
{ \
129
141
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
141
                   HIGHBD_TAIL_SUFFIX); \
131
141
}
itx_tmpl.c:inv_txfm_add_dct_dct_32x64_c
Line
Count
Source
127
17.7k
                                               HIGHBD_DECL_SUFFIX) \
128
17.7k
{ \
129
17.7k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
17.7k
                   HIGHBD_TAIL_SUFFIX); \
131
17.7k
}
itx_tmpl.c:inv_txfm_add_dct_dct_64x16_c
Line
Count
Source
127
5.45k
                                               HIGHBD_DECL_SUFFIX) \
128
5.45k
{ \
129
5.45k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.45k
                   HIGHBD_TAIL_SUFFIX); \
131
5.45k
}
itx_tmpl.c:inv_txfm_add_dct_dct_64x32_c
Line
Count
Source
127
8.36k
                                               HIGHBD_DECL_SUFFIX) \
128
8.36k
{ \
129
8.36k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
8.36k
                   HIGHBD_TAIL_SUFFIX); \
131
8.36k
}
itx_tmpl.c:inv_txfm_add_dct_dct_64x64_c
Line
Count
Source
127
74.3k
                                               HIGHBD_DECL_SUFFIX) \
128
74.3k
{ \
129
74.3k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
74.3k
                   HIGHBD_TAIL_SUFFIX); \
131
74.3k
}
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
584k
{
188
584k
    int32_t tmp[4 * 4], *c = tmp;
189
2.92M
    for (int y = 0; y < 4; y++, c += 4) {
190
11.6M
        for (int x = 0; x < 4; x++)
191
9.35M
            c[x] = coeff[y + x * 4] >> 2;
192
2.33M
        dav1d_inv_wht4_1d_c(c, 1);
193
2.33M
    }
194
584k
    memset(coeff, 0, sizeof(*coeff) * 4 * 4);
195
196
2.92M
    for (int x = 0; x < 4; x++)
197
2.33M
        dav1d_inv_wht4_1d_c(&tmp[x], 4);
198
199
584k
    c = tmp;
200
2.92M
    for (int y = 0; y < 4; y++, dst += PXSTRIDE(stride))
201
11.6M
        for (int x = 0; x < 4; x++)
202
9.35M
            dst[x] = iclip_pixel(dst[x] + *c++);
203
584k
}
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
15.7k
COLD void bitfn(dav1d_itx_dsp_init)(Dav1dInvTxfmDSPContext *const c, int bpc) {
221
15.7k
#define assign_itx_all_fn64(w, h, pfx) \
222
299k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_DCT  ] = \
223
299k
        inv_txfm_add_dct_dct_##w##x##h##_c
224
225
15.7k
#define assign_itx_all_fn32(w, h, pfx) \
226
220k
    assign_itx_all_fn64(w, h, pfx); \
227
220k
    c->itxfm_add[pfx##TX_##w##X##h][IDTX] = \
228
220k
        inv_txfm_add_identity_identity_##w##x##h##_c
229
230
15.7k
#define assign_itx_all_fn16(w, h, pfx) \
231
141k
    assign_itx_all_fn32(w, h, pfx); \
232
141k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_ADST ] = \
233
141k
        inv_txfm_add_adst_dct_##w##x##h##_c; \
234
141k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_DCT ] = \
235
141k
        inv_txfm_add_dct_adst_##w##x##h##_c; \
236
141k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_ADST] = \
237
141k
        inv_txfm_add_adst_adst_##w##x##h##_c; \
238
141k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_FLIPADST] = \
239
141k
        inv_txfm_add_flipadst_adst_##w##x##h##_c; \
240
141k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_ADST] = \
241
141k
        inv_txfm_add_adst_flipadst_##w##x##h##_c; \
242
141k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_FLIPADST] = \
243
141k
        inv_txfm_add_flipadst_dct_##w##x##h##_c; \
244
141k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_DCT] = \
245
141k
        inv_txfm_add_dct_flipadst_##w##x##h##_c; \
246
141k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_FLIPADST] = \
247
141k
        inv_txfm_add_flipadst_flipadst_##w##x##h##_c; \
248
141k
    c->itxfm_add[pfx##TX_##w##X##h][H_DCT] = \
249
141k
        inv_txfm_add_dct_identity_##w##x##h##_c; \
250
141k
    c->itxfm_add[pfx##TX_##w##X##h][V_DCT] = \
251
141k
        inv_txfm_add_identity_dct_##w##x##h##_c
252
253
15.7k
#define assign_itx_all_fn84(w, h, pfx) \
254
126k
    assign_itx_all_fn16(w, h, pfx); \
255
126k
    c->itxfm_add[pfx##TX_##w##X##h][H_FLIPADST] = \
256
126k
        inv_txfm_add_flipadst_identity_##w##x##h##_c; \
257
126k
    c->itxfm_add[pfx##TX_##w##X##h][V_FLIPADST] = \
258
126k
        inv_txfm_add_identity_flipadst_##w##x##h##_c; \
259
126k
    c->itxfm_add[pfx##TX_##w##X##h][H_ADST] = \
260
126k
        inv_txfm_add_adst_identity_##w##x##h##_c; \
261
126k
    c->itxfm_add[pfx##TX_##w##X##h][V_ADST] = \
262
126k
        inv_txfm_add_identity_adst_##w##x##h##_c; \
263
15.7k
264
15.7k
#if !(HAVE_ASM && TRIM_DSP_FUNCTIONS && ( \
265
15.7k
  ARCH_AARCH64 || \
266
15.7k
  (ARCH_ARM && (defined(__ARM_NEON) || defined(__APPLE__) || defined(_WIN32))) \
267
15.7k
))
268
15.7k
    c->itxfm_add[TX_4X4][WHT_WHT] = inv_txfm_add_wht_wht_4x4_c;
269
15.7k
#endif
270
15.7k
    assign_itx_all_fn84( 4,  4, );
271
15.7k
    assign_itx_all_fn84( 4,  8, R);
272
15.7k
    assign_itx_all_fn84( 4, 16, R);
273
15.7k
    assign_itx_all_fn84( 8,  4, R);
274
15.7k
    assign_itx_all_fn84( 8,  8, );
275
15.7k
    assign_itx_all_fn84( 8, 16, R);
276
15.7k
    assign_itx_all_fn32( 8, 32, R);
277
15.7k
    assign_itx_all_fn84(16,  4, R);
278
15.7k
    assign_itx_all_fn84(16,  8, R);
279
15.7k
    assign_itx_all_fn16(16, 16, );
280
15.7k
    assign_itx_all_fn32(16, 32, R);
281
15.7k
    assign_itx_all_fn64(16, 64, R);
282
15.7k
    assign_itx_all_fn32(32,  8, R);
283
15.7k
    assign_itx_all_fn32(32, 16, R);
284
15.7k
    assign_itx_all_fn32(32, 32, );
285
15.7k
    assign_itx_all_fn64(32, 64, R);
286
15.7k
    assign_itx_all_fn64(64, 16, R);
287
15.7k
    assign_itx_all_fn64(64, 32, R);
288
15.7k
    assign_itx_all_fn64(64, 64, );
289
290
15.7k
    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
15.7k
    if (!all_simd)
310
15.7k
        dav1d_init_last_nonzero_col_from_eob_tables();
311
15.7k
}
dav1d_itx_dsp_init_8bpc
Line
Count
Source
220
7.66k
COLD void bitfn(dav1d_itx_dsp_init)(Dav1dInvTxfmDSPContext *const c, int bpc) {
221
7.66k
#define assign_itx_all_fn64(w, h, pfx) \
222
7.66k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_DCT  ] = \
223
7.66k
        inv_txfm_add_dct_dct_##w##x##h##_c
224
225
7.66k
#define assign_itx_all_fn32(w, h, pfx) \
226
7.66k
    assign_itx_all_fn64(w, h, pfx); \
227
7.66k
    c->itxfm_add[pfx##TX_##w##X##h][IDTX] = \
228
7.66k
        inv_txfm_add_identity_identity_##w##x##h##_c
229
230
7.66k
#define assign_itx_all_fn16(w, h, pfx) \
231
7.66k
    assign_itx_all_fn32(w, h, pfx); \
232
7.66k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_ADST ] = \
233
7.66k
        inv_txfm_add_adst_dct_##w##x##h##_c; \
234
7.66k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_DCT ] = \
235
7.66k
        inv_txfm_add_dct_adst_##w##x##h##_c; \
236
7.66k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_ADST] = \
237
7.66k
        inv_txfm_add_adst_adst_##w##x##h##_c; \
238
7.66k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_FLIPADST] = \
239
7.66k
        inv_txfm_add_flipadst_adst_##w##x##h##_c; \
240
7.66k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_ADST] = \
241
7.66k
        inv_txfm_add_adst_flipadst_##w##x##h##_c; \
242
7.66k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_FLIPADST] = \
243
7.66k
        inv_txfm_add_flipadst_dct_##w##x##h##_c; \
244
7.66k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_DCT] = \
245
7.66k
        inv_txfm_add_dct_flipadst_##w##x##h##_c; \
246
7.66k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_FLIPADST] = \
247
7.66k
        inv_txfm_add_flipadst_flipadst_##w##x##h##_c; \
248
7.66k
    c->itxfm_add[pfx##TX_##w##X##h][H_DCT] = \
249
7.66k
        inv_txfm_add_dct_identity_##w##x##h##_c; \
250
7.66k
    c->itxfm_add[pfx##TX_##w##X##h][V_DCT] = \
251
7.66k
        inv_txfm_add_identity_dct_##w##x##h##_c
252
253
7.66k
#define assign_itx_all_fn84(w, h, pfx) \
254
7.66k
    assign_itx_all_fn16(w, h, pfx); \
255
7.66k
    c->itxfm_add[pfx##TX_##w##X##h][H_FLIPADST] = \
256
7.66k
        inv_txfm_add_flipadst_identity_##w##x##h##_c; \
257
7.66k
    c->itxfm_add[pfx##TX_##w##X##h][V_FLIPADST] = \
258
7.66k
        inv_txfm_add_identity_flipadst_##w##x##h##_c; \
259
7.66k
    c->itxfm_add[pfx##TX_##w##X##h][H_ADST] = \
260
7.66k
        inv_txfm_add_adst_identity_##w##x##h##_c; \
261
7.66k
    c->itxfm_add[pfx##TX_##w##X##h][V_ADST] = \
262
7.66k
        inv_txfm_add_identity_adst_##w##x##h##_c; \
263
7.66k
264
7.66k
#if !(HAVE_ASM && TRIM_DSP_FUNCTIONS && ( \
265
7.66k
  ARCH_AARCH64 || \
266
7.66k
  (ARCH_ARM && (defined(__ARM_NEON) || defined(__APPLE__) || defined(_WIN32))) \
267
7.66k
))
268
7.66k
    c->itxfm_add[TX_4X4][WHT_WHT] = inv_txfm_add_wht_wht_4x4_c;
269
7.66k
#endif
270
7.66k
    assign_itx_all_fn84( 4,  4, );
271
7.66k
    assign_itx_all_fn84( 4,  8, R);
272
7.66k
    assign_itx_all_fn84( 4, 16, R);
273
7.66k
    assign_itx_all_fn84( 8,  4, R);
274
7.66k
    assign_itx_all_fn84( 8,  8, );
275
7.66k
    assign_itx_all_fn84( 8, 16, R);
276
7.66k
    assign_itx_all_fn32( 8, 32, R);
277
7.66k
    assign_itx_all_fn84(16,  4, R);
278
7.66k
    assign_itx_all_fn84(16,  8, R);
279
7.66k
    assign_itx_all_fn16(16, 16, );
280
7.66k
    assign_itx_all_fn32(16, 32, R);
281
7.66k
    assign_itx_all_fn64(16, 64, R);
282
7.66k
    assign_itx_all_fn32(32,  8, R);
283
7.66k
    assign_itx_all_fn32(32, 16, R);
284
7.66k
    assign_itx_all_fn32(32, 32, );
285
7.66k
    assign_itx_all_fn64(32, 64, R);
286
7.66k
    assign_itx_all_fn64(64, 16, R);
287
7.66k
    assign_itx_all_fn64(64, 32, R);
288
7.66k
    assign_itx_all_fn64(64, 64, );
289
290
7.66k
    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
7.66k
    if (!all_simd)
310
7.66k
        dav1d_init_last_nonzero_col_from_eob_tables();
311
7.66k
}
dav1d_itx_dsp_init_16bpc
Line
Count
Source
220
8.08k
COLD void bitfn(dav1d_itx_dsp_init)(Dav1dInvTxfmDSPContext *const c, int bpc) {
221
8.08k
#define assign_itx_all_fn64(w, h, pfx) \
222
8.08k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_DCT  ] = \
223
8.08k
        inv_txfm_add_dct_dct_##w##x##h##_c
224
225
8.08k
#define assign_itx_all_fn32(w, h, pfx) \
226
8.08k
    assign_itx_all_fn64(w, h, pfx); \
227
8.08k
    c->itxfm_add[pfx##TX_##w##X##h][IDTX] = \
228
8.08k
        inv_txfm_add_identity_identity_##w##x##h##_c
229
230
8.08k
#define assign_itx_all_fn16(w, h, pfx) \
231
8.08k
    assign_itx_all_fn32(w, h, pfx); \
232
8.08k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_ADST ] = \
233
8.08k
        inv_txfm_add_adst_dct_##w##x##h##_c; \
234
8.08k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_DCT ] = \
235
8.08k
        inv_txfm_add_dct_adst_##w##x##h##_c; \
236
8.08k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_ADST] = \
237
8.08k
        inv_txfm_add_adst_adst_##w##x##h##_c; \
238
8.08k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_FLIPADST] = \
239
8.08k
        inv_txfm_add_flipadst_adst_##w##x##h##_c; \
240
8.08k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_ADST] = \
241
8.08k
        inv_txfm_add_adst_flipadst_##w##x##h##_c; \
242
8.08k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_FLIPADST] = \
243
8.08k
        inv_txfm_add_flipadst_dct_##w##x##h##_c; \
244
8.08k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_DCT] = \
245
8.08k
        inv_txfm_add_dct_flipadst_##w##x##h##_c; \
246
8.08k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_FLIPADST] = \
247
8.08k
        inv_txfm_add_flipadst_flipadst_##w##x##h##_c; \
248
8.08k
    c->itxfm_add[pfx##TX_##w##X##h][H_DCT] = \
249
8.08k
        inv_txfm_add_dct_identity_##w##x##h##_c; \
250
8.08k
    c->itxfm_add[pfx##TX_##w##X##h][V_DCT] = \
251
8.08k
        inv_txfm_add_identity_dct_##w##x##h##_c
252
253
8.08k
#define assign_itx_all_fn84(w, h, pfx) \
254
8.08k
    assign_itx_all_fn16(w, h, pfx); \
255
8.08k
    c->itxfm_add[pfx##TX_##w##X##h][H_FLIPADST] = \
256
8.08k
        inv_txfm_add_flipadst_identity_##w##x##h##_c; \
257
8.08k
    c->itxfm_add[pfx##TX_##w##X##h][V_FLIPADST] = \
258
8.08k
        inv_txfm_add_identity_flipadst_##w##x##h##_c; \
259
8.08k
    c->itxfm_add[pfx##TX_##w##X##h][H_ADST] = \
260
8.08k
        inv_txfm_add_adst_identity_##w##x##h##_c; \
261
8.08k
    c->itxfm_add[pfx##TX_##w##X##h][V_ADST] = \
262
8.08k
        inv_txfm_add_identity_adst_##w##x##h##_c; \
263
8.08k
264
8.08k
#if !(HAVE_ASM && TRIM_DSP_FUNCTIONS && ( \
265
8.08k
  ARCH_AARCH64 || \
266
8.08k
  (ARCH_ARM && (defined(__ARM_NEON) || defined(__APPLE__) || defined(_WIN32))) \
267
8.08k
))
268
8.08k
    c->itxfm_add[TX_4X4][WHT_WHT] = inv_txfm_add_wht_wht_4x4_c;
269
8.08k
#endif
270
8.08k
    assign_itx_all_fn84( 4,  4, );
271
8.08k
    assign_itx_all_fn84( 4,  8, R);
272
8.08k
    assign_itx_all_fn84( 4, 16, R);
273
8.08k
    assign_itx_all_fn84( 8,  4, R);
274
8.08k
    assign_itx_all_fn84( 8,  8, );
275
8.08k
    assign_itx_all_fn84( 8, 16, R);
276
8.08k
    assign_itx_all_fn32( 8, 32, R);
277
8.08k
    assign_itx_all_fn84(16,  4, R);
278
8.08k
    assign_itx_all_fn84(16,  8, R);
279
8.08k
    assign_itx_all_fn16(16, 16, );
280
8.08k
    assign_itx_all_fn32(16, 32, R);
281
8.08k
    assign_itx_all_fn64(16, 64, R);
282
8.08k
    assign_itx_all_fn32(32,  8, R);
283
8.08k
    assign_itx_all_fn32(32, 16, R);
284
8.08k
    assign_itx_all_fn32(32, 32, );
285
8.08k
    assign_itx_all_fn64(32, 64, R);
286
8.08k
    assign_itx_all_fn64(64, 16, R);
287
8.08k
    assign_itx_all_fn64(64, 32, R);
288
8.08k
    assign_itx_all_fn64(64, 64, );
289
290
8.08k
    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
8.08k
    if (!all_simd)
310
8.08k
        dav1d_init_last_nonzero_col_from_eob_tables();
311
8.08k
}