Coverage Report

Created: 2026-07-25 07:06

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/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
7.29M
{
48
7.29M
    const TxfmInfo *const t_dim = &dav1d_txfm_dimensions[tx];
49
7.29M
    const int w = 4 * t_dim->w, h = 4 * t_dim->h;
50
7.29M
    const int has_dconly = txtp == DCT_DCT;
51
7.29M
    assert(w >= 4 && w <= 64);
52
7.29M
    assert(h >= 4 && h <= 64);
53
7.29M
    assert(eob >= 0);
54
55
7.29M
    const int is_rect2 = w * 2 == h || h * 2 == w;
56
7.29M
    const int rnd = (1 << shift) >> 1;
57
58
7.29M
    if (eob < has_dconly) {
59
942k
        int dc = coeff[0];
60
942k
        coeff[0] = 0;
61
942k
        if (is_rect2)
62
272k
            dc = (dc * 181 + 128) >> 8;
63
942k
        dc = (dc * 181 + 128) >> 8;
64
942k
        dc = (dc + rnd) >> shift;
65
942k
        dc = (dc * 181 + 128 + 2048) >> 12;
66
21.7M
        for (int y = 0; y < h; y++, dst += PXSTRIDE(stride))
67
742M
            for (int x = 0; x < w; x++)
68
721M
                dst[x] = iclip_pixel(dst[x] + dc);
69
942k
        return;
70
942k
    }
71
72
6.34M
    const uint8_t *const txtps = dav1d_tx1d_types[txtp];
73
6.34M
    const itx_1d_fn first_1d_fn = dav1d_tx1d_fns[t_dim->lw][txtps[0]];
74
6.34M
    const itx_1d_fn second_1d_fn = dav1d_tx1d_fns[t_dim->lh][txtps[1]];
75
6.34M
    const int sh = imin(h, 32), sw = imin(w, 32);
76
6.34M
#if BITDEPTH == 8
77
6.34M
    const int row_clip_min = INT16_MIN;
78
6.34M
    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
6.34M
    const int row_clip_max = ~row_clip_min;
84
6.34M
    const int col_clip_max = ~col_clip_min;
85
86
6.34M
    int32_t tmp[64 * 64], *c = tmp;
87
6.34M
    int last_nonzero_col; // in first 1d itx
88
6.34M
    if (txtps[1] == IDENTITY && txtps[0] != IDENTITY) {
89
326k
        last_nonzero_col = imin(sh - 1, eob);
90
6.02M
    } else if (txtps[0] == IDENTITY && txtps[1] != IDENTITY) {
91
185k
        last_nonzero_col = eob >> (t_dim->lw + 2);
92
5.83M
    } else {
93
5.83M
        last_nonzero_col = dav1d_last_nonzero_col_from_eob[tx][eob];
94
5.83M
    }
95
6.34M
    assert(last_nonzero_col < sh);
96
38.9M
    for (int y = 0; y <= last_nonzero_col; y++, c += w) {
97
32.6M
        if (is_rect2)
98
138M
            for (int x = 0; x < sw; x++)
99
128M
                c[x] = (coeff[y + x * sh] * 181 + 128) >> 8;
100
22.6M
        else
101
310M
            for (int x = 0; x < sw; x++)
102
287M
                c[x] = coeff[y + x * sh];
103
32.6M
        first_1d_fn(c, 1, row_clip_min, row_clip_max);
104
32.6M
    }
105
6.34M
    if (last_nonzero_col + 1 < sh)
106
4.28M
        memset(c, 0, sizeof(*c) * (sh - last_nonzero_col - 1) * w);
107
108
6.34M
    memset(coeff, 0, sizeof(*coeff) * sw * sh);
109
1.01G
    for (int i = 0; i < w * sh; i++)
110
1.01G
        tmp[i] = iclip((tmp[i] + rnd) >> shift, col_clip_min, col_clip_max);
111
112
79.4M
    for (int x = 0; x < w; x++)
113
73.0M
        second_1d_fn(&tmp[x], w, col_clip_min, col_clip_max);
114
115
6.34M
    c = tmp;
116
74.5M
    for (int y = 0; y < h; y++, dst += PXSTRIDE(stride))
117
1.21G
        for (int x = 0; x < w; x++)
118
1.15G
            dst[x] = iclip_pixel(dst[x] + ((*c++ + 8) >> 4));
119
6.34M
}
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
7.29M
                                               HIGHBD_DECL_SUFFIX) \
128
7.29M
{ \
129
7.29M
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
7.29M
                   HIGHBD_TAIL_SUFFIX); \
131
7.29M
}
itx_tmpl.c:inv_txfm_add_dct_dct_4x4_c
Line
Count
Source
127
267k
                                               HIGHBD_DECL_SUFFIX) \
128
267k
{ \
129
267k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
267k
                   HIGHBD_TAIL_SUFFIX); \
131
267k
}
itx_tmpl.c:inv_txfm_add_identity_identity_4x4_c
Line
Count
Source
127
65.8k
                                               HIGHBD_DECL_SUFFIX) \
128
65.8k
{ \
129
65.8k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
65.8k
                   HIGHBD_TAIL_SUFFIX); \
131
65.8k
}
itx_tmpl.c:inv_txfm_add_adst_dct_4x4_c
Line
Count
Source
127
233k
                                               HIGHBD_DECL_SUFFIX) \
128
233k
{ \
129
233k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
233k
                   HIGHBD_TAIL_SUFFIX); \
131
233k
}
itx_tmpl.c:inv_txfm_add_dct_adst_4x4_c
Line
Count
Source
127
170k
                                               HIGHBD_DECL_SUFFIX) \
128
170k
{ \
129
170k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
170k
                   HIGHBD_TAIL_SUFFIX); \
131
170k
}
itx_tmpl.c:inv_txfm_add_adst_adst_4x4_c
Line
Count
Source
127
244k
                                               HIGHBD_DECL_SUFFIX) \
128
244k
{ \
129
244k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
244k
                   HIGHBD_TAIL_SUFFIX); \
131
244k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_4x4_c
Line
Count
Source
127
2.56k
                                               HIGHBD_DECL_SUFFIX) \
128
2.56k
{ \
129
2.56k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.56k
                   HIGHBD_TAIL_SUFFIX); \
131
2.56k
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_4x4_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_dct_4x4_c
Line
Count
Source
127
2.56k
                                               HIGHBD_DECL_SUFFIX) \
128
2.56k
{ \
129
2.56k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.56k
                   HIGHBD_TAIL_SUFFIX); \
131
2.56k
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_4x4_c
Line
Count
Source
127
2.42k
                                               HIGHBD_DECL_SUFFIX) \
128
2.42k
{ \
129
2.42k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.42k
                   HIGHBD_TAIL_SUFFIX); \
131
2.42k
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_4x4_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_4x4_c
Line
Count
Source
127
89.3k
                                               HIGHBD_DECL_SUFFIX) \
128
89.3k
{ \
129
89.3k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
89.3k
                   HIGHBD_TAIL_SUFFIX); \
131
89.3k
}
itx_tmpl.c:inv_txfm_add_identity_dct_4x4_c
Line
Count
Source
127
46.6k
                                               HIGHBD_DECL_SUFFIX) \
128
46.6k
{ \
129
46.6k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
46.6k
                   HIGHBD_TAIL_SUFFIX); \
131
46.6k
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_4x4_c
Line
Count
Source
127
3.04k
                                               HIGHBD_DECL_SUFFIX) \
