Coverage Report

Created: 2026-07-16 06:32

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/work/dav1d/src/itx_tmpl.c
Line
Count
Source
1
/*
2
 * Copyright © 2018-2019, VideoLAN and dav1d authors
3
 * Copyright © 2018-2019, Two Orioles, LLC
4
 * All rights reserved.
5
 *
6
 * Redistribution and use in source and binary forms, with or without
7
 * modification, are permitted provided that the following conditions are met:
8
 *
9
 * 1. Redistributions of source code must retain the above copyright notice, this
10
 *    list of conditions and the following disclaimer.
11
 *
12
 * 2. Redistributions in binary form must reproduce the above copyright notice,
13
 *    this list of conditions and the following disclaimer in the documentation
14
 *    and/or other materials provided with the distribution.
15
 *
16
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
17
 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
18
 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
19
 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
20
 * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
21
 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
22
 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
23
 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
25
 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26
 */
27
28
#include "config.h"
29
30
#include <stddef.h>
31
#include <stdint.h>
32
#include <stdlib.h>
33
#include <string.h>
34
35
#include "common/attributes.h"
36
#include "common/intops.h"
37
38
#include "src/itx.h"
39
#include "src/itx_1d.h"
40
#include "src/scan.h"
41
#include "src/tables.h"
42
43
static NOINLINE void
44
inv_txfm_add_c(pixel *dst, const ptrdiff_t stride, coef *const coeff,
45
               const int eob, const /*enum RectTxfmSize*/ int tx, const int shift,
46
               const enum TxfmType txtp HIGHBD_DECL_SUFFIX)
47
1.54M
{
48
1.54M
    const TxfmInfo *const t_dim = &dav1d_txfm_dimensions[tx];
49
1.54M
    const int w = 4 * t_dim->w, h = 4 * t_dim->h;
50
1.54M
    const int has_dconly = txtp == DCT_DCT;
51
1.54M
    assert(w >= 4 && w <= 64);
52
1.54M
    assert(h >= 4 && h <= 64);
53
1.54M
    assert(eob >= 0);
54
55
1.54M
    const int is_rect2 = w * 2 == h || h * 2 == w;
56
1.54M
    const int rnd = (1 << shift) >> 1;
57
58
1.54M
    if (eob < has_dconly) {
59
499k
        int dc = coeff[0];
60
499k
        coeff[0] = 0;
61
499k
        if (is_rect2)
62
85.6k
            dc = (dc * 181 + 128) >> 8;
63
499k
        dc = (dc * 181 + 128) >> 8;
64
499k
        dc = (dc + rnd) >> shift;
65
499k
        dc = (dc * 181 + 128 + 2048) >> 12;
66
18.3M
        for (int y = 0; y < h; y++, dst += PXSTRIDE(stride))
67
779M
            for (int x = 0; x < w; x++)
68
761M
                dst[x] = iclip_pixel(dst[x] + dc);
69
499k
        return;
70
499k
    }
71
72
1.04M
    const uint8_t *const txtps = dav1d_tx1d_types[txtp];
73
1.04M
    const itx_1d_fn first_1d_fn = dav1d_tx1d_fns[t_dim->lw][txtps[0]];
74
1.04M
    const itx_1d_fn second_1d_fn = dav1d_tx1d_fns[t_dim->lh][txtps[1]];
75
1.04M
    const int sh = imin(h, 32), sw = imin(w, 32);
76
1.04M
#if BITDEPTH == 8
77
1.04M
    const int row_clip_min = INT16_MIN;
78
1.04M
    const int col_clip_min = INT16_MIN;
79
#else
80
    const int row_clip_min = (int) ((unsigned) ~bitdepth_max << 7);
81
    const int col_clip_min = (int) ((unsigned) ~bitdepth_max << 5);
82
#endif
83
1.04M
    const int row_clip_max = ~row_clip_min;
84
1.04M
    const int col_clip_max = ~col_clip_min;
85
86
1.04M
    int32_t tmp[64 * 64], *c = tmp;
87
1.04M
    int last_nonzero_col; // in first 1d itx
88
1.04M
    if (txtps[1] == IDENTITY && txtps[0] != IDENTITY) {
89
69.1k
        last_nonzero_col = imin(sh - 1, eob);
90
978k
    } else if (txtps[0] == IDENTITY && txtps[1] != IDENTITY) {
91
37.6k
        last_nonzero_col = eob >> (t_dim->lw + 2);
92
940k
    } else {
93
940k
        last_nonzero_col = dav1d_last_nonzero_col_from_eob[tx][eob];
94
940k
    }
95
1.04M
    assert(last_nonzero_col < sh);
96
6.27M
    for (int y = 0; y <= last_nonzero_col; y++, c += w) {
97
5.22M
        if (is_rect2)
98
27.5M
            for (int x = 0; x < sw; x++)
99
25.7M
                c[x] = (coeff[y + x * sh] * 181 + 128) >> 8;
100
3.49M
        else
101
59.9M
            for (int x = 0; x < sw; x++)
102
56.5M
                c[x] = coeff[y + x * sh];
103
5.22M
        first_1d_fn(c, 1, row_clip_min, row_clip_max);
104
5.22M
    }
105
1.04M
    if (last_nonzero_col + 1 < sh)
106
803k
        memset(c, 0, sizeof(*c) * (sh - last_nonzero_col - 1) * w);
107
108
1.04M
    memset(coeff, 0, sizeof(*coeff) * sw * sh);
109
301M
    for (int i = 0; i < w * sh; i++)
110
300M
        tmp[i] = iclip((tmp[i] + rnd) >> shift, col_clip_min, col_clip_max);
111
112
16.8M
    for (int x = 0; x < w; x++)
113
15.8M
        second_1d_fn(&tmp[x], w, col_clip_min, col_clip_max);
114
115
1.04M
    c = tmp;
116
16.5M
    for (int y = 0; y < h; y++, dst += PXSTRIDE(stride))
117
418M
        for (int x = 0; x < w; x++)
118
403M
            dst[x] = iclip_pixel(dst[x] + ((*c++ + 8) >> 4));
119
1.04M
}
120
121
#define inv_txfm_fn(type1, type2, type, pfx, w, h, shift) \
122
static void \
123
inv_txfm_add_##type1##_##type2##_##w##x##h##_c(pixel *dst, \
124
                                               const ptrdiff_t stride, \
125
                                               coef *const coeff, \
126
                                               const int eob \
127
1.54M
                                               HIGHBD_DECL_SUFFIX) \
128
1.54M
{ \
129
1.54M
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.54M
                   HIGHBD_TAIL_SUFFIX); \
131
1.54M
}
itx_tmpl.c:inv_txfm_add_dct_dct_4x4_c
Line
Count
Source
127
34.5k
                                               HIGHBD_DECL_SUFFIX) \
128
34.5k
{ \
129
34.5k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
34.5k
                   HIGHBD_TAIL_SUFFIX); \
131
34.5k
}
itx_tmpl.c:inv_txfm_add_identity_identity_4x4_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_adst_dct_4x4_c
Line
Count
Source
127
22.2k
                                               HIGHBD_DECL_SUFFIX) \
128
22.2k
{ \
129
22.2k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
22.2k
                   HIGHBD_TAIL_SUFFIX); \
