Coverage Report

Created: 2026-09-01 06:55

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.41M
{
48
1.41M
    const TxfmInfo *const t_dim = &dav1d_txfm_dimensions[tx];
49
1.41M
    const int w = 4 * t_dim->w, h = 4 * t_dim->h;
50
1.41M
    const int has_dconly = txtp == DCT_DCT;
51
1.41M
    assert(w >= 4 && w <= 64);
52
1.41M
    assert(h >= 4 && h <= 64);
53
1.41M
    assert(eob >= 0);
54
55
1.41M
    const int is_rect2 = w * 2 == h || h * 2 == w;
56
1.41M
    const int rnd = (1 << shift) >> 1;
57
58
1.41M
    if (eob < has_dconly) {
59
267k
        int dc = coeff[0];
60
267k
        coeff[0] = 0;
61
267k
        if (is_rect2)
62
56.7k
            dc = (dc * 181 + 128) >> 8;
63
267k
        dc = (dc * 181 + 128) >> 8;
64
267k
        dc = (dc + rnd) >> shift;
65
267k
        dc = (dc * 181 + 128 + 2048) >> 12;
66
8.55M
        for (int y = 0; y < h; y++, dst += PXSTRIDE(stride))
67
361M
            for (int x = 0; x < w; x++)
68
353M
                dst[x] = iclip_pixel(dst[x] + dc);
69
267k
        return;
70
267k
    }
71
72
1.14M
    const uint8_t *const txtps = dav1d_tx1d_types[txtp];
73
1.14M
    const itx_1d_fn first_1d_fn = dav1d_tx1d_fns[t_dim->lw][txtps[0]];
74
1.14M
    const itx_1d_fn second_1d_fn = dav1d_tx1d_fns[t_dim->lh][txtps[1]];
75
1.14M
    const int sh = imin(h, 32), sw = imin(w, 32);
76
1.14M
#if BITDEPTH == 8
77
1.14M
    const int row_clip_min = INT16_MIN;
78
1.14M
    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.14M
    const int row_clip_max = ~row_clip_min;
84
1.14M
    const int col_clip_max = ~col_clip_min;
85
86
1.14M
    int32_t tmp[64 * 64], *c = tmp;
87
1.14M
    int last_nonzero_col; // in first 1d itx
88
1.14M
    if (txtps[1] == IDENTITY && txtps[0] != IDENTITY) {
89
83.6k
        last_nonzero_col = imin(sh - 1, eob);
90
1.06M
    } else if (txtps[0] == IDENTITY && txtps[1] != IDENTITY) {
91
47.3k
        last_nonzero_col = eob >> (t_dim->lw + 2);
92
1.01M
    } else {
93
1.01M
        last_nonzero_col = dav1d_last_nonzero_col_from_eob[tx][eob];
94
1.01M
    }
95
1.14M
    assert(last_nonzero_col < sh);
96
6.57M
    for (int y = 0; y <= last_nonzero_col; y++, c += w) {
97
5.43M
        if (is_rect2)
98
25.1M
            for (int x = 0; x < sw; x++)
99
23.3M
                c[x] = (coeff[y + x * sh] * 181 + 128) >> 8;
100
3.69M
        else
101
61.9M
            for (int x = 0; x < sw; x++)
102
58.2M
                c[x] = coeff[y + x * sh];
103
5.43M
        first_1d_fn(c, 1, row_clip_min, row_clip_max);
104
5.43M
    }
105
1.14M
    if (last_nonzero_col + 1 < sh)
106
896k
        memset(c, 0, sizeof(*c) * (sh - last_nonzero_col - 1) * w);
107
108
1.14M
    memset(coeff, 0, sizeof(*coeff) * sw * sh);
109
313M
    for (int i = 0; i < w * sh; i++)
110
312M
        tmp[i] = iclip((tmp[i] + rnd) >> shift, col_clip_min, col_clip_max);
111
112
18.3M
    for (int x = 0; x < w; x++)
113
17.1M
        second_1d_fn(&tmp[x], w, col_clip_min, col_clip_max);
114
115
1.14M
    c = tmp;
116
17.6M
    for (int y = 0; y < h; y++, dst += PXSTRIDE(stride))
117
458M
        for (int x = 0; x < w; x++)
118
441M
            dst[x] = iclip_pixel(dst[x] + ((*c++ + 8) >> 4));
119
1.14M
}
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.41M
                                               HIGHBD_DECL_SUFFIX) \
128
1.41M
{ \
129
1.41M
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.41M
                   HIGHBD_TAIL_SUFFIX); \
131
1.41M
}
itx_tmpl.c:inv_txfm_add_dct_dct_4x4_c
Line
Count
Source
127
34.1k
                                               HIGHBD_DECL_SUFFIX) \
128
34.1k
{ \
129
34.1k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
34.1k
                   HIGHBD_TAIL_SUFFIX); \
131
34.1k
}
itx_tmpl.c:inv_txfm_add_identity_identity_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_adst_dct_4x4_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_dct_adst_4x4_c
Line
Count
Source
127
17.1k
                                               HIGHBD_DECL_SUFFIX) \
128
17.1k
{ \
129
17.1k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
17.1k
                   HIGHBD_TAIL_SUFFIX); \
131
17.1k
}
itx_tmpl.c:inv_txfm_add_adst_adst_4x4_c
Line
Count
Source
127
23.3k
                                               HIGHBD_DECL_SUFFIX) \
128
23.3k
{ \
129
23.3k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
23.3k
                   HIGHBD_TAIL_SUFFIX); \
131
23.3k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_4x4_c
Line
Count
Source
127
2.41k
                                               HIGHBD_DECL_SUFFIX) \
128
2.41k
{ \
129
2.41k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.41k
                   HIGHBD_TAIL_SUFFIX); \
131
2.41k
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_4x4_c
Line
Count
Source
127
2.53k
                                               HIGHBD_DECL_SUFFIX) \
128
2.53k
{ \
129
2.53k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.53k
                   HIGHBD_TAIL_SUFFIX); \
131
2.53k
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_4x4_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_dct_flipadst_4x4_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_flipadst_flipadst_4x4_c
Line
Count
Source
127
2.00k
                                               HIGHBD_DECL_SUFFIX) \
128
2.00k
{ \
129
2.00k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.00k
                   HIGHBD_TAIL_SUFFIX); \
131
2.00k
}
itx_tmpl.c:inv_txfm_add_dct_identity_4x4_c
Line
Count
Source
127
6.87k
                                               HIGHBD_DECL_SUFFIX) \
128
6.87k
{ \
129
6.87k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
6.87k
                   HIGHBD_TAIL_SUFFIX); \
131
6.87k
}
itx_tmpl.c:inv_txfm_add_identity_dct_4x4_c
Line
Count
Source
127
3.80k
                                               HIGHBD_DECL_SUFFIX) \
128
3.80k
{ \
129
3.80k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.80k
                   HIGHBD_TAIL_SUFFIX); \
131
3.80k
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_4x4_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_flipadst_4x4_c
Line
Count
Source
127
1.99k
                                               HIGHBD_DECL_SUFFIX) \
128
1.99k
{ \
129
1.99k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.99k
                   HIGHBD_TAIL_SUFFIX); \
