Coverage Report

Created: 2026-09-02 06:43

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
919k
{
48
919k
    const TxfmInfo *const t_dim = &dav1d_txfm_dimensions[tx];
49
919k
    const int w = 4 * t_dim->w, h = 4 * t_dim->h;
50
919k
    const int has_dconly = txtp == DCT_DCT;
51
919k
    assert(w >= 4 && w <= 64);
52
919k
    assert(h >= 4 && h <= 64);
53
919k
    assert(eob >= 0);
54
55
919k
    const int is_rect2 = w * 2 == h || h * 2 == w;
56
919k
    const int rnd = (1 << shift) >> 1;
57
58
919k
    if (eob < has_dconly) {
59
199k
        int dc = coeff[0];
60
199k
        coeff[0] = 0;
61
199k
        if (is_rect2)
62
41.5k
            dc = (dc * 181 + 128) >> 8;
63
199k
        dc = (dc * 181 + 128) >> 8;
64
199k
        dc = (dc + rnd) >> shift;
65
199k
        dc = (dc * 181 + 128 + 2048) >> 12;
66
6.33M
        for (int y = 0; y < h; y++, dst += PXSTRIDE(stride))
67
251M
            for (int x = 0; x < w; x++)
68
245M
                dst[x] = iclip_pixel(dst[x] + dc);
69
199k
        return;
70
199k
    }
71
72
719k
    const uint8_t *const txtps = dav1d_tx1d_types[txtp];
73
719k
    const itx_1d_fn first_1d_fn = dav1d_tx1d_fns[t_dim->lw][txtps[0]];
74
719k
    const itx_1d_fn second_1d_fn = dav1d_tx1d_fns[t_dim->lh][txtps[1]];
75
719k
    const int sh = imin(h, 32), sw = imin(w, 32);
76
719k
#if BITDEPTH == 8
77
719k
    const int row_clip_min = INT16_MIN;
78
719k
    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
719k
    const int row_clip_max = ~row_clip_min;
84
719k
    const int col_clip_max = ~col_clip_min;
85
86
719k
    int32_t tmp[64 * 64], *c = tmp;
87
719k
    int last_nonzero_col; // in first 1d itx
88
719k
    if (txtps[1] == IDENTITY && txtps[0] != IDENTITY) {
89
61.4k
        last_nonzero_col = imin(sh - 1, eob);
90
658k
    } else if (txtps[0] == IDENTITY && txtps[1] != IDENTITY) {
91
36.9k
        last_nonzero_col = eob >> (t_dim->lw + 2);
92
621k
    } else {
93
621k
        last_nonzero_col = dav1d_last_nonzero_col_from_eob[tx][eob];
94
621k
    }
95
719k
    assert(last_nonzero_col < sh);
96
4.16M
    for (int y = 0; y <= last_nonzero_col; y++, c += w) {
97
3.44M
        if (is_rect2)
98
15.4M
            for (int x = 0; x < sw; x++)
99
14.3M
                c[x] = (coeff[y + x * sh] * 181 + 128) >> 8;
100
2.43M
        else
101
41.0M
            for (int x = 0; x < sw; x++)
102
38.6M
                c[x] = coeff[y + x * sh];
103
3.44M
        first_1d_fn(c, 1, row_clip_min, row_clip_max);
104
3.44M
    }
105
719k
    if (last_nonzero_col + 1 < sh)
106
557k
        memset(c, 0, sizeof(*c) * (sh - last_nonzero_col - 1) * w);
107
108
719k
    memset(coeff, 0, sizeof(*coeff) * sw * sh);
109
187M
    for (int i = 0; i < w * sh; i++)
110
186M
        tmp[i] = iclip((tmp[i] + rnd) >> shift, col_clip_min, col_clip_max);
111
112
11.1M
    for (int x = 0; x < w; x++)
113
10.3M
        second_1d_fn(&tmp[x], w, col_clip_min, col_clip_max);
114
115
719k
    c = tmp;
116
10.7M
    for (int y = 0; y < h; y++, dst += PXSTRIDE(stride))
117
252M
        for (int x = 0; x < w; x++)
118
242M
            dst[x] = iclip_pixel(dst[x] + ((*c++ + 8) >> 4));
119
719k
}
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
919k
                                               HIGHBD_DECL_SUFFIX) \
128
919k
{ \
129
919k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
919k
                   HIGHBD_TAIL_SUFFIX); \
131
919k
}
itx_tmpl.c:inv_txfm_add_dct_dct_4x4_c
Line
Count
Source
127
19.5k
                                               HIGHBD_DECL_SUFFIX) \
128
19.5k
{ \
129
19.5k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
19.5k
                   HIGHBD_TAIL_SUFFIX); \
131
19.5k
}
itx_tmpl.c:inv_txfm_add_identity_identity_4x4_c
Line
Count
Source
127
11.7k
                                               HIGHBD_DECL_SUFFIX) \
128
11.7k
{ \
129
11.7k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
11.7k
                   HIGHBD_TAIL_SUFFIX); \
131
11.7k
}
itx_tmpl.c:inv_txfm_add_adst_dct_4x4_c
Line
Count
Source
127
12.5k
                                               HIGHBD_DECL_SUFFIX) \
128
12.5k
{ \
129
12.5k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
12.5k
                   HIGHBD_TAIL_SUFFIX); \
131
12.5k
}
itx_tmpl.c:inv_txfm_add_dct_adst_4x4_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_4x4_c
Line
Count
Source
127
15.2k
                                               HIGHBD_DECL_SUFFIX) \
128
15.2k
{ \
129
15.2k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
15.2k
                   HIGHBD_TAIL_SUFFIX); \
131
15.2k
}
itx_tmpl.c:inv_txfm_add_flipadst_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_adst_flipadst_4x4_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_flipadst_dct_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_flipadst_4x4_c
Line
Count
Source
127
1.04k
                                               HIGHBD_DECL_SUFFIX) \
128
1.04k
{ \
129
1.04k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.04k
                   HIGHBD_TAIL_SUFFIX); \
131
1.04k
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_4x4_c
Line
Count
Source
127
1.15k
                                               HIGHBD_DECL_SUFFIX) \
128
1.15k
{ \
129
1.15k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.15k
                   HIGHBD_TAIL_SUFFIX); \
131
1.15k
}
itx_tmpl.c:inv_txfm_add_dct_identity_4x4_c
Line
Count
Source
127
5.63k
                                               HIGHBD_DECL_SUFFIX) \
128
5.63k
{ \
129
5.63k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.63k
                   HIGHBD_TAIL_SUFFIX); \
131
5.63k
}
itx_tmpl.c:inv_txfm_add_identity_dct_4x4_c
Line
Count
Source
127
3.45k
                                               HIGHBD_DECL_SUFFIX) \
128
3.45k
{ \
129
3.45k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.45k
                   HIGHBD_TAIL_SUFFIX); \
131
3.45k
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_4x4_c
Line
Count
Source
127
3.16k
                                               HIGHBD_DECL_SUFFIX) \
128
3.16k
{ \
129
3.16k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.16k
                   HIGHBD_TAIL_SUFFIX); \
131
3.16k
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_4x4_c
Line
Count
Source
127
2.12k
                                               HIGHBD_DECL_SUFFIX) \
128
2.12k
{ \
129
2.12k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.12k
                   HIGHBD_TAIL_SUFFIX); \
131
2.12k
}
itx_tmpl.c:inv_txfm_add_adst_identity_4x4_c
Line
Count
Source
127
5.10k
                                               HIGHBD_DECL_SUFFIX) \
