Coverage Report

Created: 2026-10-17 06:52

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
614k
{
48
614k
    const TxfmInfo *const t_dim = &dav1d_txfm_dimensions[tx];
49
614k
    const int w = 4 * t_dim->w, h = 4 * t_dim->h;
50
614k
    const int has_dconly = txtp == DCT_DCT;
51
614k
    assert(w >= 4 && w <= 64);
52
614k
    assert(h >= 4 && h <= 64);
53
614k
    assert(eob >= 0);
54
55
614k
    const int is_rect2 = w * 2 == h || h * 2 == w;
56
614k
    const int rnd = (1 << shift) >> 1;
57
58
614k
    if (eob < has_dconly) {
59
280k
        int dc = coeff[0];
60
280k
        coeff[0] = 0;
61
280k
        if (is_rect2)
62
69.8k
            dc = (dc * 181 + 128) >> 8;
63
280k
        dc = (dc * 181 + 128) >> 8;
64
280k
        dc = (dc + rnd) >> shift;
65
280k
        dc = (dc * 181 + 128 + 2048) >> 12;
66
9.80M
        for (int y = 0; y < h; y++, dst += PXSTRIDE(stride))
67
323M
            for (int x = 0; x < w; x++)
68
314M
                dst[x] = iclip_pixel(dst[x] + dc);
69
280k
        return;
70
280k
    }
71
72
333k
    const uint8_t *const txtps = dav1d_tx1d_types[txtp];
73
333k
    const itx_1d_fn first_1d_fn = dav1d_tx1d_fns[t_dim->lw][txtps[0]];
74
333k
    const itx_1d_fn second_1d_fn = dav1d_tx1d_fns[t_dim->lh][txtps[1]];
75
333k
    const int sh = imin(h, 32), sw = imin(w, 32);
76
333k
#if BITDEPTH == 8
77
333k
    const int row_clip_min = INT16_MIN;
78
333k
    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
333k
    const int row_clip_max = ~row_clip_min;
84
333k
    const int col_clip_max = ~col_clip_min;
85
86
333k
    int32_t tmp[64 * 64], *c = tmp;
87
333k
    int last_nonzero_col; // in first 1d itx
88
333k
    if (txtps[1] == IDENTITY && txtps[0] != IDENTITY) {
89
38.0k
        last_nonzero_col = imin(sh - 1, eob);
90
295k
    } else if (txtps[0] == IDENTITY && txtps[1] != IDENTITY) {
91
28.3k
        last_nonzero_col = eob >> (t_dim->lw + 2);
92
267k
    } else {
93
267k
        last_nonzero_col = dav1d_last_nonzero_col_from_eob[tx][eob];
94
267k
    }
95
333k
    assert(last_nonzero_col < sh);
96
1.83M
    for (int y = 0; y <= last_nonzero_col; y++, c += w) {
97
1.50M
        if (is_rect2)
98
10.4M
            for (int x = 0; x < sw; x++)
99
9.78M
                c[x] = (coeff[y + x * sh] * 181 + 128) >> 8;
100
846k
        else
101
12.9M
            for (int x = 0; x < sw; x++)
102
12.1M
                c[x] = coeff[y + x * sh];
103
1.50M
        first_1d_fn(c, 1, row_clip_min, row_clip_max);
104
1.50M
    }
105
333k
    if (last_nonzero_col + 1 < sh)
106
258k
        memset(c, 0, sizeof(*c) * (sh - last_nonzero_col - 1) * w);
107
108
333k
    memset(coeff, 0, sizeof(*coeff) * sw * sh);
109
83.2M
    for (int i = 0; i < w * sh; i++)
110
82.9M
        tmp[i] = iclip((tmp[i] + rnd) >> shift, col_clip_min, col_clip_max);
111
112
4.80M
    for (int x = 0; x < w; x++)
113
4.47M
        second_1d_fn(&tmp[x], w, col_clip_min, col_clip_max);
114
115
333k
    c = tmp;
116
5.13M
    for (int y = 0; y < h; y++, dst += PXSTRIDE(stride))
117
118M
        for (int x = 0; x < w; x++)
118
113M
            dst[x] = iclip_pixel(dst[x] + ((*c++ + 8) >> 4));
119
333k
}
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
614k
                                               HIGHBD_DECL_SUFFIX) \
128
614k
{ \
129
614k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
614k
                   HIGHBD_TAIL_SUFFIX); \
131
614k
}
itx_tmpl.c:inv_txfm_add_dct_dct_4x4_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_identity_identity_4x4_c
Line
Count
Source
127
5.81k
                                               HIGHBD_DECL_SUFFIX) \
128
5.81k
{ \
129
5.81k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.81k
                   HIGHBD_TAIL_SUFFIX); \
131
5.81k
}
itx_tmpl.c:inv_txfm_add_adst_dct_4x4_c
Line
Count
Source
127
4.11k
                                               HIGHBD_DECL_SUFFIX) \
128
4.11k
{ \
129
4.11k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.11k
                   HIGHBD_TAIL_SUFFIX); \
131
4.11k
}
itx_tmpl.c:inv_txfm_add_dct_adst_4x4_c
Line
Count
Source
127
3.31k
                                               HIGHBD_DECL_SUFFIX) \
128
3.31k
{ \
129
3.31k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.31k
                   HIGHBD_TAIL_SUFFIX); \
131
3.31k
}
itx_tmpl.c:inv_txfm_add_adst_adst_4x4_c
Line
Count
Source
127
5.78k
                                               HIGHBD_DECL_SUFFIX) \
128
5.78k
{ \
129
5.78k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.78k
                   HIGHBD_TAIL_SUFFIX); \
131
5.78k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_4x4_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_adst_flipadst_4x4_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_flipadst_dct_4x4_c
Line
Count
Source
127
1.19k
                                               HIGHBD_DECL_SUFFIX) \
128
1.19k
{ \
129
1.19k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.19k
                   HIGHBD_TAIL_SUFFIX); \
131
1.19k
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_4x4_c
Line
Count
Source
127
1.19k
                                               HIGHBD_DECL_SUFFIX) \
128
1.19k
{ \
129
1.19k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.19k
                   HIGHBD_TAIL_SUFFIX); \
131
1.19k
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_4x4_c
Line
Count
Source
127
1.19k
                                               HIGHBD_DECL_SUFFIX) \
128
1.19k
{ \
129
1.19k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.19k
                   HIGHBD_TAIL_SUFFIX); \
131
1.19k
}
itx_tmpl.c:inv_txfm_add_dct_identity_4x4_c
Line
Count
Source
127
2.63k
                                               HIGHBD_DECL_SUFFIX) \
128
2.63k
{ \
129
2.63k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.63k
                   HIGHBD_TAIL_SUFFIX); \
131
2.63k
}
itx_tmpl.c:inv_txfm_add_identity_dct_4x4_c
Line
Count
Source
127
2.02k
                                               HIGHBD_DECL_SUFFIX) \
128
2.02k
{ \
129
2.02k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.02k
                   HIGHBD_TAIL_SUFFIX); \
131
2.02k
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_4x4_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_identity_flipadst_4x4_c
Line
Count
Source
127
1.40k
                                               HIGHBD_DECL_SUFFIX) \
128
1.40k
{ \
129
1.40k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.40k
                   HIGHBD_TAIL_SUFFIX); \