131
22.2k
}
itx_tmpl.c:inv_txfm_add_dct_adst_4x4_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_adst_adst_4x4_c
Line
Count
Source
127
26.2k
                                               HIGHBD_DECL_SUFFIX) \
128
26.2k
{ \
129
26.2k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
26.2k
                   HIGHBD_TAIL_SUFFIX); \
131
26.2k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_4x4_c
Line
Count
Source
127
1.83k
                                               HIGHBD_DECL_SUFFIX) \
128
1.83k
{ \
129
1.83k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.83k
                   HIGHBD_TAIL_SUFFIX); \
131
1.83k
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_4x4_c
Line
Count
Source
127
1.99k
                                               HIGHBD_DECL_SUFFIX) \
128
1.99k
{ \
129
1.99k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.99k
                   HIGHBD_TAIL_SUFFIX); \
131
1.99k
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_4x4_c
Line
Count
Source
127
2.11k
                                               HIGHBD_DECL_SUFFIX) \
128
2.11k
{ \
129
2.11k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.11k
                   HIGHBD_TAIL_SUFFIX); \
131
2.11k
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_4x4_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_flipadst_flipadst_4x4_c
Line
Count
Source
127
1.56k
                                               HIGHBD_DECL_SUFFIX) \
128
1.56k
{ \
129
1.56k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.56k
                   HIGHBD_TAIL_SUFFIX); \
131
1.56k
}
itx_tmpl.c:inv_txfm_add_dct_identity_4x4_c
Line
Count
Source
127
8.80k
                                               HIGHBD_DECL_SUFFIX) \
128
8.80k
{ \
129
8.80k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
8.80k
                   HIGHBD_TAIL_SUFFIX); \
131
8.80k
}
itx_tmpl.c:inv_txfm_add_identity_dct_4x4_c
Line
Count
Source
127
4.56k
                                               HIGHBD_DECL_SUFFIX) \
128
4.56k
{ \
129
4.56k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.56k
                   HIGHBD_TAIL_SUFFIX); \
131
4.56k
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_4x4_c
Line
Count
Source
127
2.55k
                                               HIGHBD_DECL_SUFFIX) \
128
2.55k
{ \
129
2.55k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.55k
                   HIGHBD_TAIL_SUFFIX); \
131
2.55k
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_4x4_c
Line
Count
Source
127
1.77k
                                               HIGHBD_DECL_SUFFIX) \
128
1.77k
{ \
129
1.77k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.77k
                   HIGHBD_TAIL_SUFFIX); \
131
1.77k
}
itx_tmpl.c:inv_txfm_add_adst_identity_4x4_c
Line
Count
Source
127
3.90k
                                               HIGHBD_DECL_SUFFIX) \
128
3.90k
{ \
129
3.90k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.90k
                   HIGHBD_TAIL_SUFFIX); \
131
3.90k
}
itx_tmpl.c:inv_txfm_add_identity_adst_4x4_c
Line
Count
Source
127
2.05k
                                               HIGHBD_DECL_SUFFIX) \
128
2.05k
{ \
129
2.05k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.05k
                   HIGHBD_TAIL_SUFFIX); \
131
2.05k
}
itx_tmpl.c:inv_txfm_add_dct_dct_4x8_c
Line
Count
Source
127
13.6k
                                               HIGHBD_DECL_SUFFIX) \
128
13.6k
{ \
129
13.6k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
13.6k
                   HIGHBD_TAIL_SUFFIX); \
131
13.6k
}
itx_tmpl.c:inv_txfm_add_identity_identity_4x8_c
Line
Count
Source
127
5.01k
                                               HIGHBD_DECL_SUFFIX) \
128
5.01k
{ \
129
5.01k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.01k
                   HIGHBD_TAIL_SUFFIX); \
131
5.01k
}
itx_tmpl.c:inv_txfm_add_adst_dct_4x8_c
Line
Count
Source
127
8.89k
                                               HIGHBD_DECL_SUFFIX) \
128
8.89k
{ \
129
8.89k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
8.89k
                   HIGHBD_TAIL_SUFFIX); \
131
8.89k
}
itx_tmpl.c:inv_txfm_add_dct_adst_4x8_c
Line
Count
Source
127
7.58k
                                               HIGHBD_DECL_SUFFIX) \
128
7.58k
{ \
129
7.58k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
7.58k
                   HIGHBD_TAIL_SUFFIX); \
131
7.58k
}
itx_tmpl.c:inv_txfm_add_adst_adst_4x8_c
Line
Count
Source
127
10.7k
                                               HIGHBD_DECL_SUFFIX) \
128
10.7k
{ \
129
10.7k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
10.7k
                   HIGHBD_TAIL_SUFFIX); \
131
10.7k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_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_adst_flipadst_4x8_c
Line
Count
Source
127
990
                                               HIGHBD_DECL_SUFFIX) \
128
990
{ \
129
990
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
990
                   HIGHBD_TAIL_SUFFIX); \
131
990
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_4x8_c
Line
Count
Source
127
744
                                               HIGHBD_DECL_SUFFIX) \
128
744
{ \
129
744
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
744
                   HIGHBD_TAIL_SUFFIX); \
131
744
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_4x8_c
Line
Count
Source
127
869
                                               HIGHBD_DECL_SUFFIX) \
128
869
{ \
129
869
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
869
                   HIGHBD_TAIL_SUFFIX); \
131
869
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_4x8_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_dct_identity_4x8_c
Line
Count
Source
127
4.01k
                                               HIGHBD_DECL_SUFFIX) \
128
4.01k
{ \
129
4.01k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.01k
                   HIGHBD_TAIL_SUFFIX); \
131
4.01k
}
itx_tmpl.c:inv_txfm_add_identity_dct_4x8_c
Line
Count
Source
127
2.09k
                                               HIGHBD_DECL_SUFFIX) \
128
2.09k
{ \
129
2.09k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.09k
                   HIGHBD_TAIL_SUFFIX); \
131
2.09k
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_4x8_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_identity_flipadst_4x8_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_adst_identity_4x8_c
Line
Count
Source
127
1.95k
                                               HIGHBD_DECL_SUFFIX) \
128
1.95k
{ \
129
1.95k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.95k
                   HIGHBD_TAIL_SUFFIX); \
131
1.95k
}
itx_tmpl.c:inv_txfm_add_identity_adst_4x8_c
Line
Count
Source
127
1.46k
                                               HIGHBD_DECL_SUFFIX) \
128
1.46k
{ \
129
1.46k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.46k
                   HIGHBD_TAIL_SUFFIX); \
131
1.46k
}
itx_tmpl.c:inv_txfm_add_dct_dct_4x16_c
Line
Count
Source
127
7.08k
                                               HIGHBD_DECL_SUFFIX) \
128
7.08k
{ \
129
7.08k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
7.08k
                   HIGHBD_TAIL_SUFFIX); \
131
7.08k
}
itx_tmpl.c:inv_txfm_add_identity_identity_4x16_c
Line
Count
Source
127
2.82k
                                               HIGHBD_DECL_SUFFIX) \
128
2.82k
{ \
129
2.82k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.82k
                   HIGHBD_TAIL_SUFFIX); \
131
2.82k
}
itx_tmpl.c:inv_txfm_add_adst_dct_4x16_c
Line
Count
Source
127
4.31k
                                               HIGHBD_DECL_SUFFIX) \