131
1.99k
}
itx_tmpl.c:inv_txfm_add_adst_identity_4x4_c
Line
Count
Source
127
3.70k
                                               HIGHBD_DECL_SUFFIX) \
128
3.70k
{ \
129
3.70k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.70k
                   HIGHBD_TAIL_SUFFIX); \
131
3.70k
}
itx_tmpl.c:inv_txfm_add_identity_adst_4x4_c
Line
Count
Source
127
2.06k
                                               HIGHBD_DECL_SUFFIX) \
128
2.06k
{ \
129
2.06k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.06k
                   HIGHBD_TAIL_SUFFIX); \
131
2.06k
}
itx_tmpl.c:inv_txfm_add_dct_dct_4x8_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_4x8_c
Line
Count
Source
127
6.34k
                                               HIGHBD_DECL_SUFFIX) \
128
6.34k
{ \
129
6.34k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
6.34k
                   HIGHBD_TAIL_SUFFIX); \
131
6.34k
}
itx_tmpl.c:inv_txfm_add_adst_dct_4x8_c
Line
Count
Source
127
11.5k
                                               HIGHBD_DECL_SUFFIX) \
128
11.5k
{ \
129
11.5k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
11.5k
                   HIGHBD_TAIL_SUFFIX); \
131
11.5k
}
itx_tmpl.c:inv_txfm_add_dct_adst_4x8_c
Line
Count
Source
127
8.74k
                                               HIGHBD_DECL_SUFFIX) \
128
8.74k
{ \
129
8.74k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
8.74k
                   HIGHBD_TAIL_SUFFIX); \
131
8.74k
}
itx_tmpl.c:inv_txfm_add_adst_adst_4x8_c
Line
Count
Source
127
12.7k
                                               HIGHBD_DECL_SUFFIX) \
128
12.7k
{ \
129
12.7k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
12.7k
                   HIGHBD_TAIL_SUFFIX); \
131
12.7k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_4x8_c
Line
Count
Source
127
1.60k
                                               HIGHBD_DECL_SUFFIX) \
128
1.60k
{ \
129
1.60k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.60k
                   HIGHBD_TAIL_SUFFIX); \
131
1.60k
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_4x8_c
Line
Count
Source
127
1.55k
                                               HIGHBD_DECL_SUFFIX) \
128
1.55k
{ \
129
1.55k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.55k
                   HIGHBD_TAIL_SUFFIX); \
131
1.55k
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_4x8_c
Line
Count
Source
127
1.24k
                                               HIGHBD_DECL_SUFFIX) \
128
1.24k
{ \
129
1.24k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.24k
                   HIGHBD_TAIL_SUFFIX); \
131
1.24k
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_4x8_c
Line
Count
Source
127
946
                                               HIGHBD_DECL_SUFFIX) \
128
946
{ \
129
946
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
946
                   HIGHBD_TAIL_SUFFIX); \
131
946
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_4x8_c
Line
Count
Source
127
1.20k
                                               HIGHBD_DECL_SUFFIX) \
128
1.20k
{ \
129
1.20k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.20k
                   HIGHBD_TAIL_SUFFIX); \
131
1.20k
}
itx_tmpl.c:inv_txfm_add_dct_identity_4x8_c
Line
Count
Source
127
4.80k
                                               HIGHBD_DECL_SUFFIX) \
128
4.80k
{ \
129
4.80k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.80k
                   HIGHBD_TAIL_SUFFIX); \
131
4.80k
}
itx_tmpl.c:inv_txfm_add_identity_dct_4x8_c
Line
Count
Source
127
2.36k
                                               HIGHBD_DECL_SUFFIX) \
128
2.36k
{ \
129
2.36k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.36k
                   HIGHBD_TAIL_SUFFIX); \
131
2.36k
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_4x8_c
Line
Count
Source
127
1.65k
                                               HIGHBD_DECL_SUFFIX) \
128
1.65k
{ \
129
1.65k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.65k
                   HIGHBD_TAIL_SUFFIX); \
131
1.65k
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_4x8_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_adst_identity_4x8_c
Line
Count
Source
127
2.40k
                                               HIGHBD_DECL_SUFFIX) \
128
2.40k
{ \
129
2.40k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.40k
                   HIGHBD_TAIL_SUFFIX); \
131
2.40k
}
itx_tmpl.c:inv_txfm_add_identity_adst_4x8_c
Line
Count
Source
127
1.40k
                                               HIGHBD_DECL_SUFFIX) \
128
1.40k
{ \
129
1.40k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.40k
                   HIGHBD_TAIL_SUFFIX); \
131
1.40k
}
itx_tmpl.c:inv_txfm_add_dct_dct_4x16_c
Line
Count
Source
127
9.26k
                                               HIGHBD_DECL_SUFFIX) \
128
9.26k
{ \
129
9.26k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
9.26k
                   HIGHBD_TAIL_SUFFIX); \
131
9.26k
}
itx_tmpl.c:inv_txfm_add_identity_identity_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_dct_4x16_c
Line
Count
Source
127
6.31k
                                               HIGHBD_DECL_SUFFIX) \
128
6.31k
{ \
129
6.31k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
6.31k
                   HIGHBD_TAIL_SUFFIX); \
131
6.31k
}
itx_tmpl.c:inv_txfm_add_dct_adst_4x16_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_adst_adst_4x16_c
Line
Count
Source
127
8.07k
                                               HIGHBD_DECL_SUFFIX) \
128
8.07k
{ \
129
8.07k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
8.07k
                   HIGHBD_TAIL_SUFFIX); \
131
8.07k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_4x16_c
Line
Count
Source
127
784
                                               HIGHBD_DECL_SUFFIX) \
128
784
{ \
129
784
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
784
                   HIGHBD_TAIL_SUFFIX); \
131
784
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_4x16_c
Line
Count
Source
127
933
                                               HIGHBD_DECL_SUFFIX) \
128
933
{ \
129
933
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
933
                   HIGHBD_TAIL_SUFFIX); \
131
933
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_4x16_c
Line
Count
Source
127
611
                                               HIGHBD_DECL_SUFFIX) \
128
611
{ \
129
611
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
611
                   HIGHBD_TAIL_SUFFIX); \
131
611
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_4x16_c
Line
Count
Source
127
642
                                               HIGHBD_DECL_SUFFIX) \
128
642
{ \
129
642
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
642
                   HIGHBD_TAIL_SUFFIX); \
131
642
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_4x16_c
Line
Count
Source
127
659
                                               HIGHBD_DECL_SUFFIX) \
128
659
{ \
129
659
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
659
                   HIGHBD_TAIL_SUFFIX); \
131
659
}
itx_tmpl.c:inv_txfm_add_dct_identity_4x16_c
Line
Count
Source
127
3.48k
                                               HIGHBD_DECL_SUFFIX) \
128
3.48k
{ \
129
3.48k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.48k
                   HIGHBD_TAIL_SUFFIX); \
131
3.48k
}
itx_tmpl.c:inv_txfm_add_identity_dct_4x16_c
Line
Count
Source
127
1.70k
                                               HIGHBD_DECL_SUFFIX) \
128
1.70k
{ \
129
1.70k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.70k
                   HIGHBD_TAIL_SUFFIX); \