131
1.40k
}
itx_tmpl.c:inv_txfm_add_adst_identity_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_identity_adst_4x4_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_dct_dct_4x8_c
Line
Count
Source
127
4.05k
                                               HIGHBD_DECL_SUFFIX) \
128
4.05k
{ \
129
4.05k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.05k
                   HIGHBD_TAIL_SUFFIX); \
131
4.05k
}
itx_tmpl.c:inv_txfm_add_identity_identity_4x8_c
Line
Count
Source
127
3.05k
                                               HIGHBD_DECL_SUFFIX) \
128
3.05k
{ \
129
3.05k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.05k
                   HIGHBD_TAIL_SUFFIX); \
131
3.05k
}
itx_tmpl.c:inv_txfm_add_adst_dct_4x8_c
Line
Count
Source
127
2.30k
                                               HIGHBD_DECL_SUFFIX) \
128
2.30k
{ \
129
2.30k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.30k
                   HIGHBD_TAIL_SUFFIX); \
131
2.30k
}
itx_tmpl.c:inv_txfm_add_dct_adst_4x8_c
Line
Count
Source
127
2.10k
                                               HIGHBD_DECL_SUFFIX) \
128
2.10k
{ \
129
2.10k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.10k
                   HIGHBD_TAIL_SUFFIX); \
131
2.10k
}
itx_tmpl.c:inv_txfm_add_adst_adst_4x8_c
Line
Count
Source
127
2.47k
                                               HIGHBD_DECL_SUFFIX) \
128
2.47k
{ \
129
2.47k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.47k
                   HIGHBD_TAIL_SUFFIX); \
131
2.47k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_4x8_c
Line
Count
Source
127
1.16k
                                               HIGHBD_DECL_SUFFIX) \
128
1.16k
{ \
129
1.16k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.16k
                   HIGHBD_TAIL_SUFFIX); \
131
1.16k
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_4x8_c
Line
Count
Source
127
692
                                               HIGHBD_DECL_SUFFIX) \
128
692
{ \
129
692
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
692
                   HIGHBD_TAIL_SUFFIX); \
131
692
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_4x8_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_4x8_c
Line
Count
Source
127
627
                                               HIGHBD_DECL_SUFFIX) \
128
627
{ \
129
627
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
627
                   HIGHBD_TAIL_SUFFIX); \
131
627
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_4x8_c
Line
Count
Source
127
916
                                               HIGHBD_DECL_SUFFIX) \
128
916
{ \
129
916
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
916
                   HIGHBD_TAIL_SUFFIX); \
131
916
}
itx_tmpl.c:inv_txfm_add_dct_identity_4x8_c
Line
Count
Source
127
1.78k
                                               HIGHBD_DECL_SUFFIX) \
128
1.78k
{ \
129
1.78k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.78k
                   HIGHBD_TAIL_SUFFIX); \
131
1.78k
}
itx_tmpl.c:inv_txfm_add_identity_dct_4x8_c
Line
Count
Source
127
1.20k
                                               HIGHBD_DECL_SUFFIX) \
128
1.20k
{ \
129
1.20k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.20k
                   HIGHBD_TAIL_SUFFIX); \
131
1.20k
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_4x8_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_identity_flipadst_4x8_c
Line
Count
Source
127
858
                                               HIGHBD_DECL_SUFFIX) \
128
858
{ \
129
858
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
858
                   HIGHBD_TAIL_SUFFIX); \
131
858
}
itx_tmpl.c:inv_txfm_add_adst_identity_4x8_c
Line
Count
Source
127
2.31k
                                               HIGHBD_DECL_SUFFIX) \
128
2.31k
{ \
129
2.31k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.31k
                   HIGHBD_TAIL_SUFFIX); \
131
2.31k
}
itx_tmpl.c:inv_txfm_add_identity_adst_4x8_c
Line
Count
Source
127
1.05k
                                               HIGHBD_DECL_SUFFIX) \
128
1.05k
{ \
129
1.05k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.05k
                   HIGHBD_TAIL_SUFFIX); \
131
1.05k
}
itx_tmpl.c:inv_txfm_add_dct_dct_4x16_c
Line
Count
Source
127
1.72k
                                               HIGHBD_DECL_SUFFIX) \
128
1.72k
{ \
129
1.72k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.72k
                   HIGHBD_TAIL_SUFFIX); \
131
1.72k
}
itx_tmpl.c:inv_txfm_add_identity_identity_4x16_c
Line
Count
Source
127
1.01k
                                               HIGHBD_DECL_SUFFIX) \
128
1.01k
{ \
129
1.01k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.01k
                   HIGHBD_TAIL_SUFFIX); \
131
1.01k
}
itx_tmpl.c:inv_txfm_add_adst_dct_4x16_c
Line
Count
Source
127
1.00k
                                               HIGHBD_DECL_SUFFIX) \
128
1.00k
{ \
129
1.00k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.00k
                   HIGHBD_TAIL_SUFFIX); \
131
1.00k
}
itx_tmpl.c:inv_txfm_add_dct_adst_4x16_c
Line
Count
Source
127
753
                                               HIGHBD_DECL_SUFFIX) \
128
753
{ \
129
753
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
753
                   HIGHBD_TAIL_SUFFIX); \
131
753
}
itx_tmpl.c:inv_txfm_add_adst_adst_4x16_c
Line
Count
Source
127
1.39k
                                               HIGHBD_DECL_SUFFIX) \
128
1.39k
{ \
129
1.39k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.39k
                   HIGHBD_TAIL_SUFFIX); \
131
1.39k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_4x16_c
Line
Count
Source
127
311
                                               HIGHBD_DECL_SUFFIX) \
128
311
{ \
129
311
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
311
                   HIGHBD_TAIL_SUFFIX); \
131
311
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_4x16_c
Line
Count
Source
127
400
                                               HIGHBD_DECL_SUFFIX) \
128
400
{ \
129
400
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
400
                   HIGHBD_TAIL_SUFFIX); \
131
400
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_4x16_c
Line
Count
Source
127
332
                                               HIGHBD_DECL_SUFFIX) \
128
332
{ \
129
332
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
332
                   HIGHBD_TAIL_SUFFIX); \
131
332
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_4x16_c
Line
Count
Source
127
378
                                               HIGHBD_DECL_SUFFIX) \
128
378
{ \
129
378
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
378
                   HIGHBD_TAIL_SUFFIX); \
131
378
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_4x16_c
Line
Count
Source
127
271
                                               HIGHBD_DECL_SUFFIX) \
128
271
{ \
129
271
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
271
                   HIGHBD_TAIL_SUFFIX); \
131
271
}
itx_tmpl.c:inv_txfm_add_dct_identity_4x16_c
Line
Count
Source
127
503
                                               HIGHBD_DECL_SUFFIX) \
128
503
{ \
129
503
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
503
                   HIGHBD_TAIL_SUFFIX); \
131
503
}
itx_tmpl.c:inv_txfm_add_identity_dct_4x16_c
Line
Count
Source
127
366
                                               HIGHBD_DECL_SUFFIX) \
128
366
{ \
129
366
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
366
                   HIGHBD_TAIL_SUFFIX); \
131
366
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_4x16_c
Line
Count
Source
127
396
                                               HIGHBD_DECL_SUFFIX) \
128
396
{ \
129
396
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
396
                   HIGHBD_TAIL_SUFFIX); \
131
396
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_4x16_c
Line
Count
Source
127
342
                                               HIGHBD_DECL_SUFFIX) \