128
4.31k
{ \
129
4.31k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.31k
                   HIGHBD_TAIL_SUFFIX); \
131
4.31k
}
itx_tmpl.c:inv_txfm_add_dct_adst_4x16_c
Line
Count
Source
127
3.53k
                                               HIGHBD_DECL_SUFFIX) \
128
3.53k
{ \
129
3.53k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.53k
                   HIGHBD_TAIL_SUFFIX); \
131
3.53k
}
itx_tmpl.c:inv_txfm_add_adst_adst_4x16_c
Line
Count
Source
127
5.28k
                                               HIGHBD_DECL_SUFFIX) \
128
5.28k
{ \
129
5.28k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.28k
                   HIGHBD_TAIL_SUFFIX); \
131
5.28k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_4x16_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_adst_flipadst_4x16_c
Line
Count
Source
127
339
                                               HIGHBD_DECL_SUFFIX) \
128
339
{ \
129
339
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
339
                   HIGHBD_TAIL_SUFFIX); \
131
339
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_4x16_c
Line
Count
Source
127
327
                                               HIGHBD_DECL_SUFFIX) \
128
327
{ \
129
327
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
327
                   HIGHBD_TAIL_SUFFIX); \
131
327
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_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_flipadst_flipadst_4x16_c
Line
Count
Source
127
329
                                               HIGHBD_DECL_SUFFIX) \
128
329
{ \
129
329
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
329
                   HIGHBD_TAIL_SUFFIX); \
131
329
}
itx_tmpl.c:inv_txfm_add_dct_identity_4x16_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_identity_dct_4x16_c
Line
Count
Source
127
898
                                               HIGHBD_DECL_SUFFIX) \
128
898
{ \
129
898
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
898
                   HIGHBD_TAIL_SUFFIX); \
131
898
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_4x16_c
Line
Count
Source
127
557
                                               HIGHBD_DECL_SUFFIX) \
128
557
{ \
129
557
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
557
                   HIGHBD_TAIL_SUFFIX); \
131
557
}
itx_tmpl.c:inv_txfm_add_identity_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_adst_identity_4x16_c
Line
Count
Source
127
510
                                               HIGHBD_DECL_SUFFIX) \
128
510
{ \
129
510
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
510
                   HIGHBD_TAIL_SUFFIX); \
131
510
}
itx_tmpl.c:inv_txfm_add_identity_adst_4x16_c
Line
Count
Source
127
372
                                               HIGHBD_DECL_SUFFIX) \
128
372
{ \
129
372
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
372
                   HIGHBD_TAIL_SUFFIX); \
131
372
}
itx_tmpl.c:inv_txfm_add_dct_dct_8x4_c
Line
Count
Source
127
22.2k
                                               HIGHBD_DECL_SUFFIX) \
128
22.2k
{ \
129
22.2k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
22.2k
                   HIGHBD_TAIL_SUFFIX); \
131
22.2k
}
itx_tmpl.c:inv_txfm_add_identity_identity_8x4_c
Line
Count
Source
127
6.64k
                                               HIGHBD_DECL_SUFFIX) \
128
6.64k
{ \
129
6.64k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
6.64k
                   HIGHBD_TAIL_SUFFIX); \
131
6.64k
}
itx_tmpl.c:inv_txfm_add_adst_dct_8x4_c
Line
Count
Source
127
12.8k
                                               HIGHBD_DECL_SUFFIX) \
128
12.8k
{ \
129
12.8k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
12.8k
                   HIGHBD_TAIL_SUFFIX); \
131
12.8k
}
itx_tmpl.c:inv_txfm_add_dct_adst_8x4_c
Line
Count
Source
127
10.6k
                                               HIGHBD_DECL_SUFFIX) \
128
10.6k
{ \
129
10.6k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
10.6k
                   HIGHBD_TAIL_SUFFIX); \
131
10.6k
}
itx_tmpl.c:inv_txfm_add_adst_adst_8x4_c
Line
Count
Source
127
15.3k
                                               HIGHBD_DECL_SUFFIX) \
128
15.3k
{ \
129
15.3k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
15.3k
                   HIGHBD_TAIL_SUFFIX); \
131
15.3k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_8x4_c
Line
Count
Source
127
1.53k
                                               HIGHBD_DECL_SUFFIX) \
128
1.53k
{ \
129
1.53k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.53k
                   HIGHBD_TAIL_SUFFIX); \
131
1.53k
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_8x4_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_flipadst_dct_8x4_c
Line
Count
Source
127
6.43k
                                               HIGHBD_DECL_SUFFIX) \
128
6.43k
{ \
129
6.43k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
6.43k
                   HIGHBD_TAIL_SUFFIX); \
131
6.43k
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_8x4_c
Line
Count
Source
127
915
                                               HIGHBD_DECL_SUFFIX) \
128
915
{ \
129
915
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
915
                   HIGHBD_TAIL_SUFFIX); \
131
915
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_8x4_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_dct_identity_8x4_c
Line
Count
Source
127
4.95k
                                               HIGHBD_DECL_SUFFIX) \
128
4.95k
{ \
129
4.95k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.95k
                   HIGHBD_TAIL_SUFFIX); \
131
4.95k
}
itx_tmpl.c:inv_txfm_add_identity_dct_8x4_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_flipadst_identity_8x4_c
Line
Count
Source
127
2.04k
                                               HIGHBD_DECL_SUFFIX) \
128
2.04k
{ \
129
2.04k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.04k
                   HIGHBD_TAIL_SUFFIX); \
131
2.04k
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_8x4_c
Line
Count
Source
127
1.42k
                                               HIGHBD_DECL_SUFFIX) \
128
1.42k
{ \
129
1.42k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.42k
                   HIGHBD_TAIL_SUFFIX); \
131
1.42k
}
itx_tmpl.c:inv_txfm_add_adst_identity_8x4_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_identity_adst_8x4_c
Line
Count
Source
127
1.58k
                                               HIGHBD_DECL_SUFFIX) \
128
1.58k
{ \
129
1.58k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.58k
                   HIGHBD_TAIL_SUFFIX); \
131
1.58k
}
itx_tmpl.c:inv_txfm_add_dct_dct_8x8_c
Line
Count
Source
127
53.5k
                                               HIGHBD_DECL_SUFFIX) \
128
53.5k
{ \
129
53.5k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
53.5k
                   HIGHBD_TAIL_SUFFIX); \
131
53.5k
}
itx_tmpl.c:inv_txfm_add_identity_identity_8x8_c
Line
Count
Source
127
14.4k
                                               HIGHBD_DECL_SUFFIX) \
128
14.4k
{ \
129
14.4k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
14.4k
                   HIGHBD_TAIL_SUFFIX); \
131
14.4k
}
itx_tmpl.c:inv_txfm_add_adst_dct_8x8_c
Line
Count
Source
127
34.4k
                                               HIGHBD_DECL_SUFFIX) \
128
34.4k
{ \
129
34.4k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
34.4k
                   HIGHBD_TAIL_SUFFIX); \
131
34.4k
}
itx_tmpl.c:inv_txfm_add_dct_adst_8x8_c
Line
Count
Source
127
27.2k
                                               HIGHBD_DECL_SUFFIX) \
