Coverage Report

Created: 2026-10-17 06:56

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
2.43M
{
48
2.43M
    const TxfmInfo *const t_dim = &dav1d_txfm_dimensions[tx];
49
2.43M
    const int w = 4 * t_dim->w, h = 4 * t_dim->h;
50
2.43M
    const int has_dconly = txtp == DCT_DCT;
51
2.43M
    assert(w >= 4 && w <= 64);
52
2.43M
    assert(h >= 4 && h <= 64);
53
2.43M
    assert(eob >= 0);
54
55
2.43M
    const int is_rect2 = w * 2 == h || h * 2 == w;
56
2.43M
    const int rnd = (1 << shift) >> 1;
57
58
2.43M
    if (eob < has_dconly) {
59
688k
        int dc = coeff[0];
60
688k
        coeff[0] = 0;
61
688k
        if (is_rect2)
62
174k
            dc = (dc * 181 + 128) >> 8;
63
688k
        dc = (dc * 181 + 128) >> 8;
64
688k
        dc = (dc + rnd) >> shift;
65
688k
        dc = (dc * 181 + 128 + 2048) >> 12;
66
22.4M
        for (int y = 0; y < h; y++, dst += PXSTRIDE(stride))
67
799M
            for (int x = 0; x < w; x++)
68
777M
                dst[x] = iclip_pixel(dst[x] + dc);
69
688k
        return;
70
688k
    }
71
72
1.74M
    const uint8_t *const txtps = dav1d_tx1d_types[txtp];
73
1.74M
    const itx_1d_fn first_1d_fn = dav1d_tx1d_fns[t_dim->lw][txtps[0]];
74
1.74M
    const itx_1d_fn second_1d_fn = dav1d_tx1d_fns[t_dim->lh][txtps[1]];
75
1.74M
    const int sh = imin(h, 32), sw = imin(w, 32);
76
1.74M
#if BITDEPTH == 8
77
1.74M
    const int row_clip_min = INT16_MIN;
78
1.74M
    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.74M
    const int row_clip_max = ~row_clip_min;
84
1.74M
    const int col_clip_max = ~col_clip_min;
85
86
1.74M
    int32_t tmp[64 * 64], *c = tmp;
87
1.74M
    int last_nonzero_col; // in first 1d itx
88
1.74M
    if (txtps[1] == IDENTITY && txtps[0] != IDENTITY) {
89
163k
        last_nonzero_col = imin(sh - 1, eob);
90
1.58M
    } else if (txtps[0] == IDENTITY && txtps[1] != IDENTITY) {
91
99.7k
        last_nonzero_col = eob >> (t_dim->lw + 2);
92
1.48M
    } else {
93
1.48M
        last_nonzero_col = dav1d_last_nonzero_col_from_eob[tx][eob];
94
1.48M
    }
95
1.74M
    assert(last_nonzero_col < sh);
96
9.91M
    for (int y = 0; y <= last_nonzero_col; y++, c += w) {
97
8.16M
        if (is_rect2)
98
46.8M
            for (int x = 0; x < sw; x++)
99
43.8M
                c[x] = (coeff[y + x * sh] * 181 + 128) >> 8;
100
5.15M
        else
101
82.6M
            for (int x = 0; x < sw; x++)
102
77.5M
                c[x] = coeff[y + x * sh];
103
8.16M
        first_1d_fn(c, 1, row_clip_min, row_clip_max);
104
8.16M
    }
105
1.74M
    if (last_nonzero_col + 1 < sh)
106
1.36M
        memset(c, 0, sizeof(*c) * (sh - last_nonzero_col - 1) * w);
107
108
1.74M
    memset(coeff, 0, sizeof(*coeff) * sw * sh);
109
433M
    for (int i = 0; i < w * sh; i++)
110
432M
        tmp[i] = iclip((tmp[i] + rnd) >> shift, col_clip_min, col_clip_max);
111
112
25.9M
    for (int x = 0; x < w; x++)
113
24.2M
        second_1d_fn(&tmp[x], w, col_clip_min, col_clip_max);
114
115
1.74M
    c = tmp;
116
26.3M
    for (int y = 0; y < h; y++, dst += PXSTRIDE(stride))
117
590M
        for (int x = 0; x < w; x++)
118
566M
            dst[x] = iclip_pixel(dst[x] + ((*c++ + 8) >> 4));
119
1.74M
}
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
2.43M
                                               HIGHBD_DECL_SUFFIX) \
128
2.43M
{ \
129
2.43M
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.43M
                   HIGHBD_TAIL_SUFFIX); \
131
2.43M
}
itx_tmpl.c:inv_txfm_add_dct_dct_4x4_c
Line
Count
Source
127
53.9k
                                               HIGHBD_DECL_SUFFIX) \
128
53.9k
{ \
129
53.9k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
53.9k
                   HIGHBD_TAIL_SUFFIX); \
131
53.9k
}
itx_tmpl.c:inv_txfm_add_identity_identity_4x4_c
Line
Count
Source
127
28.4k
                                               HIGHBD_DECL_SUFFIX) \
128
28.4k
{ \
129
28.4k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
28.4k
                   HIGHBD_TAIL_SUFFIX); \
131
28.4k
}
itx_tmpl.c:inv_txfm_add_adst_dct_4x4_c
Line
Count
Source
127
26.5k
                                               HIGHBD_DECL_SUFFIX) \
128
26.5k
{ \
129
26.5k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
26.5k
                   HIGHBD_TAIL_SUFFIX); \
131
26.5k
}
itx_tmpl.c:inv_txfm_add_dct_adst_4x4_c
Line
Count
Source
127
22.4k
                                               HIGHBD_DECL_SUFFIX) \
128
22.4k
{ \
129
22.4k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
22.4k
                   HIGHBD_TAIL_SUFFIX); \
131
22.4k
}
itx_tmpl.c:inv_txfm_add_adst_adst_4x4_c
Line
Count
Source
127
33.2k
                                               HIGHBD_DECL_SUFFIX) \
128
33.2k
{ \
129
33.2k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
33.2k
                   HIGHBD_TAIL_SUFFIX); \
131
33.2k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_4x4_c
Line
Count
Source
127
5.09k
                                               HIGHBD_DECL_SUFFIX) \
128
5.09k
{ \
129
5.09k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.09k
                   HIGHBD_TAIL_SUFFIX); \
131
5.09k
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_4x4_c
Line
Count
Source
127
6.18k
                                               HIGHBD_DECL_SUFFIX) \
128
6.18k
{ \
129
6.18k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
6.18k
                   HIGHBD_TAIL_SUFFIX); \
131
6.18k
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_4x4_c
Line
Count
Source
127
4.38k
                                               HIGHBD_DECL_SUFFIX) \
128
4.38k
{ \
129
4.38k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.38k
                   HIGHBD_TAIL_SUFFIX); \
131
4.38k
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_4x4_c
Line
Count
Source
127
4.09k
                                               HIGHBD_DECL_SUFFIX) \
128
4.09k
{ \
129
4.09k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.09k
                   HIGHBD_TAIL_SUFFIX); \
131
4.09k
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_4x4_c
Line
Count
Source
127
4.23k
                                               HIGHBD_DECL_SUFFIX) \
128
4.23k
{ \
129
4.23k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.23k
                   HIGHBD_TAIL_SUFFIX); \