128
342
{ \
129
342
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
342
                   HIGHBD_TAIL_SUFFIX); \
131
342
}
itx_tmpl.c:inv_txfm_add_adst_identity_4x16_c
Line
Count
Source
127
548
                                               HIGHBD_DECL_SUFFIX) \
128
548
{ \
129
548
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
548
                   HIGHBD_TAIL_SUFFIX); \
131
548
}
itx_tmpl.c:inv_txfm_add_identity_adst_4x16_c
Line
Count
Source
127
309
                                               HIGHBD_DECL_SUFFIX) \
128
309
{ \
129
309
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
309
                   HIGHBD_TAIL_SUFFIX); \
131
309
}
itx_tmpl.c:inv_txfm_add_dct_dct_8x4_c
Line
Count
Source
127
5.71k
                                               HIGHBD_DECL_SUFFIX) \
128
5.71k
{ \
129
5.71k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.71k
                   HIGHBD_TAIL_SUFFIX); \
131
5.71k
}
itx_tmpl.c:inv_txfm_add_identity_identity_8x4_c
Line
Count
Source
127
4.11k
                                               HIGHBD_DECL_SUFFIX) \
128
4.11k
{ \
129
4.11k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.11k
                   HIGHBD_TAIL_SUFFIX); \
131
4.11k
}
itx_tmpl.c:inv_txfm_add_adst_dct_8x4_c
Line
Count
Source
127
2.38k
                                               HIGHBD_DECL_SUFFIX) \
128
2.38k
{ \
129
2.38k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.38k
                   HIGHBD_TAIL_SUFFIX); \
131
2.38k
}
itx_tmpl.c:inv_txfm_add_dct_adst_8x4_c
Line
Count
Source
127
2.38k
                                               HIGHBD_DECL_SUFFIX) \
128
2.38k
{ \
129
2.38k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.38k
                   HIGHBD_TAIL_SUFFIX); \
131
2.38k
}
itx_tmpl.c:inv_txfm_add_adst_adst_8x4_c
Line
Count
Source
127
2.98k
                                               HIGHBD_DECL_SUFFIX) \
128
2.98k
{ \
129
2.98k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.98k
                   HIGHBD_TAIL_SUFFIX); \
131
2.98k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_8x4_c
Line
Count
Source
127
5.50k
                                               HIGHBD_DECL_SUFFIX) \
128
5.50k
{ \
129
5.50k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.50k
                   HIGHBD_TAIL_SUFFIX); \
131
5.50k
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_8x4_c
Line
Count
Source
127
1.34k
                                               HIGHBD_DECL_SUFFIX) \
128
1.34k
{ \
129
1.34k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.34k
                   HIGHBD_TAIL_SUFFIX); \
131
1.34k
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_8x4_c
Line
Count
Source
127
2.35k
                                               HIGHBD_DECL_SUFFIX) \
128
2.35k
{ \
129
2.35k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.35k
                   HIGHBD_TAIL_SUFFIX); \
131
2.35k
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_8x4_c
Line
Count
Source
127
1.06k
                                               HIGHBD_DECL_SUFFIX) \
128
1.06k
{ \
129
1.06k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.06k
                   HIGHBD_TAIL_SUFFIX); \
131
1.06k
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_8x4_c
Line
Count
Source
127
1.40k
                                               HIGHBD_DECL_SUFFIX) \
128
1.40k
{ \
129
1.40k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.40k
                   HIGHBD_TAIL_SUFFIX); \
131
1.40k
}
itx_tmpl.c:inv_txfm_add_dct_identity_8x4_c
Line
Count
Source
127
2.48k
                                               HIGHBD_DECL_SUFFIX) \
128
2.48k
{ \
129
2.48k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.48k
                   HIGHBD_TAIL_SUFFIX); \
131
2.48k
}
itx_tmpl.c:inv_txfm_add_identity_dct_8x4_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_identity_8x4_c
Line
Count
Source
127
2.25k
                                               HIGHBD_DECL_SUFFIX) \
128
2.25k
{ \
129
2.25k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.25k
                   HIGHBD_TAIL_SUFFIX); \
131
2.25k
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_8x4_c
Line
Count
Source
127
5.07k
                                               HIGHBD_DECL_SUFFIX) \
128
5.07k
{ \
129
5.07k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.07k
                   HIGHBD_TAIL_SUFFIX); \
131
5.07k
}
itx_tmpl.c:inv_txfm_add_adst_identity_8x4_c
Line
Count
Source
127
2.27k
                                               HIGHBD_DECL_SUFFIX) \
128
2.27k
{ \
129
2.27k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.27k
                   HIGHBD_TAIL_SUFFIX); \
131
2.27k
}
itx_tmpl.c:inv_txfm_add_identity_adst_8x4_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_dct_dct_8x8_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_identity_identity_8x8_c
Line
Count
Source
127
8.14k
                                               HIGHBD_DECL_SUFFIX) \
128
8.14k
{ \
129
8.14k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
8.14k
                   HIGHBD_TAIL_SUFFIX); \
131
8.14k
}
itx_tmpl.c:inv_txfm_add_adst_dct_8x8_c
Line
Count
Source
127
7.05k
                                               HIGHBD_DECL_SUFFIX) \
128
7.05k
{ \
129
7.05k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
7.05k
                   HIGHBD_TAIL_SUFFIX); \
131
7.05k
}
itx_tmpl.c:inv_txfm_add_dct_adst_8x8_c
Line
Count
Source
127
6.61k
                                               HIGHBD_DECL_SUFFIX) \
128
6.61k
{ \
129
6.61k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
6.61k
                   HIGHBD_TAIL_SUFFIX); \
131
6.61k
}
itx_tmpl.c:inv_txfm_add_adst_adst_8x8_c
Line
Count
Source
127
6.51k
                                               HIGHBD_DECL_SUFFIX) \
128
6.51k
{ \
129
6.51k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
6.51k
                   HIGHBD_TAIL_SUFFIX); \
131
6.51k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_8x8_c
Line
Count
Source
127
2.17k
                                               HIGHBD_DECL_SUFFIX) \
128
2.17k
{ \
129
2.17k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.17k
                   HIGHBD_TAIL_SUFFIX); \
131
2.17k
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_8x8_c
Line
Count
Source
127
2.73k
                                               HIGHBD_DECL_SUFFIX) \
128
2.73k
{ \
129
2.73k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.73k
                   HIGHBD_TAIL_SUFFIX); \
131
2.73k
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_8x8_c
Line
Count
Source
127
2.73k
                                               HIGHBD_DECL_SUFFIX) \
128
2.73k
{ \
129
2.73k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.73k
                   HIGHBD_TAIL_SUFFIX); \
131
2.73k
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_8x8_c
Line
Count
Source
127
1.81k
                                               HIGHBD_DECL_SUFFIX) \
128
1.81k
{ \
129
1.81k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.81k
                   HIGHBD_TAIL_SUFFIX); \
131
1.81k
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_8x8_c
Line
Count
Source
127
1.32k
                                               HIGHBD_DECL_SUFFIX) \
128
1.32k
{ \
129
1.32k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.32k
                   HIGHBD_TAIL_SUFFIX); \
131
1.32k
}
itx_tmpl.c:inv_txfm_add_dct_identity_8x8_c
Line
Count
Source
127
3.35k
                                               HIGHBD_DECL_SUFFIX) \