128
27.2k
{ \
129
27.2k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
27.2k
                   HIGHBD_TAIL_SUFFIX); \
131
27.2k
}
itx_tmpl.c:inv_txfm_add_adst_adst_8x8_c
Line
Count
Source
127
31.5k
                                               HIGHBD_DECL_SUFFIX) \
128
31.5k
{ \
129
31.5k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
31.5k
                   HIGHBD_TAIL_SUFFIX); \
131
31.5k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_8x8_c
Line
Count
Source
127
2.57k
                                               HIGHBD_DECL_SUFFIX) \
128
2.57k
{ \
129
2.57k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.57k
                   HIGHBD_TAIL_SUFFIX); \
131
2.57k
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_8x8_c
Line
Count
Source
127
2.95k
                                               HIGHBD_DECL_SUFFIX) \
128
2.95k
{ \
129
2.95k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.95k
                   HIGHBD_TAIL_SUFFIX); \
131
2.95k
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_8x8_c
Line
Count
Source
127
3.63k
                                               HIGHBD_DECL_SUFFIX) \
128
3.63k
{ \
129
3.63k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.63k
                   HIGHBD_TAIL_SUFFIX); \
131
3.63k
}
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.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_dct_identity_8x8_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_dct_8x8_c
Line
Count
Source
127
5.02k
                                               HIGHBD_DECL_SUFFIX) \
128
5.02k
{ \
129
5.02k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.02k
                   HIGHBD_TAIL_SUFFIX); \
131
5.02k
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_8x8_c
Line
Count
Source
127
2.80k
                                               HIGHBD_DECL_SUFFIX) \
128
2.80k
{ \
129
2.80k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.80k
                   HIGHBD_TAIL_SUFFIX); \
131
2.80k
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_8x8_c
Line
Count
Source
127
1.15k
                                               HIGHBD_DECL_SUFFIX) \
128
1.15k
{ \
129
1.15k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.15k
                   HIGHBD_TAIL_SUFFIX); \
131
1.15k
}
itx_tmpl.c:inv_txfm_add_adst_identity_8x8_c
Line
Count
Source
127
3.28k
                                               HIGHBD_DECL_SUFFIX) \
128
3.28k
{ \
129
3.28k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.28k
                   HIGHBD_TAIL_SUFFIX); \
131
3.28k
}
itx_tmpl.c:inv_txfm_add_identity_adst_8x8_c
Line
Count
Source
127
1.60k
                                               HIGHBD_DECL_SUFFIX) \
128
1.60k
{ \
129
1.60k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.60k
                   HIGHBD_TAIL_SUFFIX); \
131
1.60k
}
itx_tmpl.c:inv_txfm_add_dct_dct_8x16_c
Line
Count
Source
127
18.4k
                                               HIGHBD_DECL_SUFFIX) \
128
18.4k
{ \
129
18.4k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
18.4k
                   HIGHBD_TAIL_SUFFIX); \
131
18.4k
}
itx_tmpl.c:inv_txfm_add_identity_identity_8x16_c
Line
Count
Source
127
3.81k
                                               HIGHBD_DECL_SUFFIX) \
128
3.81k
{ \
129
3.81k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.81k
                   HIGHBD_TAIL_SUFFIX); \
131
3.81k
}
itx_tmpl.c:inv_txfm_add_adst_dct_8x16_c
Line
Count
Source
127
10.0k
                                               HIGHBD_DECL_SUFFIX) \
128
10.0k
{ \
129
10.0k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
10.0k
                   HIGHBD_TAIL_SUFFIX); \
131
10.0k
}
itx_tmpl.c:inv_txfm_add_dct_adst_8x16_c
Line
Count
Source
127
8.04k
                                               HIGHBD_DECL_SUFFIX) \
128
8.04k
{ \
129
8.04k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
8.04k
                   HIGHBD_TAIL_SUFFIX); \
131
8.04k
}
itx_tmpl.c:inv_txfm_add_adst_adst_8x16_c
Line
Count
Source
127
9.68k
                                               HIGHBD_DECL_SUFFIX) \
128
9.68k
{ \
129
9.68k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
9.68k
                   HIGHBD_TAIL_SUFFIX); \
131
9.68k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_8x16_c
Line
Count
Source
127
860
                                               HIGHBD_DECL_SUFFIX) \
128
860
{ \
129
860
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
860
                   HIGHBD_TAIL_SUFFIX); \
131
860
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_8x16_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_flipadst_dct_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_dct_flipadst_8x16_c
Line
Count
Source
127
902
                                               HIGHBD_DECL_SUFFIX) \
128
902
{ \
129
902
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
902
                   HIGHBD_TAIL_SUFFIX); \
131
902
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_8x16_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_8x16_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_identity_dct_8x16_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_flipadst_identity_8x16_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_identity_flipadst_8x16_c
Line
Count
Source
127
565
                                               HIGHBD_DECL_SUFFIX) \
128
565
{ \
129
565
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
565
                   HIGHBD_TAIL_SUFFIX); \
131
565
}
itx_tmpl.c:inv_txfm_add_adst_identity_8x16_c
Line
Count
Source
127
752
                                               HIGHBD_DECL_SUFFIX) \
128
752
{ \
129
752
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
752
                   HIGHBD_TAIL_SUFFIX); \
131
752
}
itx_tmpl.c:inv_txfm_add_identity_adst_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_dct_dct_8x32_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_8x32_c
Line
Count
Source
127
592
                                               HIGHBD_DECL_SUFFIX) \
128
592
{ \
129
592
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
592
                   HIGHBD_TAIL_SUFFIX); \
131
592
}
itx_tmpl.c:inv_txfm_add_dct_dct_16x4_c
Line
Count
Source
127
11.7k
                                               HIGHBD_DECL_SUFFIX) \
128
11.7k
{ \
129
11.7k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
11.7k
                   HIGHBD_TAIL_SUFFIX); \
131
11.7k
}
itx_tmpl.c:inv_txfm_add_identity_identity_16x4_c
Line
Count
Source
127
3.86k
                                               HIGHBD_DECL_SUFFIX) \
128
3.86k
{ \
129
3.86k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.86k
                   HIGHBD_TAIL_SUFFIX); \
131
3.86k
}
itx_tmpl.c:inv_txfm_add_adst_dct_16x4_c
Line
Count
Source
127
8.25k
                                               HIGHBD_DECL_SUFFIX) \
128
8.25k
{ \
129
8.25k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
8.25k
                   HIGHBD_TAIL_SUFFIX); \
131
8.25k
}
itx_tmpl.c:inv_txfm_add_dct_adst_16x4_c
Line
Count
Source
127
6.46k
                                               HIGHBD_DECL_SUFFIX) \
128
6.46k
{ \
129
6.46k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
6.46k
                   HIGHBD_TAIL_SUFFIX); \
131
6.46k
}
itx_tmpl.c:inv_txfm_add_adst_adst_16x4_c
Line
Count
Source
127
9.52k
                                               HIGHBD_DECL_SUFFIX) \
128
9.52k
{ \
129
9.52k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
9.52k
                   HIGHBD_TAIL_SUFFIX); \
131
9.52k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_16x4_c
Line
Count
Source
127
644
                                               HIGHBD_DECL_SUFFIX) \