128
5.10k
{ \
129
5.10k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.10k
                   HIGHBD_TAIL_SUFFIX); \
131
5.10k
}
itx_tmpl.c:inv_txfm_add_identity_adst_4x4_c
Line
Count
Source
127
3.30k
                                               HIGHBD_DECL_SUFFIX) \
128
3.30k
{ \
129
3.30k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.30k
                   HIGHBD_TAIL_SUFFIX); \
131
3.30k
}
itx_tmpl.c:inv_txfm_add_dct_dct_4x8_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_identity_identity_4x8_c
Line
Count
Source
127
4.31k
                                               HIGHBD_DECL_SUFFIX) \
128
4.31k
{ \
129
4.31k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.31k
                   HIGHBD_TAIL_SUFFIX); \
131
4.31k
}
itx_tmpl.c:inv_txfm_add_adst_dct_4x8_c
Line
Count
Source
127
5.24k
                                               HIGHBD_DECL_SUFFIX) \
128
5.24k
{ \
129
5.24k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.24k
                   HIGHBD_TAIL_SUFFIX); \
131
5.24k
}
itx_tmpl.c:inv_txfm_add_dct_adst_4x8_c
Line
Count
Source
127
4.06k
                                               HIGHBD_DECL_SUFFIX) \
128
4.06k
{ \
129
4.06k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.06k
                   HIGHBD_TAIL_SUFFIX); \
131
4.06k
}
itx_tmpl.c:inv_txfm_add_adst_adst_4x8_c
Line
Count
Source
127
6.16k
                                               HIGHBD_DECL_SUFFIX) \
128
6.16k
{ \
129
6.16k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
6.16k
                   HIGHBD_TAIL_SUFFIX); \
131
6.16k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_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_adst_flipadst_4x8_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_dct_4x8_c
Line
Count
Source
127
1.19k
                                               HIGHBD_DECL_SUFFIX) \
128
1.19k
{ \
129
1.19k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.19k
                   HIGHBD_TAIL_SUFFIX); \
131
1.19k
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_4x8_c
Line
Count
Source
127
780
                                               HIGHBD_DECL_SUFFIX) \
128
780
{ \
129
780
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
780
                   HIGHBD_TAIL_SUFFIX); \
131
780
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_4x8_c
Line
Count
Source
127
920
                                               HIGHBD_DECL_SUFFIX) \
128
920
{ \
129
920
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
920
                   HIGHBD_TAIL_SUFFIX); \
131
920
}
itx_tmpl.c:inv_txfm_add_dct_identity_4x8_c
Line
Count
Source
127
2.68k
                                               HIGHBD_DECL_SUFFIX) \
128
2.68k
{ \
129
2.68k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.68k
                   HIGHBD_TAIL_SUFFIX); \
131
2.68k
}
itx_tmpl.c:inv_txfm_add_identity_dct_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_flipadst_identity_4x8_c
Line
Count
Source
127
1.41k
                                               HIGHBD_DECL_SUFFIX) \
128
1.41k
{ \
129
1.41k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.41k
                   HIGHBD_TAIL_SUFFIX); \
131
1.41k
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_4x8_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_adst_identity_4x8_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_identity_adst_4x8_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_dct_dct_4x16_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_identity_identity_4x16_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_adst_dct_4x16_c
Line
Count
Source
127
2.10k
                                               HIGHBD_DECL_SUFFIX) \
128
2.10k
{ \
129
2.10k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.10k
                   HIGHBD_TAIL_SUFFIX); \
131
2.10k
}
itx_tmpl.c:inv_txfm_add_dct_adst_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_adst_adst_4x16_c
Line
Count
Source
127
2.64k
                                               HIGHBD_DECL_SUFFIX) \
128
2.64k
{ \
129
2.64k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.64k
                   HIGHBD_TAIL_SUFFIX); \
131
2.64k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_4x16_c
Line
Count
Source
127
556
                                               HIGHBD_DECL_SUFFIX) \
128
556
{ \
129
556
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
556
                   HIGHBD_TAIL_SUFFIX); \
131
556
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_4x16_c
Line
Count
Source
127
468
                                               HIGHBD_DECL_SUFFIX) \
128
468
{ \
129
468
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
468
                   HIGHBD_TAIL_SUFFIX); \
131
468
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_4x16_c
Line
Count
Source
127
378
                                               HIGHBD_DECL_SUFFIX) \
128
378
{ \
129
378
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
378
                   HIGHBD_TAIL_SUFFIX); \
131
378
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_4x16_c
Line
Count
Source
127
276
                                               HIGHBD_DECL_SUFFIX) \
128
276
{ \
129
276
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
276
                   HIGHBD_TAIL_SUFFIX); \
131
276
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_4x16_c
Line
Count
Source
127
432
                                               HIGHBD_DECL_SUFFIX) \
128
432
{ \
129
432
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
432
                   HIGHBD_TAIL_SUFFIX); \
131
432
}
itx_tmpl.c:inv_txfm_add_dct_identity_4x16_c
Line
Count
Source
127
1.01k
                                               HIGHBD_DECL_SUFFIX) \
128
1.01k
{ \
129
1.01k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.01k
                   HIGHBD_TAIL_SUFFIX); \
131
1.01k
}
itx_tmpl.c:inv_txfm_add_identity_dct_4x16_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_flipadst_identity_4x16_c
Line
Count
Source
127
730
                                               HIGHBD_DECL_SUFFIX) \
128
730
{ \
129
730
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
730
                   HIGHBD_TAIL_SUFFIX); \
131
730
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_4x16_c
Line
Count
Source
127
405
                                               HIGHBD_DECL_SUFFIX) \
128
405
{ \
129
405
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
405
                   HIGHBD_TAIL_SUFFIX); \
131
405
}
itx_tmpl.c:inv_txfm_add_adst_identity_4x16_c
Line
Count
Source
127
842
                                               HIGHBD_DECL_SUFFIX) \
128
842
{ \
129
842
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
842
                   HIGHBD_TAIL_SUFFIX); \
131
842
}
itx_tmpl.c:inv_txfm_add_identity_adst_4x16_c
Line
Count
Source
127
493
                                               HIGHBD_DECL_SUFFIX) \
128
493
{ \
129
493
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
493
                   HIGHBD_TAIL_SUFFIX); \
131
493
}
itx_tmpl.c:inv_txfm_add_dct_dct_8x4_c
Line
Count
Source
127
12.4k
                                               HIGHBD_DECL_SUFFIX) \
128
12.4k
{ \
129
12.4k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
12.4k
                   HIGHBD_TAIL_SUFFIX); \
131
12.4k
}
itx_tmpl.c:inv_txfm_add_identity_identity_8x4_c
Line
Count
Source
127
5.50k
                                               HIGHBD_DECL_SUFFIX) \
128
5.50k
{ \
129
5.50k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.50k
                   HIGHBD_TAIL_SUFFIX); \
131
5.50k
}
itx_tmpl.c:inv_txfm_add_adst_dct_8x4_c
Line
Count
Source
127
7.76k
                                               HIGHBD_DECL_SUFFIX) \
128
7.76k
{ \
129
7.76k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
7.76k
                   HIGHBD_TAIL_SUFFIX); \
131
7.76k
}
itx_tmpl.c:inv_txfm_add_dct_adst_8x4_c
Line
Count
Source
127
5.77k
                                               HIGHBD_DECL_SUFFIX) \
128
5.77k
{ \
129
5.77k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.77k
                   HIGHBD_TAIL_SUFFIX); \