131
1.70k
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_4x16_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_identity_flipadst_4x16_c
Line
Count
Source
127
675
                                               HIGHBD_DECL_SUFFIX) \
128
675
{ \
129
675
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
675
                   HIGHBD_TAIL_SUFFIX); \
131
675
}
itx_tmpl.c:inv_txfm_add_adst_identity_4x16_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_identity_adst_4x16_c
Line
Count
Source
127
1.05k
                                               HIGHBD_DECL_SUFFIX) \
128
1.05k
{ \
129
1.05k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.05k
                   HIGHBD_TAIL_SUFFIX); \
131
1.05k
}
itx_tmpl.c:inv_txfm_add_dct_dct_8x4_c
Line
Count
Source
127
22.8k
                                               HIGHBD_DECL_SUFFIX) \
128
22.8k
{ \
129
22.8k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
22.8k
                   HIGHBD_TAIL_SUFFIX); \
131
22.8k
}
itx_tmpl.c:inv_txfm_add_identity_identity_8x4_c
Line
Count
Source
127
8.91k
                                               HIGHBD_DECL_SUFFIX) \
128
8.91k
{ \
129
8.91k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
8.91k
                   HIGHBD_TAIL_SUFFIX); \
131
8.91k
}
itx_tmpl.c:inv_txfm_add_adst_dct_8x4_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_dct_adst_8x4_c
Line
Count
Source
127
11.8k
                                               HIGHBD_DECL_SUFFIX) \
128
11.8k
{ \
129
11.8k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
11.8k
                   HIGHBD_TAIL_SUFFIX); \
131
11.8k
}
itx_tmpl.c:inv_txfm_add_adst_adst_8x4_c
Line
Count
Source
127
17.5k
                                               HIGHBD_DECL_SUFFIX) \
128
17.5k
{ \
129
17.5k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
17.5k
                   HIGHBD_TAIL_SUFFIX); \
131
17.5k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_8x4_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_adst_flipadst_8x4_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_dct_8x4_c
Line
Count
Source
127
1.99k
                                               HIGHBD_DECL_SUFFIX) \
128
1.99k
{ \
129
1.99k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.99k
                   HIGHBD_TAIL_SUFFIX); \
131
1.99k
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_8x4_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_flipadst_flipadst_8x4_c
Line
Count
Source
127
1.64k
                                               HIGHBD_DECL_SUFFIX) \
128
1.64k
{ \
129
1.64k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.64k
                   HIGHBD_TAIL_SUFFIX); \
131
1.64k
}
itx_tmpl.c:inv_txfm_add_dct_identity_8x4_c
Line
Count
Source
127
6.62k
                                               HIGHBD_DECL_SUFFIX) \
128
6.62k
{ \
129
6.62k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
6.62k
                   HIGHBD_TAIL_SUFFIX); \
131
6.62k
}
itx_tmpl.c:inv_txfm_add_identity_dct_8x4_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_flipadst_identity_8x4_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_flipadst_8x4_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_identity_8x4_c
Line
Count
Source
127
2.94k
                                               HIGHBD_DECL_SUFFIX) \
128
2.94k
{ \
129
2.94k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.94k
                   HIGHBD_TAIL_SUFFIX); \
131
2.94k
}
itx_tmpl.c:inv_txfm_add_identity_adst_8x4_c
Line
Count
Source
127
1.60k
                                               HIGHBD_DECL_SUFFIX) \
128
1.60k
{ \
129
1.60k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.60k
                   HIGHBD_TAIL_SUFFIX); \
131
1.60k
}
itx_tmpl.c:inv_txfm_add_dct_dct_8x8_c
Line
Count
Source
127
57.4k
                                               HIGHBD_DECL_SUFFIX) \
128
57.4k
{ \
129
57.4k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
57.4k
                   HIGHBD_TAIL_SUFFIX); \
131
57.4k
}
itx_tmpl.c:inv_txfm_add_identity_identity_8x8_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_adst_dct_8x8_c
Line
Count
Source
127
38.8k
                                               HIGHBD_DECL_SUFFIX) \
128
38.8k
{ \
129
38.8k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
38.8k
                   HIGHBD_TAIL_SUFFIX); \
131
38.8k
}
itx_tmpl.c:inv_txfm_add_dct_adst_8x8_c
Line
Count
Source
127
33.3k
                                               HIGHBD_DECL_SUFFIX) \
128
33.3k
{ \
129
33.3k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
33.3k
                   HIGHBD_TAIL_SUFFIX); \
131
33.3k
}
itx_tmpl.c:inv_txfm_add_adst_adst_8x8_c
Line
Count
Source
127
33.6k
                                               HIGHBD_DECL_SUFFIX) \
128
33.6k
{ \
129
33.6k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
33.6k
                   HIGHBD_TAIL_SUFFIX); \
131
33.6k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_8x8_c
Line
Count
Source
127
4.34k
                                               HIGHBD_DECL_SUFFIX) \
128
4.34k
{ \
129
4.34k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.34k
                   HIGHBD_TAIL_SUFFIX); \
131
4.34k
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_8x8_c
Line
Count
Source
127
3.99k
                                               HIGHBD_DECL_SUFFIX) \
128
3.99k
{ \
129
3.99k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.99k
                   HIGHBD_TAIL_SUFFIX); \
131
3.99k
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_8x8_c
Line
Count
Source
127
4.74k
                                               HIGHBD_DECL_SUFFIX) \
128
4.74k
{ \
129
4.74k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.74k
                   HIGHBD_TAIL_SUFFIX); \
131
4.74k
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_8x8_c
Line
Count
Source
127
3.78k
                                               HIGHBD_DECL_SUFFIX) \
128
3.78k
{ \
129
3.78k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.78k
                   HIGHBD_TAIL_SUFFIX); \
131
3.78k
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_8x8_c
Line
Count
Source
127
3.53k
                                               HIGHBD_DECL_SUFFIX) \
128
3.53k
{ \
129
3.53k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.53k
                   HIGHBD_TAIL_SUFFIX); \
131
3.53k
}
itx_tmpl.c:inv_txfm_add_dct_identity_8x8_c
Line
Count
Source
127
10.8k
                                               HIGHBD_DECL_SUFFIX) \
128
10.8k
{ \
129
10.8k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
10.8k
                   HIGHBD_TAIL_SUFFIX); \
131
10.8k
}
itx_tmpl.c:inv_txfm_add_identity_dct_8x8_c
Line
Count
Source
127
5.87k
                                               HIGHBD_DECL_SUFFIX) \
128
5.87k
{ \
129
5.87k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.87k
                   HIGHBD_TAIL_SUFFIX); \
131
5.87k
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_8x8_c
Line
Count
Source
127
2.65k
                                               HIGHBD_DECL_SUFFIX) \
128
2.65k
{ \
129
2.65k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.65k
                   HIGHBD_TAIL_SUFFIX); \
131
2.65k
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_8x8_c
Line
Count
Source
127
2.13k
                                               HIGHBD_DECL_SUFFIX) \
128
2.13k
{ \
129
2.13k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.13k
                   HIGHBD_TAIL_SUFFIX); \