131
4.23k
}
itx_tmpl.c:inv_txfm_add_dct_identity_4x4_c
Line
Count
Source
127
12.0k
                                               HIGHBD_DECL_SUFFIX) \
128
12.0k
{ \
129
12.0k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
12.0k
                   HIGHBD_TAIL_SUFFIX); \
131
12.0k
}
itx_tmpl.c:inv_txfm_add_identity_dct_4x4_c
Line
Count
Source
127
7.92k
                                               HIGHBD_DECL_SUFFIX) \
128
7.92k
{ \
129
7.92k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
7.92k
                   HIGHBD_TAIL_SUFFIX); \
131
7.92k
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_4x4_c
Line
Count
Source
127
7.96k
                                               HIGHBD_DECL_SUFFIX) \
128
7.96k
{ \
129
7.96k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
7.96k
                   HIGHBD_TAIL_SUFFIX); \
131
7.96k
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_4x4_c
Line
Count
Source
127
4.91k
                                               HIGHBD_DECL_SUFFIX) \
128
4.91k
{ \
129
4.91k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.91k
                   HIGHBD_TAIL_SUFFIX); \
131
4.91k
}
itx_tmpl.c:inv_txfm_add_adst_identity_4x4_c
Line
Count
Source
127
9.73k
                                               HIGHBD_DECL_SUFFIX) \
128
9.73k
{ \
129
9.73k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
9.73k
                   HIGHBD_TAIL_SUFFIX); \
131
9.73k
}
itx_tmpl.c:inv_txfm_add_identity_adst_4x4_c
Line
Count
Source
127
5.56k
                                               HIGHBD_DECL_SUFFIX) \
128
5.56k
{ \
129
5.56k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.56k
                   HIGHBD_TAIL_SUFFIX); \
131
5.56k
}
itx_tmpl.c:inv_txfm_add_dct_dct_4x8_c
Line
Count
Source
127
22.9k
                                               HIGHBD_DECL_SUFFIX) \
128
22.9k
{ \
129
22.9k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
22.9k
                   HIGHBD_TAIL_SUFFIX); \
131
22.9k
}
itx_tmpl.c:inv_txfm_add_identity_identity_4x8_c
Line
Count
Source
127
12.8k
                                               HIGHBD_DECL_SUFFIX) \
128
12.8k
{ \
129
12.8k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
12.8k
                   HIGHBD_TAIL_SUFFIX); \
131
12.8k
}
itx_tmpl.c:inv_txfm_add_adst_dct_4x8_c
Line
Count
Source
127
12.8k
                                               HIGHBD_DECL_SUFFIX) \
128
12.8k
{ \
129
12.8k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
12.8k
                   HIGHBD_TAIL_SUFFIX); \
131
12.8k
}
itx_tmpl.c:inv_txfm_add_dct_adst_4x8_c
Line
Count
Source
127
10.9k
                                               HIGHBD_DECL_SUFFIX) \
128
10.9k
{ \
129
10.9k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
10.9k
                   HIGHBD_TAIL_SUFFIX); \
131
10.9k
}
itx_tmpl.c:inv_txfm_add_adst_adst_4x8_c
Line
Count
Source
127
14.6k
                                               HIGHBD_DECL_SUFFIX) \
128
14.6k
{ \
129
14.6k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
14.6k
                   HIGHBD_TAIL_SUFFIX); \
131
14.6k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_4x8_c
Line
Count
Source
127
3.64k
                                               HIGHBD_DECL_SUFFIX) \
128
3.64k
{ \
129
3.64k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.64k
                   HIGHBD_TAIL_SUFFIX); \
131
3.64k
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_4x8_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_flipadst_dct_4x8_c
Line
Count
Source
127
3.49k
                                               HIGHBD_DECL_SUFFIX) \
128
3.49k
{ \
129
3.49k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.49k
                   HIGHBD_TAIL_SUFFIX); \
131
3.49k
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_4x8_c
Line
Count
Source
127
2.55k
                                               HIGHBD_DECL_SUFFIX) \
128
2.55k
{ \
129
2.55k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.55k
                   HIGHBD_TAIL_SUFFIX); \
131
2.55k
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_4x8_c
Line
Count
Source
127
3.10k
                                               HIGHBD_DECL_SUFFIX) \
128
3.10k
{ \
129
3.10k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.10k
                   HIGHBD_TAIL_SUFFIX); \
131
3.10k
}
itx_tmpl.c:inv_txfm_add_dct_identity_4x8_c
Line
Count
Source
127
7.34k
                                               HIGHBD_DECL_SUFFIX) \
128
7.34k
{ \
129
7.34k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
7.34k
                   HIGHBD_TAIL_SUFFIX); \
131
7.34k
}
itx_tmpl.c:inv_txfm_add_identity_dct_4x8_c
Line
Count
Source
127
4.15k
                                               HIGHBD_DECL_SUFFIX) \
128
4.15k
{ \
129
4.15k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.15k
                   HIGHBD_TAIL_SUFFIX); \
131
4.15k
}
itx_tmpl.c:inv_txfm_add_flipadst_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_flipadst_4x8_c
Line
Count
Source
127
3.44k
                                               HIGHBD_DECL_SUFFIX) \
128
3.44k
{ \
129
3.44k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.44k
                   HIGHBD_TAIL_SUFFIX); \
131
3.44k
}
itx_tmpl.c:inv_txfm_add_adst_identity_4x8_c
Line
Count
Source
127
6.38k
                                               HIGHBD_DECL_SUFFIX) \
128
6.38k
{ \
129
6.38k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
6.38k
                   HIGHBD_TAIL_SUFFIX); \
131
6.38k
}
itx_tmpl.c:inv_txfm_add_identity_adst_4x8_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_dct_dct_4x16_c
Line
Count
Source
127
12.0k
                                               HIGHBD_DECL_SUFFIX) \
128
12.0k
{ \
129
12.0k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
12.0k
                   HIGHBD_TAIL_SUFFIX); \
131
12.0k
}
itx_tmpl.c:inv_txfm_add_identity_identity_4x16_c
Line
Count
Source
127
6.27k
                                               HIGHBD_DECL_SUFFIX) \
128
6.27k
{ \
129
6.27k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
6.27k
                   HIGHBD_TAIL_SUFFIX); \
131
6.27k
}
itx_tmpl.c:inv_txfm_add_adst_dct_4x16_c
Line
Count
Source
127
6.12k
                                               HIGHBD_DECL_SUFFIX) \
128
6.12k
{ \
129
6.12k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
6.12k
                   HIGHBD_TAIL_SUFFIX); \
131
6.12k
}
itx_tmpl.c:inv_txfm_add_dct_adst_4x16_c
Line
Count
Source
127
5.14k
                                               HIGHBD_DECL_SUFFIX) \
128
5.14k
{ \
129
5.14k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.14k
                   HIGHBD_TAIL_SUFFIX); \
131
5.14k
}
itx_tmpl.c:inv_txfm_add_adst_adst_4x16_c
Line
Count
Source
127
7.88k
                                               HIGHBD_DECL_SUFFIX) \
128
7.88k
{ \
129
7.88k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
7.88k
                   HIGHBD_TAIL_SUFFIX); \
131
7.88k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_4x16_c
Line
Count
Source
127
1.42k
                                               HIGHBD_DECL_SUFFIX) \
128
1.42k
{ \
129
1.42k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.42k
                   HIGHBD_TAIL_SUFFIX); \