131
5.77k
}
itx_tmpl.c:inv_txfm_add_adst_adst_8x4_c
Line
Count
Source
127
8.47k
                                               HIGHBD_DECL_SUFFIX) \
128
8.47k
{ \
129
8.47k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
8.47k
                   HIGHBD_TAIL_SUFFIX); \
131
8.47k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_8x4_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_8x4_c
Line
Count
Source
127
1.48k
                                               HIGHBD_DECL_SUFFIX) \
128
1.48k
{ \
129
1.48k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.48k
                   HIGHBD_TAIL_SUFFIX); \
131
1.48k
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_8x4_c
Line
Count
Source
127
1.30k
                                               HIGHBD_DECL_SUFFIX) \
128
1.30k
{ \
129
1.30k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.30k
                   HIGHBD_TAIL_SUFFIX); \
131
1.30k
}
itx_tmpl.c:inv_txfm_add_dct_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_flipadst_flipadst_8x4_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_8x4_c
Line
Count
Source
127
3.13k
                                               HIGHBD_DECL_SUFFIX) \
128
3.13k
{ \
129
3.13k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.13k
                   HIGHBD_TAIL_SUFFIX); \
131
3.13k
}
itx_tmpl.c:inv_txfm_add_identity_dct_8x4_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_flipadst_identity_8x4_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_identity_flipadst_8x4_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_adst_identity_8x4_c
Line
Count
Source
127
2.38k
                                               HIGHBD_DECL_SUFFIX) \
128
2.38k
{ \
129
2.38k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.38k
                   HIGHBD_TAIL_SUFFIX); \
131
2.38k
}
itx_tmpl.c:inv_txfm_add_identity_adst_8x4_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_dct_dct_8x8_c
Line
Count
Source
127
39.1k
                                               HIGHBD_DECL_SUFFIX) \
128
39.1k
{ \
129
39.1k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
39.1k
                   HIGHBD_TAIL_SUFFIX); \
131
39.1k
}
itx_tmpl.c:inv_txfm_add_identity_identity_8x8_c
Line
Count
Source
127
10.5k
                                               HIGHBD_DECL_SUFFIX) \
128
10.5k
{ \
129
10.5k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
10.5k
                   HIGHBD_TAIL_SUFFIX); \
131
10.5k
}
itx_tmpl.c:inv_txfm_add_adst_dct_8x8_c
Line
Count
Source
127
22.6k
                                               HIGHBD_DECL_SUFFIX) \
128
22.6k
{ \
129
22.6k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
22.6k
                   HIGHBD_TAIL_SUFFIX); \
131
22.6k
}
itx_tmpl.c:inv_txfm_add_dct_adst_8x8_c
Line
Count
Source
127
18.0k
                                               HIGHBD_DECL_SUFFIX) \
128
18.0k
{ \
129
18.0k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
18.0k
                   HIGHBD_TAIL_SUFFIX); \
131
18.0k
}
itx_tmpl.c:inv_txfm_add_adst_adst_8x8_c
Line
Count
Source
127
20.8k
                                               HIGHBD_DECL_SUFFIX) \
128
20.8k
{ \
129
20.8k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
20.8k
                   HIGHBD_TAIL_SUFFIX); \
131
20.8k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_8x8_c
Line
Count
Source
127
3.37k
                                               HIGHBD_DECL_SUFFIX) \
128
3.37k
{ \
129
3.37k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.37k
                   HIGHBD_TAIL_SUFFIX); \
131
3.37k
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_8x8_c
Line
Count
Source
127
2.93k
                                               HIGHBD_DECL_SUFFIX) \
128
2.93k
{ \
129
2.93k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.93k
                   HIGHBD_TAIL_SUFFIX); \
131
2.93k
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_8x8_c
Line
Count
Source
127
3.86k
                                               HIGHBD_DECL_SUFFIX) \
128
3.86k
{ \
129
3.86k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.86k
                   HIGHBD_TAIL_SUFFIX); \
131
3.86k
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_8x8_c
Line
Count
Source
127
3.40k
                                               HIGHBD_DECL_SUFFIX) \
128
3.40k
{ \
129
3.40k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.40k
                   HIGHBD_TAIL_SUFFIX); \
131
3.40k
}
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
7.24k
                                               HIGHBD_DECL_SUFFIX) \
128
7.24k
{ \
129
7.24k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
7.24k
                   HIGHBD_TAIL_SUFFIX); \
131
7.24k
}
itx_tmpl.c:inv_txfm_add_identity_dct_8x8_c
Line
Count
Source
127
3.69k
                                               HIGHBD_DECL_SUFFIX) \
128
3.69k
{ \
129
3.69k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.69k
                   HIGHBD_TAIL_SUFFIX); \
131
3.69k
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_8x8_c
Line
Count
Source
127
3.14k
                                               HIGHBD_DECL_SUFFIX) \
128
3.14k
{ \
129
3.14k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.14k
                   HIGHBD_TAIL_SUFFIX); \
131
3.14k
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_8x8_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_8x8_c
Line
Count
Source
127
3.18k
                                               HIGHBD_DECL_SUFFIX) \
128
3.18k
{ \
129
3.18k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.18k
                   HIGHBD_TAIL_SUFFIX); \
131
3.18k
}
itx_tmpl.c:inv_txfm_add_identity_adst_8x8_c
Line
Count
Source
127
1.86k
                                               HIGHBD_DECL_SUFFIX) \
128
1.86k
{ \
129
1.86k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.86k
                   HIGHBD_TAIL_SUFFIX); \
131
1.86k
}
itx_tmpl.c:inv_txfm_add_dct_dct_8x16_c
Line
Count
Source
127
10.3k
                                               HIGHBD_DECL_SUFFIX) \
128
10.3k
{ \
129
10.3k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
10.3k
                   HIGHBD_TAIL_SUFFIX); \
131
10.3k
}
itx_tmpl.c:inv_txfm_add_identity_identity_8x16_c
Line
Count
Source
127
2.29k
                                               HIGHBD_DECL_SUFFIX) \
128
2.29k
{ \
129
2.29k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.29k
                   HIGHBD_TAIL_SUFFIX); \
131
2.29k
}
itx_tmpl.c:inv_txfm_add_adst_dct_8x16_c
Line
Count
Source
127
5.88k
                                               HIGHBD_DECL_SUFFIX) \
128
5.88k
{ \
129
5.88k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.88k
                   HIGHBD_TAIL_SUFFIX); \
131
5.88k
}
itx_tmpl.c:inv_txfm_add_dct_adst_8x16_c
Line
Count
Source
127
4.07k
                                               HIGHBD_DECL_SUFFIX) \
128
4.07k
{ \
129
4.07k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.07k
                   HIGHBD_TAIL_SUFFIX); \
131
4.07k
}
itx_tmpl.c:inv_txfm_add_adst_adst_8x16_c
Line
Count
Source
127
4.85k
                                               HIGHBD_DECL_SUFFIX) \
128
4.85k
{ \
129
4.85k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.85k
                   HIGHBD_TAIL_SUFFIX); \
131
4.85k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_8x16_c
Line
Count
Source
127
928
                                               HIGHBD_DECL_SUFFIX) \
128
928
{ \
129
928
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
928
                   HIGHBD_TAIL_SUFFIX); \
131
928
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_8x16_c
Line
Count
Source
127
1.47k
                                               HIGHBD_DECL_SUFFIX) \
128
1.47k
{ \
129
1.47k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.47k
                   HIGHBD_TAIL_SUFFIX); \