128
3.04k
{ \
129
3.04k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.04k
                   HIGHBD_TAIL_SUFFIX); \
131
3.04k
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_4x4_c
Line
Count
Source
127
1.82k
                                               HIGHBD_DECL_SUFFIX) \
128
1.82k
{ \
129
1.82k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.82k
                   HIGHBD_TAIL_SUFFIX); \
131
1.82k
}
itx_tmpl.c:inv_txfm_add_adst_identity_4x4_c
Line
Count
Source
127
5.35k
                                               HIGHBD_DECL_SUFFIX) \
128
5.35k
{ \
129
5.35k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.35k
                   HIGHBD_TAIL_SUFFIX); \
131
5.35k
}
itx_tmpl.c:inv_txfm_add_identity_adst_4x4_c
Line
Count
Source
127
2.41k
                                               HIGHBD_DECL_SUFFIX) \
128
2.41k
{ \
129
2.41k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.41k
                   HIGHBD_TAIL_SUFFIX); \
131
2.41k
}
itx_tmpl.c:inv_txfm_add_dct_dct_4x8_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_4x8_c
Line
Count
Source
127
18.1k
                                               HIGHBD_DECL_SUFFIX) \
128
18.1k
{ \
129
18.1k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
18.1k
                   HIGHBD_TAIL_SUFFIX); \
131
18.1k
}
itx_tmpl.c:inv_txfm_add_adst_dct_4x8_c
Line
Count
Source
127
80.1k
                                               HIGHBD_DECL_SUFFIX) \
128
80.1k
{ \
129
80.1k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
80.1k
                   HIGHBD_TAIL_SUFFIX); \
131
80.1k
}
itx_tmpl.c:inv_txfm_add_dct_adst_4x8_c
Line
Count
Source
127
58.5k
                                               HIGHBD_DECL_SUFFIX) \
128
58.5k
{ \
129
58.5k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
58.5k
                   HIGHBD_TAIL_SUFFIX); \
131
58.5k
}
itx_tmpl.c:inv_txfm_add_adst_adst_4x8_c
Line
Count
Source
127
89.5k
                                               HIGHBD_DECL_SUFFIX) \
128
89.5k
{ \
129
89.5k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
89.5k
                   HIGHBD_TAIL_SUFFIX); \
131
89.5k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_4x8_c
Line
Count
Source
127
950
                                               HIGHBD_DECL_SUFFIX) \
128
950
{ \
129
950
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
950
                   HIGHBD_TAIL_SUFFIX); \
131
950
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_4x8_c
Line
Count
Source
127
1.12k
                                               HIGHBD_DECL_SUFFIX) \
128
1.12k
{ \
129
1.12k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.12k
                   HIGHBD_TAIL_SUFFIX); \
131
1.12k
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_4x8_c
Line
Count
Source
127
953
                                               HIGHBD_DECL_SUFFIX) \
128
953
{ \
129
953
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
953
                   HIGHBD_TAIL_SUFFIX); \
131
953
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_4x8_c
Line
Count
Source
127
1.04k
                                               HIGHBD_DECL_SUFFIX) \
128
1.04k
{ \
129
1.04k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.04k
                   HIGHBD_TAIL_SUFFIX); \
131
1.04k
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_4x8_c
Line
Count
Source
127
699
                                               HIGHBD_DECL_SUFFIX) \
128
699
{ \
129
699
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
699
                   HIGHBD_TAIL_SUFFIX); \
131
699
}
itx_tmpl.c:inv_txfm_add_dct_identity_4x8_c
Line
Count
Source
127
23.7k
                                               HIGHBD_DECL_SUFFIX) \
128
23.7k
{ \
129
23.7k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
23.7k
                   HIGHBD_TAIL_SUFFIX); \
131
23.7k
}
itx_tmpl.c:inv_txfm_add_identity_dct_4x8_c
Line
Count
Source
127
12.9k
                                               HIGHBD_DECL_SUFFIX) \
128
12.9k
{ \
129
12.9k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
12.9k
                   HIGHBD_TAIL_SUFFIX); \
131
12.9k
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_4x8_c
Line
Count
Source
127
1.35k
                                               HIGHBD_DECL_SUFFIX) \
128
1.35k
{ \
129
1.35k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.35k
                   HIGHBD_TAIL_SUFFIX); \
131
1.35k
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_4x8_c
Line
Count
Source
127
733
                                               HIGHBD_DECL_SUFFIX) \
128
733
{ \
129
733
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
733
                   HIGHBD_TAIL_SUFFIX); \
131
733
}
itx_tmpl.c:inv_txfm_add_adst_identity_4x8_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_identity_adst_4x8_c
Line
Count
Source
127
993
                                               HIGHBD_DECL_SUFFIX) \
128
993
{ \
129
993
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
993
                   HIGHBD_TAIL_SUFFIX); \
131
993
}
itx_tmpl.c:inv_txfm_add_dct_dct_4x16_c
Line
Count
Source
127
62.0k
                                               HIGHBD_DECL_SUFFIX) \
128
62.0k
{ \
129
62.0k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
62.0k
                   HIGHBD_TAIL_SUFFIX); \
131
62.0k
}
itx_tmpl.c:inv_txfm_add_identity_identity_4x16_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_adst_dct_4x16_c
Line
Count
Source
127
39.9k
                                               HIGHBD_DECL_SUFFIX) \
128
39.9k
{ \
129
39.9k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
39.9k
                   HIGHBD_TAIL_SUFFIX); \
131
39.9k
}
itx_tmpl.c:inv_txfm_add_dct_adst_4x16_c
Line
Count
Source
127
28.9k
                                               HIGHBD_DECL_SUFFIX) \
128
28.9k
{ \
129
28.9k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
28.9k
                   HIGHBD_TAIL_SUFFIX); \
131
28.9k
}
itx_tmpl.c:inv_txfm_add_adst_adst_4x16_c
Line
Count
Source
127
43.9k
                                               HIGHBD_DECL_SUFFIX) \
128
43.9k
{ \
129
43.9k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
43.9k
                   HIGHBD_TAIL_SUFFIX); \
131
43.9k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_4x16_c
Line
Count
Source
127
551
                                               HIGHBD_DECL_SUFFIX) \
128
551
{ \
129
551
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
551
                   HIGHBD_TAIL_SUFFIX); \
131
551
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_4x16_c
Line
Count
Source
127
677
                                               HIGHBD_DECL_SUFFIX) \
128
677
{ \
129
677
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
677
                   HIGHBD_TAIL_SUFFIX); \
131
677
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_4x16_c
Line
Count
Source
127
515
                                               HIGHBD_DECL_SUFFIX) \
128
515
{ \
129
515
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
515
                   HIGHBD_TAIL_SUFFIX); \
131
515
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_4x16_c
Line
Count
Source
127
794
                                               HIGHBD_DECL_SUFFIX) \
128
794
{ \
129
794
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
794
                   HIGHBD_TAIL_SUFFIX); \
131
794
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_4x16_c
Line
Count
Source
127
399
                                               HIGHBD_DECL_SUFFIX) \
128
399
{ \
129
399
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
399
                   HIGHBD_TAIL_SUFFIX); \
131
399
}
itx_tmpl.c:inv_txfm_add_dct_identity_4x16_c
Line
Count
Source
127
10.8k
                                               HIGHBD_DECL_SUFFIX) \