131
1.42k
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_4x16_c
Line
Count
Source
127
1.93k
                                               HIGHBD_DECL_SUFFIX) \
128
1.93k
{ \
129
1.93k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.93k
                   HIGHBD_TAIL_SUFFIX); \
131
1.93k
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_4x16_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_flipadst_4x16_c
Line
Count
Source
127
1.51k
                                               HIGHBD_DECL_SUFFIX) \
128
1.51k
{ \
129
1.51k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.51k
                   HIGHBD_TAIL_SUFFIX); \
131
1.51k
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_4x16_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_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
2.20k
                                               HIGHBD_DECL_SUFFIX) \
128
2.20k
{ \
129
2.20k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.20k
                   HIGHBD_TAIL_SUFFIX); \
131
2.20k
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_4x16_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_identity_flipadst_4x16_c
Line
Count
Source
127
1.56k
                                               HIGHBD_DECL_SUFFIX) \
128
1.56k
{ \
129
1.56k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.56k
                   HIGHBD_TAIL_SUFFIX); \
131
1.56k
}
itx_tmpl.c:inv_txfm_add_adst_identity_4x16_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_adst_4x16_c
Line
Count
Source
127
1.63k
                                               HIGHBD_DECL_SUFFIX) \
128
1.63k
{ \
129
1.63k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.63k
                   HIGHBD_TAIL_SUFFIX); \
131
1.63k
}
itx_tmpl.c:inv_txfm_add_dct_dct_8x4_c
Line
Count
Source
127
32.3k
                                               HIGHBD_DECL_SUFFIX) \
128
32.3k
{ \
129
32.3k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
32.3k
                   HIGHBD_TAIL_SUFFIX); \
131
32.3k
}
itx_tmpl.c:inv_txfm_add_identity_identity_8x4_c
Line
Count
Source
127
16.9k
                                               HIGHBD_DECL_SUFFIX) \
128
16.9k
{ \
129
16.9k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
16.9k
                   HIGHBD_TAIL_SUFFIX); \
131
16.9k
}
itx_tmpl.c:inv_txfm_add_adst_dct_8x4_c
Line
Count
Source
127
16.8k
                                               HIGHBD_DECL_SUFFIX) \
128
16.8k
{ \
129
16.8k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
16.8k
                   HIGHBD_TAIL_SUFFIX); \
131
16.8k
}
itx_tmpl.c:inv_txfm_add_dct_adst_8x4_c
Line
Count
Source
127
14.2k
                                               HIGHBD_DECL_SUFFIX) \
128
14.2k
{ \
129
14.2k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
14.2k
                   HIGHBD_TAIL_SUFFIX); \
131
14.2k
}
itx_tmpl.c:inv_txfm_add_adst_adst_8x4_c
Line
Count
Source
127
19.9k
                                               HIGHBD_DECL_SUFFIX) \
128
19.9k
{ \
129
19.9k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
19.9k
                   HIGHBD_TAIL_SUFFIX); \
131
19.9k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_8x4_c
Line
Count
Source
127
8.54k
                                               HIGHBD_DECL_SUFFIX) \
128
8.54k
{ \
129
8.54k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
8.54k
                   HIGHBD_TAIL_SUFFIX); \
131
8.54k
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_8x4_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_flipadst_dct_8x4_c
Line
Count
Source
127
5.34k
                                               HIGHBD_DECL_SUFFIX) \
128
5.34k
{ \
129
5.34k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.34k
                   HIGHBD_TAIL_SUFFIX); \
131
5.34k
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_8x4_c
Line
Count
Source
127
3.72k
                                               HIGHBD_DECL_SUFFIX) \
128
3.72k
{ \
129
3.72k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.72k
                   HIGHBD_TAIL_SUFFIX); \
131
3.72k
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_8x4_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_dct_identity_8x4_c
Line
Count
Source
127
9.25k
                                               HIGHBD_DECL_SUFFIX) \
128
9.25k
{ \
129
9.25k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
9.25k
                   HIGHBD_TAIL_SUFFIX); \
131
9.25k
}
itx_tmpl.c:inv_txfm_add_identity_dct_8x4_c
Line
Count
Source
127
4.91k
                                               HIGHBD_DECL_SUFFIX) \
128
4.91k
{ \
129
4.91k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.91k
                   HIGHBD_TAIL_SUFFIX); \
131
4.91k
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_8x4_c
Line
Count
Source
127
6.48k
                                               HIGHBD_DECL_SUFFIX) \
128
6.48k
{ \
129
6.48k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
6.48k
                   HIGHBD_TAIL_SUFFIX); \
131
6.48k
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_8x4_c
Line
Count
Source
127
7.88k
                                               HIGHBD_DECL_SUFFIX) \
128
7.88k
{ \
129
7.88k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
7.88k
                   HIGHBD_TAIL_SUFFIX); \
131
7.88k
}
itx_tmpl.c:inv_txfm_add_adst_identity_8x4_c
Line
Count
Source
127
7.65k
                                               HIGHBD_DECL_SUFFIX) \
128
7.65k
{ \
129
7.65k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
7.65k
                   HIGHBD_TAIL_SUFFIX); \
131
7.65k
}
itx_tmpl.c:inv_txfm_add_identity_adst_8x4_c
Line
Count
Source
127
4.53k
                                               HIGHBD_DECL_SUFFIX) \
128
4.53k
{ \
129
4.53k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.53k
                   HIGHBD_TAIL_SUFFIX); \
131
4.53k
}
itx_tmpl.c:inv_txfm_add_dct_dct_8x8_c
Line
Count
Source
127
95.8k
                                               HIGHBD_DECL_SUFFIX) \
128
95.8k
{ \
129
95.8k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
95.8k
                   HIGHBD_TAIL_SUFFIX); \
131
95.8k
}
itx_tmpl.c:inv_txfm_add_identity_identity_8x8_c
Line
Count
Source
127
30.5k
                                               HIGHBD_DECL_SUFFIX) \
128
30.5k
{ \
129
30.5k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
30.5k
                   HIGHBD_TAIL_SUFFIX); \
131
30.5k
}
itx_tmpl.c:inv_txfm_add_adst_dct_8x8_c
Line
Count
Source
127
48.0k
                                               HIGHBD_DECL_SUFFIX) \
128
48.0k
{ \
129
48.0k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
48.0k
                   HIGHBD_TAIL_SUFFIX); \
131
48.0k
}
itx_tmpl.c:inv_txfm_add_dct_adst_8x8_c
Line
Count
Source
127
40.7k
                                               HIGHBD_DECL_SUFFIX) \
128
40.7k
{ \
129
40.7k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
40.7k
                   HIGHBD_TAIL_SUFFIX); \
131
40.7k
}
itx_tmpl.c:inv_txfm_add_adst_adst_8x8_c
Line
Count
Source
127
44.4k
                                               HIGHBD_DECL_SUFFIX) \
128
44.4k
{ \
129
44.4k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
44.4k
                   HIGHBD_TAIL_SUFFIX); \
131
44.4k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_8x8_c
Line
Count
Source
127
8.45k
                                               HIGHBD_DECL_SUFFIX) \
128
8.45k
{ \
129
8.45k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
8.45k
                   HIGHBD_TAIL_SUFFIX); \
131
8.45k
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_8x8_c
Line
Count
Source
127
9.63k
                                               HIGHBD_DECL_SUFFIX) \