131
1.47k
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_8x16_c
Line
Count
Source
127
1.13k
                                               HIGHBD_DECL_SUFFIX) \
128
1.13k
{ \
129
1.13k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.13k
                   HIGHBD_TAIL_SUFFIX); \
131
1.13k
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_8x16_c
Line
Count
Source
127
1.04k
                                               HIGHBD_DECL_SUFFIX) \
128
1.04k
{ \
129
1.04k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.04k
                   HIGHBD_TAIL_SUFFIX); \
131
1.04k
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_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_dct_identity_8x16_c
Line
Count
Source
127
1.94k
                                               HIGHBD_DECL_SUFFIX) \
128
1.94k
{ \
129
1.94k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.94k
                   HIGHBD_TAIL_SUFFIX); \
131
1.94k
}
itx_tmpl.c:inv_txfm_add_identity_dct_8x16_c
Line
Count
Source
127
919
                                               HIGHBD_DECL_SUFFIX) \
128
919
{ \
129
919
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
919
                   HIGHBD_TAIL_SUFFIX); \
131
919
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_8x16_c
Line
Count
Source
127
967
                                               HIGHBD_DECL_SUFFIX) \
128
967
{ \
129
967
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
967
                   HIGHBD_TAIL_SUFFIX); \
131
967
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_8x16_c
Line
Count
Source
127
410
                                               HIGHBD_DECL_SUFFIX) \
128
410
{ \
129
410
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
410
                   HIGHBD_TAIL_SUFFIX); \
131
410
}
itx_tmpl.c:inv_txfm_add_adst_identity_8x16_c
Line
Count
Source
127
913
                                               HIGHBD_DECL_SUFFIX) \
128
913
{ \
129
913
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
913
                   HIGHBD_TAIL_SUFFIX); \
131
913
}
itx_tmpl.c:inv_txfm_add_identity_adst_8x16_c
Line
Count
Source
127
561
                                               HIGHBD_DECL_SUFFIX) \
128
561
{ \
129
561
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
561
                   HIGHBD_TAIL_SUFFIX); \
131
561
}
itx_tmpl.c:inv_txfm_add_dct_dct_8x32_c
Line
Count
Source
127
11.3k
                                               HIGHBD_DECL_SUFFIX) \
128
11.3k
{ \
129
11.3k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
11.3k
                   HIGHBD_TAIL_SUFFIX); \
131
11.3k
}
itx_tmpl.c:inv_txfm_add_identity_identity_8x32_c
Line
Count
Source
127
945
                                               HIGHBD_DECL_SUFFIX) \
128
945
{ \
129
945
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
945
                   HIGHBD_TAIL_SUFFIX); \
131
945
}
itx_tmpl.c:inv_txfm_add_dct_dct_16x4_c
Line
Count
Source
127
6.91k
                                               HIGHBD_DECL_SUFFIX) \
128
6.91k
{ \
129
6.91k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
6.91k
                   HIGHBD_TAIL_SUFFIX); \
131
6.91k
}
itx_tmpl.c:inv_txfm_add_identity_identity_16x4_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_adst_dct_16x4_c
Line
Count
Source
127
4.44k
                                               HIGHBD_DECL_SUFFIX) \
128
4.44k
{ \
129
4.44k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.44k
                   HIGHBD_TAIL_SUFFIX); \
131
4.44k
}
itx_tmpl.c:inv_txfm_add_dct_adst_16x4_c
Line
Count
Source
127
3.34k
                                               HIGHBD_DECL_SUFFIX) \
128
3.34k
{ \
129
3.34k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.34k
                   HIGHBD_TAIL_SUFFIX); \
131
3.34k
}
itx_tmpl.c:inv_txfm_add_adst_adst_16x4_c
Line
Count
Source
127
5.43k
                                               HIGHBD_DECL_SUFFIX) \
128
5.43k
{ \
129
5.43k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.43k
                   HIGHBD_TAIL_SUFFIX); \
131
5.43k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_16x4_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_adst_flipadst_16x4_c
Line
Count
Source
127
929
                                               HIGHBD_DECL_SUFFIX) \
128
929
{ \
129
929
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
929
                   HIGHBD_TAIL_SUFFIX); \
131
929
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_16x4_c
Line
Count
Source
127
753
                                               HIGHBD_DECL_SUFFIX) \
128
753
{ \
129
753
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
753
                   HIGHBD_TAIL_SUFFIX); \
131
753
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_16x4_c
Line
Count
Source
127
617
                                               HIGHBD_DECL_SUFFIX) \
128
617
{ \
129
617
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
617
                   HIGHBD_TAIL_SUFFIX); \
131
617
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_16x4_c
Line
Count
Source
127
623
                                               HIGHBD_DECL_SUFFIX) \
128
623
{ \
129
623
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
623
                   HIGHBD_TAIL_SUFFIX); \
131
623
}
itx_tmpl.c:inv_txfm_add_dct_identity_16x4_c
Line
Count
Source
127
2.16k
                                               HIGHBD_DECL_SUFFIX) \
128
2.16k
{ \
129
2.16k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.16k
                   HIGHBD_TAIL_SUFFIX); \
131
2.16k
}
itx_tmpl.c:inv_txfm_add_identity_dct_16x4_c
Line
Count
Source
127
1.38k
                                               HIGHBD_DECL_SUFFIX) \
128
1.38k
{ \
129
1.38k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.38k
                   HIGHBD_TAIL_SUFFIX); \
131
1.38k
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_16x4_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_flipadst_16x4_c
Line
Count
Source
127
773
                                               HIGHBD_DECL_SUFFIX) \
128
773
{ \
129
773
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
773
                   HIGHBD_TAIL_SUFFIX); \
131
773
}
itx_tmpl.c:inv_txfm_add_adst_identity_16x4_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_identity_adst_16x4_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_dct_16x8_c
Line
Count
Source
127
15.3k
                                               HIGHBD_DECL_SUFFIX) \
128
15.3k
{ \
129
15.3k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
15.3k
                   HIGHBD_TAIL_SUFFIX); \
131
15.3k
}
itx_tmpl.c:inv_txfm_add_identity_identity_16x8_c
Line
Count
Source
127
3.87k
                                               HIGHBD_DECL_SUFFIX) \
128
3.87k
{ \
129
3.87k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.87k
                   HIGHBD_TAIL_SUFFIX); \
131
3.87k
}
itx_tmpl.c:inv_txfm_add_adst_dct_16x8_c
Line
Count
Source
127
8.70k
                                               HIGHBD_DECL_SUFFIX) \
128
8.70k
{ \
129
8.70k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
8.70k
                   HIGHBD_TAIL_SUFFIX); \
131
8.70k
}
itx_tmpl.c:inv_txfm_add_dct_adst_16x8_c
Line
Count
Source
127
6.45k
                                               HIGHBD_DECL_SUFFIX) \
128
6.45k
{ \
129
6.45k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
6.45k
                   HIGHBD_TAIL_SUFFIX); \
131
6.45k
}
itx_tmpl.c:inv_txfm_add_adst_adst_16x8_c
Line
Count
Source
127
7.51k
                                               HIGHBD_DECL_SUFFIX) \
128
7.51k
{ \
129
7.51k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
7.51k
                   HIGHBD_TAIL_SUFFIX); \
131
7.51k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_16x8_c
Line
Count
Source
127
1.79k
                                               HIGHBD_DECL_SUFFIX) \
128
1.79k
{ \
129
1.79k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.79k
                   HIGHBD_TAIL_SUFFIX); \