131
2.13k
}
itx_tmpl.c:inv_txfm_add_adst_identity_8x8_c
Line
Count
Source
127
2.74k
                                               HIGHBD_DECL_SUFFIX) \
128
2.74k
{ \
129
2.74k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.74k
                   HIGHBD_TAIL_SUFFIX); \
131
2.74k
}
itx_tmpl.c:inv_txfm_add_identity_adst_8x8_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_dct_dct_8x16_c
Line
Count
Source
127
17.9k
                                               HIGHBD_DECL_SUFFIX) \
128
17.9k
{ \
129
17.9k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
17.9k
                   HIGHBD_TAIL_SUFFIX); \
131
17.9k
}
itx_tmpl.c:inv_txfm_add_identity_identity_8x16_c
Line
Count
Source
127
4.32k
                                               HIGHBD_DECL_SUFFIX) \
128
4.32k
{ \
129
4.32k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.32k
                   HIGHBD_TAIL_SUFFIX); \
131
4.32k
}
itx_tmpl.c:inv_txfm_add_adst_dct_8x16_c
Line
Count
Source
127
11.6k
                                               HIGHBD_DECL_SUFFIX) \
128
11.6k
{ \
129
11.6k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
11.6k
                   HIGHBD_TAIL_SUFFIX); \
131
11.6k
}
itx_tmpl.c:inv_txfm_add_dct_adst_8x16_c
Line
Count
Source
127
9.71k
                                               HIGHBD_DECL_SUFFIX) \
128
9.71k
{ \
129
9.71k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
9.71k
                   HIGHBD_TAIL_SUFFIX); \
131
9.71k
}
itx_tmpl.c:inv_txfm_add_adst_adst_8x16_c
Line
Count
Source
127
10.2k
                                               HIGHBD_DECL_SUFFIX) \
128
10.2k
{ \
129
10.2k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
10.2k
                   HIGHBD_TAIL_SUFFIX); \
131
10.2k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_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_adst_flipadst_8x16_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_flipadst_dct_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_dct_flipadst_8x16_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_flipadst_flipadst_8x16_c
Line
Count
Source
127
1.27k
                                               HIGHBD_DECL_SUFFIX) \
128
1.27k
{ \
129
1.27k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.27k
                   HIGHBD_TAIL_SUFFIX); \
131
1.27k
}
itx_tmpl.c:inv_txfm_add_dct_identity_8x16_c
Line
Count
Source
127
3.70k
                                               HIGHBD_DECL_SUFFIX) \
128
3.70k
{ \
129
3.70k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.70k
                   HIGHBD_TAIL_SUFFIX); \
131
3.70k
}
itx_tmpl.c:inv_txfm_add_identity_dct_8x16_c
Line
Count
Source
127
1.75k
                                               HIGHBD_DECL_SUFFIX) \
128
1.75k
{ \
129
1.75k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.75k
                   HIGHBD_TAIL_SUFFIX); \
131
1.75k
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_8x16_c
Line
Count
Source
127
997
                                               HIGHBD_DECL_SUFFIX) \
128
997
{ \
129
997
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
997
                   HIGHBD_TAIL_SUFFIX); \
131
997
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_8x16_c
Line
Count
Source
127
953
                                               HIGHBD_DECL_SUFFIX) \
128
953
{ \
129
953
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
953
                   HIGHBD_TAIL_SUFFIX); \
131
953
}
itx_tmpl.c:inv_txfm_add_adst_identity_8x16_c
Line
Count
Source
127
1.11k
                                               HIGHBD_DECL_SUFFIX) \
128
1.11k
{ \
129
1.11k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.11k
                   HIGHBD_TAIL_SUFFIX); \
131
1.11k
}
itx_tmpl.c:inv_txfm_add_identity_adst_8x16_c
Line
Count
Source
127
759
                                               HIGHBD_DECL_SUFFIX) \
128
759
{ \
129
759
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
759
                   HIGHBD_TAIL_SUFFIX); \
131
759
}
itx_tmpl.c:inv_txfm_add_dct_dct_8x32_c
Line
Count
Source
127
26.1k
                                               HIGHBD_DECL_SUFFIX) \
128
26.1k
{ \
129
26.1k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
26.1k
                   HIGHBD_TAIL_SUFFIX); \
131
26.1k
}
itx_tmpl.c:inv_txfm_add_identity_identity_8x32_c
Line
Count
Source
127
1.99k
                                               HIGHBD_DECL_SUFFIX) \
128
1.99k
{ \
129
1.99k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.99k
                   HIGHBD_TAIL_SUFFIX); \
131
1.99k
}
itx_tmpl.c:inv_txfm_add_dct_dct_16x4_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_identity_identity_16x4_c
Line
Count
Source
127
7.20k
                                               HIGHBD_DECL_SUFFIX) \
128
7.20k
{ \
129
7.20k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
7.20k
                   HIGHBD_TAIL_SUFFIX); \
131
7.20k
}
itx_tmpl.c:inv_txfm_add_adst_dct_16x4_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_16x4_c
Line
Count
Source
127
9.43k
                                               HIGHBD_DECL_SUFFIX) \
128
9.43k
{ \
129
9.43k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
9.43k
                   HIGHBD_TAIL_SUFFIX); \
131
9.43k
}
itx_tmpl.c:inv_txfm_add_adst_adst_16x4_c
Line
Count
Source
127
13.5k
                                               HIGHBD_DECL_SUFFIX) \
128
13.5k
{ \
129
13.5k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
13.5k
                   HIGHBD_TAIL_SUFFIX); \
131
13.5k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_16x4_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_adst_flipadst_16x4_c
Line
Count
Source
127
1.77k
                                               HIGHBD_DECL_SUFFIX) \
128
1.77k
{ \
129
1.77k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.77k
                   HIGHBD_TAIL_SUFFIX); \
131
1.77k
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_16x4_c
Line
Count
Source
127
1.23k
                                               HIGHBD_DECL_SUFFIX) \
128
1.23k
{ \
129
1.23k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.23k
                   HIGHBD_TAIL_SUFFIX); \
131
1.23k
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_16x4_c
Line
Count
Source
127
892
                                               HIGHBD_DECL_SUFFIX) \
128
892
{ \
129
892
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
892
                   HIGHBD_TAIL_SUFFIX); \
131
892
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_16x4_c
Line
Count
Source
127
1.15k
                                               HIGHBD_DECL_SUFFIX) \
128
1.15k
{ \
129
1.15k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.15k
                   HIGHBD_TAIL_SUFFIX); \
131
1.15k
}
itx_tmpl.c:inv_txfm_add_dct_identity_16x4_c
Line
Count
Source
127
5.60k
                                               HIGHBD_DECL_SUFFIX) \
128
5.60k
{ \
129
5.60k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.60k
                   HIGHBD_TAIL_SUFFIX); \
131
5.60k
}
itx_tmpl.c:inv_txfm_add_identity_dct_16x4_c
Line
Count
Source
127
2.98k
                                               HIGHBD_DECL_SUFFIX) \
128
2.98k
{ \
129
2.98k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.98k
                   HIGHBD_TAIL_SUFFIX); \
131
2.98k
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_16x4_c
Line
Count
Source
127
1.92k
                                               HIGHBD_DECL_SUFFIX) \