128
644
{ \
129
644
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
644
                   HIGHBD_TAIL_SUFFIX); \
131
644
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_16x4_c
Line
Count
Source
127
563
                                               HIGHBD_DECL_SUFFIX) \
128
563
{ \
129
563
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
563
                   HIGHBD_TAIL_SUFFIX); \
131
563
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_16x4_c
Line
Count
Source
127
533
                                               HIGHBD_DECL_SUFFIX) \
128
533
{ \
129
533
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
533
                   HIGHBD_TAIL_SUFFIX); \
131
533
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_16x4_c
Line
Count
Source
127
418
                                               HIGHBD_DECL_SUFFIX) \
128
418
{ \
129
418
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
418
                   HIGHBD_TAIL_SUFFIX); \
131
418
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_16x4_c
Line
Count
Source
127
474
                                               HIGHBD_DECL_SUFFIX) \
128
474
{ \
129
474
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
474
                   HIGHBD_TAIL_SUFFIX); \
131
474
}
itx_tmpl.c:inv_txfm_add_dct_identity_16x4_c
Line
Count
Source
127
3.03k
                                               HIGHBD_DECL_SUFFIX) \
128
3.03k
{ \
129
3.03k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.03k
                   HIGHBD_TAIL_SUFFIX); \
131
3.03k
}
itx_tmpl.c:inv_txfm_add_identity_dct_16x4_c
Line
Count
Source
127
1.66k
                                               HIGHBD_DECL_SUFFIX) \
128
1.66k
{ \
129
1.66k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.66k
                   HIGHBD_TAIL_SUFFIX); \
131
1.66k
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_16x4_c
Line
Count
Source
127
1.03k
                                               HIGHBD_DECL_SUFFIX) \
128
1.03k
{ \
129
1.03k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.03k
                   HIGHBD_TAIL_SUFFIX); \
131
1.03k
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_16x4_c
Line
Count
Source
127
505
                                               HIGHBD_DECL_SUFFIX) \
128
505
{ \
129
505
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
505
                   HIGHBD_TAIL_SUFFIX); \
131
505
}
itx_tmpl.c:inv_txfm_add_adst_identity_16x4_c
Line
Count
Source
127
846
                                               HIGHBD_DECL_SUFFIX) \
128
846
{ \
129
846
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
846
                   HIGHBD_TAIL_SUFFIX); \
131
846
}
itx_tmpl.c:inv_txfm_add_identity_adst_16x4_c
Line
Count
Source
127
625
                                               HIGHBD_DECL_SUFFIX) \
128
625
{ \
129
625
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
625
                   HIGHBD_TAIL_SUFFIX); \
131
625
}
itx_tmpl.c:inv_txfm_add_dct_dct_16x8_c
Line
Count
Source
127
23.8k
                                               HIGHBD_DECL_SUFFIX) \
128
23.8k
{ \
129
23.8k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
23.8k
                   HIGHBD_TAIL_SUFFIX); \
131
23.8k
}
itx_tmpl.c:inv_txfm_add_identity_identity_16x8_c
Line
Count
Source
127
5.22k
                                               HIGHBD_DECL_SUFFIX) \
128
5.22k
{ \
129
5.22k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.22k
                   HIGHBD_TAIL_SUFFIX); \
131
5.22k
}
itx_tmpl.c:inv_txfm_add_adst_dct_16x8_c
Line
Count
Source
127
13.6k
                                               HIGHBD_DECL_SUFFIX) \
128
13.6k
{ \
129
13.6k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
13.6k
                   HIGHBD_TAIL_SUFFIX); \
131
13.6k
}
itx_tmpl.c:inv_txfm_add_dct_adst_16x8_c
Line
Count
Source
127
10.4k
                                               HIGHBD_DECL_SUFFIX) \
128
10.4k
{ \
129
10.4k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
10.4k
                   HIGHBD_TAIL_SUFFIX); \
131
10.4k
}
itx_tmpl.c:inv_txfm_add_adst_adst_16x8_c
Line
Count
Source
127
13.2k
                                               HIGHBD_DECL_SUFFIX) \
128
13.2k
{ \
129
13.2k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
13.2k
                   HIGHBD_TAIL_SUFFIX); \
131
13.2k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_16x8_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_adst_flipadst_16x8_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_16x8_c
Line
Count
Source
127
1.68k
                                               HIGHBD_DECL_SUFFIX) \
128
1.68k
{ \
129
1.68k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.68k
                   HIGHBD_TAIL_SUFFIX); \
131
1.68k
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_16x8_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_flipadst_flipadst_16x8_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_identity_16x8_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_identity_dct_16x8_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_flipadst_identity_16x8_c
Line
Count
Source
127
1.45k
                                               HIGHBD_DECL_SUFFIX) \
128
1.45k
{ \
129
1.45k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.45k
                   HIGHBD_TAIL_SUFFIX); \
131
1.45k
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_16x8_c
Line
Count
Source
127
820
                                               HIGHBD_DECL_SUFFIX) \
128
820
{ \
129
820
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
820
                   HIGHBD_TAIL_SUFFIX); \
131
820
}
itx_tmpl.c:inv_txfm_add_adst_identity_16x8_c
Line
Count
Source
127
1.53k
                                               HIGHBD_DECL_SUFFIX) \
128
1.53k
{ \
129
1.53k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.53k
                   HIGHBD_TAIL_SUFFIX); \
131
1.53k
}
itx_tmpl.c:inv_txfm_add_identity_adst_16x8_c
Line
Count
Source
127
726
                                               HIGHBD_DECL_SUFFIX) \
128
726
{ \
129
726
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
726
                   HIGHBD_TAIL_SUFFIX); \
131
726
}
itx_tmpl.c:inv_txfm_add_dct_dct_16x16_c
Line
Count
Source
127
52.6k
                                               HIGHBD_DECL_SUFFIX) \
128
52.6k
{ \
129
52.6k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
52.6k
                   HIGHBD_TAIL_SUFFIX); \
131
52.6k
}
itx_tmpl.c:inv_txfm_add_identity_identity_16x16_c
Line
Count
Source
127
6.76k
                                               HIGHBD_DECL_SUFFIX) \
128
6.76k
{ \
129
6.76k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
6.76k
                   HIGHBD_TAIL_SUFFIX); \
131
6.76k
}
itx_tmpl.c:inv_txfm_add_adst_dct_16x16_c
Line
Count
Source
127
45.9k
                                               HIGHBD_DECL_SUFFIX) \
128
45.9k
{ \
129
45.9k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
45.9k
                   HIGHBD_TAIL_SUFFIX); \
131
45.9k
}
itx_tmpl.c:inv_txfm_add_dct_adst_16x16_c
Line
Count
Source
127
33.1k
                                               HIGHBD_DECL_SUFFIX) \
128
33.1k
{ \
129
33.1k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
33.1k
                   HIGHBD_TAIL_SUFFIX); \
131
33.1k
}
itx_tmpl.c:inv_txfm_add_adst_adst_16x16_c
Line
Count
Source
127
42.2k
                                               HIGHBD_DECL_SUFFIX) \
128
42.2k
{ \
129
42.2k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
42.2k
                   HIGHBD_TAIL_SUFFIX); \