131
1.79k
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_16x8_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_flipadst_dct_16x8_c
Line
Count
Source
127
2.03k
                                               HIGHBD_DECL_SUFFIX) \
128
2.03k
{ \
129
2.03k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.03k
                   HIGHBD_TAIL_SUFFIX); \
131
2.03k
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_16x8_c
Line
Count
Source
127
1.81k
                                               HIGHBD_DECL_SUFFIX) \
128
1.81k
{ \
129
1.81k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.81k
                   HIGHBD_TAIL_SUFFIX); \
131
1.81k
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_16x8_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_identity_16x8_c
Line
Count
Source
127
2.82k
                                               HIGHBD_DECL_SUFFIX) \
128
2.82k
{ \
129
2.82k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.82k
                   HIGHBD_TAIL_SUFFIX); \
131
2.82k
}
itx_tmpl.c:inv_txfm_add_identity_dct_16x8_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_identity_16x8_c
Line
Count
Source
127
1.57k
                                               HIGHBD_DECL_SUFFIX) \
128
1.57k
{ \
129
1.57k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.57k
                   HIGHBD_TAIL_SUFFIX); \
131
1.57k
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_16x8_c
Line
Count
Source
127
1.04k
                                               HIGHBD_DECL_SUFFIX) \
128
1.04k
{ \
129
1.04k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.04k
                   HIGHBD_TAIL_SUFFIX); \
131
1.04k
}
itx_tmpl.c:inv_txfm_add_adst_identity_16x8_c
Line
Count
Source
127
1.89k
                                               HIGHBD_DECL_SUFFIX) \
128
1.89k
{ \
129
1.89k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.89k
                   HIGHBD_TAIL_SUFFIX); \
131
1.89k
}
itx_tmpl.c:inv_txfm_add_identity_adst_16x8_c
Line
Count
Source
127
1.00k
                                               HIGHBD_DECL_SUFFIX) \
128
1.00k
{ \
129
1.00k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.00k
                   HIGHBD_TAIL_SUFFIX); \
131
1.00k
}
itx_tmpl.c:inv_txfm_add_dct_dct_16x16_c
Line
Count
Source
127
37.8k
                                               HIGHBD_DECL_SUFFIX) \
128
37.8k
{ \
129
37.8k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
37.8k
                   HIGHBD_TAIL_SUFFIX); \
131
37.8k
}
itx_tmpl.c:inv_txfm_add_identity_identity_16x16_c
Line
Count
Source
127
4.52k
                                               HIGHBD_DECL_SUFFIX) \
128
4.52k
{ \
129
4.52k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.52k
                   HIGHBD_TAIL_SUFFIX); \
131
4.52k
}
itx_tmpl.c:inv_txfm_add_adst_dct_16x16_c
Line
Count
Source
127
29.4k
                                               HIGHBD_DECL_SUFFIX) \
128
29.4k
{ \
129
29.4k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
29.4k
                   HIGHBD_TAIL_SUFFIX); \
131
29.4k
}
itx_tmpl.c:inv_txfm_add_dct_adst_16x16_c
Line
Count
Source
127
23.5k
                                               HIGHBD_DECL_SUFFIX) \
128
23.5k
{ \
129
23.5k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
23.5k
                   HIGHBD_TAIL_SUFFIX); \
131
23.5k
}
itx_tmpl.c:inv_txfm_add_adst_adst_16x16_c
Line
Count
Source
127
29.1k
                                               HIGHBD_DECL_SUFFIX) \
128
29.1k
{ \
129
29.1k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
29.1k
                   HIGHBD_TAIL_SUFFIX); \
131
29.1k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_16x16_c
Line
Count
Source
127
1.47k
                                               HIGHBD_DECL_SUFFIX) \
128
1.47k
{ \
129
1.47k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.47k
                   HIGHBD_TAIL_SUFFIX); \
131
1.47k
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_16x16_c
Line
Count
Source
127
1.51k
                                               HIGHBD_DECL_SUFFIX) \
128
1.51k
{ \
129
1.51k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.51k
                   HIGHBD_TAIL_SUFFIX); \
131
1.51k
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_16x16_c
Line
Count
Source
127
1.89k
                                               HIGHBD_DECL_SUFFIX) \
128
1.89k
{ \
129
1.89k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.89k
                   HIGHBD_TAIL_SUFFIX); \
131
1.89k
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_16x16_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_flipadst_flipadst_16x16_c
Line
Count
Source
127
1.49k
                                               HIGHBD_DECL_SUFFIX) \
128
1.49k
{ \
129
1.49k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.49k
                   HIGHBD_TAIL_SUFFIX); \
131
1.49k
}
itx_tmpl.c:inv_txfm_add_dct_identity_16x16_c
Line
Count
Source
127
1.98k
                                               HIGHBD_DECL_SUFFIX) \
128
1.98k
{ \
129
1.98k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.98k
                   HIGHBD_TAIL_SUFFIX); \
131
1.98k
}
itx_tmpl.c:inv_txfm_add_identity_dct_16x16_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_dct_16x32_c
Line
Count
Source
127
20.5k
                                               HIGHBD_DECL_SUFFIX) \
128
20.5k
{ \
129
20.5k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
20.5k
                   HIGHBD_TAIL_SUFFIX); \
131
20.5k
}
itx_tmpl.c:inv_txfm_add_identity_identity_16x32_c
Line
Count
Source
127
421
                                               HIGHBD_DECL_SUFFIX) \
128
421
{ \
129
421
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
421
                   HIGHBD_TAIL_SUFFIX); \
131
421
}
itx_tmpl.c:inv_txfm_add_dct_dct_16x64_c
Line
Count
Source
127
6.29k
                                               HIGHBD_DECL_SUFFIX) \
128
6.29k
{ \
129
6.29k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
6.29k
                   HIGHBD_TAIL_SUFFIX); \
131
6.29k
}
itx_tmpl.c:inv_txfm_add_dct_dct_32x8_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_identity_identity_32x8_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_dct_32x16_c
Line
Count
Source
127
22.5k
                                               HIGHBD_DECL_SUFFIX) \
128
22.5k
{ \
129
22.5k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
22.5k
                   HIGHBD_TAIL_SUFFIX); \
131
22.5k
}
itx_tmpl.c:inv_txfm_add_identity_identity_32x16_c
Line
Count
Source
127
757
                                               HIGHBD_DECL_SUFFIX) \
128
757
{ \
129
757
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
757
                   HIGHBD_TAIL_SUFFIX); \
131
757
}
itx_tmpl.c:inv_txfm_add_dct_dct_32x32_c
Line
Count
Source
127
120k
                                               HIGHBD_DECL_SUFFIX) \
128
120k
{ \
129
120k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
120k
                   HIGHBD_TAIL_SUFFIX); \
131
120k
}
itx_tmpl.c:inv_txfm_add_identity_identity_32x32_c
Line
Count
Source
127
385
                                               HIGHBD_DECL_SUFFIX) \
128
385
{ \
129
385
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
385
                   HIGHBD_TAIL_SUFFIX); \
131
385
}
itx_tmpl.c:inv_txfm_add_dct_dct_32x64_c
Line
Count
Source
127
10.2k
                                               HIGHBD_DECL_SUFFIX) \
128
10.2k
{ \
129
10.2k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
10.2k
                   HIGHBD_TAIL_SUFFIX); \
131
10.2k
}
itx_tmpl.c:inv_txfm_add_dct_dct_64x16_c
Line
Count
Source
127
2.73k
                                               HIGHBD_DECL_SUFFIX) \