128
1.92k
{ \
129
1.92k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.92k
                   HIGHBD_TAIL_SUFFIX); \
131
1.92k
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_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_adst_identity_16x4_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_identity_adst_16x4_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_dct_16x8_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_identity_identity_16x8_c
Line
Count
Source
127
6.15k
                                               HIGHBD_DECL_SUFFIX) \
128
6.15k
{ \
129
6.15k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
6.15k
                   HIGHBD_TAIL_SUFFIX); \
131
6.15k
}
itx_tmpl.c:inv_txfm_add_adst_dct_16x8_c
Line
Count
Source
127
16.6k
                                               HIGHBD_DECL_SUFFIX) \
128
16.6k
{ \
129
16.6k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
16.6k
                   HIGHBD_TAIL_SUFFIX); \
131
16.6k
}
itx_tmpl.c:inv_txfm_add_dct_adst_16x8_c
Line
Count
Source
127
13.5k
                                               HIGHBD_DECL_SUFFIX) \
128
13.5k
{ \
129
13.5k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
13.5k
                   HIGHBD_TAIL_SUFFIX); \
131
13.5k
}
itx_tmpl.c:inv_txfm_add_adst_adst_16x8_c
Line
Count
Source
127
14.8k
                                               HIGHBD_DECL_SUFFIX) \
128
14.8k
{ \
129
14.8k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
14.8k
                   HIGHBD_TAIL_SUFFIX); \
131
14.8k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_16x8_c
Line
Count
Source
127
2.39k
                                               HIGHBD_DECL_SUFFIX) \
128
2.39k
{ \
129
2.39k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.39k
                   HIGHBD_TAIL_SUFFIX); \
131
2.39k
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_16x8_c
Line
Count
Source
127
2.05k
                                               HIGHBD_DECL_SUFFIX) \
128
2.05k
{ \
129
2.05k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.05k
                   HIGHBD_TAIL_SUFFIX); \
131
2.05k
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_16x8_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_flipadst_16x8_c
Line
Count
Source
127
1.74k
                                               HIGHBD_DECL_SUFFIX) \
128
1.74k
{ \
129
1.74k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.74k
                   HIGHBD_TAIL_SUFFIX); \
131
1.74k
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_16x8_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_identity_16x8_c
Line
Count
Source
127
5.74k
                                               HIGHBD_DECL_SUFFIX) \
128
5.74k
{ \
129
5.74k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.74k
                   HIGHBD_TAIL_SUFFIX); \
131
5.74k
}
itx_tmpl.c:inv_txfm_add_identity_dct_16x8_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_16x8_c
Line
Count
Source
127
1.44k
                                               HIGHBD_DECL_SUFFIX) \
128
1.44k
{ \
129
1.44k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.44k
                   HIGHBD_TAIL_SUFFIX); \
131
1.44k
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_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_identity_16x8_c
Line
Count
Source
127
1.74k
                                               HIGHBD_DECL_SUFFIX) \
128
1.74k
{ \
129
1.74k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.74k
                   HIGHBD_TAIL_SUFFIX); \
131
1.74k
}
itx_tmpl.c:inv_txfm_add_identity_adst_16x8_c
Line
Count
Source
127
843
                                               HIGHBD_DECL_SUFFIX) \
128
843
{ \
129
843
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
843
                   HIGHBD_TAIL_SUFFIX); \
131
843
}
itx_tmpl.c:inv_txfm_add_dct_dct_16x16_c
Line
Count
Source
127
51.2k
                                               HIGHBD_DECL_SUFFIX) \
128
51.2k
{ \
129
51.2k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
51.2k
                   HIGHBD_TAIL_SUFFIX); \
131
51.2k
}
itx_tmpl.c:inv_txfm_add_identity_identity_16x16_c
Line
Count
Source
127
4.97k
                                               HIGHBD_DECL_SUFFIX) \
128
4.97k
{ \
129
4.97k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.97k
                   HIGHBD_TAIL_SUFFIX); \
131
4.97k
}
itx_tmpl.c:inv_txfm_add_adst_dct_16x16_c
Line
Count
Source
127
33.8k
                                               HIGHBD_DECL_SUFFIX) \
128
33.8k
{ \
129
33.8k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
33.8k
                   HIGHBD_TAIL_SUFFIX); \
131
33.8k
}
itx_tmpl.c:inv_txfm_add_dct_adst_16x16_c
Line
Count
Source
127
29.6k
                                               HIGHBD_DECL_SUFFIX) \
128
29.6k
{ \
129
29.6k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
29.6k
                   HIGHBD_TAIL_SUFFIX); \
131
29.6k
}
itx_tmpl.c:inv_txfm_add_adst_adst_16x16_c
Line
Count
Source
127
36.8k
                                               HIGHBD_DECL_SUFFIX) \
128
36.8k
{ \
129
36.8k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
36.8k
                   HIGHBD_TAIL_SUFFIX); \
131
36.8k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_16x16_c
Line
Count
Source
127
1.66k
                                               HIGHBD_DECL_SUFFIX) \
128
1.66k
{ \
129
1.66k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.66k
                   HIGHBD_TAIL_SUFFIX); \
131
1.66k
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_16x16_c
Line
Count
Source
127
2.61k
                                               HIGHBD_DECL_SUFFIX) \
128
2.61k
{ \
129
2.61k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.61k
                   HIGHBD_TAIL_SUFFIX); \
131
2.61k
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_16x16_c
Line
Count
Source
127
2.44k
                                               HIGHBD_DECL_SUFFIX) \
128
2.44k
{ \
129
2.44k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.44k
                   HIGHBD_TAIL_SUFFIX); \
131
2.44k
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_16x16_c
Line
Count
Source
127
2.28k
                                               HIGHBD_DECL_SUFFIX) \
128
2.28k
{ \
129
2.28k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.28k
                   HIGHBD_TAIL_SUFFIX); \
131
2.28k
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_16x16_c
Line
Count
Source
127
2.09k
                                               HIGHBD_DECL_SUFFIX) \
128
2.09k
{ \
129
2.09k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.09k
                   HIGHBD_TAIL_SUFFIX); \
131
2.09k
}
itx_tmpl.c:inv_txfm_add_dct_identity_16x16_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_identity_dct_16x16_c
Line
Count
Source
127
1.53k
                                               HIGHBD_DECL_SUFFIX) \
128
1.53k
{ \
129
1.53k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.53k
                   HIGHBD_TAIL_SUFFIX); \
131
1.53k
}
itx_tmpl.c:inv_txfm_add_dct_dct_16x32_c
Line
Count
Source
127
27.9k
                                               HIGHBD_DECL_SUFFIX) \
128
27.9k
{ \
129
27.9k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
27.9k
                   HIGHBD_TAIL_SUFFIX); \
131
27.9k
}
itx_tmpl.c:inv_txfm_add_identity_identity_16x32_c
Line
Count
Source
127
534
                                               HIGHBD_DECL_SUFFIX) \
128
534
{ \
129
534
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
534
                   HIGHBD_TAIL_SUFFIX); \
131
534
}
itx_tmpl.c:inv_txfm_add_dct_dct_16x64_c
Line
Count
Source
127
9.58k
                                               HIGHBD_DECL_SUFFIX) \
