Coverage Report

Created: 2026-08-31 06:21

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
780k
{
48
780k
    const TxfmInfo *const t_dim = &dav1d_txfm_dimensions[tx];
49
780k
    const int w = 4 * t_dim->w, h = 4 * t_dim->h;
50
780k
    const int has_dconly = txtp == DCT_DCT;
51
780k
    assert(w >= 4 && w <= 64);
52
780k
    assert(h >= 4 && h <= 64);
53
780k
    assert(eob >= 0);
54
55
780k
    const int is_rect2 = w * 2 == h || h * 2 == w;
56
780k
    const int rnd = (1 << shift) >> 1;
57
58
780k
    if (eob < has_dconly) {
59
164k
        int dc = coeff[0];
60
164k
        coeff[0] = 0;
61
164k
        if (is_rect2)
62
33.3k
            dc = (dc * 181 + 128) >> 8;
63
164k
        dc = (dc * 181 + 128) >> 8;
64
164k
        dc = (dc + rnd) >> shift;
65
164k
        dc = (dc * 181 + 128 + 2048) >> 12;
66
5.08M
        for (int y = 0; y < h; y++, dst += PXSTRIDE(stride))
67
197M
            for (int x = 0; x < w; x++)
68
192M
                dst[x] = iclip_pixel(dst[x] + dc);
69
164k
        return;
70
164k
    }
71
72
616k
    const uint8_t *const txtps = dav1d_tx1d_types[txtp];
73
616k
    const itx_1d_fn first_1d_fn = dav1d_tx1d_fns[t_dim->lw][txtps[0]];
74
616k
    const itx_1d_fn second_1d_fn = dav1d_tx1d_fns[t_dim->lh][txtps[1]];
75
616k
    const int sh = imin(h, 32), sw = imin(w, 32);
76
616k
#if BITDEPTH == 8
77
616k
    const int row_clip_min = INT16_MIN;
78
616k
    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
616k
    const int row_clip_max = ~row_clip_min;
84
616k
    const int col_clip_max = ~col_clip_min;
85
86
616k
    int32_t tmp[64 * 64], *c = tmp;
87
616k
    int last_nonzero_col; // in first 1d itx
88
616k
    if (txtps[1] == IDENTITY && txtps[0] != IDENTITY) {
89
49.9k
        last_nonzero_col = imin(sh - 1, eob);
90
566k
    } else if (txtps[0] == IDENTITY && txtps[1] != IDENTITY) {
91
28.7k
        last_nonzero_col = eob >> (t_dim->lw + 2);
92
537k
    } else {
93
537k
        last_nonzero_col = dav1d_last_nonzero_col_from_eob[tx][eob];
94
537k
    }
95
616k
    assert(last_nonzero_col < sh);
96
3.56M
    for (int y = 0; y <= last_nonzero_col; y++, c += w) {
97
2.95M
        if (is_rect2)
98
13.2M
            for (int x = 0; x < sw; x++)
99
12.3M
                c[x] = (coeff[y + x * sh] * 181 + 128) >> 8;
100
2.08M
        else
101
35.7M
            for (int x = 0; x < sw; x++)
102
33.6M
                c[x] = coeff[y + x * sh];
103
2.95M
        first_1d_fn(c, 1, row_clip_min, row_clip_max);
104
2.95M
    }
105
616k
    if (last_nonzero_col + 1 < sh)
106
480k
        memset(c, 0, sizeof(*c) * (sh - last_nonzero_col - 1) * w);
107
108
616k
    memset(coeff, 0, sizeof(*coeff) * sw * sh);
109
167M
    for (int i = 0; i < w * sh; i++)
110
166M
        tmp[i] = iclip((tmp[i] + rnd) >> shift, col_clip_min, col_clip_max);
111
112
9.72M
    for (int x = 0; x < w; x++)
113
9.10M
        second_1d_fn(&tmp[x], w, col_clip_min, col_clip_max);
114
115
616k
    c = tmp;
116
9.48M
    for (int y = 0; y < h; y++, dst += PXSTRIDE(stride))
117
227M
        for (int x = 0; x < w; x++)
118
219M
            dst[x] = iclip_pixel(dst[x] + ((*c++ + 8) >> 4));
119
616k
}
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
780k
                                               HIGHBD_DECL_SUFFIX) \
128
780k
{ \
129
780k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
780k
                   HIGHBD_TAIL_SUFFIX); \
131
780k
}
itx_tmpl.c:inv_txfm_add_dct_dct_4x4_c
Line
Count
Source
127
16.9k
                                               HIGHBD_DECL_SUFFIX) \
128
16.9k
{ \
129
16.9k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
16.9k
                   HIGHBD_TAIL_SUFFIX); \
131
16.9k
}
itx_tmpl.c:inv_txfm_add_identity_identity_4x4_c
Line
Count
Source
127
9.48k
                                               HIGHBD_DECL_SUFFIX) \
128
9.48k
{ \
129
9.48k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
9.48k
                   HIGHBD_TAIL_SUFFIX); \
131
9.48k
}
itx_tmpl.c:inv_txfm_add_adst_dct_4x4_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_dct_adst_4x4_c
Line
Count
Source
127
9.04k
                                               HIGHBD_DECL_SUFFIX) \
128
9.04k
{ \
129
9.04k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
9.04k
                   HIGHBD_TAIL_SUFFIX); \
131
9.04k
}
itx_tmpl.c:inv_txfm_add_adst_adst_4x4_c
Line
Count
Source
127
12.7k
                                               HIGHBD_DECL_SUFFIX) \
128
12.7k
{ \
129
12.7k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
12.7k
                   HIGHBD_TAIL_SUFFIX); \
131
12.7k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_4x4_c
Line
Count
Source
127
1.67k
                                               HIGHBD_DECL_SUFFIX) \
128
1.67k
{ \
129
1.67k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.67k
                   HIGHBD_TAIL_SUFFIX); \
131
1.67k
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_4x4_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_dct_4x4_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_dct_flipadst_4x4_c
Line
Count
Source
127
718
                                               HIGHBD_DECL_SUFFIX) \
128
718
{ \
129
718
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
718
                   HIGHBD_TAIL_SUFFIX); \
131
718
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_4x4_c
Line
Count
Source
127
1.04k
                                               HIGHBD_DECL_SUFFIX) \
128
1.04k
{ \
129
1.04k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.04k
                   HIGHBD_TAIL_SUFFIX); \
131
1.04k
}
itx_tmpl.c:inv_txfm_add_dct_identity_4x4_c
Line
Count
Source
127
4.97k
                                               HIGHBD_DECL_SUFFIX) \
128
4.97k
{ \
129
4.97k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.97k
                   HIGHBD_TAIL_SUFFIX); \
131
4.97k
}
itx_tmpl.c:inv_txfm_add_identity_dct_4x4_c
Line
Count
Source
127
3.08k
                                               HIGHBD_DECL_SUFFIX) \