128
2.73k
{ \
129
2.73k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.73k
                   HIGHBD_TAIL_SUFFIX); \
131
2.73k
}
itx_tmpl.c:inv_txfm_add_dct_dct_64x32_c
Line
Count
Source
127
6.61k
                                               HIGHBD_DECL_SUFFIX) \
128
6.61k
{ \
129
6.61k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
6.61k
                   HIGHBD_TAIL_SUFFIX); \
131
6.61k
}
itx_tmpl.c:inv_txfm_add_dct_dct_64x64_c
Line
Count
Source
127
54.8k
                                               HIGHBD_DECL_SUFFIX) \
128
54.8k
{ \
129
54.8k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
54.8k
                   HIGHBD_TAIL_SUFFIX); \
131
54.8k
}
132
133
#define inv_txfm_fn64(pfx, w, h, shift) \
134
inv_txfm_fn(dct, dct, DCT_DCT, pfx, w, h, shift)
135
136
#define inv_txfm_fn32(pfx, w, h, shift) \
137
inv_txfm_fn64(pfx, w, h, shift) \
138
inv_txfm_fn(identity, identity, IDTX, pfx, w, h, shift)
139
140
#define inv_txfm_fn16(pfx, w, h, shift) \
141
inv_txfm_fn32(pfx, w, h, shift) \
142
inv_txfm_fn(adst,     dct,      ADST_DCT,          pfx,  w, h, shift) \
143
inv_txfm_fn(dct,      adst,     DCT_ADST,          pfx, w, h, shift) \
144
inv_txfm_fn(adst,     adst,     ADST_ADST,         pfx, w, h, shift) \
145
inv_txfm_fn(dct,      flipadst, DCT_FLIPADST,      pfx, w, h, shift) \
146
inv_txfm_fn(flipadst, dct,      FLIPADST_DCT,      pfx, w, h, shift) \
147
inv_txfm_fn(adst,     flipadst, ADST_FLIPADST,     pfx, w, h, shift) \
148
inv_txfm_fn(flipadst, adst,     FLIPADST_ADST,     pfx, w, h, shift) \
149
inv_txfm_fn(flipadst, flipadst, FLIPADST_FLIPADST, pfx, w, h, shift) \
150
inv_txfm_fn(identity, dct,      H_DCT,             pfx, w, h, shift) \
151
inv_txfm_fn(dct,      identity, V_DCT,             pfx, w, h, shift) \
152
153
#define inv_txfm_fn84(pfx, w, h, shift) \
154
inv_txfm_fn16(pfx, w, h, shift) \
155
inv_txfm_fn(identity, flipadst, H_FLIPADST, pfx, w, h, shift) \
156
inv_txfm_fn(flipadst, identity, V_FLIPADST, pfx, w, h, shift) \
157
inv_txfm_fn(identity, adst,     H_ADST,     pfx, w, h, shift) \
158
inv_txfm_fn(adst,     identity, V_ADST,     pfx, w, h, shift) \
159
160
inv_txfm_fn84( ,  4,  4, 0)
161
inv_txfm_fn84(R,  4,  8, 0)
162
inv_txfm_fn84(R,  4, 16, 1)
163
inv_txfm_fn84(R,  8,  4, 0)
164
inv_txfm_fn84( ,  8,  8, 1)
165
inv_txfm_fn84(R,  8, 16, 1)
166
inv_txfm_fn32(R,  8, 32, 2)
167
inv_txfm_fn84(R, 16,  4, 1)
168
inv_txfm_fn84(R, 16,  8, 1)
169
inv_txfm_fn16( , 16, 16, 2)
170
inv_txfm_fn32(R, 16, 32, 1)
171
inv_txfm_fn64(R, 16, 64, 2)
172
inv_txfm_fn32(R, 32,  8, 2)
173
inv_txfm_fn32(R, 32, 16, 1)
174
inv_txfm_fn32( , 32, 32, 2)
175
inv_txfm_fn64(R, 32, 64, 1)
176
inv_txfm_fn64(R, 64, 16, 2)
177
inv_txfm_fn64(R, 64, 32, 1)
178
inv_txfm_fn64( , 64, 64, 2)
179
180
#if !(HAVE_ASM && TRIM_DSP_FUNCTIONS && ( \
181
  ARCH_AARCH64 || \
182
  (ARCH_ARM && (defined(__ARM_NEON) || defined(__APPLE__) || defined(_WIN32))) \
183
))
184
static void inv_txfm_add_wht_wht_4x4_c(pixel *dst, const ptrdiff_t stride,
185
                                       coef *const coeff, const int eob
186
                                       HIGHBD_DECL_SUFFIX)
187
604k
{
188
604k
    int32_t tmp[4 * 4], *c = tmp;
189
3.02M
    for (int y = 0; y < 4; y++, c += 4) {
190
12.0M
        for (int x = 0; x < 4; x++)
191
9.67M
            c[x] = coeff[y + x * 4] >> 2;
192
2.41M
        dav1d_inv_wht4_1d_c(c, 1);
193
2.41M
    }
194
604k
    memset(coeff, 0, sizeof(*coeff) * 4 * 4);
195
196
3.02M
    for (int x = 0; x < 4; x++)
197
2.41M
        dav1d_inv_wht4_1d_c(&tmp[x], 4);
198
199
604k
    c = tmp;
200
3.02M
    for (int y = 0; y < 4; y++, dst += PXSTRIDE(stride))
201
12.0M
        for (int x = 0; x < 4; x++)
202
9.67M
            dst[x] = iclip_pixel(dst[x] + *c++);
203
604k
}
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
18.2k
COLD void bitfn(dav1d_itx_dsp_init)(Dav1dInvTxfmDSPContext *const c, int bpc) {
221
18.2k
#define assign_itx_all_fn64(w, h, pfx) \
222
346k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_DCT  ] = \
223
346k
        inv_txfm_add_dct_dct_##w##x##h##_c
224
225
18.2k
#define assign_itx_all_fn32(w, h, pfx) \
226
255k
    assign_itx_all_fn64(w, h, pfx); \
227
255k
    c->itxfm_add[pfx##TX_##w##X##h][IDTX] = \
228
255k
        inv_txfm_add_identity_identity_##w##x##h##_c
229
230
18.2k
#define assign_itx_all_fn16(w, h, pfx) \
231
164k
    assign_itx_all_fn32(w, h, pfx); \
232
164k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_ADST ] = \
233
164k
        inv_txfm_add_adst_dct_##w##x##h##_c; \
234
164k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_DCT ] = \
235
164k
        inv_txfm_add_dct_adst_##w##x##h##_c; \
236
164k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_ADST] = \
237
164k
        inv_txfm_add_adst_adst_##w##x##h##_c; \
238
164k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_FLIPADST] = \
239
164k
        inv_txfm_add_flipadst_adst_##w##x##h##_c; \
240
164k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_ADST] = \
241
164k
        inv_txfm_add_adst_flipadst_##w##x##h##_c; \
242
164k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_FLIPADST] = \
243
164k
        inv_txfm_add_flipadst_dct_##w##x##h##_c; \
244
164k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_DCT] = \
245
164k
        inv_txfm_add_dct_flipadst_##w##x##h##_c; \
246
164k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_FLIPADST] = \
247
164k
        inv_txfm_add_flipadst_flipadst_##w##x##h##_c; \