128
10.8k
{ \
129
10.8k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
10.8k
                   HIGHBD_TAIL_SUFFIX); \
131
10.8k
}
itx_tmpl.c:inv_txfm_add_identity_dct_4x16_c
Line
Count
Source
127
6.07k
                                               HIGHBD_DECL_SUFFIX) \
128
6.07k
{ \
129
6.07k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
6.07k
                   HIGHBD_TAIL_SUFFIX); \
131
6.07k
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_4x16_c
Line
Count
Source
127
758
                                               HIGHBD_DECL_SUFFIX) \
128
758
{ \
129
758
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
758
                   HIGHBD_TAIL_SUFFIX); \
131
758
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_4x16_c
Line
Count
Source
127
422
                                               HIGHBD_DECL_SUFFIX) \
128
422
{ \
129
422
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
422
                   HIGHBD_TAIL_SUFFIX); \
131
422
}
itx_tmpl.c:inv_txfm_add_adst_identity_4x16_c
Line
Count
Source
127
1.33k
                                               HIGHBD_DECL_SUFFIX) \
128
1.33k
{ \
129
1.33k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.33k
                   HIGHBD_TAIL_SUFFIX); \
131
1.33k
}
itx_tmpl.c:inv_txfm_add_identity_adst_4x16_c
Line
Count
Source
127
682
                                               HIGHBD_DECL_SUFFIX) \
128
682
{ \
129
682
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
682
                   HIGHBD_TAIL_SUFFIX); \
131
682
}
itx_tmpl.c:inv_txfm_add_dct_dct_8x4_c
Line
Count
Source
127
164k
                                               HIGHBD_DECL_SUFFIX) \
128
164k
{ \
129
164k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
164k
                   HIGHBD_TAIL_SUFFIX); \
131
164k
}
itx_tmpl.c:inv_txfm_add_identity_identity_8x4_c
Line
Count
Source
127
25.1k
                                               HIGHBD_DECL_SUFFIX) \
128
25.1k
{ \
129
25.1k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
25.1k
                   HIGHBD_TAIL_SUFFIX); \
131
25.1k
}
itx_tmpl.c:inv_txfm_add_adst_dct_8x4_c
Line
Count
Source
127
111k
                                               HIGHBD_DECL_SUFFIX) \
128
111k
{ \
129
111k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
111k
                   HIGHBD_TAIL_SUFFIX); \
131
111k
}
itx_tmpl.c:inv_txfm_add_dct_adst_8x4_c
Line
Count
Source
127
80.9k
                                               HIGHBD_DECL_SUFFIX) \
128
80.9k
{ \
129
80.9k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
80.9k
                   HIGHBD_TAIL_SUFFIX); \
131
80.9k
}
itx_tmpl.c:inv_txfm_add_adst_adst_8x4_c
Line
Count
Source
127
122k
                                               HIGHBD_DECL_SUFFIX) \
128
122k
{ \
129
122k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
122k
                   HIGHBD_TAIL_SUFFIX); \
131
122k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_8x4_c
Line
Count
Source
127
1.24k
                                               HIGHBD_DECL_SUFFIX) \
128
1.24k
{ \
129
1.24k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.24k
                   HIGHBD_TAIL_SUFFIX); \
131
1.24k
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_8x4_c
Line
Count
Source
127
1.43k
                                               HIGHBD_DECL_SUFFIX) \
128
1.43k
{ \
129
1.43k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.43k
                   HIGHBD_TAIL_SUFFIX); \
131
1.43k
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_8x4_c
Line
Count
Source
127
1.17k
                                               HIGHBD_DECL_SUFFIX) \
128
1.17k
{ \
129
1.17k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.17k
                   HIGHBD_TAIL_SUFFIX); \
131
1.17k
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_8x4_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_flipadst_flipadst_8x4_c
Line
Count
Source
127
851
                                               HIGHBD_DECL_SUFFIX) \
128
851
{ \
129
851
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
851
                   HIGHBD_TAIL_SUFFIX); \
131
851
}
itx_tmpl.c:inv_txfm_add_dct_identity_8x4_c
Line
Count
Source
127
33.6k
                                               HIGHBD_DECL_SUFFIX) \
128
33.6k
{ \
129
33.6k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
33.6k
                   HIGHBD_TAIL_SUFFIX); \
131
33.6k
}
itx_tmpl.c:inv_txfm_add_identity_dct_8x4_c
Line
Count
Source
127
17.8k
                                               HIGHBD_DECL_SUFFIX) \
128
17.8k
{ \
129
17.8k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
17.8k
                   HIGHBD_TAIL_SUFFIX); \
131
17.8k
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_8x4_c
Line
Count
Source
127
1.67k
                                               HIGHBD_DECL_SUFFIX) \
128
1.67k
{ \
129
1.67k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.67k
                   HIGHBD_TAIL_SUFFIX); \
131
1.67k
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_8x4_c
Line
Count
Source
127
897
                                               HIGHBD_DECL_SUFFIX) \
128
897
{ \
129
897
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
897
                   HIGHBD_TAIL_SUFFIX); \
131
897
}
itx_tmpl.c:inv_txfm_add_adst_identity_8x4_c
Line
Count
Source
127
2.65k
                                               HIGHBD_DECL_SUFFIX) \
128
2.65k
{ \
129
2.65k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.65k
                   HIGHBD_TAIL_SUFFIX); \
131
2.65k
}
itx_tmpl.c:inv_txfm_add_identity_adst_8x4_c
Line
Count
Source
127
1.31k
                                               HIGHBD_DECL_SUFFIX) \
128
1.31k
{ \
129
1.31k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.31k
                   HIGHBD_TAIL_SUFFIX); \
131
1.31k
}
itx_tmpl.c:inv_txfm_add_dct_dct_8x8_c
Line
Count
Source
127
527k
                                               HIGHBD_DECL_SUFFIX) \
128
527k
{ \
129
527k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
527k
                   HIGHBD_TAIL_SUFFIX); \
131
527k
}
itx_tmpl.c:inv_txfm_add_identity_identity_8x8_c
Line
Count
Source
127
89.4k
                                               HIGHBD_DECL_SUFFIX) \
128
89.4k
{ \
129
89.4k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
89.4k
                   HIGHBD_TAIL_SUFFIX); \
131
89.4k
}
itx_tmpl.c:inv_txfm_add_adst_dct_8x8_c
Line
Count
Source
127
340k
                                               HIGHBD_DECL_SUFFIX) \
128
340k
{ \
129
340k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
340k
                   HIGHBD_TAIL_SUFFIX); \
131
340k
}
itx_tmpl.c:inv_txfm_add_dct_adst_8x8_c
Line
Count
Source
127
271k
                                               HIGHBD_DECL_SUFFIX) \
128
271k
{ \
129
271k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
271k
                   HIGHBD_TAIL_SUFFIX); \
131
271k
}
itx_tmpl.c:inv_txfm_add_adst_adst_8x8_c
Line
Count
Source
127
291k
                                               HIGHBD_DECL_SUFFIX) \
128
291k
{ \
129
291k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
291k
                   HIGHBD_TAIL_SUFFIX); \
131
291k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_8x8_c
Line
Count
Source
127
3.01k
                                               HIGHBD_DECL_SUFFIX) \
128
3.01k
{ \
129
3.01k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.01k
                   HIGHBD_TAIL_SUFFIX); \
131
3.01k
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_8x8_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_flipadst_dct_8x8_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_8x8_c
Line
Count
Source
127
2.97k
                                               HIGHBD_DECL_SUFFIX) \