128
3.08k
{ \
129
3.08k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.08k
                   HIGHBD_TAIL_SUFFIX); \
131
3.08k
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_4x4_c
Line
Count
Source
127
2.14k
                                               HIGHBD_DECL_SUFFIX) \
128
2.14k
{ \
129
2.14k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.14k
                   HIGHBD_TAIL_SUFFIX); \
131
2.14k
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_4x4_c
Line
Count
Source
127
2.01k
                                               HIGHBD_DECL_SUFFIX) \
128
2.01k
{ \
129
2.01k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.01k
                   HIGHBD_TAIL_SUFFIX); \
131
2.01k
}
itx_tmpl.c:inv_txfm_add_adst_identity_4x4_c
Line
Count
Source
127
3.24k
                                               HIGHBD_DECL_SUFFIX) \
128
3.24k
{ \
129
3.24k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.24k
                   HIGHBD_TAIL_SUFFIX); \
131
3.24k
}
itx_tmpl.c:inv_txfm_add_identity_adst_4x4_c
Line
Count
Source
127
2.46k
                                               HIGHBD_DECL_SUFFIX) \
128
2.46k
{ \
129
2.46k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.46k
                   HIGHBD_TAIL_SUFFIX); \
131
2.46k
}
itx_tmpl.c:inv_txfm_add_dct_dct_4x8_c
Line
Count
Source
127
6.79k
                                               HIGHBD_DECL_SUFFIX) \
128
6.79k
{ \
129
6.79k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
6.79k
                   HIGHBD_TAIL_SUFFIX); \
131
6.79k
}
itx_tmpl.c:inv_txfm_add_identity_identity_4x8_c
Line
Count
Source
127
3.24k
                                               HIGHBD_DECL_SUFFIX) \
128
3.24k
{ \
129
3.24k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.24k
                   HIGHBD_TAIL_SUFFIX); \
131
3.24k
}
itx_tmpl.c:inv_txfm_add_adst_dct_4x8_c
Line
Count
Source
127
4.14k
                                               HIGHBD_DECL_SUFFIX) \
128
4.14k
{ \
129
4.14k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.14k
                   HIGHBD_TAIL_SUFFIX); \
131
4.14k
}
itx_tmpl.c:inv_txfm_add_dct_adst_4x8_c
Line
Count
Source
127
3.40k
                                               HIGHBD_DECL_SUFFIX) \
128
3.40k
{ \
129
3.40k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.40k
                   HIGHBD_TAIL_SUFFIX); \
131
3.40k
}
itx_tmpl.c:inv_txfm_add_adst_adst_4x8_c
Line
Count
Source
127
5.29k
                                               HIGHBD_DECL_SUFFIX) \
128
5.29k
{ \
129
5.29k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.29k
                   HIGHBD_TAIL_SUFFIX); \
131
5.29k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_4x8_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_adst_flipadst_4x8_c
Line
Count
Source
127
999
                                               HIGHBD_DECL_SUFFIX) \
128
999
{ \
129
999
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
999
                   HIGHBD_TAIL_SUFFIX); \
131
999
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_4x8_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_4x8_c
Line
Count
Source
127
728
                                               HIGHBD_DECL_SUFFIX) \
128
728
{ \
129
728
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
728
                   HIGHBD_TAIL_SUFFIX); \
131
728
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_4x8_c
Line
Count
Source
127
895
                                               HIGHBD_DECL_SUFFIX) \
128
895
{ \
129
895
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
895
                   HIGHBD_TAIL_SUFFIX); \
131
895
}
itx_tmpl.c:inv_txfm_add_dct_identity_4x8_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_identity_dct_4x8_c
Line
Count
Source
127
911
                                               HIGHBD_DECL_SUFFIX) \
128
911
{ \
129
911
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
911
                   HIGHBD_TAIL_SUFFIX); \
131
911
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_4x8_c
Line
Count
Source
127
895
                                               HIGHBD_DECL_SUFFIX) \
128
895
{ \
129
895
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
895
                   HIGHBD_TAIL_SUFFIX); \
131
895
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_4x8_c
Line
Count
Source
127
911
                                               HIGHBD_DECL_SUFFIX) \
128
911
{ \
129
911
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
911
                   HIGHBD_TAIL_SUFFIX); \
131
911
}
itx_tmpl.c:inv_txfm_add_adst_identity_4x8_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_identity_adst_4x8_c
Line
Count
Source
127
799
                                               HIGHBD_DECL_SUFFIX) \
128
799
{ \
129
799
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
799
                   HIGHBD_TAIL_SUFFIX); \
131
799
}
itx_tmpl.c:inv_txfm_add_dct_dct_4x16_c
Line
Count
Source
127
2.86k
                                               HIGHBD_DECL_SUFFIX) \
128
2.86k
{ \
129
2.86k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.86k
                   HIGHBD_TAIL_SUFFIX); \
131
2.86k
}
itx_tmpl.c:inv_txfm_add_identity_identity_4x16_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_adst_dct_4x16_c
Line
Count
Source
127
1.75k
                                               HIGHBD_DECL_SUFFIX) \
128
1.75k
{ \
129
1.75k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.75k
                   HIGHBD_TAIL_SUFFIX); \
131
1.75k
}
itx_tmpl.c:inv_txfm_add_dct_adst_4x16_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_adst_adst_4x16_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_flipadst_adst_4x16_c
Line
Count
Source
127
365
                                               HIGHBD_DECL_SUFFIX) \
128
365
{ \
129
365
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
365
                   HIGHBD_TAIL_SUFFIX); \
131
365
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_4x16_c
Line
Count
Source
127
323
                                               HIGHBD_DECL_SUFFIX) \
128
323
{ \
129
323
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
323
                   HIGHBD_TAIL_SUFFIX); \
131
323
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_4x16_c
Line
Count
Source
127
288
                                               HIGHBD_DECL_SUFFIX) \
128
288
{ \
129
288
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
288
                   HIGHBD_TAIL_SUFFIX); \
131
288
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_4x16_c
Line
Count
Source
127
215
                                               HIGHBD_DECL_SUFFIX) \
128
215
{ \
129
215
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
215
                   HIGHBD_TAIL_SUFFIX); \
131
215
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_4x16_c
Line
Count
Source
127
276
                                               HIGHBD_DECL_SUFFIX) \
128
276
{ \
129
276
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
276
                   HIGHBD_TAIL_SUFFIX); \
131
276
}
itx_tmpl.c:inv_txfm_add_dct_identity_4x16_c
Line
Count
Source
127
830
                                               HIGHBD_DECL_SUFFIX) \
128
830
{ \
129
830
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
830
                   HIGHBD_TAIL_SUFFIX); \
131
830
}
itx_tmpl.c:inv_txfm_add_identity_dct_4x16_c
Line
Count
Source
127
445
                                               HIGHBD_DECL_SUFFIX) \
128
445
{ \
129
445
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
445
                   HIGHBD_TAIL_SUFFIX); \