128
3.35k
{ \
129
3.35k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.35k
                   HIGHBD_TAIL_SUFFIX); \
131
3.35k
}
itx_tmpl.c:inv_txfm_add_identity_dct_8x8_c
Line
Count
Source
127
2.06k
                                               HIGHBD_DECL_SUFFIX) \
128
2.06k
{ \
129
2.06k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.06k
                   HIGHBD_TAIL_SUFFIX); \
131
2.06k
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_8x8_c
Line
Count
Source
127
1.99k
                                               HIGHBD_DECL_SUFFIX) \
128
1.99k
{ \
129
1.99k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.99k
                   HIGHBD_TAIL_SUFFIX); \
131
1.99k
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_8x8_c
Line
Count
Source
127
1.49k
                                               HIGHBD_DECL_SUFFIX) \
128
1.49k
{ \
129
1.49k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.49k
                   HIGHBD_TAIL_SUFFIX); \
131
1.49k
}
itx_tmpl.c:inv_txfm_add_adst_identity_8x8_c
Line
Count
Source
127
2.40k
                                               HIGHBD_DECL_SUFFIX) \
128
2.40k
{ \
129
2.40k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.40k
                   HIGHBD_TAIL_SUFFIX); \
131
2.40k
}
itx_tmpl.c:inv_txfm_add_identity_adst_8x8_c
Line
Count
Source
127
2.00k
                                               HIGHBD_DECL_SUFFIX) \
128
2.00k
{ \
129
2.00k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.00k
                   HIGHBD_TAIL_SUFFIX); \
131
2.00k
}
itx_tmpl.c:inv_txfm_add_dct_dct_8x16_c
Line
Count
Source
127
6.54k
                                               HIGHBD_DECL_SUFFIX) \
128
6.54k
{ \
129
6.54k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
6.54k
                   HIGHBD_TAIL_SUFFIX); \
131
6.54k
}
itx_tmpl.c:inv_txfm_add_identity_identity_8x16_c
Line
Count
Source
127
1.98k
                                               HIGHBD_DECL_SUFFIX) \
128
1.98k
{ \
129
1.98k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.98k
                   HIGHBD_TAIL_SUFFIX); \
131
1.98k
}
itx_tmpl.c:inv_txfm_add_adst_dct_8x16_c
Line
Count
Source
127
2.23k
                                               HIGHBD_DECL_SUFFIX) \
128
2.23k
{ \
129
2.23k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.23k
                   HIGHBD_TAIL_SUFFIX); \
131
2.23k
}
itx_tmpl.c:inv_txfm_add_dct_adst_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_adst_8x16_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_flipadst_adst_8x16_c
Line
Count
Source
127
899
                                               HIGHBD_DECL_SUFFIX) \
128
899
{ \
129
899
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
899
                   HIGHBD_TAIL_SUFFIX); \
131
899
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_8x16_c
Line
Count
Source
127
836
                                               HIGHBD_DECL_SUFFIX) \
128
836
{ \
129
836
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
836
                   HIGHBD_TAIL_SUFFIX); \
131
836
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_8x16_c
Line
Count
Source
127
1.36k
                                               HIGHBD_DECL_SUFFIX) \
128
1.36k
{ \
129
1.36k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.36k
                   HIGHBD_TAIL_SUFFIX); \
131
1.36k
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_8x16_c
Line
Count
Source
127
1.06k
                                               HIGHBD_DECL_SUFFIX) \
128
1.06k
{ \
129
1.06k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.06k
                   HIGHBD_TAIL_SUFFIX); \
131
1.06k
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_8x16_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_dct_identity_8x16_c
Line
Count
Source
127
1.33k
                                               HIGHBD_DECL_SUFFIX) \
128
1.33k
{ \
129
1.33k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.33k
                   HIGHBD_TAIL_SUFFIX); \
131
1.33k
}
itx_tmpl.c:inv_txfm_add_identity_dct_8x16_c
Line
Count
Source
127
975
                                               HIGHBD_DECL_SUFFIX) \
128
975
{ \
129
975
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
975
                   HIGHBD_TAIL_SUFFIX); \
131
975
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_8x16_c
Line
Count
Source
127
944
                                               HIGHBD_DECL_SUFFIX) \
128
944
{ \
129
944
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
944
                   HIGHBD_TAIL_SUFFIX); \
131
944
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_8x16_c
Line
Count
Source
127
662
                                               HIGHBD_DECL_SUFFIX) \
128
662
{ \
129
662
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
662
                   HIGHBD_TAIL_SUFFIX); \
131
662
}
itx_tmpl.c:inv_txfm_add_adst_identity_8x16_c
Line
Count
Source
127
1.21k
                                               HIGHBD_DECL_SUFFIX) \
128
1.21k
{ \
129
1.21k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.21k
                   HIGHBD_TAIL_SUFFIX); \
131
1.21k
}
itx_tmpl.c:inv_txfm_add_identity_adst_8x16_c
Line
Count
Source
127
661
                                               HIGHBD_DECL_SUFFIX) \
128
661
{ \
129
661
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
661
                   HIGHBD_TAIL_SUFFIX); \
131
661
}
itx_tmpl.c:inv_txfm_add_dct_dct_8x32_c
Line
Count
Source
127
4.51k
                                               HIGHBD_DECL_SUFFIX) \
128
4.51k
{ \
129
4.51k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.51k
                   HIGHBD_TAIL_SUFFIX); \
131
4.51k
}
itx_tmpl.c:inv_txfm_add_identity_identity_8x32_c
Line
Count
Source
127
517
                                               HIGHBD_DECL_SUFFIX) \
128
517
{ \
129
517
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
517
                   HIGHBD_TAIL_SUFFIX); \
131
517
}
itx_tmpl.c:inv_txfm_add_dct_dct_16x4_c
Line
Count
Source
127
1.64k
                                               HIGHBD_DECL_SUFFIX) \
128
1.64k
{ \
129
1.64k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.64k
                   HIGHBD_TAIL_SUFFIX); \
131
1.64k
}
itx_tmpl.c:inv_txfm_add_identity_identity_16x4_c
Line
Count
Source
127
968
                                               HIGHBD_DECL_SUFFIX) \
128
968
{ \
129
968
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
968
                   HIGHBD_TAIL_SUFFIX); \
131
968
}
itx_tmpl.c:inv_txfm_add_adst_dct_16x4_c
Line
Count
Source
127
910
                                               HIGHBD_DECL_SUFFIX) \
128
910
{ \
129
910
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
910
                   HIGHBD_TAIL_SUFFIX); \
131
910
}
itx_tmpl.c:inv_txfm_add_dct_adst_16x4_c
Line
Count
Source
127
700
                                               HIGHBD_DECL_SUFFIX) \
128
700
{ \
129
700
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
700
                   HIGHBD_TAIL_SUFFIX); \
131
700
}
itx_tmpl.c:inv_txfm_add_adst_adst_16x4_c
Line
Count
Source
127
1.18k
                                               HIGHBD_DECL_SUFFIX) \
128
1.18k
{ \
129
1.18k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.18k
                   HIGHBD_TAIL_SUFFIX); \
131
1.18k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_16x4_c
Line
Count
Source
127
375
                                               HIGHBD_DECL_SUFFIX) \
128
375
{ \
129
375
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
375
                   HIGHBD_TAIL_SUFFIX); \
131
375
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_16x4_c
Line
Count
Source
127
338
                                               HIGHBD_DECL_SUFFIX) \