131
42.2k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_16x16_c
Line
Count
Source
127
829
                                               HIGHBD_DECL_SUFFIX) \
128
829
{ \
129
829
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
829
                   HIGHBD_TAIL_SUFFIX); \
131
829
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_16x16_c
Line
Count
Source
127
958
                                               HIGHBD_DECL_SUFFIX) \
128
958
{ \
129
958
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
958
                   HIGHBD_TAIL_SUFFIX); \
131
958
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_16x16_c
Line
Count
Source
127
1.07k
                                               HIGHBD_DECL_SUFFIX) \
128
1.07k
{ \
129
1.07k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.07k
                   HIGHBD_TAIL_SUFFIX); \
131
1.07k
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_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_flipadst_flipadst_16x16_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_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_identity_dct_16x16_c
Line
Count
Source
127
753
                                               HIGHBD_DECL_SUFFIX) \
128
753
{ \
129
753
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
753
                   HIGHBD_TAIL_SUFFIX); \
131
753
}
itx_tmpl.c:inv_txfm_add_dct_dct_16x32_c
Line
Count
Source
127
45.0k
                                               HIGHBD_DECL_SUFFIX) \
128
45.0k
{ \
129
45.0k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
45.0k
                   HIGHBD_TAIL_SUFFIX); \
131
45.0k
}
itx_tmpl.c:inv_txfm_add_identity_identity_16x32_c
Line
Count
Source
127
708
                                               HIGHBD_DECL_SUFFIX) \
128
708
{ \
129
708
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
708
                   HIGHBD_TAIL_SUFFIX); \
131
708
}
itx_tmpl.c:inv_txfm_add_dct_dct_16x64_c
Line
Count
Source
127
6.80k
                                               HIGHBD_DECL_SUFFIX) \
128
6.80k
{ \
129
6.80k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
6.80k
                   HIGHBD_TAIL_SUFFIX); \
131
6.80k
}
itx_tmpl.c:inv_txfm_add_dct_dct_32x8_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_identity_32x8_c
Line
Count
Source
127
598
                                               HIGHBD_DECL_SUFFIX) \
128
598
{ \
129
598
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
598
                   HIGHBD_TAIL_SUFFIX); \
131
598
}
itx_tmpl.c:inv_txfm_add_dct_dct_32x16_c
Line
Count
Source
127
36.5k
                                               HIGHBD_DECL_SUFFIX) \
128
36.5k
{ \
129
36.5k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
36.5k
                   HIGHBD_TAIL_SUFFIX); \
131
36.5k
}
itx_tmpl.c:inv_txfm_add_identity_identity_32x16_c
Line
Count
Source
127
839
                                               HIGHBD_DECL_SUFFIX) \
128
839
{ \
129
839
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
839
                   HIGHBD_TAIL_SUFFIX); \
131
839
}
itx_tmpl.c:inv_txfm_add_dct_dct_32x32_c
Line
Count
Source
127
301k
                                               HIGHBD_DECL_SUFFIX) \
128
301k
{ \
129
301k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
301k
                   HIGHBD_TAIL_SUFFIX); \
131
301k
}
itx_tmpl.c:inv_txfm_add_identity_identity_32x32_c
Line
Count
Source
127
285
                                               HIGHBD_DECL_SUFFIX) \
128
285
{ \
129
285
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
285
                   HIGHBD_TAIL_SUFFIX); \
131
285
}
itx_tmpl.c:inv_txfm_add_dct_dct_32x64_c
Line
Count
Source
127
33.1k
                                               HIGHBD_DECL_SUFFIX) \
128
33.1k
{ \
129
33.1k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
33.1k
                   HIGHBD_TAIL_SUFFIX); \
131
33.1k
}
itx_tmpl.c:inv_txfm_add_dct_dct_64x16_c
Line
Count
Source
127
4.47k
                                               HIGHBD_DECL_SUFFIX) \
128
4.47k
{ \
129
4.47k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.47k
                   HIGHBD_TAIL_SUFFIX); \
131
4.47k
}
itx_tmpl.c:inv_txfm_add_dct_dct_64x32_c
Line
Count
Source
127
17.2k
                                               HIGHBD_DECL_SUFFIX) \
128
17.2k
{ \
129
17.2k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
17.2k
                   HIGHBD_TAIL_SUFFIX); \
131
17.2k
}
itx_tmpl.c:inv_txfm_add_dct_dct_64x64_c
Line
Count
Source
127
147k
                                               HIGHBD_DECL_SUFFIX) \
128
147k
{ \
129
147k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
147k
                   HIGHBD_TAIL_SUFFIX); \
131
147k
}
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
869k
{
188
869k
    int32_t tmp[4 * 4], *c = tmp;
189
4.34M
    for (int y = 0; y < 4; y++, c += 4) {
190
17.3M
        for (int x = 0; x < 4; x++)
191
13.9M
            c[x] = coeff[y + x * 4] >> 2;
192
3.47M
        dav1d_inv_wht4_1d_c(c, 1);
193
3.47M
    }
194
869k
    memset(coeff, 0, sizeof(*coeff) * 4 * 4);
195
196
4.34M
    for (int x = 0; x < 4; x++)
197
3.47M
        dav1d_inv_wht4_1d_c(&tmp[x], 4);
198
199
869k
    c = tmp;
200
4.34M
    for (int y = 0; y < 4; y++, dst += PXSTRIDE(stride))
201
17.3M
        for (int x = 0; x < 4; x++)
202
13.9M
            dst[x] = iclip_pixel(dst[x] + *c++);
203
869k
}
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
72.1k
COLD void bitfn(dav1d_itx_dsp_init)(Dav1dInvTxfmDSPContext *const c, int bpc) {
221
72.1k
#define assign_itx_all_fn64(w, h, pfx) \
222
1.37M
    c->itxfm_add[pfx##TX_##w##X##h][DCT_DCT  ] = \
223
1.37M
        inv_txfm_add_dct_dct_##w##x##h##_c
224
225
72.1k
#define assign_itx_all_fn32(w, h, pfx) \
226
1.01M
    assign_itx_all_fn64(w, h, pfx); \
227
1.01M
    c->itxfm_add[pfx##TX_##w##X##h][IDTX] = \
228
1.01M
        inv_txfm_add_identity_identity_##w##x##h##_c
229
230
72.1k
#define assign_itx_all_fn16(w, h, pfx) \
231
649k
    assign_itx_all_fn32(w, h, pfx); \
232
649k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_ADST ] = \
233
649k
        inv_txfm_add_adst_dct_##w##x##h##_c; \
234
649k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_DCT ] = \
235
649k
        inv_txfm_add_dct_adst_##w##x##h##_c; \
236
649k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_ADST] = \
237
649k
        inv_txfm_add_adst_adst_##w##x##h##_c; \
238
649k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_FLIPADST] = \
239
649k
        inv_txfm_add_flipadst_adst_##w##x##h##_c; \
240
649k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_ADST] = \
241
649k
        inv_txfm_add_adst_flipadst_##w##x##h##_c; \
242
649k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_FLIPADST] = \
243
649k
        inv_txfm_add_flipadst_dct_##w##x##h##_c; \
244
649k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_DCT] = \
245
649k
        inv_txfm_add_dct_flipadst_##w##x##h##_c; \