131
445
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_4x16_c
Line
Count
Source
127
516
                                               HIGHBD_DECL_SUFFIX) \
128
516
{ \
129
516
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
516
                   HIGHBD_TAIL_SUFFIX); \
131
516
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_4x16_c
Line
Count
Source
127
255
                                               HIGHBD_DECL_SUFFIX) \
128
255
{ \
129
255
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
255
                   HIGHBD_TAIL_SUFFIX); \
131
255
}
itx_tmpl.c:inv_txfm_add_adst_identity_4x16_c
Line
Count
Source
127
519
                                               HIGHBD_DECL_SUFFIX) \
128
519
{ \
129
519
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
519
                   HIGHBD_TAIL_SUFFIX); \
131
519
}
itx_tmpl.c:inv_txfm_add_identity_adst_4x16_c
Line
Count
Source
127
353
                                               HIGHBD_DECL_SUFFIX) \
128
353
{ \
129
353
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
353
                   HIGHBD_TAIL_SUFFIX); \
131
353
}
itx_tmpl.c:inv_txfm_add_dct_dct_8x4_c
Line
Count
Source
127
9.90k
                                               HIGHBD_DECL_SUFFIX) \
128
9.90k
{ \
129
9.90k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
9.90k
                   HIGHBD_TAIL_SUFFIX); \
131
9.90k
}
itx_tmpl.c:inv_txfm_add_identity_identity_8x4_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_adst_dct_8x4_c
Line
Count
Source
127
6.37k
                                               HIGHBD_DECL_SUFFIX) \
128
6.37k
{ \
129
6.37k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
6.37k
                   HIGHBD_TAIL_SUFFIX); \
131
6.37k
}
itx_tmpl.c:inv_txfm_add_dct_adst_8x4_c
Line
Count
Source
127
5.19k
                                               HIGHBD_DECL_SUFFIX) \
128
5.19k
{ \
129
5.19k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.19k
                   HIGHBD_TAIL_SUFFIX); \
131
5.19k
}
itx_tmpl.c:inv_txfm_add_adst_adst_8x4_c
Line
Count
Source
127
7.14k
                                               HIGHBD_DECL_SUFFIX) \
128
7.14k
{ \
129
7.14k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
7.14k
                   HIGHBD_TAIL_SUFFIX); \
131
7.14k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_8x4_c
Line
Count
Source
127
1.57k
                                               HIGHBD_DECL_SUFFIX) \
128
1.57k
{ \
129
1.57k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.57k
                   HIGHBD_TAIL_SUFFIX); \
131
1.57k
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_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_flipadst_dct_8x4_c
Line
Count
Source
127
1.30k
                                               HIGHBD_DECL_SUFFIX) \
128
1.30k
{ \
129
1.30k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.30k
                   HIGHBD_TAIL_SUFFIX); \
131
1.30k
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_8x4_c
Line
Count
Source
127
1.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_flipadst_flipadst_8x4_c
Line
Count
Source
127
1.12k
                                               HIGHBD_DECL_SUFFIX) \
128
1.12k
{ \
129
1.12k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.12k
                   HIGHBD_TAIL_SUFFIX); \
131
1.12k
}
itx_tmpl.c:inv_txfm_add_dct_identity_8x4_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_8x4_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_identity_8x4_c
Line
Count
Source
127
1.47k
                                               HIGHBD_DECL_SUFFIX) \
128
1.47k
{ \
129
1.47k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.47k
                   HIGHBD_TAIL_SUFFIX); \
131
1.47k
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_8x4_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_adst_identity_8x4_c
Line
Count
Source
127
2.29k
                                               HIGHBD_DECL_SUFFIX) \
128
2.29k
{ \
129
2.29k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.29k
                   HIGHBD_TAIL_SUFFIX); \
131
2.29k
}
itx_tmpl.c:inv_txfm_add_identity_adst_8x4_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_dct_8x8_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_identity_identity_8x8_c
Line
Count
Source
127
8.68k
                                               HIGHBD_DECL_SUFFIX) \
128
8.68k
{ \
129
8.68k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
8.68k
                   HIGHBD_TAIL_SUFFIX); \
131
8.68k
}
itx_tmpl.c:inv_txfm_add_adst_dct_8x8_c
Line
Count
Source
127
19.9k
                                               HIGHBD_DECL_SUFFIX) \
128
19.9k
{ \
129
19.9k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
19.9k
                   HIGHBD_TAIL_SUFFIX); \
131
19.9k
}
itx_tmpl.c:inv_txfm_add_dct_adst_8x8_c
Line
Count
Source
127
15.8k
                                               HIGHBD_DECL_SUFFIX) \
128
15.8k
{ \
129
15.8k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
15.8k
                   HIGHBD_TAIL_SUFFIX); \
131
15.8k
}
itx_tmpl.c:inv_txfm_add_adst_adst_8x8_c
Line
Count
Source
127
18.1k
                                               HIGHBD_DECL_SUFFIX) \
128
18.1k
{ \
129
18.1k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
18.1k
                   HIGHBD_TAIL_SUFFIX); \
131
18.1k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_8x8_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_adst_flipadst_8x8_c
Line
Count
Source
127
2.22k
                                               HIGHBD_DECL_SUFFIX) \
128
2.22k
{ \
129
2.22k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.22k
                   HIGHBD_TAIL_SUFFIX); \
131
2.22k
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_8x8_c
Line
Count
Source
127
3.08k
                                               HIGHBD_DECL_SUFFIX) \
128
3.08k
{ \
129
3.08k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.08k
                   HIGHBD_TAIL_SUFFIX); \
131
3.08k
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_8x8_c
Line
Count
Source
127
2.62k
                                               HIGHBD_DECL_SUFFIX) \
128
2.62k
{ \
129
2.62k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.62k
                   HIGHBD_TAIL_SUFFIX); \
131
2.62k
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_8x8_c
Line
Count
Source
127
2.01k
                                               HIGHBD_DECL_SUFFIX) \
128
2.01k
{ \
129
2.01k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.01k
                   HIGHBD_TAIL_SUFFIX); \
131
2.01k
}
itx_tmpl.c:inv_txfm_add_dct_identity_8x8_c
Line
Count
Source
127
6.27k
                                               HIGHBD_DECL_SUFFIX) \
128
6.27k
{ \
129
6.27k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
6.27k
                   HIGHBD_TAIL_SUFFIX); \
131
6.27k
}
itx_tmpl.c:inv_txfm_add_identity_dct_8x8_c
Line
Count
Source
127
2.93k
                                               HIGHBD_DECL_SUFFIX) \
128
2.93k
{ \
129
2.93k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.93k
                   HIGHBD_TAIL_SUFFIX); \
131
2.93k
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_8x8_c
Line
Count
Source
127
2.49k
                                               HIGHBD_DECL_SUFFIX) \
128
2.49k
{ \
129
2.49k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.49k
                   HIGHBD_TAIL_SUFFIX); \