128
2.97k
{ \
129
2.97k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.97k
                   HIGHBD_TAIL_SUFFIX); \
131
2.97k
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_8x8_c
Line
Count
Source
127
2.33k
                                               HIGHBD_DECL_SUFFIX) \
128
2.33k
{ \
129
2.33k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.33k
                   HIGHBD_TAIL_SUFFIX); \
131
2.33k
}
itx_tmpl.c:inv_txfm_add_dct_identity_8x8_c
Line
Count
Source
127
80.4k
                                               HIGHBD_DECL_SUFFIX) \
128
80.4k
{ \
129
80.4k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
80.4k
                   HIGHBD_TAIL_SUFFIX); \
131
80.4k
}
itx_tmpl.c:inv_txfm_add_identity_dct_8x8_c
Line
Count
Source
127
52.4k
                                               HIGHBD_DECL_SUFFIX) \
128
52.4k
{ \
129
52.4k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
52.4k
                   HIGHBD_TAIL_SUFFIX); \
131
52.4k
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_8x8_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_identity_flipadst_8x8_c
Line
Count
Source
127
1.16k
                                               HIGHBD_DECL_SUFFIX) \
128
1.16k
{ \
129
1.16k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.16k
                   HIGHBD_TAIL_SUFFIX); \
131
1.16k
}
itx_tmpl.c:inv_txfm_add_adst_identity_8x8_c
Line
Count
Source
127
2.92k
                                               HIGHBD_DECL_SUFFIX) \
128
2.92k
{ \
129
2.92k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.92k
                   HIGHBD_TAIL_SUFFIX); \
131
2.92k
}
itx_tmpl.c:inv_txfm_add_identity_adst_8x8_c
Line
Count
Source
127
1.44k
                                               HIGHBD_DECL_SUFFIX) \
128
1.44k
{ \
129
1.44k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.44k
                   HIGHBD_TAIL_SUFFIX); \
131
1.44k
}
itx_tmpl.c:inv_txfm_add_dct_dct_8x16_c
Line
Count
Source
127
127k
                                               HIGHBD_DECL_SUFFIX) \
128
127k
{ \
129
127k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
127k
                   HIGHBD_TAIL_SUFFIX); \
131
127k
}
itx_tmpl.c:inv_txfm_add_identity_identity_8x16_c
Line
Count
Source
127
13.0k
                                               HIGHBD_DECL_SUFFIX) \
128
13.0k
{ \
129
13.0k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
13.0k
                   HIGHBD_TAIL_SUFFIX); \
131
13.0k
}
itx_tmpl.c:inv_txfm_add_adst_dct_8x16_c
Line
Count
Source
127
67.8k
                                               HIGHBD_DECL_SUFFIX) \
128
67.8k
{ \
129
67.8k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
67.8k
                   HIGHBD_TAIL_SUFFIX); \
131
67.8k
}
itx_tmpl.c:inv_txfm_add_dct_adst_8x16_c
Line
Count
Source
127
49.1k
                                               HIGHBD_DECL_SUFFIX) \
128
49.1k
{ \
129
49.1k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
49.1k
                   HIGHBD_TAIL_SUFFIX); \
131
49.1k
}
itx_tmpl.c:inv_txfm_add_adst_adst_8x16_c
Line
Count
Source
127
62.7k
                                               HIGHBD_DECL_SUFFIX) \
128
62.7k
{ \
129
62.7k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
62.7k
                   HIGHBD_TAIL_SUFFIX); \
131
62.7k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_8x16_c
Line
Count
Source
127
1.10k
                                               HIGHBD_DECL_SUFFIX) \
128
1.10k
{ \
129
1.10k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.10k
                   HIGHBD_TAIL_SUFFIX); \
131
1.10k
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_8x16_c
Line
Count
Source
127
1.05k
                                               HIGHBD_DECL_SUFFIX) \
128
1.05k
{ \
129
1.05k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.05k
                   HIGHBD_TAIL_SUFFIX); \
131
1.05k
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_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_flipadst_8x16_c
Line
Count
Source
127
901
                                               HIGHBD_DECL_SUFFIX) \
128
901
{ \
129
901
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
901
                   HIGHBD_TAIL_SUFFIX); \
131
901
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_8x16_c
Line
Count
Source
127
775
                                               HIGHBD_DECL_SUFFIX) \
128
775
{ \
129
775
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
775
                   HIGHBD_TAIL_SUFFIX); \
131
775
}
itx_tmpl.c:inv_txfm_add_dct_identity_8x16_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_dct_8x16_c
Line
Count
Source
127
8.22k
                                               HIGHBD_DECL_SUFFIX) \
128
8.22k
{ \
129
8.22k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
8.22k
                   HIGHBD_TAIL_SUFFIX); \
131
8.22k
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_8x16_c
Line
Count
Source
127
853
                                               HIGHBD_DECL_SUFFIX) \
128
853
{ \
129
853
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
853
                   HIGHBD_TAIL_SUFFIX); \
131
853
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_8x16_c
Line
Count
Source
127
312
                                               HIGHBD_DECL_SUFFIX) \
128
312
{ \
129
312
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
312
                   HIGHBD_TAIL_SUFFIX); \
131
312
}
itx_tmpl.c:inv_txfm_add_adst_identity_8x16_c
Line
Count
Source
127
1.20k
                                               HIGHBD_DECL_SUFFIX) \
128
1.20k
{ \
129
1.20k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.20k
                   HIGHBD_TAIL_SUFFIX); \
131
1.20k
}
itx_tmpl.c:inv_txfm_add_identity_adst_8x16_c
Line
Count
Source
127
530
                                               HIGHBD_DECL_SUFFIX) \
128
530
{ \
129
530
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
530
                   HIGHBD_TAIL_SUFFIX); \
131
530
}
itx_tmpl.c:inv_txfm_add_dct_dct_8x32_c
Line
Count
Source
127
113k
                                               HIGHBD_DECL_SUFFIX) \
128
113k
{ \
129
113k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
113k
                   HIGHBD_TAIL_SUFFIX); \
131
113k
}
itx_tmpl.c:inv_txfm_add_identity_identity_8x32_c
Line
Count
Source
127
486
                                               HIGHBD_DECL_SUFFIX) \
128
486
{ \
129
486
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
486
                   HIGHBD_TAIL_SUFFIX); \
131
486
}
itx_tmpl.c:inv_txfm_add_dct_dct_16x4_c
Line
Count
Source
127
127k
                                               HIGHBD_DECL_SUFFIX) \
128
127k
{ \
129
127k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
127k
                   HIGHBD_TAIL_SUFFIX); \
131
127k
}
itx_tmpl.c:inv_txfm_add_identity_identity_16x4_c
Line
Count
Source
127
17.0k
                                               HIGHBD_DECL_SUFFIX) \
128
17.0k
{ \
129
17.0k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
17.0k
                   HIGHBD_TAIL_SUFFIX); \
131
17.0k
}
itx_tmpl.c:inv_txfm_add_adst_dct_16x4_c
Line
Count
Source
127
81.3k
                                               HIGHBD_DECL_SUFFIX) \
128
81.3k
{ \
129
81.3k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
81.3k
                   HIGHBD_TAIL_SUFFIX); \
131
81.3k
}
itx_tmpl.c:inv_txfm_add_dct_adst_16x4_c
Line
Count
Source
127
59.2k
                                               HIGHBD_DECL_SUFFIX) \