128
9.58k
{ \
129
9.58k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
9.58k
                   HIGHBD_TAIL_SUFFIX); \
131
9.58k
}
itx_tmpl.c:inv_txfm_add_dct_dct_32x8_c
Line
Count
Source
127
29.1k
                                               HIGHBD_DECL_SUFFIX) \
128
29.1k
{ \
129
29.1k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
29.1k
                   HIGHBD_TAIL_SUFFIX); \
131
29.1k
}
itx_tmpl.c:inv_txfm_add_identity_identity_32x8_c
Line
Count
Source
127
2.17k
                                               HIGHBD_DECL_SUFFIX) \
128
2.17k
{ \
129
2.17k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.17k
                   HIGHBD_TAIL_SUFFIX); \
131
2.17k
}
itx_tmpl.c:inv_txfm_add_dct_dct_32x16_c
Line
Count
Source
127
29.3k
                                               HIGHBD_DECL_SUFFIX) \
128
29.3k
{ \
129
29.3k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
29.3k
                   HIGHBD_TAIL_SUFFIX); \
131
29.3k
}
itx_tmpl.c:inv_txfm_add_identity_identity_32x16_c
Line
Count
Source
127
582
                                               HIGHBD_DECL_SUFFIX) \
128
582
{ \
129
582
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
582
                   HIGHBD_TAIL_SUFFIX); \
131
582
}
itx_tmpl.c:inv_txfm_add_dct_dct_32x32_c
Line
Count
Source
127
130k
                                               HIGHBD_DECL_SUFFIX) \
128
130k
{ \
129
130k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
130k
                   HIGHBD_TAIL_SUFFIX); \
131
130k
}
itx_tmpl.c:inv_txfm_add_identity_identity_32x32_c
Line
Count
Source
127
564
                                               HIGHBD_DECL_SUFFIX) \
128
564
{ \
129
564
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
564
                   HIGHBD_TAIL_SUFFIX); \
131
564
}
itx_tmpl.c:inv_txfm_add_dct_dct_32x64_c
Line
Count
Source
127
12.4k
                                               HIGHBD_DECL_SUFFIX) \
128
12.4k
{ \
129
12.4k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
12.4k
                   HIGHBD_TAIL_SUFFIX); \
131
12.4k
}
itx_tmpl.c:inv_txfm_add_dct_dct_64x16_c
Line
Count
Source
127
6.05k
                                               HIGHBD_DECL_SUFFIX) \
128
6.05k
{ \
129
6.05k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
6.05k
                   HIGHBD_TAIL_SUFFIX); \
131
6.05k
}
itx_tmpl.c:inv_txfm_add_dct_dct_64x32_c
Line
Count
Source
127
9.13k
                                               HIGHBD_DECL_SUFFIX) \
128
9.13k
{ \
129
9.13k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
9.13k
                   HIGHBD_TAIL_SUFFIX); \
131
9.13k
}
itx_tmpl.c:inv_txfm_add_dct_dct_64x64_c
Line
Count
Source
127
112k
                                               HIGHBD_DECL_SUFFIX) \
128
112k
{ \
129
112k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
112k
                   HIGHBD_TAIL_SUFFIX); \
131
112k
}
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
55.0k
{
188
55.0k
    int32_t tmp[4 * 4], *c = tmp;
189
275k
    for (int y = 0; y < 4; y++, c += 4) {
190
1.10M
        for (int x = 0; x < 4; x++)
191
880k
            c[x] = coeff[y + x * 4] >> 2;
192
220k
        dav1d_inv_wht4_1d_c(c, 1);
193
220k
    }
194
55.0k
    memset(coeff, 0, sizeof(*coeff) * 4 * 4);
195
196
275k
    for (int x = 0; x < 4; x++)
197
220k
        dav1d_inv_wht4_1d_c(&tmp[x], 4);
198
199
55.0k
    c = tmp;
200
275k
    for (int y = 0; y < 4; y++, dst += PXSTRIDE(stride))
201
1.10M
        for (int x = 0; x < 4; x++)
202
880k
            dst[x] = iclip_pixel(dst[x] + *c++);
203
55.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
32.5k
COLD void bitfn(dav1d_itx_dsp_init)(Dav1dInvTxfmDSPContext *const c, int bpc) {
221
32.5k
#define assign_itx_all_fn64(w, h, pfx) \
222
618k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_DCT  ] = \
223
618k
        inv_txfm_add_dct_dct_##w##x##h##_c
224
225
32.5k
#define assign_itx_all_fn32(w, h, pfx) \
226
455k
    assign_itx_all_fn64(w, h, pfx); \
227
455k
    c->itxfm_add[pfx##TX_##w##X##h][IDTX] = \
228
455k
        inv_txfm_add_identity_identity_##w##x##h##_c
229
230
32.5k
#define assign_itx_all_fn16(w, h, pfx) \
231
293k
    assign_itx_all_fn32(w, h, pfx); \
232
293k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_ADST ] = \
233
293k
        inv_txfm_add_adst_dct_##w##x##h##_c; \
234
293k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_DCT ] = \
235
293k
        inv_txfm_add_dct_adst_##w##x##h##_c; \
236
293k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_ADST] = \
237
293k
        inv_txfm_add_adst_adst_##w##x##h##_c; \
238
293k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_FLIPADST] = \
239
293k
        inv_txfm_add_flipadst_adst_##w##x##h##_c; \
240
293k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_ADST] = \
241
293k
        inv_txfm_add_adst_flipadst_##w##x##h##_c; \
242
293k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_FLIPADST] = \
243
293k
        inv_txfm_add_flipadst_dct_##w##x##h##_c; \
244
293k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_DCT] = \
245
293k
        inv_txfm_add_dct_flipadst_##w##x##h##_c; \
246
293k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_FLIPADST] = \
247
293k
        inv_txfm_add_flipadst_flipadst_##w##x##h##_c; \