128
338
{ \
129
338
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
338
                   HIGHBD_TAIL_SUFFIX); \
131
338
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_16x4_c
Line
Count
Source
127
330
                                               HIGHBD_DECL_SUFFIX) \
128
330
{ \
129
330
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
330
                   HIGHBD_TAIL_SUFFIX); \
131
330
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_16x4_c
Line
Count
Source
127
493
                                               HIGHBD_DECL_SUFFIX) \
128
493
{ \
129
493
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
493
                   HIGHBD_TAIL_SUFFIX); \
131
493
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_16x4_c
Line
Count
Source
127
333
                                               HIGHBD_DECL_SUFFIX) \
128
333
{ \
129
333
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
333
                   HIGHBD_TAIL_SUFFIX); \
131
333
}
itx_tmpl.c:inv_txfm_add_dct_identity_16x4_c
Line
Count
Source
127
583
                                               HIGHBD_DECL_SUFFIX) \
128
583
{ \
129
583
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
583
                   HIGHBD_TAIL_SUFFIX); \
131
583
}
itx_tmpl.c:inv_txfm_add_identity_dct_16x4_c
Line
Count
Source
127
426
                                               HIGHBD_DECL_SUFFIX) \
128
426
{ \
129
426
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
426
                   HIGHBD_TAIL_SUFFIX); \
131
426
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_16x4_c
Line
Count
Source
127
484
                                               HIGHBD_DECL_SUFFIX) \
128
484
{ \
129
484
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
484
                   HIGHBD_TAIL_SUFFIX); \
131
484
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_16x4_c
Line
Count
Source
127
368
                                               HIGHBD_DECL_SUFFIX) \
128
368
{ \
129
368
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
368
                   HIGHBD_TAIL_SUFFIX); \
131
368
}
itx_tmpl.c:inv_txfm_add_adst_identity_16x4_c
Line
Count
Source
127
479
                                               HIGHBD_DECL_SUFFIX) \
128
479
{ \
129
479
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
479
                   HIGHBD_TAIL_SUFFIX); \
131
479
}
itx_tmpl.c:inv_txfm_add_identity_adst_16x4_c
Line
Count
Source
127
363
                                               HIGHBD_DECL_SUFFIX) \
128
363
{ \
129
363
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
363
                   HIGHBD_TAIL_SUFFIX); \
131
363
}
itx_tmpl.c:inv_txfm_add_dct_dct_16x8_c
Line
Count
Source
127
7.20k
                                               HIGHBD_DECL_SUFFIX) \
128
7.20k
{ \
129
7.20k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
7.20k
                   HIGHBD_TAIL_SUFFIX); \
131
7.20k
}
itx_tmpl.c:inv_txfm_add_identity_identity_16x8_c
Line
Count
Source
127
1.64k
                                               HIGHBD_DECL_SUFFIX) \
128
1.64k
{ \
129
1.64k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.64k
                   HIGHBD_TAIL_SUFFIX); \
131
1.64k
}
itx_tmpl.c:inv_txfm_add_adst_dct_16x8_c
Line
Count
Source
127
2.31k
                                               HIGHBD_DECL_SUFFIX) \
128
2.31k
{ \
129
2.31k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.31k
                   HIGHBD_TAIL_SUFFIX); \
131
2.31k
}
itx_tmpl.c:inv_txfm_add_dct_adst_16x8_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_adst_adst_16x8_c
Line
Count
Source
127
2.53k
                                               HIGHBD_DECL_SUFFIX) \
128
2.53k
{ \
129
2.53k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.53k
                   HIGHBD_TAIL_SUFFIX); \
131
2.53k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_16x8_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_adst_flipadst_16x8_c
Line
Count
Source
127
920
                                               HIGHBD_DECL_SUFFIX) \
128
920
{ \
129
920
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
920
                   HIGHBD_TAIL_SUFFIX); \
131
920
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_16x8_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_dct_flipadst_16x8_c
Line
Count
Source
127
842
                                               HIGHBD_DECL_SUFFIX) \
128
842
{ \
129
842
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
842
                   HIGHBD_TAIL_SUFFIX); \
131
842
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_16x8_c
Line
Count
Source
127
822
                                               HIGHBD_DECL_SUFFIX) \
128
822
{ \
129
822
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
822
                   HIGHBD_TAIL_SUFFIX); \
131
822
}
itx_tmpl.c:inv_txfm_add_dct_identity_16x8_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_identity_dct_16x8_c
Line
Count
Source
127
941
                                               HIGHBD_DECL_SUFFIX) \
128
941
{ \
129
941
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
941
                   HIGHBD_TAIL_SUFFIX); \
131
941
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_16x8_c
Line
Count
Source
127
889
                                               HIGHBD_DECL_SUFFIX) \
128
889
{ \
129
889
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
889
                   HIGHBD_TAIL_SUFFIX); \
131
889
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_16x8_c
Line
Count
Source
127
626
                                               HIGHBD_DECL_SUFFIX) \
128
626
{ \
129
626
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
626
                   HIGHBD_TAIL_SUFFIX); \
131
626
}
itx_tmpl.c:inv_txfm_add_adst_identity_16x8_c
Line
Count
Source
127
921
                                               HIGHBD_DECL_SUFFIX) \
128
921
{ \
129
921
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
921
                   HIGHBD_TAIL_SUFFIX); \
131
921
}
itx_tmpl.c:inv_txfm_add_identity_adst_16x8_c
Line
Count
Source
127
749
                                               HIGHBD_DECL_SUFFIX) \
128
749
{ \
129
749
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
749
                   HIGHBD_TAIL_SUFFIX); \
131
749
}
itx_tmpl.c:inv_txfm_add_dct_dct_16x16_c
Line
Count
Source
127
10.2k
                                               HIGHBD_DECL_SUFFIX) \
128
10.2k
{ \
129
10.2k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
10.2k
                   HIGHBD_TAIL_SUFFIX); \
131
10.2k
}
itx_tmpl.c:inv_txfm_add_identity_identity_16x16_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_adst_dct_16x16_c
Line
Count
Source
127
5.95k
                                               HIGHBD_DECL_SUFFIX) \
128
5.95k
{ \
129
5.95k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.95k
                   HIGHBD_TAIL_SUFFIX); \
131
5.95k
}
itx_tmpl.c:inv_txfm_add_dct_adst_16x16_c
Line
Count
Source
127
5.60k
                                               HIGHBD_DECL_SUFFIX) \
128
5.60k
{ \
129
5.60k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.60k
                   HIGHBD_TAIL_SUFFIX); \
131
5.60k
}
itx_tmpl.c:inv_txfm_add_adst_adst_16x16_c
Line
Count
Source
127
6.14k
                                               HIGHBD_DECL_SUFFIX) \
128
6.14k
{ \
129
6.14k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
6.14k
                   HIGHBD_TAIL_SUFFIX); \
131
6.14k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_16x16_c
Line
Count
Source
127
1.13k
                                               HIGHBD_DECL_SUFFIX) \
128
1.13k
{ \
129
1.13k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.13k
                   HIGHBD_TAIL_SUFFIX); \
131
1.13k
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_16x16_c
Line
Count
Source
127
1.27k
                                               HIGHBD_DECL_SUFFIX) \
128
1.27k
{ \
129
1.27k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.27k
                   HIGHBD_TAIL_SUFFIX); \