131
2.49k
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_8x8_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_adst_identity_8x8_c
Line
Count
Source
127
2.60k
                                               HIGHBD_DECL_SUFFIX) \
128
2.60k
{ \
129
2.60k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.60k
                   HIGHBD_TAIL_SUFFIX); \
131
2.60k
}
itx_tmpl.c:inv_txfm_add_identity_adst_8x8_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_dct_dct_8x16_c
Line
Count
Source
127
8.72k
                                               HIGHBD_DECL_SUFFIX) \
128
8.72k
{ \
129
8.72k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
8.72k
                   HIGHBD_TAIL_SUFFIX); \
131
8.72k
}
itx_tmpl.c:inv_txfm_add_identity_identity_8x16_c
Line
Count
Source
127
1.90k
                                               HIGHBD_DECL_SUFFIX) \
128
1.90k
{ \
129
1.90k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.90k
                   HIGHBD_TAIL_SUFFIX); \
131
1.90k
}
itx_tmpl.c:inv_txfm_add_adst_dct_8x16_c
Line
Count
Source
127
4.97k
                                               HIGHBD_DECL_SUFFIX) \
128
4.97k
{ \
129
4.97k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.97k
                   HIGHBD_TAIL_SUFFIX); \
131
4.97k
}
itx_tmpl.c:inv_txfm_add_dct_adst_8x16_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_adst_adst_8x16_c
Line
Count
Source
127
4.33k
                                               HIGHBD_DECL_SUFFIX) \
128
4.33k
{ \
129
4.33k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.33k
                   HIGHBD_TAIL_SUFFIX); \
131
4.33k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_8x16_c
Line
Count
Source
127
731
                                               HIGHBD_DECL_SUFFIX) \
128
731
{ \
129
731
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
731
                   HIGHBD_TAIL_SUFFIX); \
131
731
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_8x16_c
Line
Count
Source
127
1.02k
                                               HIGHBD_DECL_SUFFIX) \
128
1.02k
{ \
129
1.02k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.02k
                   HIGHBD_TAIL_SUFFIX); \
131
1.02k
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_8x16_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_dct_flipadst_8x16_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_flipadst_flipadst_8x16_c
Line
Count
Source
127
881
                                               HIGHBD_DECL_SUFFIX) \
128
881
{ \
129
881
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
881
                   HIGHBD_TAIL_SUFFIX); \
131
881
}
itx_tmpl.c:inv_txfm_add_dct_identity_8x16_c
Line
Count
Source
127
1.51k
                                               HIGHBD_DECL_SUFFIX) \
128
1.51k
{ \
129
1.51k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.51k
                   HIGHBD_TAIL_SUFFIX); \
131
1.51k
}
itx_tmpl.c:inv_txfm_add_identity_dct_8x16_c
Line
Count
Source
127
737
                                               HIGHBD_DECL_SUFFIX) \
128
737
{ \
129
737
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
737
                   HIGHBD_TAIL_SUFFIX); \
131
737
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_8x16_c
Line
Count
Source
127
848
                                               HIGHBD_DECL_SUFFIX) \
128
848
{ \
129
848
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
848
                   HIGHBD_TAIL_SUFFIX); \
131
848
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_8x16_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_adst_identity_8x16_c
Line
Count
Source
127
736
                                               HIGHBD_DECL_SUFFIX) \
128
736
{ \
129
736
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
736
                   HIGHBD_TAIL_SUFFIX); \
131
736
}
itx_tmpl.c:inv_txfm_add_identity_adst_8x16_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_dct_dct_8x32_c
Line
Count
Source
127
10.5k
                                               HIGHBD_DECL_SUFFIX) \
128
10.5k
{ \
129
10.5k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
10.5k
                   HIGHBD_TAIL_SUFFIX); \
131
10.5k
}
itx_tmpl.c:inv_txfm_add_identity_identity_8x32_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_dct_dct_16x4_c
Line
Count
Source
127
6.06k
                                               HIGHBD_DECL_SUFFIX) \
128
6.06k
{ \
129
6.06k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
6.06k
                   HIGHBD_TAIL_SUFFIX); \
131
6.06k
}
itx_tmpl.c:inv_txfm_add_identity_identity_16x4_c
Line
Count
Source
127
3.26k
                                               HIGHBD_DECL_SUFFIX) \
128
3.26k
{ \
129
3.26k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.26k
                   HIGHBD_TAIL_SUFFIX); \
131
3.26k
}
itx_tmpl.c:inv_txfm_add_adst_dct_16x4_c
Line
Count
Source
127
3.98k
                                               HIGHBD_DECL_SUFFIX) \
128
3.98k
{ \
129
3.98k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.98k
                   HIGHBD_TAIL_SUFFIX); \
131
3.98k
}
itx_tmpl.c:inv_txfm_add_dct_adst_16x4_c
Line
Count
Source
127
3.09k
                                               HIGHBD_DECL_SUFFIX) \
128
3.09k
{ \
129
3.09k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.09k
                   HIGHBD_TAIL_SUFFIX); \
131
3.09k
}
itx_tmpl.c:inv_txfm_add_adst_adst_16x4_c
Line
Count
Source
127
4.73k
                                               HIGHBD_DECL_SUFFIX) \
128
4.73k
{ \
129
4.73k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.73k
                   HIGHBD_TAIL_SUFFIX); \
131
4.73k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_16x4_c
Line
Count
Source
127
727
                                               HIGHBD_DECL_SUFFIX) \
128
727
{ \
129
727
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
727
                   HIGHBD_TAIL_SUFFIX); \
131
727
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_16x4_c
Line
Count
Source
127
656
                                               HIGHBD_DECL_SUFFIX) \
128
656
{ \
129
656
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
656
                   HIGHBD_TAIL_SUFFIX); \
131
656
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_16x4_c
Line
Count
Source
127
573
                                               HIGHBD_DECL_SUFFIX) \
128
573
{ \
129
573
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
573
                   HIGHBD_TAIL_SUFFIX); \
131
573
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_16x4_c
Line
Count
Source
127
612
                                               HIGHBD_DECL_SUFFIX) \
128
612
{ \
129
612
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
612
                   HIGHBD_TAIL_SUFFIX); \
131
612
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_16x4_c
Line
Count
Source
127
398
                                               HIGHBD_DECL_SUFFIX) \
128
398
{ \
129
398
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
398
                   HIGHBD_TAIL_SUFFIX); \
131
398
}
itx_tmpl.c:inv_txfm_add_dct_identity_16x4_c
Line
Count
Source
127
1.80k
                                               HIGHBD_DECL_SUFFIX) \
128
1.80k
{ \
129
1.80k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.80k
                   HIGHBD_TAIL_SUFFIX); \
131
1.80k
}
itx_tmpl.c:inv_txfm_add_identity_dct_16x4_c
Line
Count
Source
127
984
                                               HIGHBD_DECL_SUFFIX) \