128
9.63k
{ \
129
9.63k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
9.63k
                   HIGHBD_TAIL_SUFFIX); \
131
9.63k
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_8x8_c
Line
Count
Source
127
10.3k
                                               HIGHBD_DECL_SUFFIX) \
128
10.3k
{ \
129
10.3k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
10.3k
                   HIGHBD_TAIL_SUFFIX); \
131
10.3k
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_8x8_c
Line
Count
Source
127
8.95k
                                               HIGHBD_DECL_SUFFIX) \
128
8.95k
{ \
129
8.95k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
8.95k
                   HIGHBD_TAIL_SUFFIX); \
131
8.95k
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_8x8_c
Line
Count
Source
127
7.26k
                                               HIGHBD_DECL_SUFFIX) \
128
7.26k
{ \
129
7.26k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
7.26k
                   HIGHBD_TAIL_SUFFIX); \
131
7.26k
}
itx_tmpl.c:inv_txfm_add_dct_identity_8x8_c
Line
Count
Source
127
17.3k
                                               HIGHBD_DECL_SUFFIX) \
128
17.3k
{ \
129
17.3k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
17.3k
                   HIGHBD_TAIL_SUFFIX); \
131
17.3k
}
itx_tmpl.c:inv_txfm_add_identity_dct_8x8_c
Line
Count
Source
127
9.19k
                                               HIGHBD_DECL_SUFFIX) \
128
9.19k
{ \
129
9.19k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
9.19k
                   HIGHBD_TAIL_SUFFIX); \
131
9.19k
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_8x8_c
Line
Count
Source
127
8.98k
                                               HIGHBD_DECL_SUFFIX) \
128
8.98k
{ \
129
8.98k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
8.98k
                   HIGHBD_TAIL_SUFFIX); \
131
8.98k
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_8x8_c
Line
Count
Source
127
5.12k
                                               HIGHBD_DECL_SUFFIX) \
128
5.12k
{ \
129
5.12k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.12k
                   HIGHBD_TAIL_SUFFIX); \
131
5.12k
}
itx_tmpl.c:inv_txfm_add_adst_identity_8x8_c
Line
Count
Source
127
8.75k
                                               HIGHBD_DECL_SUFFIX) \
128
8.75k
{ \
129
8.75k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
8.75k
                   HIGHBD_TAIL_SUFFIX); \
131
8.75k
}
itx_tmpl.c:inv_txfm_add_identity_adst_8x8_c
Line
Count
Source
127
5.26k
                                               HIGHBD_DECL_SUFFIX) \
128
5.26k
{ \
129
5.26k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.26k
                   HIGHBD_TAIL_SUFFIX); \
131
5.26k
}
itx_tmpl.c:inv_txfm_add_dct_dct_8x16_c
Line
Count
Source
127
34.0k
                                               HIGHBD_DECL_SUFFIX) \
128
34.0k
{ \
129
34.0k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
34.0k
                   HIGHBD_TAIL_SUFFIX); \
131
34.0k
}
itx_tmpl.c:inv_txfm_add_identity_identity_8x16_c
Line
Count
Source
127
8.04k
                                               HIGHBD_DECL_SUFFIX) \
128
8.04k
{ \
129
8.04k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
8.04k
                   HIGHBD_TAIL_SUFFIX); \
131
8.04k
}
itx_tmpl.c:inv_txfm_add_adst_dct_8x16_c
Line
Count
Source
127
15.6k
                                               HIGHBD_DECL_SUFFIX) \
128
15.6k
{ \
129
15.6k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
15.6k
                   HIGHBD_TAIL_SUFFIX); \
131
15.6k
}
itx_tmpl.c:inv_txfm_add_dct_adst_8x16_c
Line
Count
Source
127
12.8k
                                               HIGHBD_DECL_SUFFIX) \
128
12.8k
{ \
129
12.8k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
12.8k
                   HIGHBD_TAIL_SUFFIX); \
131
12.8k
}
itx_tmpl.c:inv_txfm_add_adst_adst_8x16_c
Line
Count
Source
127
15.1k
                                               HIGHBD_DECL_SUFFIX) \
128
15.1k
{ \
129
15.1k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
15.1k
                   HIGHBD_TAIL_SUFFIX); \
131
15.1k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_8x16_c
Line
Count
Source
127
3.17k
                                               HIGHBD_DECL_SUFFIX) \
128
3.17k
{ \
129
3.17k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.17k
                   HIGHBD_TAIL_SUFFIX); \
131
3.17k
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_8x16_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_flipadst_dct_8x16_c
Line
Count
Source
127
4.69k
                                               HIGHBD_DECL_SUFFIX) \
128
4.69k
{ \
129
4.69k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.69k
                   HIGHBD_TAIL_SUFFIX); \
131
4.69k
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_8x16_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_flipadst_8x16_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_dct_identity_8x16_c
Line
Count
Source
127
5.89k
                                               HIGHBD_DECL_SUFFIX) \
128
5.89k
{ \
129
5.89k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.89k
                   HIGHBD_TAIL_SUFFIX); \
131
5.89k
}
itx_tmpl.c:inv_txfm_add_identity_dct_8x16_c
Line
Count
Source
127
3.29k
                                               HIGHBD_DECL_SUFFIX) \
128
3.29k
{ \
129
3.29k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.29k
                   HIGHBD_TAIL_SUFFIX); \
131
3.29k
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_8x16_c
Line
Count
Source
127
3.47k
                                               HIGHBD_DECL_SUFFIX) \
128
3.47k
{ \
129
3.47k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.47k
                   HIGHBD_TAIL_SUFFIX); \
131
3.47k
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_8x16_c
Line
Count
Source
127
2.18k
                                               HIGHBD_DECL_SUFFIX) \
128
2.18k
{ \
129
2.18k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.18k
                   HIGHBD_TAIL_SUFFIX); \
131
2.18k
}
itx_tmpl.c:inv_txfm_add_adst_identity_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_identity_adst_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_dct_dct_8x32_c
Line
Count
Source
127
27.1k
                                               HIGHBD_DECL_SUFFIX) \
128
27.1k
{ \
129
27.1k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
27.1k
                   HIGHBD_TAIL_SUFFIX); \
131
27.1k
}
itx_tmpl.c:inv_txfm_add_identity_identity_8x32_c
Line
Count
Source
127
2.18k
                                               HIGHBD_DECL_SUFFIX) \
128
2.18k
{ \
129
2.18k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.18k
                   HIGHBD_TAIL_SUFFIX); \
131
2.18k
}
itx_tmpl.c:inv_txfm_add_dct_dct_16x4_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_identity_identity_16x4_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_adst_dct_16x4_c
Line
Count
Source
127
9.93k
                                               HIGHBD_DECL_SUFFIX) \
128
9.93k
{ \
129
9.93k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
9.93k
                   HIGHBD_TAIL_SUFFIX); \
131
9.93k
}
itx_tmpl.c:inv_txfm_add_dct_adst_16x4_c
Line
Count
Source
127
8.40k
                                               HIGHBD_DECL_SUFFIX) \
128
8.40k
{ \
129
8.40k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
8.40k
                   HIGHBD_TAIL_SUFFIX); \
131
8.40k
}
itx_tmpl.c:inv_txfm_add_adst_adst_16x4_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_flipadst_adst_16x4_c
Line
Count
Source
127
2.43k
                                               HIGHBD_DECL_SUFFIX) \