128
59.2k
{ \
129
59.2k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
59.2k
                   HIGHBD_TAIL_SUFFIX); \
131
59.2k
}
itx_tmpl.c:inv_txfm_add_adst_adst_16x4_c
Line
Count
Source
127
90.6k
                                               HIGHBD_DECL_SUFFIX) \
128
90.6k
{ \
129
90.6k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
90.6k
                   HIGHBD_TAIL_SUFFIX); \
131
90.6k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_16x4_c
Line
Count
Source
127
766
                                               HIGHBD_DECL_SUFFIX) \
128
766
{ \
129
766
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
766
                   HIGHBD_TAIL_SUFFIX); \
131
766
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_16x4_c
Line
Count
Source
127
969
                                               HIGHBD_DECL_SUFFIX) \
128
969
{ \
129
969
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
969
                   HIGHBD_TAIL_SUFFIX); \
131
969
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_16x4_c
Line
Count
Source
127
873
                                               HIGHBD_DECL_SUFFIX) \
128
873
{ \
129
873
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
873
                   HIGHBD_TAIL_SUFFIX); \
131
873
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_16x4_c
Line
Count
Source
127
740
                                               HIGHBD_DECL_SUFFIX) \
128
740
{ \
129
740
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
740
                   HIGHBD_TAIL_SUFFIX); \
131
740
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_16x4_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_identity_16x4_c
Line
Count
Source
127
23.1k
                                               HIGHBD_DECL_SUFFIX) \
128
23.1k
{ \
129
23.1k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
23.1k
                   HIGHBD_TAIL_SUFFIX); \
131
23.1k
}
itx_tmpl.c:inv_txfm_add_identity_dct_16x4_c
Line
Count
Source
127
12.3k
                                               HIGHBD_DECL_SUFFIX) \
128
12.3k
{ \
129
12.3k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
12.3k
                   HIGHBD_TAIL_SUFFIX); \
131
12.3k
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_16x4_c
Line
Count
Source
127
1.23k
                                               HIGHBD_DECL_SUFFIX) \
128
1.23k
{ \
129
1.23k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.23k
                   HIGHBD_TAIL_SUFFIX); \
131
1.23k
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_16x4_c
Line
Count
Source
127
712
                                               HIGHBD_DECL_SUFFIX) \
128
712
{ \
129
712
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
712
                   HIGHBD_TAIL_SUFFIX); \
131
712
}
itx_tmpl.c:inv_txfm_add_adst_identity_16x4_c
Line
Count
Source
127
2.26k
                                               HIGHBD_DECL_SUFFIX) \
128
2.26k
{ \
129
2.26k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.26k
                   HIGHBD_TAIL_SUFFIX); \
131
2.26k
}
itx_tmpl.c:inv_txfm_add_identity_adst_16x4_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_dct_dct_16x8_c
Line
Count
Source
127
190k
                                               HIGHBD_DECL_SUFFIX) \
128
190k
{ \
129
190k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
190k
                   HIGHBD_TAIL_SUFFIX); \
131
190k
}
itx_tmpl.c:inv_txfm_add_identity_identity_16x8_c
Line
Count
Source
127
19.3k
                                               HIGHBD_DECL_SUFFIX) \
128
19.3k
{ \
129
19.3k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
19.3k
                   HIGHBD_TAIL_SUFFIX); \
131
19.3k
}
itx_tmpl.c:inv_txfm_add_adst_dct_16x8_c
Line
Count
Source
127
103k
                                               HIGHBD_DECL_SUFFIX) \
128
103k
{ \
129
103k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
103k
                   HIGHBD_TAIL_SUFFIX); \
131
103k
}
itx_tmpl.c:inv_txfm_add_dct_adst_16x8_c
Line
Count
Source
127
76.5k
                                               HIGHBD_DECL_SUFFIX) \
128
76.5k
{ \
129
76.5k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
76.5k
                   HIGHBD_TAIL_SUFFIX); \
131
76.5k
}
itx_tmpl.c:inv_txfm_add_adst_adst_16x8_c
Line
Count
Source
127
96.7k
                                               HIGHBD_DECL_SUFFIX) \
128
96.7k
{ \
129
96.7k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
96.7k
                   HIGHBD_TAIL_SUFFIX); \
131
96.7k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_16x8_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_16x8_c
Line
Count
Source
127
1.75k
                                               HIGHBD_DECL_SUFFIX) \
128
1.75k
{ \
129
1.75k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.75k
                   HIGHBD_TAIL_SUFFIX); \
131
1.75k
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_16x8_c
Line
Count
Source
127
1.65k
                                               HIGHBD_DECL_SUFFIX) \
128
1.65k
{ \
129
1.65k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.65k
                   HIGHBD_TAIL_SUFFIX); \
131
1.65k
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_16x8_c
Line
Count
Source
127
1.59k
                                               HIGHBD_DECL_SUFFIX) \
128
1.59k
{ \
129
1.59k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.59k
                   HIGHBD_TAIL_SUFFIX); \
131
1.59k
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_16x8_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_dct_identity_16x8_c
Line
Count
Source
127
19.1k
                                               HIGHBD_DECL_SUFFIX) \
128
19.1k
{ \
129
19.1k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
19.1k
                   HIGHBD_TAIL_SUFFIX); \
131
19.1k
}
itx_tmpl.c:inv_txfm_add_identity_dct_16x8_c
Line
Count
Source
127
11.8k
                                               HIGHBD_DECL_SUFFIX) \
128
11.8k
{ \
129
11.8k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
11.8k
                   HIGHBD_TAIL_SUFFIX); \
131
11.8k
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_16x8_c
Line
Count
Source
127
1.46k
                                               HIGHBD_DECL_SUFFIX) \
128
1.46k
{ \
129
1.46k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.46k
                   HIGHBD_TAIL_SUFFIX); \
131
1.46k
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_16x8_c
Line
Count
Source
127
620
                                               HIGHBD_DECL_SUFFIX) \
128
620
{ \
129
620
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
620
                   HIGHBD_TAIL_SUFFIX); \
131
620
}
itx_tmpl.c:inv_txfm_add_adst_identity_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_identity_adst_16x8_c
Line
Count
Source
127
1.12k
                                               HIGHBD_DECL_SUFFIX) \
128
1.12k
{ \
129
1.12k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.12k
                   HIGHBD_TAIL_SUFFIX); \
131
1.12k
}
itx_tmpl.c:inv_txfm_add_dct_dct_16x16_c
Line
Count
Source
127
251k
                                               HIGHBD_DECL_SUFFIX) \
128
251k
{ \
129
251k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
251k
                   HIGHBD_TAIL_SUFFIX); \
131
251k
}
itx_tmpl.c:inv_txfm_add_identity_identity_16x16_c
Line
Count
Source
127
19.4k
                                               HIGHBD_DECL_SUFFIX) \
128
19.4k
{ \
129
19.4k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
19.4k
                   HIGHBD_TAIL_SUFFIX); \
131
19.4k
}
itx_tmpl.c:inv_txfm_add_adst_dct_16x16_c
Line
Count
Source
127
204k
                                               HIGHBD_DECL_SUFFIX) \
128
204k
{ \
129
204k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
204k
                   HIGHBD_TAIL_SUFFIX); \
131
204k
}
itx_tmpl.c:inv_txfm_add_dct_adst_16x16_c
Line
Count
Source
127
144k
                                               HIGHBD_DECL_SUFFIX) \