248
293k
    c->itxfm_add[pfx##TX_##w##X##h][H_DCT] = \
249
293k
        inv_txfm_add_dct_identity_##w##x##h##_c; \
250
293k
    c->itxfm_add[pfx##TX_##w##X##h][V_DCT] = \
251
293k
        inv_txfm_add_identity_dct_##w##x##h##_c
252
253
32.5k
#define assign_itx_all_fn84(w, h, pfx) \
254
260k
    assign_itx_all_fn16(w, h, pfx); \
255
260k
    c->itxfm_add[pfx##TX_##w##X##h][H_FLIPADST] = \
256
260k
        inv_txfm_add_flipadst_identity_##w##x##h##_c; \
257
260k
    c->itxfm_add[pfx##TX_##w##X##h][V_FLIPADST] = \
258
260k
        inv_txfm_add_identity_flipadst_##w##x##h##_c; \
259
260k
    c->itxfm_add[pfx##TX_##w##X##h][H_ADST] = \
260
260k
        inv_txfm_add_adst_identity_##w##x##h##_c; \
261
260k
    c->itxfm_add[pfx##TX_##w##X##h][V_ADST] = \
262
260k
        inv_txfm_add_identity_adst_##w##x##h##_c; \
263
32.5k
264
32.5k
#if !(HAVE_ASM && TRIM_DSP_FUNCTIONS && ( \
265
32.5k
  ARCH_AARCH64 || \
266
32.5k
  (ARCH_ARM && (defined(__ARM_NEON) || defined(__APPLE__) || defined(_WIN32))) \
267
32.5k
))
268
32.5k
    c->itxfm_add[TX_4X4][WHT_WHT] = inv_txfm_add_wht_wht_4x4_c;
269
32.5k
#endif
270
32.5k
    assign_itx_all_fn84( 4,  4, );
271
32.5k
    assign_itx_all_fn84( 4,  8, R);
272
32.5k
    assign_itx_all_fn84( 4, 16, R);
273
32.5k
    assign_itx_all_fn84( 8,  4, R);
274
32.5k
    assign_itx_all_fn84( 8,  8, );
275
32.5k
    assign_itx_all_fn84( 8, 16, R);
276
32.5k
    assign_itx_all_fn32( 8, 32, R);
277
32.5k
    assign_itx_all_fn84(16,  4, R);
278
32.5k
    assign_itx_all_fn84(16,  8, R);
279
32.5k
    assign_itx_all_fn16(16, 16, );
280
32.5k
    assign_itx_all_fn32(16, 32, R);
281
32.5k
    assign_itx_all_fn64(16, 64, R);
282
32.5k
    assign_itx_all_fn32(32,  8, R);
283
32.5k
    assign_itx_all_fn32(32, 16, R);
284
32.5k
    assign_itx_all_fn32(32, 32, );
285
32.5k
    assign_itx_all_fn64(32, 64, R);
286
32.5k
    assign_itx_all_fn64(64, 16, R);
287
32.5k
    assign_itx_all_fn64(64, 32, R);
288
32.5k
    assign_itx_all_fn64(64, 64, );
289
290
32.5k
    int all_simd = 0;
291
#if HAVE_ASM
292
#if ARCH_AARCH64 || ARCH_ARM
293
    itx_dsp_init_arm(c, bpc, &all_simd);
294
#endif
295
#if ARCH_LOONGARCH64
296
    itx_dsp_init_loongarch(c, bpc);
297
#endif
298
#if ARCH_PPC64LE
299
    itx_dsp_init_ppc(c, bpc);
300
#endif
301
#if ARCH_RISCV
302
    itx_dsp_init_riscv(c, bpc);
303
#endif
304
#if ARCH_X86
305
    itx_dsp_init_x86(c, bpc, &all_simd);
306
#endif
307
#endif
308
309
32.5k
    if (!all_simd)
310
32.5k
        dav1d_init_last_nonzero_col_from_eob_tables();
311
32.5k
}
dav1d_itx_dsp_init_8bpc
Line
Count
Source
220
14.5k
COLD void bitfn(dav1d_itx_dsp_init)(Dav1dInvTxfmDSPContext *const c, int bpc) {
221
14.5k
#define assign_itx_all_fn64(w, h, pfx) \
222
14.5k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_DCT  ] = \
223
14.5k
        inv_txfm_add_dct_dct_##w##x##h##_c
224
225
14.5k
#define assign_itx_all_fn32(w, h, pfx) \
226
14.5k
    assign_itx_all_fn64(w, h, pfx); \
227
14.5k
    c->itxfm_add[pfx##TX_##w##X##h][IDTX] = \
228
14.5k
        inv_txfm_add_identity_identity_##w##x##h##_c
229
230
14.5k
#define assign_itx_all_fn16(w, h, pfx) \
231
14.5k
    assign_itx_all_fn32(w, h, pfx); \
232
14.5k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_ADST ] = \
233
14.5k
        inv_txfm_add_adst_dct_##w##x##h##_c; \
234
14.5k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_DCT ] = \
235
14.5k
        inv_txfm_add_dct_adst_##w##x##h##_c; \
236
14.5k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_ADST] = \
237
14.5k
        inv_txfm_add_adst_adst_##w##x##h##_c; \
238
14.5k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_FLIPADST] = \
239
14.5k
        inv_txfm_add_flipadst_adst_##w##x##h##_c; \
240
14.5k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_ADST] = \
241
14.5k
        inv_txfm_add_adst_flipadst_##w##x##h##_c; \
242
14.5k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_FLIPADST] = \
243
14.5k
        inv_txfm_add_flipadst_dct_##w##x##h##_c; \
244
14.5k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_DCT] = \
245
14.5k
        inv_txfm_add_dct_flipadst_##w##x##h##_c; \
246
14.5k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_FLIPADST] = \
247
14.5k
        inv_txfm_add_flipadst_flipadst_##w##x##h##_c; \
248
14.5k
    c->itxfm_add[pfx##TX_##w##X##h][H_DCT] = \
249
14.5k
        inv_txfm_add_dct_identity_##w##x##h##_c; \
250
14.5k
    c->itxfm_add[pfx##TX_##w##X##h][V_DCT] = \
251
14.5k
        inv_txfm_add_identity_dct_##w##x##h##_c
252
253
14.5k
#define assign_itx_all_fn84(w, h, pfx) \
254
14.5k
    assign_itx_all_fn16(w, h, pfx); \
255
14.5k
    c->itxfm_add[pfx##TX_##w##X##h][H_FLIPADST] = \
256
14.5k
        inv_txfm_add_flipadst_identity_##w##x##h##_c; \
257
14.5k
    c->itxfm_add[pfx##TX_##w##X##h][V_FLIPADST] = \
258
14.5k
        inv_txfm_add_identity_flipadst_##w##x##h##_c; \
259
14.5k
    c->itxfm_add[pfx##TX_##w##X##h][H_ADST] = \
260
14.5k
        inv_txfm_add_adst_identity_##w##x##h##_c; \
261
14.5k
    c->itxfm_add[pfx##TX_##w##X##h][V_ADST] = \
262
14.5k
        inv_txfm_add_identity_adst_##w##x##h##_c; \
263
14.5k
264
14.5k
#if !(HAVE_ASM && TRIM_DSP_FUNCTIONS && ( \
265
14.5k
  ARCH_AARCH64 || \
266
14.5k
  (ARCH_ARM && (defined(__ARM_NEON) || defined(__APPLE__) || defined(_WIN32))) \
267
14.5k
))
268
14.5k
    c->itxfm_add[TX_4X4][WHT_WHT] = inv_txfm_add_wht_wht_4x4_c;
269
14.5k
#endif
270
14.5k
    assign_itx_all_fn84( 4,  4, );
271
14.5k
    assign_itx_all_fn84( 4,  8, R);
272
14.5k
    assign_itx_all_fn84( 4, 16, R);
273
14.5k
    assign_itx_all_fn84( 8,  4, R);
274
14.5k
    assign_itx_all_fn84( 8,  8, );
275
14.5k
    assign_itx_all_fn84( 8, 16, R);
276
14.5k
    assign_itx_all_fn32( 8, 32, R);
277
14.5k
    assign_itx_all_fn84(16,  4, R);
278
14.5k
    assign_itx_all_fn84(16,  8, R);
279
14.5k
    assign_itx_all_fn16(16, 16, );
280
14.5k
    assign_itx_all_fn32(16, 32, R);
281
14.5k
    assign_itx_all_fn64(16, 64, R);
282
14.5k
    assign_itx_all_fn32(32,  8, R);
283
14.5k
    assign_itx_all_fn32(32, 16, R);
284
14.5k
    assign_itx_all_fn32(32, 32, );
285
14.5k
    assign_itx_all_fn64(32, 64, R);
286
14.5k
    assign_itx_all_fn64(64, 16, R);
287
14.5k
    assign_itx_all_fn64(64, 32, R);
288
14.5k
    assign_itx_all_fn64(64, 64, );
289
290
14.5k
    int all_simd = 0;
291
#if HAVE_ASM
292
#if ARCH_AARCH64 || ARCH_ARM
293
    itx_dsp_init_arm(c, bpc, &all_simd);
294
#endif
295
#if ARCH_LOONGARCH64
296
    itx_dsp_init_loongarch(c, bpc);
297
#endif
298
#if ARCH_PPC64LE
299
    itx_dsp_init_ppc(c, bpc);
300
#endif
301
#if ARCH_RISCV
302
    itx_dsp_init_riscv(c, bpc);
303
#endif
304
#if ARCH_X86
305
    itx_dsp_init_x86(c, bpc, &all_simd);
306
#endif
307
#endif
308
309
14.5k
    if (!all_simd)
310
14.5k
        dav1d_init_last_nonzero_col_from_eob_tables();
311
14.5k
}
dav1d_itx_dsp_init_16bpc
Line
Count
Source
220
18.0k
COLD void bitfn(dav1d_itx_dsp_init)(Dav1dInvTxfmDSPContext *const c, int bpc) {
221
18.0k
#define assign_itx_all_fn64(w, h, pfx) \
222
18.0k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_DCT  ] = \
223
18.0k
        inv_txfm_add_dct_dct_##w##x##h##_c
224
225
18.0k
#define assign_itx_all_fn32(w, h, pfx) \
226
18.0k
    assign_itx_all_fn64(w, h, pfx); \
227
18.0k
    c->itxfm_add[pfx##TX_##w##X##h][IDTX] = \
228
18.0k
        inv_txfm_add_identity_identity_##w##x##h##_c
229
230
18.0k
#define assign_itx_all_fn16(w, h, pfx) \
231
18.0k
    assign_itx_all_fn32(w, h, pfx); \
232
18.0k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_ADST ] = \
233
18.0k
        inv_txfm_add_adst_dct_##w##x##h##_c; \
234
18.0k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_DCT ] = \
235
18.0k
        inv_txfm_add_dct_adst_##w##x##h##_c; \
236
18.0k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_ADST] = \
237
18.0k
        inv_txfm_add_adst_adst_##w##x##h##_c; \
238
18.0k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_FLIPADST] = \
239
18.0k
        inv_txfm_add_flipadst_adst_##w##x##h##_c; \