128
2.43k
{ \
129
2.43k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.43k
                   HIGHBD_TAIL_SUFFIX); \
131
2.43k
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_16x4_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_flipadst_dct_16x4_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_dct_flipadst_16x4_c
Line
Count
Source
127
2.18k
                                               HIGHBD_DECL_SUFFIX) \
128
2.18k
{ \
129
2.18k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.18k
                   HIGHBD_TAIL_SUFFIX); \
131
2.18k
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_16x4_c
Line
Count
Source
127
1.69k
                                               HIGHBD_DECL_SUFFIX) \
128
1.69k
{ \
129
1.69k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.69k
                   HIGHBD_TAIL_SUFFIX); \
131
1.69k
}
itx_tmpl.c:inv_txfm_add_dct_identity_16x4_c
Line
Count
Source
127
5.05k
                                               HIGHBD_DECL_SUFFIX) \
128
5.05k
{ \
129
5.05k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.05k
                   HIGHBD_TAIL_SUFFIX); \
131
5.05k
}
itx_tmpl.c:inv_txfm_add_identity_dct_16x4_c
Line
Count
Source
127
3.08k
                                               HIGHBD_DECL_SUFFIX) \
128
3.08k
{ \
129
3.08k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.08k
                   HIGHBD_TAIL_SUFFIX); \
131
3.08k
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_16x4_c
Line
Count
Source
127
3.23k
                                               HIGHBD_DECL_SUFFIX) \
128
3.23k
{ \
129
3.23k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.23k
                   HIGHBD_TAIL_SUFFIX); \
131
3.23k
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_16x4_c
Line
Count
Source
127
2.21k
                                               HIGHBD_DECL_SUFFIX) \
128
2.21k
{ \
129
2.21k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.21k
                   HIGHBD_TAIL_SUFFIX); \
131
2.21k
}
itx_tmpl.c:inv_txfm_add_adst_identity_16x4_c
Line
Count
Source
127
4.28k
                                               HIGHBD_DECL_SUFFIX) \
128
4.28k
{ \
129
4.28k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.28k
                   HIGHBD_TAIL_SUFFIX); \
131
4.28k
}
itx_tmpl.c:inv_txfm_add_identity_adst_16x4_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_dct_dct_16x8_c
Line
Count
Source
127
44.7k
                                               HIGHBD_DECL_SUFFIX) \
128
44.7k
{ \
129
44.7k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
44.7k
                   HIGHBD_TAIL_SUFFIX); \
131
44.7k
}
itx_tmpl.c:inv_txfm_add_identity_identity_16x8_c
Line
Count
Source
127
9.09k
                                               HIGHBD_DECL_SUFFIX) \
128
9.09k
{ \
129
9.09k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
9.09k
                   HIGHBD_TAIL_SUFFIX); \
131
9.09k
}
itx_tmpl.c:inv_txfm_add_adst_dct_16x8_c
Line
Count
Source
127
20.0k
                                               HIGHBD_DECL_SUFFIX) \
128
20.0k
{ \
129
20.0k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
20.0k
                   HIGHBD_TAIL_SUFFIX); \
131
20.0k
}
itx_tmpl.c:inv_txfm_add_dct_adst_16x8_c
Line
Count
Source
127
15.5k
                                               HIGHBD_DECL_SUFFIX) \
128
15.5k
{ \
129
15.5k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
15.5k
                   HIGHBD_TAIL_SUFFIX); \
131
15.5k
}
itx_tmpl.c:inv_txfm_add_adst_adst_16x8_c
Line
Count
Source
127
18.9k
                                               HIGHBD_DECL_SUFFIX) \
128
18.9k
{ \
129
18.9k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
18.9k
                   HIGHBD_TAIL_SUFFIX); \
131
18.9k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_16x8_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_adst_flipadst_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_flipadst_dct_16x8_c
Line
Count
Source
127
4.79k
                                               HIGHBD_DECL_SUFFIX) \
128
4.79k
{ \
129
4.79k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.79k
                   HIGHBD_TAIL_SUFFIX); \
131
4.79k
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_16x8_c
Line
Count
Source
127
4.16k
                                               HIGHBD_DECL_SUFFIX) \
128
4.16k
{ \
129
4.16k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.16k
                   HIGHBD_TAIL_SUFFIX); \
131
4.16k
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_16x8_c
Line
Count
Source
127
3.67k
                                               HIGHBD_DECL_SUFFIX) \
128
3.67k
{ \
129
3.67k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.67k
                   HIGHBD_TAIL_SUFFIX); \
131
3.67k
}
itx_tmpl.c:inv_txfm_add_dct_identity_16x8_c
Line
Count
Source
127
7.25k
                                               HIGHBD_DECL_SUFFIX) \
128
7.25k
{ \
129
7.25k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
7.25k
                   HIGHBD_TAIL_SUFFIX); \
131
7.25k
}
itx_tmpl.c:inv_txfm_add_identity_dct_16x8_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_flipadst_identity_16x8_c
Line
Count
Source
127
3.97k
                                               HIGHBD_DECL_SUFFIX) \
128
3.97k
{ \
129
3.97k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.97k
                   HIGHBD_TAIL_SUFFIX); \
131
3.97k
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_16x8_c
Line
Count
Source
127
2.62k
                                               HIGHBD_DECL_SUFFIX) \
128
2.62k
{ \
129
2.62k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.62k
                   HIGHBD_TAIL_SUFFIX); \
131
2.62k
}
itx_tmpl.c:inv_txfm_add_adst_identity_16x8_c
Line
Count
Source
127
4.78k
                                               HIGHBD_DECL_SUFFIX) \
128
4.78k
{ \
129
4.78k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.78k
                   HIGHBD_TAIL_SUFFIX); \
131
4.78k
}
itx_tmpl.c:inv_txfm_add_identity_adst_16x8_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_dct_dct_16x16_c
Line
Count
Source
127
76.9k
                                               HIGHBD_DECL_SUFFIX) \
128
76.9k
{ \
129
76.9k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
76.9k
                   HIGHBD_TAIL_SUFFIX); \
131
76.9k
}
itx_tmpl.c:inv_txfm_add_identity_identity_16x16_c
Line
Count
Source
127
8.49k
                                               HIGHBD_DECL_SUFFIX) \
128
8.49k
{ \
129
8.49k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
8.49k
                   HIGHBD_TAIL_SUFFIX); \
131
8.49k
}
itx_tmpl.c:inv_txfm_add_adst_dct_16x16_c
Line
Count
Source
127
48.5k
                                               HIGHBD_DECL_SUFFIX) \
128
48.5k
{ \
129
48.5k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
48.5k
                   HIGHBD_TAIL_SUFFIX); \
131
48.5k
}
itx_tmpl.c:inv_txfm_add_dct_adst_16x16_c
Line
Count
Source
127
40.6k
                                               HIGHBD_DECL_SUFFIX) \
128
40.6k
{ \
129
40.6k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
40.6k
                   HIGHBD_TAIL_SUFFIX); \
131
40.6k
}
itx_tmpl.c:inv_txfm_add_adst_adst_16x16_c
Line
Count
Source
127
47.2k
                                               HIGHBD_DECL_SUFFIX) \
128
47.2k
{ \
129
47.2k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
47.2k
                   HIGHBD_TAIL_SUFFIX); \