131
1.27k
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_16x16_c
Line
Count
Source
127
1.11k
                                               HIGHBD_DECL_SUFFIX) \
128
1.11k
{ \
129
1.11k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.11k
                   HIGHBD_TAIL_SUFFIX); \
131
1.11k
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_16x16_c
Line
Count
Source
127
1.38k
                                               HIGHBD_DECL_SUFFIX) \
128
1.38k
{ \
129
1.38k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.38k
                   HIGHBD_TAIL_SUFFIX); \
131
1.38k
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_16x16_c
Line
Count
Source
127
1.00k
                                               HIGHBD_DECL_SUFFIX) \
128
1.00k
{ \
129
1.00k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.00k
                   HIGHBD_TAIL_SUFFIX); \
131
1.00k
}
itx_tmpl.c:inv_txfm_add_dct_identity_16x16_c
Line
Count
Source
127
1.22k
                                               HIGHBD_DECL_SUFFIX) \
128
1.22k
{ \
129
1.22k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.22k
                   HIGHBD_TAIL_SUFFIX); \
131
1.22k
}
itx_tmpl.c:inv_txfm_add_identity_dct_16x16_c
Line
Count
Source
127
763
                                               HIGHBD_DECL_SUFFIX) \
128
763
{ \
129
763
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
763
                   HIGHBD_TAIL_SUFFIX); \
131
763
}
itx_tmpl.c:inv_txfm_add_dct_dct_16x32_c
Line
Count
Source
127
16.7k
                                               HIGHBD_DECL_SUFFIX) \
128
16.7k
{ \
129
16.7k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
16.7k
                   HIGHBD_TAIL_SUFFIX); \
131
16.7k
}
itx_tmpl.c:inv_txfm_add_identity_identity_16x32_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_16x64_c
Line
Count
Source
127
777
                                               HIGHBD_DECL_SUFFIX) \
128
777
{ \
129
777
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
777
                   HIGHBD_TAIL_SUFFIX); \
131
777
}
itx_tmpl.c:inv_txfm_add_dct_dct_32x8_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_identity_32x8_c
Line
Count
Source
127
468
                                               HIGHBD_DECL_SUFFIX) \
128
468
{ \
129
468
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
468
                   HIGHBD_TAIL_SUFFIX); \
131
468
}
itx_tmpl.c:inv_txfm_add_dct_dct_32x16_c
Line
Count
Source
127
10.4k
                                               HIGHBD_DECL_SUFFIX) \
128
10.4k
{ \
129
10.4k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
10.4k
                   HIGHBD_TAIL_SUFFIX); \
131
10.4k
}
itx_tmpl.c:inv_txfm_add_identity_identity_32x16_c
Line
Count
Source
127
856
                                               HIGHBD_DECL_SUFFIX) \
128
856
{ \
129
856
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
856
                   HIGHBD_TAIL_SUFFIX); \
131
856
}
itx_tmpl.c:inv_txfm_add_dct_dct_32x32_c
Line
Count
Source
127
195k
                                               HIGHBD_DECL_SUFFIX) \
128
195k
{ \
129
195k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
195k
                   HIGHBD_TAIL_SUFFIX); \
131
195k
}
itx_tmpl.c:inv_txfm_add_identity_identity_32x32_c
Line
Count
Source
127
359
                                               HIGHBD_DECL_SUFFIX) \
128
359
{ \
129
359
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
359
                   HIGHBD_TAIL_SUFFIX); \
131
359
}
itx_tmpl.c:inv_txfm_add_dct_dct_32x64_c
Line
Count
Source
127
59.5k
                                               HIGHBD_DECL_SUFFIX) \
128
59.5k
{ \
129
59.5k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
59.5k
                   HIGHBD_TAIL_SUFFIX); \
131
59.5k
}
itx_tmpl.c:inv_txfm_add_dct_dct_64x16_c
Line
Count
Source
127
962
                                               HIGHBD_DECL_SUFFIX) \
128
962
{ \
129
962
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
962
                   HIGHBD_TAIL_SUFFIX); \
131
962
}
itx_tmpl.c:inv_txfm_add_dct_dct_64x32_c
Line
Count
Source
127
6.98k
                                               HIGHBD_DECL_SUFFIX) \
128
6.98k
{ \
129
6.98k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
6.98k
                   HIGHBD_TAIL_SUFFIX); \
131
6.98k
}
itx_tmpl.c:inv_txfm_add_dct_dct_64x64_c
Line
Count
Source
127
18.2k
                                               HIGHBD_DECL_SUFFIX) \
128
18.2k
{ \
129
18.2k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
18.2k
                   HIGHBD_TAIL_SUFFIX); \
131
18.2k
}
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
47.0k
{
188
47.0k
    int32_t tmp[4 * 4], *c = tmp;
189
235k
    for (int y = 0; y < 4; y++, c += 4) {
190
940k
        for (int x = 0; x < 4; x++)
191
752k
            c[x] = coeff[y + x * 4] >> 2;
192
188k
        dav1d_inv_wht4_1d_c(c, 1);
193
188k
    }
194
47.0k
    memset(coeff, 0, sizeof(*coeff) * 4 * 4);
195
196
235k
    for (int x = 0; x < 4; x++)
197
188k
        dav1d_inv_wht4_1d_c(&tmp[x], 4);
198
199
47.0k
    c = tmp;
200
235k
    for (int y = 0; y < 4; y++, dst += PXSTRIDE(stride))
201
940k
        for (int x = 0; x < 4; x++)
202
752k
            dst[x] = iclip_pixel(dst[x] + *c++);
203
47.0k
}
204
#endif
205
206
#if HAVE_ASM
207
#if ARCH_AARCH64 || ARCH_ARM
208
#include "src/arm/itx.h"
209
#elif ARCH_LOONGARCH64
210
#include "src/loongarch/itx.h"
211
#elif ARCH_PPC64LE
212
#include "src/ppc/itx.h"
213
#elif ARCH_RISCV
214
#include "src/riscv/itx.h"
215
#elif ARCH_X86
216
#include "src/x86/itx.h"
217
#endif
218
#endif
219
220
30.8k
COLD void bitfn(dav1d_itx_dsp_init)(Dav1dInvTxfmDSPContext *const c, int bpc) {
221
30.8k
#define assign_itx_all_fn64(w, h, pfx) \
222
586k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_DCT  ] = \
223
586k
        inv_txfm_add_dct_dct_##w##x##h##_c
224
225
30.8k
#define assign_itx_all_fn32(w, h, pfx) \
226
432k
    assign_itx_all_fn64(w, h, pfx); \
227
432k
    c->itxfm_add[pfx##TX_##w##X##h][IDTX] = \
228
432k
        inv_txfm_add_identity_identity_##w##x##h##_c
229
230
30.8k
#define assign_itx_all_fn16(w, h, pfx) \
231
277k
    assign_itx_all_fn32(w, h, pfx); \
232
277k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_ADST ] = \
233
277k
        inv_txfm_add_adst_dct_##w##x##h##_c; \
234
277k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_DCT ] = \
235
277k
        inv_txfm_add_dct_adst_##w##x##h##_c; \
236
277k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_ADST] = \
237
277k
        inv_txfm_add_adst_adst_##w##x##h##_c; \
238
277k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_FLIPADST] = \
239
277k
        inv_txfm_add_flipadst_adst_##w##x##h##_c; \
240
277k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_ADST] = \
241
277k
        inv_txfm_add_adst_flipadst_##w##x##h##_c; \