128
144k
{ \
129
144k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
144k
                   HIGHBD_TAIL_SUFFIX); \
131
144k
}
itx_tmpl.c:inv_txfm_add_adst_adst_16x16_c
Line
Count
Source
127
173k
                                               HIGHBD_DECL_SUFFIX) \
128
173k
{ \
129
173k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
173k
                   HIGHBD_TAIL_SUFFIX); \
131
173k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_16x16_c
Line
Count
Source
127
1.29k
                                               HIGHBD_DECL_SUFFIX) \
128
1.29k
{ \
129
1.29k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.29k
                   HIGHBD_TAIL_SUFFIX); \
131
1.29k
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_16x16_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_flipadst_dct_16x16_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_dct_flipadst_16x16_c
Line
Count
Source
127
1.59k
                                               HIGHBD_DECL_SUFFIX) \
128
1.59k
{ \
129
1.59k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.59k
                   HIGHBD_TAIL_SUFFIX); \
131
1.59k
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_16x16_c
Line
Count
Source
127
1.28k
                                               HIGHBD_DECL_SUFFIX) \
128
1.28k
{ \
129
1.28k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.28k
                   HIGHBD_TAIL_SUFFIX); \
131
1.28k
}
itx_tmpl.c:inv_txfm_add_dct_identity_16x16_c
Line
Count
Source
127
1.97k
                                               HIGHBD_DECL_SUFFIX) \
128
1.97k
{ \
129
1.97k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.97k
                   HIGHBD_TAIL_SUFFIX); \
131
1.97k
}
itx_tmpl.c:inv_txfm_add_identity_dct_16x16_c
Line
Count
Source
127
1.29k
                                               HIGHBD_DECL_SUFFIX) \
128
1.29k
{ \
129
1.29k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.29k
                   HIGHBD_TAIL_SUFFIX); \
131
1.29k
}
itx_tmpl.c:inv_txfm_add_dct_dct_16x32_c
Line
Count
Source
127
137k
                                               HIGHBD_DECL_SUFFIX) \
128
137k
{ \
129
137k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
137k
                   HIGHBD_TAIL_SUFFIX); \
131
137k
}
itx_tmpl.c:inv_txfm_add_identity_identity_16x32_c
Line
Count
Source
127
412
                                               HIGHBD_DECL_SUFFIX) \
128
412
{ \
129
412
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
412
                   HIGHBD_TAIL_SUFFIX); \
131
412
}
itx_tmpl.c:inv_txfm_add_dct_dct_16x64_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_dct_dct_32x8_c
Line
Count
Source
127
149k
                                               HIGHBD_DECL_SUFFIX) \
128
149k
{ \
129
149k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
149k
                   HIGHBD_TAIL_SUFFIX); \
131
149k
}
itx_tmpl.c:inv_txfm_add_identity_identity_32x8_c
Line
Count
Source
127
974
                                               HIGHBD_DECL_SUFFIX) \
128
974
{ \
129
974
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
974
                   HIGHBD_TAIL_SUFFIX); \
131
974
}
itx_tmpl.c:inv_txfm_add_dct_dct_32x16_c
Line
Count
Source
127
136k
                                               HIGHBD_DECL_SUFFIX) \
128
136k
{ \
129
136k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
136k
                   HIGHBD_TAIL_SUFFIX); \
131
136k
}
itx_tmpl.c:inv_txfm_add_identity_identity_32x16_c
Line
Count
Source
127
614
                                               HIGHBD_DECL_SUFFIX) \
128
614
{ \
129
614
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
614
                   HIGHBD_TAIL_SUFFIX); \
131
614
}
itx_tmpl.c:inv_txfm_add_dct_dct_32x32_c
Line
Count
Source
127
411k
                                               HIGHBD_DECL_SUFFIX) \
128
411k
{ \
129
411k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
411k
                   HIGHBD_TAIL_SUFFIX); \
131
411k
}
itx_tmpl.c:inv_txfm_add_identity_identity_32x32_c
Line
Count
Source
127
236
                                               HIGHBD_DECL_SUFFIX) \
128
236
{ \
129
236
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
236
                   HIGHBD_TAIL_SUFFIX); \
131
236
}
itx_tmpl.c:inv_txfm_add_dct_dct_32x64_c
Line
Count
Source
127
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_dct_dct_64x16_c
Line
Count
Source
127
11.9k
                                               HIGHBD_DECL_SUFFIX) \
128
11.9k
{ \
129
11.9k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
11.9k
                   HIGHBD_TAIL_SUFFIX); \
131
11.9k
}
itx_tmpl.c:inv_txfm_add_dct_dct_64x32_c
Line
Count
Source
127
25.3k
                                               HIGHBD_DECL_SUFFIX) \
128
25.3k
{ \
129
25.3k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
25.3k
                   HIGHBD_TAIL_SUFFIX); \
131
25.3k
}
itx_tmpl.c:inv_txfm_add_dct_dct_64x64_c
Line
Count
Source
127
141k
                                               HIGHBD_DECL_SUFFIX) \
128
141k
{ \
129
141k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
141k
                   HIGHBD_TAIL_SUFFIX); \
131
141k
}
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
1.26M
{
188
1.26M
    int32_t tmp[4 * 4], *c = tmp;
189
6.34M
    for (int y = 0; y < 4; y++, c += 4) {
190
25.3M
        for (int x = 0; x < 4; x++)
191
20.3M
            c[x] = coeff[y + x * 4] >> 2;
192
5.07M
        dav1d_inv_wht4_1d_c(c, 1);
193
5.07M
    }
194
1.26M
    memset(coeff, 0, sizeof(*coeff) * 4 * 4);
195
196
6.34M
    for (int x = 0; x < 4; x++)
197
5.07M
        dav1d_inv_wht4_1d_c(&tmp[x], 4);
198
199
1.26M
    c = tmp;
200
6.34M
    for (int y = 0; y < 4; y++, dst += PXSTRIDE(stride))
201
25.3M
        for (int x = 0; x < 4; x++)
202
20.3M
            dst[x] = iclip_pixel(dst[x] + *c++);
203
1.26M
}
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
34.0k
COLD void bitfn(dav1d_itx_dsp_init)(Dav1dInvTxfmDSPContext *const c, int bpc) {
221
34.0k
#define assign_itx_all_fn64(w, h, pfx) \
222
646k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_DCT  ] = \
223
646k
        inv_txfm_add_dct_dct_##w##x##h##_c
224
225
34.0k
#define assign_itx_all_fn32(w, h, pfx) \
226
476k
    assign_itx_all_fn64(w, h, pfx); \
227
476k
    c->itxfm_add[pfx##TX_##w##X##h][IDTX] = \
228
476k
        inv_txfm_add_identity_identity_##w##x##h##_c
229
230
34.0k
#define assign_itx_all_fn16(w, h, pfx) \
231
306k
    assign_itx_all_fn32(w, h, pfx); \
232
306k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_ADST ] = \
233
306k
        inv_txfm_add_adst_dct_##w##x##h##_c; \
234
306k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_DCT ] = \
235
306k
        inv_txfm_add_dct_adst_##w##x##h##_c; \
236
306k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_ADST] = \
237
306k
        inv_txfm_add_adst_adst_##w##x##h##_c; \
238
306k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_FLIPADST] = \
239
306k
        inv_txfm_add_flipadst_adst_##w##x##h##_c; \