131
47.2k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_16x16_c
Line
Count
Source
127
3.94k
                                               HIGHBD_DECL_SUFFIX) \
128
3.94k
{ \
129
3.94k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.94k
                   HIGHBD_TAIL_SUFFIX); \
131
3.94k
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_16x16_c
Line
Count
Source
127
5.39k
                                               HIGHBD_DECL_SUFFIX) \
128
5.39k
{ \
129
5.39k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.39k
                   HIGHBD_TAIL_SUFFIX); \
131
5.39k
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_16x16_c
Line
Count
Source
127
5.15k
                                               HIGHBD_DECL_SUFFIX) \
128
5.15k
{ \
129
5.15k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.15k
                   HIGHBD_TAIL_SUFFIX); \
131
5.15k
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_16x16_c
Line
Count
Source
127
5.19k
                                               HIGHBD_DECL_SUFFIX) \
128
5.19k
{ \
129
5.19k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.19k
                   HIGHBD_TAIL_SUFFIX); \
131
5.19k
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_16x16_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_dct_identity_16x16_c
Line
Count
Source
127
5.59k
                                               HIGHBD_DECL_SUFFIX) \
128
5.59k
{ \
129
5.59k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.59k
                   HIGHBD_TAIL_SUFFIX); \
131
5.59k
}
itx_tmpl.c:inv_txfm_add_identity_dct_16x16_c
Line
Count
Source
127
3.56k
                                               HIGHBD_DECL_SUFFIX) \
128
3.56k
{ \
129
3.56k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.56k
                   HIGHBD_TAIL_SUFFIX); \
131
3.56k
}
itx_tmpl.c:inv_txfm_add_dct_dct_16x32_c
Line
Count
Source
127
75.0k
                                               HIGHBD_DECL_SUFFIX) \
128
75.0k
{ \
129
75.0k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
75.0k
                   HIGHBD_TAIL_SUFFIX); \
131
75.0k
}
itx_tmpl.c:inv_txfm_add_identity_identity_16x32_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_dct_dct_16x64_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_32x8_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_identity_identity_32x8_c
Line
Count
Source
127
2.57k
                                               HIGHBD_DECL_SUFFIX) \
128
2.57k
{ \
129
2.57k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.57k
                   HIGHBD_TAIL_SUFFIX); \
131
2.57k
}
itx_tmpl.c:inv_txfm_add_dct_dct_32x16_c
Line
Count
Source
127
54.2k
                                               HIGHBD_DECL_SUFFIX) \
128
54.2k
{ \
129
54.2k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
54.2k
                   HIGHBD_TAIL_SUFFIX); \
131
54.2k
}
itx_tmpl.c:inv_txfm_add_identity_identity_32x16_c
Line
Count
Source
127
1.83k
                                               HIGHBD_DECL_SUFFIX) \
128
1.83k
{ \
129
1.83k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.83k
                   HIGHBD_TAIL_SUFFIX); \
131
1.83k
}
itx_tmpl.c:inv_txfm_add_dct_dct_32x32_c
Line
Count
Source
127
424k
                                               HIGHBD_DECL_SUFFIX) \
128
424k
{ \
129
424k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
424k
                   HIGHBD_TAIL_SUFFIX); \
131
424k
}
itx_tmpl.c:inv_txfm_add_identity_identity_32x32_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_32x64_c
Line
Count
Source
127
99.6k
                                               HIGHBD_DECL_SUFFIX) \
128
99.6k
{ \
129
99.6k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
99.6k
                   HIGHBD_TAIL_SUFFIX); \
131
99.6k
}
itx_tmpl.c:inv_txfm_add_dct_dct_64x16_c
Line
Count
Source
127
5.90k
                                               HIGHBD_DECL_SUFFIX) \
128
5.90k
{ \
129
5.90k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.90k
                   HIGHBD_TAIL_SUFFIX); \
131
5.90k
}
itx_tmpl.c:inv_txfm_add_dct_dct_64x32_c
Line
Count
Source
127
23.2k
                                               HIGHBD_DECL_SUFFIX) \
128
23.2k
{ \
129
23.2k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
23.2k
                   HIGHBD_TAIL_SUFFIX); \
131
23.2k
}
itx_tmpl.c:inv_txfm_add_dct_dct_64x64_c
Line
Count
Source
127
106k
                                               HIGHBD_DECL_SUFFIX) \
128
106k
{ \
129
106k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
106k
                   HIGHBD_TAIL_SUFFIX); \
131
106k
}
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
299k
{
188
299k
    int32_t tmp[4 * 4], *c = tmp;
189
1.49M
    for (int y = 0; y < 4; y++, c += 4) {
190
5.98M
        for (int x = 0; x < 4; x++)
191
4.79M
            c[x] = coeff[y + x * 4] >> 2;
192
1.19M
        dav1d_inv_wht4_1d_c(c, 1);
193
1.19M
    }
194
299k
    memset(coeff, 0, sizeof(*coeff) * 4 * 4);
195
196
1.49M
    for (int x = 0; x < 4; x++)
197
1.19M
        dav1d_inv_wht4_1d_c(&tmp[x], 4);
198
199
299k
    c = tmp;
200
1.49M
    for (int y = 0; y < 4; y++, dst += PXSTRIDE(stride))
201
5.98M
        for (int x = 0; x < 4; x++)
202
4.79M
            dst[x] = iclip_pixel(dst[x] + *c++);
203
299k
}
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
103k
COLD void bitfn(dav1d_itx_dsp_init)(Dav1dInvTxfmDSPContext *const c, int bpc) {
221
103k
#define assign_itx_all_fn64(w, h, pfx) \
222
1.96M
    c->itxfm_add[pfx##TX_##w##X##h][DCT_DCT  ] = \
223
1.96M
        inv_txfm_add_dct_dct_##w##x##h##_c
224
225
103k
#define assign_itx_all_fn32(w, h, pfx) \
226
1.44M
    assign_itx_all_fn64(w, h, pfx); \
227
1.44M
    c->itxfm_add[pfx##TX_##w##X##h][IDTX] = \
228
1.44M
        inv_txfm_add_identity_identity_##w##x##h##_c
229
230
103k
#define assign_itx_all_fn16(w, h, pfx) \
231
931k
    assign_itx_all_fn32(w, h, pfx); \
232
931k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_ADST ] = \
233
931k
        inv_txfm_add_adst_dct_##w##x##h##_c; \
234
931k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_DCT ] = \
235
931k
        inv_txfm_add_dct_adst_##w##x##h##_c; \
236
931k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_ADST] = \
237
931k
        inv_txfm_add_adst_adst_##w##x##h##_c; \
238
931k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_FLIPADST] = \
239
931k
        inv_txfm_add_flipadst_adst_##w##x##h##_c; \
240
931k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_ADST] = \
241
931k
        inv_txfm_add_adst_flipadst_##w##x##h##_c; \
242
931k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_FLIPADST] = \
243
931k
        inv_txfm_add_flipadst_dct_##w##x##h##_c; \
244
931k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_DCT] = \
245
931k
        inv_txfm_add_dct_flipadst_##w##x##h##_c; \
246
931k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_FLIPADST] = \
247
931k
        inv_txfm_add_flipadst_flipadst_##w##x##h##_c; \