248
164k
    c->itxfm_add[pfx##TX_##w##X##h][H_DCT] = \
249
164k
        inv_txfm_add_dct_identity_##w##x##h##_c; \
250
164k
    c->itxfm_add[pfx##TX_##w##X##h][V_DCT] = \
251
164k
        inv_txfm_add_identity_dct_##w##x##h##_c
252
253
18.2k
#define assign_itx_all_fn84(w, h, pfx) \
254
145k
    assign_itx_all_fn16(w, h, pfx); \
255
145k
    c->itxfm_add[pfx##TX_##w##X##h][H_FLIPADST] = \
256
145k
        inv_txfm_add_flipadst_identity_##w##x##h##_c; \
257
145k
    c->itxfm_add[pfx##TX_##w##X##h][V_FLIPADST] = \
258
145k
        inv_txfm_add_identity_flipadst_##w##x##h##_c; \
259
145k
    c->itxfm_add[pfx##TX_##w##X##h][H_ADST] = \
260
145k
        inv_txfm_add_adst_identity_##w##x##h##_c; \
261
145k
    c->itxfm_add[pfx##TX_##w##X##h][V_ADST] = \
262
145k
        inv_txfm_add_identity_adst_##w##x##h##_c; \
263
18.2k
264
18.2k
#if !(HAVE_ASM && TRIM_DSP_FUNCTIONS && ( \
265
18.2k
  ARCH_AARCH64 || \
266
18.2k
  (ARCH_ARM && (defined(__ARM_NEON) || defined(__APPLE__) || defined(_WIN32))) \
267
18.2k
))
268
18.2k
    c->itxfm_add[TX_4X4][WHT_WHT] = inv_txfm_add_wht_wht_4x4_c;
269
18.2k
#endif
270
18.2k
    assign_itx_all_fn84( 4,  4, );
271
18.2k
    assign_itx_all_fn84( 4,  8, R);
272
18.2k
    assign_itx_all_fn84( 4, 16, R);
273
18.2k
    assign_itx_all_fn84( 8,  4, R);
274
18.2k
    assign_itx_all_fn84( 8,  8, );
275
18.2k
    assign_itx_all_fn84( 8, 16, R);
276
18.2k
    assign_itx_all_fn32( 8, 32, R);
277
18.2k
    assign_itx_all_fn84(16,  4, R);
278
18.2k
    assign_itx_all_fn84(16,  8, R);
279
18.2k
    assign_itx_all_fn16(16, 16, );
280
18.2k
    assign_itx_all_fn32(16, 32, R);
281
18.2k
    assign_itx_all_fn64(16, 64, R);
282
18.2k
    assign_itx_all_fn32(32,  8, R);
283
18.2k
    assign_itx_all_fn32(32, 16, R);
284
18.2k
    assign_itx_all_fn32(32, 32, );
285
18.2k
    assign_itx_all_fn64(32, 64, R);
286
18.2k
    assign_itx_all_fn64(64, 16, R);
287
18.2k
    assign_itx_all_fn64(64, 32, R);
288
18.2k
    assign_itx_all_fn64(64, 64, );
289
290
18.2k
    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.2k
    if (!all_simd)
310
18.2k
        dav1d_init_last_nonzero_col_from_eob_tables();
311
18.2k
}
dav1d_itx_dsp_init_8bpc
Line
Count
Source
220
8.31k
COLD void bitfn(dav1d_itx_dsp_init)(Dav1dInvTxfmDSPContext *const c, int bpc) {
221
8.31k
#define assign_itx_all_fn64(w, h, pfx) \
222
8.31k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_DCT  ] = \
223
8.31k
        inv_txfm_add_dct_dct_##w##x##h##_c
224
225
8.31k
#define assign_itx_all_fn32(w, h, pfx) \
226
8.31k
    assign_itx_all_fn64(w, h, pfx); \
227
8.31k
    c->itxfm_add[pfx##TX_##w##X##h][IDTX] = \
228
8.31k
        inv_txfm_add_identity_identity_##w##x##h##_c
229
230
8.31k
#define assign_itx_all_fn16(w, h, pfx) \
231
8.31k
    assign_itx_all_fn32(w, h, pfx); \
232
8.31k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_ADST ] = \
233
8.31k
        inv_txfm_add_adst_dct_##w##x##h##_c; \
234
8.31k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_DCT ] = \
235
8.31k
        inv_txfm_add_dct_adst_##w##x##h##_c; \
236
8.31k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_ADST] = \
237
8.31k
        inv_txfm_add_adst_adst_##w##x##h##_c; \
238
8.31k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_FLIPADST] = \
239
8.31k
        inv_txfm_add_flipadst_adst_##w##x##h##_c; \
240
8.31k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_ADST] = \
241
8.31k
        inv_txfm_add_adst_flipadst_##w##x##h##_c; \
242
8.31k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_FLIPADST] = \
243
8.31k
        inv_txfm_add_flipadst_dct_##w##x##h##_c; \
244
8.31k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_DCT] = \
245
8.31k
        inv_txfm_add_dct_flipadst_##w##x##h##_c; \
246
8.31k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_FLIPADST] = \
247
8.31k
        inv_txfm_add_flipadst_flipadst_##w##x##h##_c; \