240
306k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_ADST] = \
241
306k
        inv_txfm_add_adst_flipadst_##w##x##h##_c; \
242
306k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_FLIPADST] = \
243
306k
        inv_txfm_add_flipadst_dct_##w##x##h##_c; \
244
306k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_DCT] = \
245
306k
        inv_txfm_add_dct_flipadst_##w##x##h##_c; \
246
306k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_FLIPADST] = \
247
306k
        inv_txfm_add_flipadst_flipadst_##w##x##h##_c; \
248
306k
    c->itxfm_add[pfx##TX_##w##X##h][H_DCT] = \
249
306k
        inv_txfm_add_dct_identity_##w##x##h##_c; \
250
306k
    c->itxfm_add[pfx##TX_##w##X##h][V_DCT] = \
251
306k
        inv_txfm_add_identity_dct_##w##x##h##_c
252
253
34.0k
#define assign_itx_all_fn84(w, h, pfx) \
254
272k
    assign_itx_all_fn16(w, h, pfx); \
255
272k
    c->itxfm_add[pfx##TX_##w##X##h][H_FLIPADST] = \
256
272k
        inv_txfm_add_flipadst_identity_##w##x##h##_c; \
257
272k
    c->itxfm_add[pfx##TX_##w##X##h][V_FLIPADST] = \
258
272k
        inv_txfm_add_identity_flipadst_##w##x##h##_c; \
259
272k
    c->itxfm_add[pfx##TX_##w##X##h][H_ADST] = \
260
272k
        inv_txfm_add_adst_identity_##w##x##h##_c; \
261
272k
    c->itxfm_add[pfx##TX_##w##X##h][V_ADST] = \
262
272k
        inv_txfm_add_identity_adst_##w##x##h##_c; \
263
34.0k
264
34.0k
#if !(HAVE_ASM && TRIM_DSP_FUNCTIONS && ( \
265
34.0k
  ARCH_AARCH64 || \
266
34.0k
  (ARCH_ARM && (defined(__ARM_NEON) || defined(__APPLE__) || defined(_WIN32))) \
267
34.0k
))
268
34.0k
    c->itxfm_add[TX_4X4][WHT_WHT] = inv_txfm_add_wht_wht_4x4_c;
269
34.0k
#endif
270
34.0k
    assign_itx_all_fn84( 4,  4, );
271
34.0k
    assign_itx_all_fn84( 4,  8, R);
272
34.0k
    assign_itx_all_fn84( 4, 16, R);
273
34.0k
    assign_itx_all_fn84( 8,  4, R);
274
34.0k
    assign_itx_all_fn84( 8,  8, );
275
34.0k
    assign_itx_all_fn84( 8, 16, R);
276
34.0k
    assign_itx_all_fn32( 8, 32, R);
277
34.0k
    assign_itx_all_fn84(16,  4, R);
278
34.0k
    assign_itx_all_fn84(16,  8, R);
279
34.0k
    assign_itx_all_fn16(16, 16, );
280
34.0k
    assign_itx_all_fn32(16, 32, R);
281
34.0k
    assign_itx_all_fn64(16, 64, R);
282
34.0k
    assign_itx_all_fn32(32,  8, R);
283
34.0k
    assign_itx_all_fn32(32, 16, R);
284
34.0k
    assign_itx_all_fn32(32, 32, );
285
34.0k
    assign_itx_all_fn64(32, 64, R);
286
34.0k
    assign_itx_all_fn64(64, 16, R);
287
34.0k
    assign_itx_all_fn64(64, 32, R);
288
34.0k
    assign_itx_all_fn64(64, 64, );
289
290
34.0k
    int all_simd = 0;
291
#if HAVE_ASM
292
#if ARCH_AARCH64 || ARCH_ARM
293
    itx_dsp_init_arm(c, bpc, &all_simd);
294
#endif
295
#if ARCH_LOONGARCH64
296
    itx_dsp_init_loongarch(c, bpc);
297
#endif
298
#if ARCH_PPC64LE
299
    itx_dsp_init_ppc(c, bpc);
300
#endif
301
#if ARCH_RISCV
302
    itx_dsp_init_riscv(c, bpc);
303
#endif
304
#if ARCH_X86
305
    itx_dsp_init_x86(c, bpc, &all_simd);
306
#endif
307
#endif
308
309
34.0k
    if (!all_simd)
310
34.0k
        dav1d_init_last_nonzero_col_from_eob_tables();
311
34.0k
}
dav1d_itx_dsp_init_8bpc
Line
Count
Source
220
16.1k
COLD void bitfn(dav1d_itx_dsp_init)(Dav1dInvTxfmDSPContext *const c, int bpc) {
221
16.1k
#define assign_itx_all_fn64(w, h, pfx) \
222
16.1k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_DCT  ] = \
223
16.1k
        inv_txfm_add_dct_dct_##w##x##h##_c
224
225
16.1k
#define assign_itx_all_fn32(w, h, pfx) \
226
16.1k
    assign_itx_all_fn64(w, h, pfx); \
227
16.1k
    c->itxfm_add[pfx##TX_##w##X##h][IDTX] = \
228
16.1k
        inv_txfm_add_identity_identity_##w##x##h##_c
229
230
16.1k
#define assign_itx_all_fn16(w, h, pfx) \
231
16.1k
    assign_itx_all_fn32(w, h, pfx); \
232
16.1k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_ADST ] = \
233
16.1k
        inv_txfm_add_adst_dct_##w##x##h##_c; \
234
16.1k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_DCT ] = \
235
16.1k
        inv_txfm_add_dct_adst_##w##x##h##_c; \
236
16.1k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_ADST] = \
237
16.1k
        inv_txfm_add_adst_adst_##w##x##h##_c; \
238
16.1k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_FLIPADST] = \
239
16.1k
        inv_txfm_add_flipadst_adst_##w##x##h##_c; \
240
16.1k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_ADST] = \
241
16.1k
        inv_txfm_add_adst_flipadst_##w##x##h##_c; \
242
16.1k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_FLIPADST] = \
243
16.1k
        inv_txfm_add_flipadst_dct_##w##x##h##_c; \
244
16.1k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_DCT] = \
245
16.1k
        inv_txfm_add_dct_flipadst_##w##x##h##_c; \
246
16.1k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_FLIPADST] = \
247
16.1k
        inv_txfm_add_flipadst_flipadst_##w##x##h##_c; \