248
931k
    c->itxfm_add[pfx##TX_##w##X##h][H_DCT] = \
249
931k
        inv_txfm_add_dct_identity_##w##x##h##_c; \
250
931k
    c->itxfm_add[pfx##TX_##w##X##h][V_DCT] = \
251
931k
        inv_txfm_add_identity_dct_##w##x##h##_c
252
253
103k
#define assign_itx_all_fn84(w, h, pfx) \
254
827k
    assign_itx_all_fn16(w, h, pfx); \
255
827k
    c->itxfm_add[pfx##TX_##w##X##h][H_FLIPADST] = \
256
827k
        inv_txfm_add_flipadst_identity_##w##x##h##_c; \
257
827k
    c->itxfm_add[pfx##TX_##w##X##h][V_FLIPADST] = \
258
827k
        inv_txfm_add_identity_flipadst_##w##x##h##_c; \
259
827k
    c->itxfm_add[pfx##TX_##w##X##h][H_ADST] = \
260
827k
        inv_txfm_add_adst_identity_##w##x##h##_c; \
261
827k
    c->itxfm_add[pfx##TX_##w##X##h][V_ADST] = \
262
827k
        inv_txfm_add_identity_adst_##w##x##h##_c; \
263
103k
264
103k
#if !(HAVE_ASM && TRIM_DSP_FUNCTIONS && ( \
265
103k
  ARCH_AARCH64 || \
266
103k
  (ARCH_ARM && (defined(__ARM_NEON) || defined(__APPLE__) || defined(_WIN32))) \
267
103k
))
268
103k
    c->itxfm_add[TX_4X4][WHT_WHT] = inv_txfm_add_wht_wht_4x4_c;
269
103k
#endif
270
103k
    assign_itx_all_fn84( 4,  4, );
271
103k
    assign_itx_all_fn84( 4,  8, R);
272
103k
    assign_itx_all_fn84( 4, 16, R);
273
103k
    assign_itx_all_fn84( 8,  4, R);
274
103k
    assign_itx_all_fn84( 8,  8, );
275
103k
    assign_itx_all_fn84( 8, 16, R);
276
103k
    assign_itx_all_fn32( 8, 32, R);
277
103k
    assign_itx_all_fn84(16,  4, R);
278
103k
    assign_itx_all_fn84(16,  8, R);
279
103k
    assign_itx_all_fn16(16, 16, );
280
103k
    assign_itx_all_fn32(16, 32, R);
281
103k
    assign_itx_all_fn64(16, 64, R);
282
103k
    assign_itx_all_fn32(32,  8, R);
283
103k
    assign_itx_all_fn32(32, 16, R);
284
103k
    assign_itx_all_fn32(32, 32, );
285
103k
    assign_itx_all_fn64(32, 64, R);
286
103k
    assign_itx_all_fn64(64, 16, R);
287
103k
    assign_itx_all_fn64(64, 32, R);
288
103k
    assign_itx_all_fn64(64, 64, );
289
290
103k
    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
103k
    if (!all_simd)
310
103k
        dav1d_init_last_nonzero_col_from_eob_tables();
311
103k
}
dav1d_itx_dsp_init_8bpc
Line
Count
Source
220
47.1k
COLD void bitfn(dav1d_itx_dsp_init)(Dav1dInvTxfmDSPContext *const c, int bpc) {
221
47.1k
#define assign_itx_all_fn64(w, h, pfx) \
222
47.1k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_DCT  ] = \
223
47.1k
        inv_txfm_add_dct_dct_##w##x##h##_c
224
225
47.1k
#define assign_itx_all_fn32(w, h, pfx) \
226
47.1k
    assign_itx_all_fn64(w, h, pfx); \
227
47.1k
    c->itxfm_add[pfx##TX_##w##X##h][IDTX] = \
228
47.1k
        inv_txfm_add_identity_identity_##w##x##h##_c
229
230
47.1k
#define assign_itx_all_fn16(w, h, pfx) \
231
47.1k
    assign_itx_all_fn32(w, h, pfx); \
232
47.1k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_ADST ] = \
233
47.1k
        inv_txfm_add_adst_dct_##w##x##h##_c; \
234
47.1k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_DCT ] = \
235
47.1k
        inv_txfm_add_dct_adst_##w##x##h##_c; \
236
47.1k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_ADST] = \
237
47.1k
        inv_txfm_add_adst_adst_##w##x##h##_c; \
238
47.1k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_FLIPADST] = \
239
47.1k
        inv_txfm_add_flipadst_adst_##w##x##h##_c; \
240
47.1k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_ADST] = \
241
47.1k
        inv_txfm_add_adst_flipadst_##w##x##h##_c; \
242
47.1k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_FLIPADST] = \
243
47.1k
        inv_txfm_add_flipadst_dct_##w##x##h##_c; \
244
47.1k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_DCT] = \
245
47.1k
        inv_txfm_add_dct_flipadst_##w##x##h##_c; \
246
47.1k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_FLIPADST] = \
247
47.1k
        inv_txfm_add_flipadst_flipadst_##w##x##h##_c; \