246
649k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_FLIPADST] = \
247
649k
        inv_txfm_add_flipadst_flipadst_##w##x##h##_c; \
248
649k
    c->itxfm_add[pfx##TX_##w##X##h][H_DCT] = \
249
649k
        inv_txfm_add_dct_identity_##w##x##h##_c; \
250
649k
    c->itxfm_add[pfx##TX_##w##X##h][V_DCT] = \
251
649k
        inv_txfm_add_identity_dct_##w##x##h##_c
252
253
72.1k
#define assign_itx_all_fn84(w, h, pfx) \
254
577k
    assign_itx_all_fn16(w, h, pfx); \
255
577k
    c->itxfm_add[pfx##TX_##w##X##h][H_FLIPADST] = \
256
577k
        inv_txfm_add_flipadst_identity_##w##x##h##_c; \
257
577k
    c->itxfm_add[pfx##TX_##w##X##h][V_FLIPADST] = \
258
577k
        inv_txfm_add_identity_flipadst_##w##x##h##_c; \
259
577k
    c->itxfm_add[pfx##TX_##w##X##h][H_ADST] = \
260
577k
        inv_txfm_add_adst_identity_##w##x##h##_c; \
261
577k
    c->itxfm_add[pfx##TX_##w##X##h][V_ADST] = \
262
577k
        inv_txfm_add_identity_adst_##w##x##h##_c; \
263
72.1k
264
72.1k
#if !(HAVE_ASM && TRIM_DSP_FUNCTIONS && ( \
265
72.1k
  ARCH_AARCH64 || \
266
72.1k
  (ARCH_ARM && (defined(__ARM_NEON) || defined(__APPLE__) || defined(_WIN32))) \
267
72.1k
))
268
72.1k
    c->itxfm_add[TX_4X4][WHT_WHT] = inv_txfm_add_wht_wht_4x4_c;
269
72.1k
#endif
270
72.1k
    assign_itx_all_fn84( 4,  4, );
271
72.1k
    assign_itx_all_fn84( 4,  8, R);
272
72.1k
    assign_itx_all_fn84( 4, 16, R);
273
72.1k
    assign_itx_all_fn84( 8,  4, R);
274
72.1k
    assign_itx_all_fn84( 8,  8, );
275
72.1k
    assign_itx_all_fn84( 8, 16, R);
276
72.1k
    assign_itx_all_fn32( 8, 32, R);
277
72.1k
    assign_itx_all_fn84(16,  4, R);
278
72.1k
    assign_itx_all_fn84(16,  8, R);
279
72.1k
    assign_itx_all_fn16(16, 16, );
280
72.1k
    assign_itx_all_fn32(16, 32, R);
281
72.1k
    assign_itx_all_fn64(16, 64, R);
282
72.1k
    assign_itx_all_fn32(32,  8, R);
283
72.1k
    assign_itx_all_fn32(32, 16, R);
284
72.1k
    assign_itx_all_fn32(32, 32, );
285
72.1k
    assign_itx_all_fn64(32, 64, R);
286
72.1k
    assign_itx_all_fn64(64, 16, R);
287
72.1k
    assign_itx_all_fn64(64, 32, R);
288
72.1k
    assign_itx_all_fn64(64, 64, );
289
290
72.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
72.1k
    if (!all_simd)
310
72.1k
        dav1d_init_last_nonzero_col_from_eob_tables();
311
72.1k
}
dav1d_itx_dsp_init_8bpc
Line
Count
Source
220
32.3k
COLD void bitfn(dav1d_itx_dsp_init)(Dav1dInvTxfmDSPContext *const c, int bpc) {
221
32.3k
#define assign_itx_all_fn64(w, h, pfx) \
222
32.3k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_DCT  ] = \
223
32.3k
        inv_txfm_add_dct_dct_##w##x##h##_c
224
225
32.3k
#define assign_itx_all_fn32(w, h, pfx) \
226
32.3k
    assign_itx_all_fn64(w, h, pfx); \
227
32.3k
    c->itxfm_add[pfx##TX_##w##X##h][IDTX] = \
228
32.3k
        inv_txfm_add_identity_identity_##w##x##h##_c
229
230
32.3k
#define assign_itx_all_fn16(w, h, pfx) \
231
32.3k
    assign_itx_all_fn32(w, h, pfx); \
232
32.3k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_ADST ] = \
233
32.3k
        inv_txfm_add_adst_dct_##w##x##h##_c; \
234
32.3k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_DCT ] = \
235
32.3k
        inv_txfm_add_dct_adst_##w##x##h##_c; \
236
32.3k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_ADST] = \
237
32.3k
        inv_txfm_add_adst_adst_##w##x##h##_c; \
238
32.3k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_FLIPADST] = \
239
32.3k
        inv_txfm_add_flipadst_adst_##w##x##h##_c; \
240
32.3k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_ADST] = \
241
32.3k
        inv_txfm_add_adst_flipadst_##w##x##h##_c; \
242
32.3k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_FLIPADST] = \
243
32.3k
        inv_txfm_add_flipadst_dct_##w##x##h##_c; \
244
32.3k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_DCT] = \
245
32.3k
        inv_txfm_add_dct_flipadst_##w##x##h##_c; \
246
32.3k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_FLIPADST] = \
247
32.3k
        inv_txfm_add_flipadst_flipadst_##w##x##h##_c; \