248
8.31k
    c->itxfm_add[pfx##TX_##w##X##h][H_DCT] = \
249
8.31k
        inv_txfm_add_dct_identity_##w##x##h##_c; \
250
8.31k
    c->itxfm_add[pfx##TX_##w##X##h][V_DCT] = \
251
8.31k
        inv_txfm_add_identity_dct_##w##x##h##_c
252
253
8.31k
#define assign_itx_all_fn84(w, h, pfx) \
254
8.31k
    assign_itx_all_fn16(w, h, pfx); \
255
8.31k
    c->itxfm_add[pfx##TX_##w##X##h][H_FLIPADST] = \
256
8.31k
        inv_txfm_add_flipadst_identity_##w##x##h##_c; \
257
8.31k
    c->itxfm_add[pfx##TX_##w##X##h][V_FLIPADST] = \
258
8.31k
        inv_txfm_add_identity_flipadst_##w##x##h##_c; \
259
8.31k
    c->itxfm_add[pfx##TX_##w##X##h][H_ADST] = \
260
8.31k
        inv_txfm_add_adst_identity_##w##x##h##_c; \
261
8.31k
    c->itxfm_add[pfx##TX_##w##X##h][V_ADST] = \
262
8.31k
        inv_txfm_add_identity_adst_##w##x##h##_c; \
263
8.31k
264
8.31k
#if !(HAVE_ASM && TRIM_DSP_FUNCTIONS && ( \
265
8.31k
  ARCH_AARCH64 || \
266
8.31k
  (ARCH_ARM && (defined(__ARM_NEON) || defined(__APPLE__) || defined(_WIN32))) \
267
8.31k
))
268
8.31k
    c->itxfm_add[TX_4X4][WHT_WHT] = inv_txfm_add_wht_wht_4x4_c;
269
8.31k
#endif
270
8.31k
    assign_itx_all_fn84( 4,  4, );
271
8.31k
    assign_itx_all_fn84( 4,  8, R);
272
8.31k
    assign_itx_all_fn84( 4, 16, R);
273
8.31k
    assign_itx_all_fn84( 8,  4, R);
274
8.31k
    assign_itx_all_fn84( 8,  8, );
275
8.31k
    assign_itx_all_fn84( 8, 16, R);
276
8.31k
    assign_itx_all_fn32( 8, 32, R);
277
8.31k
    assign_itx_all_fn84(16,  4, R);
278
8.31k
    assign_itx_all_fn84(16,  8, R);
279
8.31k
    assign_itx_all_fn16(16, 16, );
280
8.31k
    assign_itx_all_fn32(16, 32, R);
281
8.31k
    assign_itx_all_fn64(16, 64, R);
282
8.31k
    assign_itx_all_fn32(32,  8, R);
283
8.31k
    assign_itx_all_fn32(32, 16, R);
284
8.31k
    assign_itx_all_fn32(32, 32, );
285
8.31k
    assign_itx_all_fn64(32, 64, R);
286
8.31k
    assign_itx_all_fn64(64, 16, R);
287
8.31k
    assign_itx_all_fn64(64, 32, R);
288
8.31k
    assign_itx_all_fn64(64, 64, );
289
290
8.31k
    int all_simd = 0;
291
#if HAVE_ASM
292
#if ARCH_AARCH64 || ARCH_ARM
293
    itx_dsp_init_arm(c, bpc, &all_simd);
294
#endif
295
#if ARCH_LOONGARCH64
296
    itx_dsp_init_loongarch(c, bpc);
297
#endif
298
#if ARCH_PPC64LE
299
    itx_dsp_init_ppc(c, bpc);
300
#endif
301
#if ARCH_RISCV
302
    itx_dsp_init_riscv(c, bpc);
303
#endif
304
#if ARCH_X86
305
    itx_dsp_init_x86(c, bpc, &all_simd);
306
#endif
307
#endif
308
309
8.31k
    if (!all_simd)
310
8.31k
        dav1d_init_last_nonzero_col_from_eob_tables();
311
8.31k
}
dav1d_itx_dsp_init_16bpc
Line
Count
Source
220
9.93k
COLD void bitfn(dav1d_itx_dsp_init)(Dav1dInvTxfmDSPContext *const c, int bpc) {
221
9.93k
#define assign_itx_all_fn64(w, h, pfx) \
222
9.93k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_DCT  ] = \
223
9.93k
        inv_txfm_add_dct_dct_##w##x##h##_c
224
225
9.93k
#define assign_itx_all_fn32(w, h, pfx) \
226
9.93k
    assign_itx_all_fn64(w, h, pfx); \
227
9.93k
    c->itxfm_add[pfx##TX_##w##X##h][IDTX] = \
228
9.93k
        inv_txfm_add_identity_identity_##w##x##h##_c
229
230
9.93k
#define assign_itx_all_fn16(w, h, pfx) \
231
9.93k
    assign_itx_all_fn32(w, h, pfx); \
232
9.93k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_ADST ] = \
233
9.93k
        inv_txfm_add_adst_dct_##w##x##h##_c; \
234
9.93k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_DCT ] = \
235
9.93k
        inv_txfm_add_dct_adst_##w##x##h##_c; \
236
9.93k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_ADST] = \
237
9.93k
        inv_txfm_add_adst_adst_##w##x##h##_c; \
238
9.93k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_FLIPADST] = \
239
9.93k
        inv_txfm_add_flipadst_adst_##w##x##h##_c; \
240
9.93k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_ADST] = \
241
9.93k
        inv_txfm_add_adst_flipadst_##w##x##h##_c; \
242
9.93k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_FLIPADST] = \
243
9.93k
        inv_txfm_add_flipadst_dct_##w##x##h##_c; \
244
9.93k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_DCT] = \
245
9.93k
        inv_txfm_add_dct_flipadst_##w##x##h##_c; \
246
9.93k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_FLIPADST] = \
247
9.93k
        inv_txfm_add_flipadst_flipadst_##w##x##h##_c; \
248
9.93k
    c->itxfm_add[pfx##TX_##w##X##h][H_DCT] = \
249
9.93k
        inv_txfm_add_dct_identity_##w##x##h##_c; \
250
9.93k
    c->itxfm_add[pfx##TX_##w##X##h][V_DCT] = \
251
9.93k
        inv_txfm_add_identity_dct_##w##x##h##_c
252
253
9.93k
#define assign_itx_all_fn84(w, h, pfx) \
254
9.93k
    assign_itx_all_fn16(w, h, pfx); \
255
9.93k
    c->itxfm_add[pfx##TX_##w##X##h][H_FLIPADST] = \
256
9.93k
        inv_txfm_add_flipadst_identity_##w##x##h##_c; \
257
9.93k
    c->itxfm_add[pfx##TX_##w##X##h][V_FLIPADST] = \
258
9.93k
        inv_txfm_add_identity_flipadst_##w##x##h##_c; \
259
9.93k
    c->itxfm_add[pfx##TX_##w##X##h][H_ADST] = \
260
9.93k
        inv_txfm_add_adst_identity_##w##x##h##_c; \
261
9.93k
    c->itxfm_add[pfx##TX_##w##X##h][V_ADST] = \
262
9.93k
        inv_txfm_add_identity_adst_##w##x##h##_c; \
263
9.93k
264
9.93k
#if !(HAVE_ASM && TRIM_DSP_FUNCTIONS && ( \
265
9.93k
  ARCH_AARCH64 || \
266
9.93k
  (ARCH_ARM && (defined(__ARM_NEON) || defined(__APPLE__) || defined(_WIN32))) \
267
9.93k
))
268
9.93k
    c->itxfm_add[TX_4X4][WHT_WHT] = inv_txfm_add_wht_wht_4x4_c;
269
9.93k
#endif
270
9.93k
    assign_itx_all_fn84( 4,  4, );
271
9.93k
    assign_itx_all_fn84( 4,  8, R);
272
9.93k
    assign_itx_all_fn84( 4, 16, R);
273
9.93k
    assign_itx_all_fn84( 8,  4, R);
274
9.93k
    assign_itx_all_fn84( 8,  8, );
275
9.93k
    assign_itx_all_fn84( 8, 16, R);
276
9.93k
    assign_itx_all_fn32( 8, 32, R);
277
9.93k
    assign_itx_all_fn84(16,  4, R);
278
9.93k
    assign_itx_all_fn84(16,  8, R);
279
9.93k
    assign_itx_all_fn16(16, 16, );
280
9.93k
    assign_itx_all_fn32(16, 32, R);
281
9.93k
    assign_itx_all_fn64(16, 64, R);
282
9.93k
    assign_itx_all_fn32(32,  8, R);
283
9.93k
    assign_itx_all_fn32(32, 16, R);
284
9.93k
    assign_itx_all_fn32(32, 32, );
285
9.93k
    assign_itx_all_fn64(32, 64, R);
286
9.93k
    assign_itx_all_fn64(64, 16, R);
287
9.93k
    assign_itx_all_fn64(64, 32, R);
288
9.93k
    assign_itx_all_fn64(64, 64, );
289
290
9.93k
    int all_simd = 0;
291
#if HAVE_ASM
292
#if ARCH_AARCH64 || ARCH_ARM
293
    itx_dsp_init_arm(c, bpc, &all_simd);
294
#endif
295
#if ARCH_LOONGARCH64
296
    itx_dsp_init_loongarch(c, bpc);
297
#endif
298
#if ARCH_PPC64LE
299
    itx_dsp_init_ppc(c, bpc);
300
#endif
301
#if ARCH_RISCV
302
    itx_dsp_init_riscv(c, bpc);
303
#endif
304
#if ARCH_X86
305
    itx_dsp_init_x86(c, bpc, &all_simd);
306
#endif
307
#endif
308
309
9.93k
    if (!all_simd)
310
9.93k
        dav1d_init_last_nonzero_col_from_eob_tables();
311
9.93k
}