248
47.1k
    c->itxfm_add[pfx##TX_##w##X##h][H_DCT] = \
249
47.1k
        inv_txfm_add_dct_identity_##w##x##h##_c; \
250
47.1k
    c->itxfm_add[pfx##TX_##w##X##h][V_DCT] = \
251
47.1k
        inv_txfm_add_identity_dct_##w##x##h##_c
252
253
47.1k
#define assign_itx_all_fn84(w, h, pfx) \
254
47.1k
    assign_itx_all_fn16(w, h, pfx); \
255
47.1k
    c->itxfm_add[pfx##TX_##w##X##h][H_FLIPADST] = \
256
47.1k
        inv_txfm_add_flipadst_identity_##w##x##h##_c; \
257
47.1k
    c->itxfm_add[pfx##TX_##w##X##h][V_FLIPADST] = \
258
47.1k
        inv_txfm_add_identity_flipadst_##w##x##h##_c; \
259
47.1k
    c->itxfm_add[pfx##TX_##w##X##h][H_ADST] = \
260
47.1k
        inv_txfm_add_adst_identity_##w##x##h##_c; \
261
47.1k
    c->itxfm_add[pfx##TX_##w##X##h][V_ADST] = \
262
47.1k
        inv_txfm_add_identity_adst_##w##x##h##_c; \
263
47.1k
264
47.1k
#if !(HAVE_ASM && TRIM_DSP_FUNCTIONS && ( \
265
47.1k
  ARCH_AARCH64 || \
266
47.1k
  (ARCH_ARM && (defined(__ARM_NEON) || defined(__APPLE__) || defined(_WIN32))) \
267
47.1k
))
268
47.1k
    c->itxfm_add[TX_4X4][WHT_WHT] = inv_txfm_add_wht_wht_4x4_c;
269
47.1k
#endif
270
47.1k
    assign_itx_all_fn84( 4,  4, );
271
47.1k
    assign_itx_all_fn84( 4,  8, R);
272
47.1k
    assign_itx_all_fn84( 4, 16, R);
273
47.1k
    assign_itx_all_fn84( 8,  4, R);
274
47.1k
    assign_itx_all_fn84( 8,  8, );
275
47.1k
    assign_itx_all_fn84( 8, 16, R);
276
47.1k
    assign_itx_all_fn32( 8, 32, R);
277
47.1k
    assign_itx_all_fn84(16,  4, R);
278
47.1k
    assign_itx_all_fn84(16,  8, R);
279
47.1k
    assign_itx_all_fn16(16, 16, );
280
47.1k
    assign_itx_all_fn32(16, 32, R);
281
47.1k
    assign_itx_all_fn64(16, 64, R);
282
47.1k
    assign_itx_all_fn32(32,  8, R);
283
47.1k
    assign_itx_all_fn32(32, 16, R);
284
47.1k
    assign_itx_all_fn32(32, 32, );
285
47.1k
    assign_itx_all_fn64(32, 64, R);
286
47.1k
    assign_itx_all_fn64(64, 16, R);
287
47.1k
    assign_itx_all_fn64(64, 32, R);
288
47.1k
    assign_itx_all_fn64(64, 64, );
289
290
47.1k
    int all_simd = 0;
291
#if HAVE_ASM
292
#if ARCH_AARCH64 || ARCH_ARM
293
    itx_dsp_init_arm(c, bpc, &all_simd);
294
#endif
295
#if ARCH_LOONGARCH64
296
    itx_dsp_init_loongarch(c, bpc);
297
#endif
298
#if ARCH_PPC64LE
299
    itx_dsp_init_ppc(c, bpc);
300
#endif
301
#if ARCH_RISCV
302
    itx_dsp_init_riscv(c, bpc);
303
#endif
304
#if ARCH_X86
305
    itx_dsp_init_x86(c, bpc, &all_simd);
306
#endif
307
#endif
308
309
47.1k
    if (!all_simd)
310
47.1k
        dav1d_init_last_nonzero_col_from_eob_tables();
311
47.1k
}
dav1d_itx_dsp_init_16bpc
Line
Count
Source
220
56.3k
COLD void bitfn(dav1d_itx_dsp_init)(Dav1dInvTxfmDSPContext *const c, int bpc) {
221
56.3k
#define assign_itx_all_fn64(w, h, pfx) \
222
56.3k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_DCT  ] = \
223
56.3k
        inv_txfm_add_dct_dct_##w##x##h##_c
224
225
56.3k
#define assign_itx_all_fn32(w, h, pfx) \
226
56.3k
    assign_itx_all_fn64(w, h, pfx); \
227
56.3k
    c->itxfm_add[pfx##TX_##w##X##h][IDTX] = \
228
56.3k
        inv_txfm_add_identity_identity_##w##x##h##_c
229
230
56.3k
#define assign_itx_all_fn16(w, h, pfx) \
231
56.3k
    assign_itx_all_fn32(w, h, pfx); \
232
56.3k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_ADST ] = \
233
56.3k
        inv_txfm_add_adst_dct_##w##x##h##_c; \
234
56.3k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_DCT ] = \
235
56.3k
        inv_txfm_add_dct_adst_##w##x##h##_c; \
236
56.3k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_ADST] = \
237
56.3k
        inv_txfm_add_adst_adst_##w##x##h##_c; \
238
56.3k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_FLIPADST] = \
239
56.3k
        inv_txfm_add_flipadst_adst_##w##x##h##_c; \
240
56.3k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_ADST] = \
241
56.3k
        inv_txfm_add_adst_flipadst_##w##x##h##_c; \
242
56.3k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_FLIPADST] = \
243
56.3k
        inv_txfm_add_flipadst_dct_##w##x##h##_c; \
244
56.3k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_DCT] = \
245
56.3k
        inv_txfm_add_dct_flipadst_##w##x##h##_c; \
246
56.3k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_FLIPADST] = \
247
56.3k
        inv_txfm_add_flipadst_flipadst_##w##x##h##_c; \
248
56.3k
    c->itxfm_add[pfx##TX_##w##X##h][H_DCT] = \
249
56.3k
        inv_txfm_add_dct_identity_##w##x##h##_c; \
250
56.3k
    c->itxfm_add[pfx##TX_##w##X##h][V_DCT] = \
251
56.3k
        inv_txfm_add_identity_dct_##w##x##h##_c
252
253
56.3k
#define assign_itx_all_fn84(w, h, pfx) \
254
56.3k
    assign_itx_all_fn16(w, h, pfx); \
255
56.3k
    c->itxfm_add[pfx##TX_##w##X##h][H_FLIPADST] = \
256
56.3k
        inv_txfm_add_flipadst_identity_##w##x##h##_c; \
257
56.3k
    c->itxfm_add[pfx##TX_##w##X##h][V_FLIPADST] = \
258
56.3k
        inv_txfm_add_identity_flipadst_##w##x##h##_c; \
259
56.3k
    c->itxfm_add[pfx##TX_##w##X##h][H_ADST] = \
260
56.3k
        inv_txfm_add_adst_identity_##w##x##h##_c; \
261
56.3k
    c->itxfm_add[pfx##TX_##w##X##h][V_ADST] = \
262
56.3k
        inv_txfm_add_identity_adst_##w##x##h##_c; \
263
56.3k
264
56.3k
#if !(HAVE_ASM && TRIM_DSP_FUNCTIONS && ( \
265
56.3k
  ARCH_AARCH64 || \
266
56.3k
  (ARCH_ARM && (defined(__ARM_NEON) || defined(__APPLE__) || defined(_WIN32))) \
267
56.3k
))
268
56.3k
    c->itxfm_add[TX_4X4][WHT_WHT] = inv_txfm_add_wht_wht_4x4_c;
269
56.3k
#endif
270
56.3k
    assign_itx_all_fn84( 4,  4, );
271
56.3k
    assign_itx_all_fn84( 4,  8, R);
272
56.3k
    assign_itx_all_fn84( 4, 16, R);
273
56.3k
    assign_itx_all_fn84( 8,  4, R);
274
56.3k
    assign_itx_all_fn84( 8,  8, );
275
56.3k
    assign_itx_all_fn84( 8, 16, R);
276
56.3k
    assign_itx_all_fn32( 8, 32, R);
277
56.3k
    assign_itx_all_fn84(16,  4, R);
278
56.3k
    assign_itx_all_fn84(16,  8, R);
279
56.3k
    assign_itx_all_fn16(16, 16, );
280
56.3k
    assign_itx_all_fn32(16, 32, R);
281
56.3k
    assign_itx_all_fn64(16, 64, R);
282
56.3k
    assign_itx_all_fn32(32,  8, R);
283
56.3k
    assign_itx_all_fn32(32, 16, R);
284
56.3k
    assign_itx_all_fn32(32, 32, );
285
56.3k
    assign_itx_all_fn64(32, 64, R);
286
56.3k
    assign_itx_all_fn64(64, 16, R);
287
56.3k
    assign_itx_all_fn64(64, 32, R);
288
56.3k
    assign_itx_all_fn64(64, 64, );
289
290
56.3k
    int all_simd = 0;
291
#if HAVE_ASM
292
#if ARCH_AARCH64 || ARCH_ARM
293
    itx_dsp_init_arm(c, bpc, &all_simd);
294
#endif
295
#if ARCH_LOONGARCH64
296
    itx_dsp_init_loongarch(c, bpc);
297
#endif
298
#if ARCH_PPC64LE
299
    itx_dsp_init_ppc(c, bpc);
300
#endif
301
#if ARCH_RISCV
302
    itx_dsp_init_riscv(c, bpc);
303
#endif
304
#if ARCH_X86
305
    itx_dsp_init_x86(c, bpc, &all_simd);
306
#endif
307
#endif
308
309
56.3k
    if (!all_simd)
310
56.3k
        dav1d_init_last_nonzero_col_from_eob_tables();
311
56.3k
}