128
984
{ \
129
984
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
984
                   HIGHBD_TAIL_SUFFIX); \
131
984
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_16x4_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_flipadst_16x4_c
Line
Count
Source
127
500
                                               HIGHBD_DECL_SUFFIX) \
128
500
{ \
129
500
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
500
                   HIGHBD_TAIL_SUFFIX); \
131
500
}
itx_tmpl.c:inv_txfm_add_adst_identity_16x4_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_identity_adst_16x4_c
Line
Count
Source
127
875
                                               HIGHBD_DECL_SUFFIX) \
128
875
{ \
129
875
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
875
                   HIGHBD_TAIL_SUFFIX); \
131
875
}
itx_tmpl.c:inv_txfm_add_dct_dct_16x8_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_identity_identity_16x8_c
Line
Count
Source
127
3.40k
                                               HIGHBD_DECL_SUFFIX) \
128
3.40k
{ \
129
3.40k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.40k
                   HIGHBD_TAIL_SUFFIX); \
131
3.40k
}
itx_tmpl.c:inv_txfm_add_adst_dct_16x8_c
Line
Count
Source
127
7.53k
                                               HIGHBD_DECL_SUFFIX) \
128
7.53k
{ \
129
7.53k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
7.53k
                   HIGHBD_TAIL_SUFFIX); \
131
7.53k
}
itx_tmpl.c:inv_txfm_add_dct_adst_16x8_c
Line
Count
Source
127
5.54k
                                               HIGHBD_DECL_SUFFIX) \
128
5.54k
{ \
129
5.54k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.54k
                   HIGHBD_TAIL_SUFFIX); \
131
5.54k
}
itx_tmpl.c:inv_txfm_add_adst_adst_16x8_c
Line
Count
Source
127
6.30k
                                               HIGHBD_DECL_SUFFIX) \
128
6.30k
{ \
129
6.30k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
6.30k
                   HIGHBD_TAIL_SUFFIX); \
131
6.30k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_16x8_c
Line
Count
Source
127
1.50k
                                               HIGHBD_DECL_SUFFIX) \
128
1.50k
{ \
129
1.50k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.50k
                   HIGHBD_TAIL_SUFFIX); \
131
1.50k
}
itx_tmpl.c:inv_txfm_add_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.83k
                                               HIGHBD_DECL_SUFFIX) \
128
1.83k
{ \
129
1.83k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.83k
                   HIGHBD_TAIL_SUFFIX); \
131
1.83k
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_16x8_c
Line
Count
Source
127
1.79k
                                               HIGHBD_DECL_SUFFIX) \
128
1.79k
{ \
129
1.79k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.79k
                   HIGHBD_TAIL_SUFFIX); \
131
1.79k
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_16x8_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_16x8_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_identity_dct_16x8_c
Line
Count
Source
127
1.23k
                                               HIGHBD_DECL_SUFFIX) \
128
1.23k
{ \
129
1.23k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.23k
                   HIGHBD_TAIL_SUFFIX); \
131
1.23k
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_16x8_c
Line
Count
Source
127
1.57k
                                               HIGHBD_DECL_SUFFIX) \
128
1.57k
{ \
129
1.57k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.57k
                   HIGHBD_TAIL_SUFFIX); \
131
1.57k
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_16x8_c
Line
Count
Source
127
953
                                               HIGHBD_DECL_SUFFIX) \
128
953
{ \
129
953
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
953
                   HIGHBD_TAIL_SUFFIX); \
131
953
}
itx_tmpl.c:inv_txfm_add_adst_identity_16x8_c
Line
Count
Source
127
1.62k
                                               HIGHBD_DECL_SUFFIX) \
128
1.62k
{ \
129
1.62k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.62k
                   HIGHBD_TAIL_SUFFIX); \
131
1.62k
}
itx_tmpl.c:inv_txfm_add_identity_adst_16x8_c
Line
Count
Source
127
852
                                               HIGHBD_DECL_SUFFIX) \
128
852
{ \
129
852
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
852
                   HIGHBD_TAIL_SUFFIX); \
131
852
}
itx_tmpl.c:inv_txfm_add_dct_dct_16x16_c
Line
Count
Source
127
32.8k
                                               HIGHBD_DECL_SUFFIX) \
128
32.8k
{ \
129
32.8k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
32.8k
                   HIGHBD_TAIL_SUFFIX); \
131
32.8k
}
itx_tmpl.c:inv_txfm_add_identity_identity_16x16_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_adst_dct_16x16_c
Line
Count
Source
127
26.8k
                                               HIGHBD_DECL_SUFFIX) \
128
26.8k
{ \
129
26.8k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
26.8k
                   HIGHBD_TAIL_SUFFIX); \
131
26.8k
}
itx_tmpl.c:inv_txfm_add_dct_adst_16x16_c
Line
Count
Source
127
21.4k
                                               HIGHBD_DECL_SUFFIX) \
128
21.4k
{ \
129
21.4k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
21.4k
                   HIGHBD_TAIL_SUFFIX); \
131
21.4k
}
itx_tmpl.c:inv_txfm_add_adst_adst_16x16_c
Line
Count
Source
127
25.2k
                                               HIGHBD_DECL_SUFFIX) \
128
25.2k
{ \
129
25.2k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
25.2k
                   HIGHBD_TAIL_SUFFIX); \
131
25.2k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_16x16_c
Line
Count
Source
127
1.24k
                                               HIGHBD_DECL_SUFFIX) \
128
1.24k
{ \
129
1.24k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.24k
                   HIGHBD_TAIL_SUFFIX); \
131
1.24k
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_16x16_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_dct_16x16_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_dct_flipadst_16x16_c
Line
Count
Source
127
1.80k
                                               HIGHBD_DECL_SUFFIX) \
128
1.80k
{ \
129
1.80k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.80k
                   HIGHBD_TAIL_SUFFIX); \
131
1.80k
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_16x16_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_identity_16x16_c
Line
Count
Source
127
1.94k
                                               HIGHBD_DECL_SUFFIX) \
128
1.94k
{ \
129
1.94k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.94k
                   HIGHBD_TAIL_SUFFIX); \
131
1.94k
}
itx_tmpl.c:inv_txfm_add_identity_dct_16x16_c
Line
Count
Source
127
909
                                               HIGHBD_DECL_SUFFIX) \
128
909
{ \
129
909
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
909
                   HIGHBD_TAIL_SUFFIX); \
131
909
}
itx_tmpl.c:inv_txfm_add_dct_dct_16x32_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_identity_identity_16x32_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_16x64_c
Line
Count
Source
127
6.53k
                                               HIGHBD_DECL_SUFFIX) \
128
6.53k
{ \
129
6.53k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
6.53k
                   HIGHBD_TAIL_SUFFIX); \
131
6.53k
}
itx_tmpl.c:inv_txfm_add_dct_dct_32x8_c
Line
Count
Source
127
14.1k
                                               HIGHBD_DECL_SUFFIX) \