248
16.1k
    c->itxfm_add[pfx##TX_##w##X##h][H_DCT] = \
249
16.1k
        inv_txfm_add_dct_identity_##w##x##h##_c; \
250
16.1k
    c->itxfm_add[pfx##TX_##w##X##h][V_DCT] = \
251
16.1k
        inv_txfm_add_identity_dct_##w##x##h##_c
252
253
16.1k
#define assign_itx_all_fn84(w, h, pfx) \
254
16.1k
    assign_itx_all_fn16(w, h, pfx); \
255
16.1k
    c->itxfm_add[pfx##TX_##w##X##h][H_FLIPADST] = \
256
16.1k
        inv_txfm_add_flipadst_identity_##w##x##h##_c; \
257
16.1k
    c->itxfm_add[pfx##TX_##w##X##h][V_FLIPADST] = \
258
16.1k
        inv_txfm_add_identity_flipadst_##w##x##h##_c; \
259
16.1k
    c->itxfm_add[pfx##TX_##w##X##h][H_ADST] = \
260
16.1k
        inv_txfm_add_adst_identity_##w##x##h##_c; \
261
16.1k
    c->itxfm_add[pfx##TX_##w##X##h][V_ADST] = \
262
16.1k
        inv_txfm_add_identity_adst_##w##x##h##_c; \
263
16.1k
264
16.1k
#if !(HAVE_ASM && TRIM_DSP_FUNCTIONS && ( \
265
16.1k
  ARCH_AARCH64 || \
266
16.1k
  (ARCH_ARM && (defined(__ARM_NEON) || defined(__APPLE__) || defined(_WIN32))) \
267
16.1k
))
268
16.1k
    c->itxfm_add[TX_4X4][WHT_WHT] = inv_txfm_add_wht_wht_4x4_c;
269
16.1k
#endif
270
16.1k
    assign_itx_all_fn84( 4,  4, );
271
16.1k
    assign_itx_all_fn84( 4,  8, R);
272
16.1k
    assign_itx_all_fn84( 4, 16, R);
273
16.1k
    assign_itx_all_fn84( 8,  4, R);
274
16.1k
    assign_itx_all_fn84( 8,  8, );
275
16.1k
    assign_itx_all_fn84( 8, 16, R);
276
16.1k
    assign_itx_all_fn32( 8, 32, R);
277
16.1k
    assign_itx_all_fn84(16,  4, R);
278
16.1k
    assign_itx_all_fn84(16,  8, R);
279
16.1k
    assign_itx_all_fn16(16, 16, );
280
16.1k
    assign_itx_all_fn32(16, 32, R);
281
16.1k
    assign_itx_all_fn64(16, 64, R);
282
16.1k
    assign_itx_all_fn32(32,  8, R);
283
16.1k
    assign_itx_all_fn32(32, 16, R);
284
16.1k
    assign_itx_all_fn32(32, 32, );
285
16.1k
    assign_itx_all_fn64(32, 64, R);
286
16.1k
    assign_itx_all_fn64(64, 16, R);
287
16.1k
    assign_itx_all_fn64(64, 32, R);
288
16.1k
    assign_itx_all_fn64(64, 64, );
289
290
16.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
16.1k
    if (!all_simd)
310
16.1k
        dav1d_init_last_nonzero_col_from_eob_tables();
311
16.1k
}
dav1d_itx_dsp_init_16bpc
Line
Count
Source
220
17.8k
COLD void bitfn(dav1d_itx_dsp_init)(Dav1dInvTxfmDSPContext *const c, int bpc) {
221
17.8k
#define assign_itx_all_fn64(w, h, pfx) \
222
17.8k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_DCT  ] = \
223
17.8k
        inv_txfm_add_dct_dct_##w##x##h##_c
224
225
17.8k
#define assign_itx_all_fn32(w, h, pfx) \
226
17.8k
    assign_itx_all_fn64(w, h, pfx); \
227
17.8k
    c->itxfm_add[pfx##TX_##w##X##h][IDTX] = \
228
17.8k
        inv_txfm_add_identity_identity_##w##x##h##_c
229
230
17.8k
#define assign_itx_all_fn16(w, h, pfx) \
231
17.8k
    assign_itx_all_fn32(w, h, pfx); \
232
17.8k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_ADST ] = \
233
17.8k
        inv_txfm_add_adst_dct_##w##x##h##_c; \
234
17.8k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_DCT ] = \
235
17.8k
        inv_txfm_add_dct_adst_##w##x##h##_c; \
236
17.8k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_ADST] = \
237
17.8k
        inv_txfm_add_adst_adst_##w##x##h##_c; \
238
17.8k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_FLIPADST] = \
239
17.8k
        inv_txfm_add_flipadst_adst_##w##x##h##_c; \
240
17.8k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_ADST] = \
241
17.8k
        inv_txfm_add_adst_flipadst_##w##x##h##_c; \
242
17.8k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_FLIPADST] = \
243
17.8k
        inv_txfm_add_flipadst_dct_##w##x##h##_c; \
244
17.8k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_DCT] = \
245
17.8k
        inv_txfm_add_dct_flipadst_##w##x##h##_c; \
246
17.8k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_FLIPADST] = \
247
17.8k
        inv_txfm_add_flipadst_flipadst_##w##x##h##_c; \
248
17.8k
    c->itxfm_add[pfx##TX_##w##X##h][H_DCT] = \
249
17.8k
        inv_txfm_add_dct_identity_##w##x##h##_c; \
250
17.8k
    c->itxfm_add[pfx##TX_##w##X##h][V_DCT] = \
251
17.8k
        inv_txfm_add_identity_dct_##w##x##h##_c
252
253
17.8k
#define assign_itx_all_fn84(w, h, pfx) \
254
17.8k
    assign_itx_all_fn16(w, h, pfx); \
255
17.8k
    c->itxfm_add[pfx##TX_##w##X##h][H_FLIPADST] = \
256
17.8k
        inv_txfm_add_flipadst_identity_##w##x##h##_c; \
257
17.8k
    c->itxfm_add[pfx##TX_##w##X##h][V_FLIPADST] = \
258
17.8k
        inv_txfm_add_identity_flipadst_##w##x##h##_c; \
259
17.8k
    c->itxfm_add[pfx##TX_##w##X##h][H_ADST] = \
260
17.8k
        inv_txfm_add_adst_identity_##w##x##h##_c; \
261
17.8k
    c->itxfm_add[pfx##TX_##w##X##h][V_ADST] = \
262
17.8k
        inv_txfm_add_identity_adst_##w##x##h##_c; \
263
17.8k
264
17.8k
#if !(HAVE_ASM && TRIM_DSP_FUNCTIONS && ( \
265
17.8k
  ARCH_AARCH64 || \
266
17.8k
  (ARCH_ARM && (defined(__ARM_NEON) || defined(__APPLE__) || defined(_WIN32))) \
267
17.8k
))
268
17.8k
    c->itxfm_add[TX_4X4][WHT_WHT] = inv_txfm_add_wht_wht_4x4_c;
269
17.8k
#endif
270
17.8k
    assign_itx_all_fn84( 4,  4, );
271
17.8k
    assign_itx_all_fn84( 4,  8, R);
272
17.8k
    assign_itx_all_fn84( 4, 16, R);
273
17.8k
    assign_itx_all_fn84( 8,  4, R);
274
17.8k
    assign_itx_all_fn84( 8,  8, );
275
17.8k
    assign_itx_all_fn84( 8, 16, R);
276
17.8k
    assign_itx_all_fn32( 8, 32, R);
277
17.8k
    assign_itx_all_fn84(16,  4, R);
278
17.8k
    assign_itx_all_fn84(16,  8, R);
279
17.8k
    assign_itx_all_fn16(16, 16, );
280
17.8k
    assign_itx_all_fn32(16, 32, R);
281
17.8k
    assign_itx_all_fn64(16, 64, R);
282
17.8k
    assign_itx_all_fn32(32,  8, R);
283
17.8k
    assign_itx_all_fn32(32, 16, R);
284
17.8k
    assign_itx_all_fn32(32, 32, );
285
17.8k
    assign_itx_all_fn64(32, 64, R);
286
17.8k
    assign_itx_all_fn64(64, 16, R);
287
17.8k
    assign_itx_all_fn64(64, 32, R);
288
17.8k
    assign_itx_all_fn64(64, 64, );
289
290
17.8k
    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
17.8k
    if (!all_simd)
310
17.8k
        dav1d_init_last_nonzero_col_from_eob_tables();
311
17.8k
}