248
32.3k
    c->itxfm_add[pfx##TX_##w##X##h][H_DCT] = \
249
32.3k
        inv_txfm_add_dct_identity_##w##x##h##_c; \
250
32.3k
    c->itxfm_add[pfx##TX_##w##X##h][V_DCT] = \
251
32.3k
        inv_txfm_add_identity_dct_##w##x##h##_c
252
253
32.3k
#define assign_itx_all_fn84(w, h, pfx) \
254
32.3k
    assign_itx_all_fn16(w, h, pfx); \
255
32.3k
    c->itxfm_add[pfx##TX_##w##X##h][H_FLIPADST] = \
256
32.3k
        inv_txfm_add_flipadst_identity_##w##x##h##_c; \
257
32.3k
    c->itxfm_add[pfx##TX_##w##X##h][V_FLIPADST] = \
258
32.3k
        inv_txfm_add_identity_flipadst_##w##x##h##_c; \
259
32.3k
    c->itxfm_add[pfx##TX_##w##X##h][H_ADST] = \
260
32.3k
        inv_txfm_add_adst_identity_##w##x##h##_c; \
261
32.3k
    c->itxfm_add[pfx##TX_##w##X##h][V_ADST] = \
262
32.3k
        inv_txfm_add_identity_adst_##w##x##h##_c; \
263
32.3k
264
32.3k
#if !(HAVE_ASM && TRIM_DSP_FUNCTIONS && ( \
265
32.3k
  ARCH_AARCH64 || \
266
32.3k
  (ARCH_ARM && (defined(__ARM_NEON) || defined(__APPLE__) || defined(_WIN32))) \
267
32.3k
))
268
32.3k
    c->itxfm_add[TX_4X4][WHT_WHT] = inv_txfm_add_wht_wht_4x4_c;
269
32.3k
#endif
270
32.3k
    assign_itx_all_fn84( 4,  4, );
271
32.3k
    assign_itx_all_fn84( 4,  8, R);
272
32.3k
    assign_itx_all_fn84( 4, 16, R);
273
32.3k
    assign_itx_all_fn84( 8,  4, R);
274
32.3k
    assign_itx_all_fn84( 8,  8, );
275
32.3k
    assign_itx_all_fn84( 8, 16, R);
276
32.3k
    assign_itx_all_fn32( 8, 32, R);
277
32.3k
    assign_itx_all_fn84(16,  4, R);
278
32.3k
    assign_itx_all_fn84(16,  8, R);
279
32.3k
    assign_itx_all_fn16(16, 16, );
280
32.3k
    assign_itx_all_fn32(16, 32, R);
281
32.3k
    assign_itx_all_fn64(16, 64, R);
282
32.3k
    assign_itx_all_fn32(32,  8, R);
283
32.3k
    assign_itx_all_fn32(32, 16, R);
284
32.3k
    assign_itx_all_fn32(32, 32, );
285
32.3k
    assign_itx_all_fn64(32, 64, R);
286
32.3k
    assign_itx_all_fn64(64, 16, R);
287
32.3k
    assign_itx_all_fn64(64, 32, R);
288
32.3k
    assign_itx_all_fn64(64, 64, );
289
290
32.3k
    int all_simd = 0;
291
#if HAVE_ASM
292
#if ARCH_AARCH64 || ARCH_ARM
293
    itx_dsp_init_arm(c, bpc, &all_simd);
294
#endif
295
#if ARCH_LOONGARCH64
296
    itx_dsp_init_loongarch(c, bpc);
297
#endif
298
#if ARCH_PPC64LE
299
    itx_dsp_init_ppc(c, bpc);
300
#endif
301
#if ARCH_RISCV
302
    itx_dsp_init_riscv(c, bpc);
303
#endif
304
#if ARCH_X86
305
    itx_dsp_init_x86(c, bpc, &all_simd);
306
#endif
307
#endif
308
309
32.3k
    if (!all_simd)
310
32.3k
        dav1d_init_last_nonzero_col_from_eob_tables();
311
32.3k
}
dav1d_itx_dsp_init_16bpc
Line
Count
Source
220
39.7k
COLD void bitfn(dav1d_itx_dsp_init)(Dav1dInvTxfmDSPContext *const c, int bpc) {
221
39.7k
#define assign_itx_all_fn64(w, h, pfx) \
222
39.7k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_DCT  ] = \
223
39.7k
        inv_txfm_add_dct_dct_##w##x##h##_c
224
225
39.7k
#define assign_itx_all_fn32(w, h, pfx) \
226
39.7k
    assign_itx_all_fn64(w, h, pfx); \
227
39.7k
    c->itxfm_add[pfx##TX_##w##X##h][IDTX] = \
228
39.7k
        inv_txfm_add_identity_identity_##w##x##h##_c
229
230
39.7k
#define assign_itx_all_fn16(w, h, pfx) \
231
39.7k
    assign_itx_all_fn32(w, h, pfx); \
232
39.7k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_ADST ] = \
233
39.7k
        inv_txfm_add_adst_dct_##w##x##h##_c; \
234
39.7k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_DCT ] = \
235
39.7k
        inv_txfm_add_dct_adst_##w##x##h##_c; \
236
39.7k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_ADST] = \
237
39.7k
        inv_txfm_add_adst_adst_##w##x##h##_c; \
238
39.7k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_FLIPADST] = \
239
39.7k
        inv_txfm_add_flipadst_adst_##w##x##h##_c; \
240
39.7k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_ADST] = \
241
39.7k
        inv_txfm_add_adst_flipadst_##w##x##h##_c; \
242
39.7k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_FLIPADST] = \
243
39.7k
        inv_txfm_add_flipadst_dct_##w##x##h##_c; \
244
39.7k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_DCT] = \
245
39.7k
        inv_txfm_add_dct_flipadst_##w##x##h##_c; \
246
39.7k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_FLIPADST] = \
247
39.7k
        inv_txfm_add_flipadst_flipadst_##w##x##h##_c; \
248
39.7k
    c->itxfm_add[pfx##TX_##w##X##h][H_DCT] = \
249
39.7k
        inv_txfm_add_dct_identity_##w##x##h##_c; \
250
39.7k
    c->itxfm_add[pfx##TX_##w##X##h][V_DCT] = \
251
39.7k
        inv_txfm_add_identity_dct_##w##x##h##_c
252
253
39.7k
#define assign_itx_all_fn84(w, h, pfx) \
254
39.7k
    assign_itx_all_fn16(w, h, pfx); \
255
39.7k
    c->itxfm_add[pfx##TX_##w##X##h][H_FLIPADST] = \
256
39.7k
        inv_txfm_add_flipadst_identity_##w##x##h##_c; \
257
39.7k
    c->itxfm_add[pfx##TX_##w##X##h][V_FLIPADST] = \
258
39.7k
        inv_txfm_add_identity_flipadst_##w##x##h##_c; \
259
39.7k
    c->itxfm_add[pfx##TX_##w##X##h][H_ADST] = \
260
39.7k
        inv_txfm_add_adst_identity_##w##x##h##_c; \
261
39.7k
    c->itxfm_add[pfx##TX_##w##X##h][V_ADST] = \
262
39.7k
        inv_txfm_add_identity_adst_##w##x##h##_c; \
263
39.7k
264
39.7k
#if !(HAVE_ASM && TRIM_DSP_FUNCTIONS && ( \
265
39.7k
  ARCH_AARCH64 || \
266
39.7k
  (ARCH_ARM && (defined(__ARM_NEON) || defined(__APPLE__) || defined(_WIN32))) \
267
39.7k
))
268
39.7k
    c->itxfm_add[TX_4X4][WHT_WHT] = inv_txfm_add_wht_wht_4x4_c;
269
39.7k
#endif
270
39.7k
    assign_itx_all_fn84( 4,  4, );
271
39.7k
    assign_itx_all_fn84( 4,  8, R);
272
39.7k
    assign_itx_all_fn84( 4, 16, R);
273
39.7k
    assign_itx_all_fn84( 8,  4, R);
274
39.7k
    assign_itx_all_fn84( 8,  8, );
275
39.7k
    assign_itx_all_fn84( 8, 16, R);
276
39.7k
    assign_itx_all_fn32( 8, 32, R);
277
39.7k
    assign_itx_all_fn84(16,  4, R);
278
39.7k
    assign_itx_all_fn84(16,  8, R);
279
39.7k
    assign_itx_all_fn16(16, 16, );
280
39.7k
    assign_itx_all_fn32(16, 32, R);
281
39.7k
    assign_itx_all_fn64(16, 64, R);
282
39.7k
    assign_itx_all_fn32(32,  8, R);
283
39.7k
    assign_itx_all_fn32(32, 16, R);
284
39.7k
    assign_itx_all_fn32(32, 32, );
285
39.7k
    assign_itx_all_fn64(32, 64, R);
286
39.7k
    assign_itx_all_fn64(64, 16, R);
287
39.7k
    assign_itx_all_fn64(64, 32, R);
288
39.7k
    assign_itx_all_fn64(64, 64, );
289
290
39.7k
    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
39.7k
    if (!all_simd)
310
39.7k
        dav1d_init_last_nonzero_col_from_eob_tables();
311
39.7k
}