128
14.1k
{ \
129
14.1k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
14.1k
                   HIGHBD_TAIL_SUFFIX); \
131
14.1k
}
itx_tmpl.c:inv_txfm_add_identity_identity_32x8_c
Line
Count
Source
127
1.13k
                                               HIGHBD_DECL_SUFFIX) \
128
1.13k
{ \
129
1.13k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.13k
                   HIGHBD_TAIL_SUFFIX); \
131
1.13k
}
itx_tmpl.c:inv_txfm_add_dct_dct_32x16_c
Line
Count
Source
127
18.7k
                                               HIGHBD_DECL_SUFFIX) \
128
18.7k
{ \
129
18.7k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
18.7k
                   HIGHBD_TAIL_SUFFIX); \
131
18.7k
}
itx_tmpl.c:inv_txfm_add_identity_identity_32x16_c
Line
Count
Source
127
666
                                               HIGHBD_DECL_SUFFIX) \
128
666
{ \
129
666
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
666
                   HIGHBD_TAIL_SUFFIX); \
131
666
}
itx_tmpl.c:inv_txfm_add_dct_dct_32x32_c
Line
Count
Source
127
103k
                                               HIGHBD_DECL_SUFFIX) \
128
103k
{ \
129
103k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
103k
                   HIGHBD_TAIL_SUFFIX); \
131
103k
}
itx_tmpl.c:inv_txfm_add_identity_identity_32x32_c
Line
Count
Source
127
356
                                               HIGHBD_DECL_SUFFIX) \
128
356
{ \
129
356
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
356
                   HIGHBD_TAIL_SUFFIX); \
131
356
}
itx_tmpl.c:inv_txfm_add_dct_dct_32x64_c
Line
Count
Source
127
8.60k
                                               HIGHBD_DECL_SUFFIX) \
128
8.60k
{ \
129
8.60k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
8.60k
                   HIGHBD_TAIL_SUFFIX); \
131
8.60k
}
itx_tmpl.c:inv_txfm_add_dct_dct_64x16_c
Line
Count
Source
127
2.29k
                                               HIGHBD_DECL_SUFFIX) \
128
2.29k
{ \
129
2.29k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.29k
                   HIGHBD_TAIL_SUFFIX); \
131
2.29k
}
itx_tmpl.c:inv_txfm_add_dct_dct_64x32_c
Line
Count
Source
127
5.35k
                                               HIGHBD_DECL_SUFFIX) \
128
5.35k
{ \
129
5.35k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.35k
                   HIGHBD_TAIL_SUFFIX); \
131
5.35k
}
itx_tmpl.c:inv_txfm_add_dct_dct_64x64_c
Line
Count
Source
127
45.2k
                                               HIGHBD_DECL_SUFFIX) \
128
45.2k
{ \
129
45.2k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
45.2k
                   HIGHBD_TAIL_SUFFIX); \
131
45.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
258k
{
188
258k
    int32_t tmp[4 * 4], *c = tmp;
189
1.29M
    for (int y = 0; y < 4; y++, c += 4) {
190
5.16M
        for (int x = 0; x < 4; x++)
191
4.13M
            c[x] = coeff[y + x * 4] >> 2;
192
1.03M
        dav1d_inv_wht4_1d_c(c, 1);
193
1.03M
    }
194
258k
    memset(coeff, 0, sizeof(*coeff) * 4 * 4);
195
196
1.29M
    for (int x = 0; x < 4; x++)
197
1.03M
        dav1d_inv_wht4_1d_c(&tmp[x], 4);
198
199
258k
    c = tmp;
200
1.29M
    for (int y = 0; y < 4; y++, dst += PXSTRIDE(stride))
201
5.16M
        for (int x = 0; x < 4; x++)
202
4.13M
            dst[x] = iclip_pixel(dst[x] + *c++);
203
258k
}
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
16.2k
COLD void bitfn(dav1d_itx_dsp_init)(Dav1dInvTxfmDSPContext *const c, int bpc) {
221
16.2k
#define assign_itx_all_fn64(w, h, pfx) \
222
308k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_DCT  ] = \
223
308k
        inv_txfm_add_dct_dct_##w##x##h##_c
224
225
16.2k
#define assign_itx_all_fn32(w, h, pfx) \
226
227k
    assign_itx_all_fn64(w, h, pfx); \
227
227k
    c->itxfm_add[pfx##TX_##w##X##h][IDTX] = \
228
227k
        inv_txfm_add_identity_identity_##w##x##h##_c
229
230
16.2k
#define assign_itx_all_fn16(w, h, pfx) \
231
146k
    assign_itx_all_fn32(w, h, pfx); \
232
146k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_ADST ] = \
233
146k
        inv_txfm_add_adst_dct_##w##x##h##_c; \
234
146k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_DCT ] = \
235
146k
        inv_txfm_add_dct_adst_##w##x##h##_c; \
236
146k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_ADST] = \
237
146k
        inv_txfm_add_adst_adst_##w##x##h##_c; \
238
146k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_FLIPADST] = \
239
146k
        inv_txfm_add_flipadst_adst_##w##x##h##_c; \
240
146k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_ADST] = \
241
146k
        inv_txfm_add_adst_flipadst_##w##x##h##_c; \
242
146k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_FLIPADST] = \
243
146k
        inv_txfm_add_flipadst_dct_##w##x##h##_c; \
244
146k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_DCT] = \
245
146k
        inv_txfm_add_dct_flipadst_##w##x##h##_c; \
246
146k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_FLIPADST] = \
247
146k
        inv_txfm_add_flipadst_flipadst_##w##x##h##_c; \