240
18.0k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_ADST] = \
241
18.0k
        inv_txfm_add_adst_flipadst_##w##x##h##_c; \
242
18.0k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_FLIPADST] = \
243
18.0k
        inv_txfm_add_flipadst_dct_##w##x##h##_c; \
244
18.0k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_DCT] = \
245
18.0k
        inv_txfm_add_dct_flipadst_##w##x##h##_c; \
246
18.0k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_FLIPADST] = \
247
18.0k
        inv_txfm_add_flipadst_flipadst_##w##x##h##_c; \
248
18.0k
    c->itxfm_add[pfx##TX_##w##X##h][H_DCT] = \
249
18.0k
        inv_txfm_add_dct_identity_##w##x##h##_c; \
250
18.0k
    c->itxfm_add[pfx##TX_##w##X##h][V_DCT] = \
251
18.0k
        inv_txfm_add_identity_dct_##w##x##h##_c
252
253
18.0k
#define assign_itx_all_fn84(w, h, pfx) \
254
18.0k
    assign_itx_all_fn16(w, h, pfx); \
255
18.0k
    c->itxfm_add[pfx##TX_##w##X##h][H_FLIPADST] = \
256
18.0k
        inv_txfm_add_flipadst_identity_##w##x##h##_c; \
257
18.0k
    c->itxfm_add[pfx##TX_##w##X##h][V_FLIPADST] = \
258
18.0k
        inv_txfm_add_identity_flipadst_##w##x##h##_c; \
259
18.0k
    c->itxfm_add[pfx##TX_##w##X##h][H_ADST] = \
260
18.0k
        inv_txfm_add_adst_identity_##w##x##h##_c; \
261
18.0k
    c->itxfm_add[pfx##TX_##w##X##h][V_ADST] = \
262
18.0k
        inv_txfm_add_identity_adst_##w##x##h##_c; \
263
18.0k
264
18.0k
#if !(HAVE_ASM && TRIM_DSP_FUNCTIONS && ( \
265
18.0k
  ARCH_AARCH64 || \
266
18.0k
  (ARCH_ARM && (defined(__ARM_NEON) || defined(__APPLE__) || defined(_WIN32))) \
267
18.0k
))
268
18.0k
    c->itxfm_add[TX_4X4][WHT_WHT] = inv_txfm_add_wht_wht_4x4_c;
269
18.0k
#endif
270
18.0k
    assign_itx_all_fn84( 4,  4, );
271
18.0k
    assign_itx_all_fn84( 4,  8, R);
272
18.0k
    assign_itx_all_fn84( 4, 16, R);
273
18.0k
    assign_itx_all_fn84( 8,  4, R);
274
18.0k
    assign_itx_all_fn84( 8,  8, );
275
18.0k
    assign_itx_all_fn84( 8, 16, R);
276
18.0k
    assign_itx_all_fn32( 8, 32, R);
277
18.0k
    assign_itx_all_fn84(16,  4, R);
278
18.0k
    assign_itx_all_fn84(16,  8, R);
279
18.0k
    assign_itx_all_fn16(16, 16, );
280
18.0k
    assign_itx_all_fn32(16, 32, R);
281
18.0k
    assign_itx_all_fn64(16, 64, R);
282
18.0k
    assign_itx_all_fn32(32,  8, R);
283
18.0k
    assign_itx_all_fn32(32, 16, R);
284
18.0k
    assign_itx_all_fn32(32, 32, );
285
18.0k
    assign_itx_all_fn64(32, 64, R);
286
18.0k
    assign_itx_all_fn64(64, 16, R);
287
18.0k
    assign_itx_all_fn64(64, 32, R);
288
18.0k
    assign_itx_all_fn64(64, 64, );
289
290
18.0k
    int all_simd = 0;
291
#if HAVE_ASM
292
#if ARCH_AARCH64 || ARCH_ARM
293
    itx_dsp_init_arm(c, bpc, &all_simd);
294
#endif
295
#if ARCH_LOONGARCH64
296
    itx_dsp_init_loongarch(c, bpc);
297
#endif
298
#if ARCH_PPC64LE
299
    itx_dsp_init_ppc(c, bpc);
300
#endif
301
#if ARCH_RISCV
302
    itx_dsp_init_riscv(c, bpc);
303
#endif
304
#if ARCH_X86
305
    itx_dsp_init_x86(c, bpc, &all_simd);
306
#endif
307
#endif
308
309
18.0k
    if (!all_simd)
310
18.0k
        dav1d_init_last_nonzero_col_from_eob_tables();
311
18.0k
}