242
277k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_FLIPADST] = \
243
277k
        inv_txfm_add_flipadst_dct_##w##x##h##_c; \
244
277k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_DCT] = \
245
277k
        inv_txfm_add_dct_flipadst_##w##x##h##_c; \
246
277k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_FLIPADST] = \
247
277k
        inv_txfm_add_flipadst_flipadst_##w##x##h##_c; \
248
277k
    c->itxfm_add[pfx##TX_##w##X##h][H_DCT] = \
249
277k
        inv_txfm_add_dct_identity_##w##x##h##_c; \
250
277k
    c->itxfm_add[pfx##TX_##w##X##h][V_DCT] = \
251
277k
        inv_txfm_add_identity_dct_##w##x##h##_c
252
253
30.8k
#define assign_itx_all_fn84(w, h, pfx) \
254
246k
    assign_itx_all_fn16(w, h, pfx); \
255
246k
    c->itxfm_add[pfx##TX_##w##X##h][H_FLIPADST] = \
256
246k
        inv_txfm_add_flipadst_identity_##w##x##h##_c; \
257
246k
    c->itxfm_add[pfx##TX_##w##X##h][V_FLIPADST] = \
258
246k
        inv_txfm_add_identity_flipadst_##w##x##h##_c; \
259
246k
    c->itxfm_add[pfx##TX_##w##X##h][H_ADST] = \
260
246k
        inv_txfm_add_adst_identity_##w##x##h##_c; \
261
246k
    c->itxfm_add[pfx##TX_##w##X##h][V_ADST] = \
262
246k
        inv_txfm_add_identity_adst_##w##x##h##_c; \
263
30.8k
264
30.8k
#if !(HAVE_ASM && TRIM_DSP_FUNCTIONS && ( \
265
30.8k
  ARCH_AARCH64 || \
266
30.8k
  (ARCH_ARM && (defined(__ARM_NEON) || defined(__APPLE__) || defined(_WIN32))) \
267
30.8k
))
268
30.8k
    c->itxfm_add[TX_4X4][WHT_WHT] = inv_txfm_add_wht_wht_4x4_c;
269
30.8k
#endif
270
30.8k
    assign_itx_all_fn84( 4,  4, );
271
30.8k
    assign_itx_all_fn84( 4,  8, R);
272
30.8k
    assign_itx_all_fn84( 4, 16, R);
273
30.8k
    assign_itx_all_fn84( 8,  4, R);
274
30.8k
    assign_itx_all_fn84( 8,  8, );
275
30.8k
    assign_itx_all_fn84( 8, 16, R);
276
30.8k
    assign_itx_all_fn32( 8, 32, R);
277
30.8k
    assign_itx_all_fn84(16,  4, R);
278
30.8k
    assign_itx_all_fn84(16,  8, R);
279
30.8k
    assign_itx_all_fn16(16, 16, );
280
30.8k
    assign_itx_all_fn32(16, 32, R);
281
30.8k
    assign_itx_all_fn64(16, 64, R);
282
30.8k
    assign_itx_all_fn32(32,  8, R);
283
30.8k
    assign_itx_all_fn32(32, 16, R);
284
30.8k
    assign_itx_all_fn32(32, 32, );
285
30.8k
    assign_itx_all_fn64(32, 64, R);
286
30.8k
    assign_itx_all_fn64(64, 16, R);
287
30.8k
    assign_itx_all_fn64(64, 32, R);
288
30.8k
    assign_itx_all_fn64(64, 64, );
289
290
30.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
30.8k
    if (!all_simd)
310
30.8k
        dav1d_init_last_nonzero_col_from_eob_tables();
311
30.8k
}
dav1d_itx_dsp_init_8bpc
Line
Count
Source
220
14.4k
COLD void bitfn(dav1d_itx_dsp_init)(Dav1dInvTxfmDSPContext *const c, int bpc) {
221
14.4k
#define assign_itx_all_fn64(w, h, pfx) \
222
14.4k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_DCT  ] = \
223
14.4k
        inv_txfm_add_dct_dct_##w##x##h##_c
224
225
14.4k
#define assign_itx_all_fn32(w, h, pfx) \
226
14.4k
    assign_itx_all_fn64(w, h, pfx); \
227
14.4k
    c->itxfm_add[pfx##TX_##w##X##h][IDTX] = \
228
14.4k
        inv_txfm_add_identity_identity_##w##x##h##_c
229
230
14.4k
#define assign_itx_all_fn16(w, h, pfx) \
231
14.4k
    assign_itx_all_fn32(w, h, pfx); \
232
14.4k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_ADST ] = \
233
14.4k
        inv_txfm_add_adst_dct_##w##x##h##_c; \
234
14.4k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_DCT ] = \
235
14.4k
        inv_txfm_add_dct_adst_##w##x##h##_c; \
236
14.4k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_ADST] = \
237
14.4k
        inv_txfm_add_adst_adst_##w##x##h##_c; \
238
14.4k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_FLIPADST] = \
239
14.4k
        inv_txfm_add_flipadst_adst_##w##x##h##_c; \
240
14.4k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_ADST] = \
241
14.4k
        inv_txfm_add_adst_flipadst_##w##x##h##_c; \
242
14.4k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_FLIPADST] = \
243
14.4k
        inv_txfm_add_flipadst_dct_##w##x##h##_c; \
244
14.4k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_DCT] = \
245
14.4k
        inv_txfm_add_dct_flipadst_##w##x##h##_c; \
246
14.4k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_FLIPADST] = \
247
14.4k
        inv_txfm_add_flipadst_flipadst_##w##x##h##_c; \