248
146k
    c->itxfm_add[pfx##TX_##w##X##h][H_DCT] = \
249
146k
        inv_txfm_add_dct_identity_##w##x##h##_c; \
250
146k
    c->itxfm_add[pfx##TX_##w##X##h][V_DCT] = \
251
146k
        inv_txfm_add_identity_dct_##w##x##h##_c
252
253
16.2k
#define assign_itx_all_fn84(w, h, pfx) \
254
129k
    assign_itx_all_fn16(w, h, pfx); \
255
129k
    c->itxfm_add[pfx##TX_##w##X##h][H_FLIPADST] = \
256
129k
        inv_txfm_add_flipadst_identity_##w##x##h##_c; \
257
129k
    c->itxfm_add[pfx##TX_##w##X##h][V_FLIPADST] = \
258
129k
        inv_txfm_add_identity_flipadst_##w##x##h##_c; \
259
129k
    c->itxfm_add[pfx##TX_##w##X##h][H_ADST] = \
260
129k
        inv_txfm_add_adst_identity_##w##x##h##_c; \
261
129k
    c->itxfm_add[pfx##TX_##w##X##h][V_ADST] = \
262
129k
        inv_txfm_add_identity_adst_##w##x##h##_c; \
263
16.2k
264
16.2k
#if !(HAVE_ASM && TRIM_DSP_FUNCTIONS && ( \
265
16.2k
  ARCH_AARCH64 || \
266
16.2k
  (ARCH_ARM && (defined(__ARM_NEON) || defined(__APPLE__) || defined(_WIN32))) \
267
16.2k
))
268
16.2k
    c->itxfm_add[TX_4X4][WHT_WHT] = inv_txfm_add_wht_wht_4x4_c;
269
16.2k
#endif
270
16.2k
    assign_itx_all_fn84( 4,  4, );
271
16.2k
    assign_itx_all_fn84( 4,  8, R);
272
16.2k
    assign_itx_all_fn84( 4, 16, R);
273
16.2k
    assign_itx_all_fn84( 8,  4, R);
274
16.2k
    assign_itx_all_fn84( 8,  8, );
275
16.2k
    assign_itx_all_fn84( 8, 16, R);
276
16.2k
    assign_itx_all_fn32( 8, 32, R);
277
16.2k
    assign_itx_all_fn84(16,  4, R);
278
16.2k
    assign_itx_all_fn84(16,  8, R);
279
16.2k
    assign_itx_all_fn16(16, 16, );
280
16.2k
    assign_itx_all_fn32(16, 32, R);
281
16.2k
    assign_itx_all_fn64(16, 64, R);
282
16.2k
    assign_itx_all_fn32(32,  8, R);
283
16.2k
    assign_itx_all_fn32(32, 16, R);
284
16.2k
    assign_itx_all_fn32(32, 32, );
285
16.2k
    assign_itx_all_fn64(32, 64, R);
286
16.2k
    assign_itx_all_fn64(64, 16, R);
287
16.2k
    assign_itx_all_fn64(64, 32, R);
288
16.2k
    assign_itx_all_fn64(64, 64, );
289
290
16.2k
    int all_simd = 0;
291
#if HAVE_ASM
292
#if ARCH_AARCH64 || ARCH_ARM
293
    itx_dsp_init_arm(c, bpc, &all_simd);
294
#endif
295
#if ARCH_LOONGARCH64
296
    itx_dsp_init_loongarch(c, bpc);
297
#endif
298
#if ARCH_PPC64LE
299
    itx_dsp_init_ppc(c, bpc);
300
#endif
301
#if ARCH_RISCV
302
    itx_dsp_init_riscv(c, bpc);
303
#endif
304
#if ARCH_X86
305
    itx_dsp_init_x86(c, bpc, &all_simd);
306
#endif
307
#endif
308
309
16.2k
    if (!all_simd)
310
16.2k
        dav1d_init_last_nonzero_col_from_eob_tables();
311
16.2k
}
dav1d_itx_dsp_init_8bpc
Line
Count
Source
220
7.80k
COLD void bitfn(dav1d_itx_dsp_init)(Dav1dInvTxfmDSPContext *const c, int bpc) {
221
7.80k
#define assign_itx_all_fn64(w, h, pfx) \
222
7.80k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_DCT  ] = \
223
7.80k
        inv_txfm_add_dct_dct_##w##x##h##_c
224
225
7.80k
#define assign_itx_all_fn32(w, h, pfx) \
226
7.80k
    assign_itx_all_fn64(w, h, pfx); \
227
7.80k
    c->itxfm_add[pfx##TX_##w##X##h][IDTX] = \
228
7.80k
        inv_txfm_add_identity_identity_##w##x##h##_c
229
230
7.80k
#define assign_itx_all_fn16(w, h, pfx) \
231
7.80k
    assign_itx_all_fn32(w, h, pfx); \
232
7.80k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_ADST ] = \
233
7.80k
        inv_txfm_add_adst_dct_##w##x##h##_c; \
234
7.80k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_DCT ] = \
235
7.80k
        inv_txfm_add_dct_adst_##w##x##h##_c; \
236
7.80k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_ADST] = \
237
7.80k
        inv_txfm_add_adst_adst_##w##x##h##_c; \
238
7.80k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_FLIPADST] = \
239
7.80k
        inv_txfm_add_flipadst_adst_##w##x##h##_c; \
240
7.80k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_ADST] = \
241
7.80k
        inv_txfm_add_adst_flipadst_##w##x##h##_c; \
242
7.80k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_FLIPADST] = \
243
7.80k
        inv_txfm_add_flipadst_dct_##w##x##h##_c; \
244
7.80k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_DCT] = \
245
7.80k
        inv_txfm_add_dct_flipadst_##w##x##h##_c; \
246
7.80k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_FLIPADST] = \
247
7.80k
        inv_txfm_add_flipadst_flipadst_##w##x##h##_c; \