248
14.4k
    c->itxfm_add[pfx##TX_##w##X##h][H_DCT] = \
249
14.4k
        inv_txfm_add_dct_identity_##w##x##h##_c; \
250
14.4k
    c->itxfm_add[pfx##TX_##w##X##h][V_DCT] = \
251
14.4k
        inv_txfm_add_identity_dct_##w##x##h##_c
252
253
14.4k
#define assign_itx_all_fn84(w, h, pfx) \
254
14.4k
    assign_itx_all_fn16(w, h, pfx); \
255
14.4k
    c->itxfm_add[pfx##TX_##w##X##h][H_FLIPADST] = \
256
14.4k
        inv_txfm_add_flipadst_identity_##w##x##h##_c; \
257
14.4k
    c->itxfm_add[pfx##TX_##w##X##h][V_FLIPADST] = \
258
14.4k
        inv_txfm_add_identity_flipadst_##w##x##h##_c; \
259
14.4k
    c->itxfm_add[pfx##TX_##w##X##h][H_ADST] = \
260
14.4k
        inv_txfm_add_adst_identity_##w##x##h##_c; \
261
14.4k
    c->itxfm_add[pfx##TX_##w##X##h][V_ADST] = \
262
14.4k
        inv_txfm_add_identity_adst_##w##x##h##_c; \
263
14.4k
264
14.4k
#if !(HAVE_ASM && TRIM_DSP_FUNCTIONS && ( \
265
14.4k
  ARCH_AARCH64 || \
266
14.4k
  (ARCH_ARM && (defined(__ARM_NEON) || defined(__APPLE__) || defined(_WIN32))) \
267
14.4k
))
268
14.4k
    c->itxfm_add[TX_4X4][WHT_WHT] = inv_txfm_add_wht_wht_4x4_c;
269
14.4k
#endif
270
14.4k
    assign_itx_all_fn84( 4,  4, );
271
14.4k
    assign_itx_all_fn84( 4,  8, R);
272
14.4k
    assign_itx_all_fn84( 4, 16, R);
273
14.4k
    assign_itx_all_fn84( 8,  4, R);
274
14.4k
    assign_itx_all_fn84( 8,  8, );
275
14.4k
    assign_itx_all_fn84( 8, 16, R);
276
14.4k
    assign_itx_all_fn32( 8, 32, R);
277
14.4k
    assign_itx_all_fn84(16,  4, R);
278
14.4k
    assign_itx_all_fn84(16,  8, R);
279
14.4k
    assign_itx_all_fn16(16, 16, );
280
14.4k
    assign_itx_all_fn32(16, 32, R);
281
14.4k
    assign_itx_all_fn64(16, 64, R);
282
14.4k
    assign_itx_all_fn32(32,  8, R);
283
14.4k
    assign_itx_all_fn32(32, 16, R);
284
14.4k
    assign_itx_all_fn32(32, 32, );
285
14.4k
    assign_itx_all_fn64(32, 64, R);
286
14.4k
    assign_itx_all_fn64(64, 16, R);
287
14.4k
    assign_itx_all_fn64(64, 32, R);
288
14.4k
    assign_itx_all_fn64(64, 64, );
289
290
14.4k
    int all_simd = 0;
291
#if HAVE_ASM
292
#if ARCH_AARCH64 || ARCH_ARM
293
    itx_dsp_init_arm(c, bpc, &all_simd);
294
#endif
295
#if ARCH_LOONGARCH64
296
    itx_dsp_init_loongarch(c, bpc);
297
#endif
298
#if ARCH_PPC64LE
299
    itx_dsp_init_ppc(c, bpc);
300
#endif
301
#if ARCH_RISCV
302
    itx_dsp_init_riscv(c, bpc);
303
#endif
304
#if ARCH_X86
305
    itx_dsp_init_x86(c, bpc, &all_simd);
306
#endif
307
#endif
308
309
14.4k
    if (!all_simd)
310
14.4k
        dav1d_init_last_nonzero_col_from_eob_tables();
311
14.4k
}
dav1d_itx_dsp_init_16bpc
Line
Count
Source
220
16.4k
COLD void bitfn(dav1d_itx_dsp_init)(Dav1dInvTxfmDSPContext *const c, int bpc) {
221
16.4k
#define assign_itx_all_fn64(w, h, pfx) \
222
16.4k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_DCT  ] = \
223
16.4k
        inv_txfm_add_dct_dct_##w##x##h##_c
224
225
16.4k
#define assign_itx_all_fn32(w, h, pfx) \
226
16.4k
    assign_itx_all_fn64(w, h, pfx); \
227
16.4k
    c->itxfm_add[pfx##TX_##w##X##h][IDTX] = \
228
16.4k
        inv_txfm_add_identity_identity_##w##x##h##_c
229
230
16.4k
#define assign_itx_all_fn16(w, h, pfx) \
231
16.4k
    assign_itx_all_fn32(w, h, pfx); \
232
16.4k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_ADST ] = \
233
16.4k
        inv_txfm_add_adst_dct_##w##x##h##_c; \
234
16.4k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_DCT ] = \
235
16.4k
        inv_txfm_add_dct_adst_##w##x##h##_c; \
236
16.4k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_ADST] = \
237
16.4k
        inv_txfm_add_adst_adst_##w##x##h##_c; \
238
16.4k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_FLIPADST] = \
239
16.4k
        inv_txfm_add_flipadst_adst_##w##x##h##_c; \
240
16.4k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_ADST] = \
241
16.4k
        inv_txfm_add_adst_flipadst_##w##x##h##_c; \
242
16.4k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_FLIPADST] = \
243
16.4k
        inv_txfm_add_flipadst_dct_##w##x##h##_c; \
244
16.4k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_DCT] = \
245
16.4k
        inv_txfm_add_dct_flipadst_##w##x##h##_c; \
246
16.4k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_FLIPADST] = \
247
16.4k
        inv_txfm_add_flipadst_flipadst_##w##x##h##_c; \
248
16.4k
    c->itxfm_add[pfx##TX_##w##X##h][H_DCT] = \
249
16.4k
        inv_txfm_add_dct_identity_##w##x##h##_c; \
250
16.4k
    c->itxfm_add[pfx##TX_##w##X##h][V_DCT] = \
251
16.4k
        inv_txfm_add_identity_dct_##w##x##h##_c
252
253
16.4k
#define assign_itx_all_fn84(w, h, pfx) \
254
16.4k
    assign_itx_all_fn16(w, h, pfx); \
255
16.4k
    c->itxfm_add[pfx##TX_##w##X##h][H_FLIPADST] = \
256
16.4k
        inv_txfm_add_flipadst_identity_##w##x##h##_c; \
257
16.4k
    c->itxfm_add[pfx##TX_##w##X##h][V_FLIPADST] = \
258
16.4k
        inv_txfm_add_identity_flipadst_##w##x##h##_c; \
259
16.4k
    c->itxfm_add[pfx##TX_##w##X##h][H_ADST] = \
260
16.4k
        inv_txfm_add_adst_identity_##w##x##h##_c; \
261
16.4k
    c->itxfm_add[pfx##TX_##w##X##h][V_ADST] = \
262
16.4k
        inv_txfm_add_identity_adst_##w##x##h##_c; \
263
16.4k
264
16.4k
#if !(HAVE_ASM && TRIM_DSP_FUNCTIONS && ( \
265
16.4k
  ARCH_AARCH64 || \
266
16.4k
  (ARCH_ARM && (defined(__ARM_NEON) || defined(__APPLE__) || defined(_WIN32))) \
267
16.4k
))
268
16.4k
    c->itxfm_add[TX_4X4][WHT_WHT] = inv_txfm_add_wht_wht_4x4_c;
269
16.4k
#endif
270
16.4k
    assign_itx_all_fn84( 4,  4, );
271
16.4k
    assign_itx_all_fn84( 4,  8, R);
272
16.4k
    assign_itx_all_fn84( 4, 16, R);
273
16.4k
    assign_itx_all_fn84( 8,  4, R);
274
16.4k
    assign_itx_all_fn84( 8,  8, );
275
16.4k
    assign_itx_all_fn84( 8, 16, R);
276
16.4k
    assign_itx_all_fn32( 8, 32, R);
277
16.4k
    assign_itx_all_fn84(16,  4, R);
278
16.4k
    assign_itx_all_fn84(16,  8, R);
279
16.4k
    assign_itx_all_fn16(16, 16, );
280
16.4k
    assign_itx_all_fn32(16, 32, R);
281
16.4k
    assign_itx_all_fn64(16, 64, R);
282
16.4k
    assign_itx_all_fn32(32,  8, R);
283
16.4k
    assign_itx_all_fn32(32, 16, R);
284
16.4k
    assign_itx_all_fn32(32, 32, );
285
16.4k
    assign_itx_all_fn64(32, 64, R);
286
16.4k
    assign_itx_all_fn64(64, 16, R);
287
16.4k
    assign_itx_all_fn64(64, 32, R);
288
16.4k
    assign_itx_all_fn64(64, 64, );
289
290
16.4k
    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.4k
    if (!all_simd)
310
16.4k
        dav1d_init_last_nonzero_col_from_eob_tables();
311
16.4k
}