248
7.80k
    c->itxfm_add[pfx##TX_##w##X##h][H_DCT] = \
249
7.80k
        inv_txfm_add_dct_identity_##w##x##h##_c; \
250
7.80k
    c->itxfm_add[pfx##TX_##w##X##h][V_DCT] = \
251
7.80k
        inv_txfm_add_identity_dct_##w##x##h##_c
252
253
7.80k
#define assign_itx_all_fn84(w, h, pfx) \
254
7.80k
    assign_itx_all_fn16(w, h, pfx); \
255
7.80k
    c->itxfm_add[pfx##TX_##w##X##h][H_FLIPADST] = \
256
7.80k
        inv_txfm_add_flipadst_identity_##w##x##h##_c; \
257
7.80k
    c->itxfm_add[pfx##TX_##w##X##h][V_FLIPADST] = \
258
7.80k
        inv_txfm_add_identity_flipadst_##w##x##h##_c; \
259
7.80k
    c->itxfm_add[pfx##TX_##w##X##h][H_ADST] = \
260
7.80k
        inv_txfm_add_adst_identity_##w##x##h##_c; \
261
7.80k
    c->itxfm_add[pfx##TX_##w##X##h][V_ADST] = \
262
7.80k
        inv_txfm_add_identity_adst_##w##x##h##_c; \
263
7.80k
264
7.80k
#if !(HAVE_ASM && TRIM_DSP_FUNCTIONS && ( \
265
7.80k
  ARCH_AARCH64 || \
266
7.80k
  (ARCH_ARM && (defined(__ARM_NEON) || defined(__APPLE__) || defined(_WIN32))) \
267
7.80k
))
268
7.80k
    c->itxfm_add[TX_4X4][WHT_WHT] = inv_txfm_add_wht_wht_4x4_c;
269
7.80k
#endif
270
7.80k
    assign_itx_all_fn84( 4,  4, );
271
7.80k
    assign_itx_all_fn84( 4,  8, R);
272
7.80k
    assign_itx_all_fn84( 4, 16, R);
273
7.80k
    assign_itx_all_fn84( 8,  4, R);
274
7.80k
    assign_itx_all_fn84( 8,  8, );
275
7.80k
    assign_itx_all_fn84( 8, 16, R);
276
7.80k
    assign_itx_all_fn32( 8, 32, R);
277
7.80k
    assign_itx_all_fn84(16,  4, R);
278
7.80k
    assign_itx_all_fn84(16,  8, R);
279
7.80k
    assign_itx_all_fn16(16, 16, );
280
7.80k
    assign_itx_all_fn32(16, 32, R);
281
7.80k
    assign_itx_all_fn64(16, 64, R);
282
7.80k
    assign_itx_all_fn32(32,  8, R);
283
7.80k
    assign_itx_all_fn32(32, 16, R);
284
7.80k
    assign_itx_all_fn32(32, 32, );
285
7.80k
    assign_itx_all_fn64(32, 64, R);
286
7.80k
    assign_itx_all_fn64(64, 16, R);
287
7.80k
    assign_itx_all_fn64(64, 32, R);
288
7.80k
    assign_itx_all_fn64(64, 64, );
289
290
7.80k
    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
7.80k
    if (!all_simd)
310
7.80k
        dav1d_init_last_nonzero_col_from_eob_tables();
311
7.80k
}
dav1d_itx_dsp_init_16bpc
Line
Count
Source
220
8.43k
COLD void bitfn(dav1d_itx_dsp_init)(Dav1dInvTxfmDSPContext *const c, int bpc) {
221
8.43k
#define assign_itx_all_fn64(w, h, pfx) \
222
8.43k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_DCT  ] = \
223
8.43k
        inv_txfm_add_dct_dct_##w##x##h##_c
224
225
8.43k
#define assign_itx_all_fn32(w, h, pfx) \
226
8.43k
    assign_itx_all_fn64(w, h, pfx); \
227
8.43k
    c->itxfm_add[pfx##TX_##w##X##h][IDTX] = \
228
8.43k
        inv_txfm_add_identity_identity_##w##x##h##_c
229
230
8.43k
#define assign_itx_all_fn16(w, h, pfx) \
231
8.43k
    assign_itx_all_fn32(w, h, pfx); \
232
8.43k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_ADST ] = \
233
8.43k
        inv_txfm_add_adst_dct_##w##x##h##_c; \
234
8.43k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_DCT ] = \
235
8.43k
        inv_txfm_add_dct_adst_##w##x##h##_c; \
236
8.43k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_ADST] = \
237
8.43k
        inv_txfm_add_adst_adst_##w##x##h##_c; \
238
8.43k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_FLIPADST] = \
239
8.43k
        inv_txfm_add_flipadst_adst_##w##x##h##_c; \
240
8.43k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_ADST] = \
241
8.43k
        inv_txfm_add_adst_flipadst_##w##x##h##_c; \
242
8.43k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_FLIPADST] = \
243
8.43k
        inv_txfm_add_flipadst_dct_##w##x##h##_c; \
244
8.43k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_DCT] = \
245
8.43k
        inv_txfm_add_dct_flipadst_##w##x##h##_c; \
246
8.43k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_FLIPADST] = \
247
8.43k
        inv_txfm_add_flipadst_flipadst_##w##x##h##_c; \
248
8.43k
    c->itxfm_add[pfx##TX_##w##X##h][H_DCT] = \
249
8.43k
        inv_txfm_add_dct_identity_##w##x##h##_c; \
250
8.43k
    c->itxfm_add[pfx##TX_##w##X##h][V_DCT] = \
251
8.43k
        inv_txfm_add_identity_dct_##w##x##h##_c
252
253
8.43k
#define assign_itx_all_fn84(w, h, pfx) \
254
8.43k
    assign_itx_all_fn16(w, h, pfx); \
255
8.43k
    c->itxfm_add[pfx##TX_##w##X##h][H_FLIPADST] = \
256
8.43k
        inv_txfm_add_flipadst_identity_##w##x##h##_c; \
257
8.43k
    c->itxfm_add[pfx##TX_##w##X##h][V_FLIPADST] = \
258
8.43k
        inv_txfm_add_identity_flipadst_##w##x##h##_c; \
259
8.43k
    c->itxfm_add[pfx##TX_##w##X##h][H_ADST] = \
260
8.43k
        inv_txfm_add_adst_identity_##w##x##h##_c; \
261
8.43k
    c->itxfm_add[pfx##TX_##w##X##h][V_ADST] = \
262
8.43k
        inv_txfm_add_identity_adst_##w##x##h##_c; \
263
8.43k
264
8.43k
#if !(HAVE_ASM && TRIM_DSP_FUNCTIONS && ( \
265
8.43k
  ARCH_AARCH64 || \
266
8.43k
  (ARCH_ARM && (defined(__ARM_NEON) || defined(__APPLE__) || defined(_WIN32))) \
267
8.43k
))
268
8.43k
    c->itxfm_add[TX_4X4][WHT_WHT] = inv_txfm_add_wht_wht_4x4_c;
269
8.43k
#endif
270
8.43k
    assign_itx_all_fn84( 4,  4, );
271
8.43k
    assign_itx_all_fn84( 4,  8, R);
272
8.43k
    assign_itx_all_fn84( 4, 16, R);
273
8.43k
    assign_itx_all_fn84( 8,  4, R);
274
8.43k
    assign_itx_all_fn84( 8,  8, );
275
8.43k
    assign_itx_all_fn84( 8, 16, R);
276
8.43k
    assign_itx_all_fn32( 8, 32, R);
277
8.43k
    assign_itx_all_fn84(16,  4, R);
278
8.43k
    assign_itx_all_fn84(16,  8, R);
279
8.43k
    assign_itx_all_fn16(16, 16, );
280
8.43k
    assign_itx_all_fn32(16, 32, R);
281
8.43k
    assign_itx_all_fn64(16, 64, R);
282
8.43k
    assign_itx_all_fn32(32,  8, R);
283
8.43k
    assign_itx_all_fn32(32, 16, R);
284
8.43k
    assign_itx_all_fn32(32, 32, );
285
8.43k
    assign_itx_all_fn64(32, 64, R);
286
8.43k
    assign_itx_all_fn64(64, 16, R);
287
8.43k
    assign_itx_all_fn64(64, 32, R);
288
8.43k
    assign_itx_all_fn64(64, 64, );
289
290
8.43k
    int all_simd = 0;
291
#if HAVE_ASM
292
#if ARCH_AARCH64 || ARCH_ARM
293
    itx_dsp_init_arm(c, bpc, &all_simd);
294
#endif
295
#if ARCH_LOONGARCH64
296
    itx_dsp_init_loongarch(c, bpc);
297
#endif
298
#if ARCH_PPC64LE
299
    itx_dsp_init_ppc(c, bpc);
300
#endif
301
#if ARCH_RISCV
302
    itx_dsp_init_riscv(c, bpc);
303
#endif
304
#if ARCH_X86
305
    itx_dsp_init_x86(c, bpc, &all_simd);
306
#endif
307
#endif
308
309
8.43k
    if (!all_simd)
310
8.43k
        dav1d_init_last_nonzero_col_from_eob_tables();
311
8.43k
}