Coverage Report

Created: 2026-06-15 06:25

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.50M
{
48
1.50M
    const TxfmInfo *const t_dim = &dav1d_txfm_dimensions[tx];
49
1.50M
    const int w = 4 * t_dim->w, h = 4 * t_dim->h;
50
1.50M
    const int has_dconly = txtp == DCT_DCT;
51
1.50M
    assert(w >= 4 && w <= 64);
52
1.50M
    assert(h >= 4 && h <= 64);
53
1.50M
    assert(eob >= 0);
54
55
1.50M
    const int is_rect2 = w * 2 == h || h * 2 == w;
56
1.50M
    const int rnd = (1 << shift) >> 1;
57
58
1.50M
    if (eob < has_dconly) {
59
524k
        int dc = coeff[0];
60
524k
        coeff[0] = 0;
61
524k
        if (is_rect2)
62
82.0k
            dc = (dc * 181 + 128) >> 8;
63
524k
        dc = (dc * 181 + 128) >> 8;
64
524k
        dc = (dc + rnd) >> shift;
65
524k
        dc = (dc * 181 + 128 + 2048) >> 12;
66
19.7M
        for (int y = 0; y < h; y++, dst += PXSTRIDE(stride))
67
856M
            for (int x = 0; x < w; x++)
68
837M
                dst[x] = iclip_pixel(dst[x] + dc);
69
524k
        return;
70
524k
    }
71
72
977k
    const uint8_t *const txtps = dav1d_tx1d_types[txtp];
73
977k
    const itx_1d_fn first_1d_fn = dav1d_tx1d_fns[t_dim->lw][txtps[0]];
74
977k
    const itx_1d_fn second_1d_fn = dav1d_tx1d_fns[t_dim->lh][txtps[1]];
75
977k
    const int sh = imin(h, 32), sw = imin(w, 32);
76
977k
#if BITDEPTH == 8
77
977k
    const int row_clip_min = INT16_MIN;
78
977k
    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
977k
    const int row_clip_max = ~row_clip_min;
84
977k
    const int col_clip_max = ~col_clip_min;
85
86
977k
    int32_t tmp[64 * 64], *c = tmp;
87
977k
    int last_nonzero_col; // in first 1d itx
88
977k
    if (txtps[1] == IDENTITY && txtps[0] != IDENTITY) {
89
61.1k
        last_nonzero_col = imin(sh - 1, eob);
90
916k
    } else if (txtps[0] == IDENTITY && txtps[1] != IDENTITY) {
91
33.4k
        last_nonzero_col = eob >> (t_dim->lw + 2);
92
882k
    } else {
93
882k
        last_nonzero_col = dav1d_last_nonzero_col_from_eob[tx][eob];
94
882k
    }
95
977k
    assert(last_nonzero_col < sh);
96
5.89M
    for (int y = 0; y <= last_nonzero_col; y++, c += w) {
97
4.91M
        if (is_rect2)
98
26.6M
            for (int x = 0; x < sw; x++)
99
25.0M
                c[x] = (coeff[y + x * sh] * 181 + 128) >> 8;
100
3.27M
        else
101
56.5M
            for (int x = 0; x < sw; x++)
102
53.2M
                c[x] = coeff[y + x * sh];
103
4.91M
        first_1d_fn(c, 1, row_clip_min, row_clip_max);
104
4.91M
    }
105
977k
    if (last_nonzero_col + 1 < sh)
106
752k
        memset(c, 0, sizeof(*c) * (sh - last_nonzero_col - 1) * w);
107
108
977k
    memset(coeff, 0, sizeof(*coeff) * sw * sh);
109
286M
    for (int i = 0; i < w * sh; i++)
110
285M
        tmp[i] = iclip((tmp[i] + rnd) >> shift, col_clip_min, col_clip_max);
111
112
15.8M
    for (int x = 0; x < w; x++)
113
14.9M
        second_1d_fn(&tmp[x], w, col_clip_min, col_clip_max);
114
115
977k
    c = tmp;
116
15.5M
    for (int y = 0; y < h; y++, dst += PXSTRIDE(stride))
117
394M
        for (int x = 0; x < w; x++)
118
379M
            dst[x] = iclip_pixel(dst[x] + ((*c++ + 8) >> 4));
119
977k
}
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.50M
                                               HIGHBD_DECL_SUFFIX) \
128
1.50M
{ \
129
1.50M
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.50M
                   HIGHBD_TAIL_SUFFIX); \
131
1.50M
}
itx_tmpl.c:inv_txfm_add_dct_dct_4x4_c
Line
Count
Source
127
31.7k
                                               HIGHBD_DECL_SUFFIX) \
128
31.7k
{ \
129
31.7k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
31.7k
                   HIGHBD_TAIL_SUFFIX); \
131
31.7k
}
itx_tmpl.c:inv_txfm_add_identity_identity_4x4_c
Line
Count
Source
127
11.3k
                                               HIGHBD_DECL_SUFFIX) \
128
11.3k
{ \
129
11.3k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
11.3k
                   HIGHBD_TAIL_SUFFIX); \
131
11.3k
}
itx_tmpl.c:inv_txfm_add_adst_dct_4x4_c
Line
Count
Source
127
21.0k
                                               HIGHBD_DECL_SUFFIX) \
128
21.0k
{ \
129
21.0k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
21.0k
                   HIGHBD_TAIL_SUFFIX); \
131
21.0k
}
itx_tmpl.c:inv_txfm_add_dct_adst_4x4_c
Line
Count
Source
127
16.5k
                                               HIGHBD_DECL_SUFFIX) \
128
16.5k
{ \
129
16.5k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
16.5k
                   HIGHBD_TAIL_SUFFIX); \
131
16.5k
}
itx_tmpl.c:inv_txfm_add_adst_adst_4x4_c
Line
Count
Source
127
24.5k
                                               HIGHBD_DECL_SUFFIX) \
128
24.5k
{ \
129
24.5k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
24.5k
                   HIGHBD_TAIL_SUFFIX); \
131
24.5k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_4x4_c
Line
Count
Source
127
1.69k
                                               HIGHBD_DECL_SUFFIX) \
128
1.69k
{ \
129
1.69k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.69k
                   HIGHBD_TAIL_SUFFIX); \
131
1.69k
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_4x4_c
Line
Count
Source
127
1.78k
                                               HIGHBD_DECL_SUFFIX) \
128
1.78k
{ \
129
1.78k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.78k
                   HIGHBD_TAIL_SUFFIX); \
131
1.78k
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_4x4_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_dct_flipadst_4x4_c
Line
Count
Source
127
969
                                               HIGHBD_DECL_SUFFIX) \
128
969
{ \
129
969
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
969
                   HIGHBD_TAIL_SUFFIX); \
131
969
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_4x4_c
Line
Count
Source
127
1.27k
                                               HIGHBD_DECL_SUFFIX) \
128
1.27k
{ \
129
1.27k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.27k
                   HIGHBD_TAIL_SUFFIX); \
131
1.27k
}
itx_tmpl.c:inv_txfm_add_dct_identity_4x4_c
Line
Count
Source
127
7.63k
                                               HIGHBD_DECL_SUFFIX) \
128
7.63k
{ \
129
7.63k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
7.63k
                   HIGHBD_TAIL_SUFFIX); \
131
7.63k
}
itx_tmpl.c:inv_txfm_add_identity_dct_4x4_c
Line
Count
Source
127
4.16k
                                               HIGHBD_DECL_SUFFIX) \
128
4.16k
{ \
129
4.16k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.16k
                   HIGHBD_TAIL_SUFFIX); \
131
4.16k
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_4x4_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_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_adst_identity_4x4_c
Line
Count
Source
127
3.13k
                                               HIGHBD_DECL_SUFFIX) \
128
3.13k
{ \
129
3.13k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.13k
                   HIGHBD_TAIL_SUFFIX); \
131
3.13k
}
itx_tmpl.c:inv_txfm_add_identity_adst_4x4_c
Line
Count
Source
127
1.76k
                                               HIGHBD_DECL_SUFFIX) \
128
1.76k
{ \
129
1.76k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.76k
                   HIGHBD_TAIL_SUFFIX); \
131
1.76k
}
itx_tmpl.c:inv_txfm_add_dct_dct_4x8_c
Line
Count
Source
127
12.8k
                                               HIGHBD_DECL_SUFFIX) \
128
12.8k
{ \
129
12.8k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
12.8k
                   HIGHBD_TAIL_SUFFIX); \
131
12.8k
}
itx_tmpl.c:inv_txfm_add_identity_identity_4x8_c
Line
Count
Source
127
4.81k
                                               HIGHBD_DECL_SUFFIX) \
128
4.81k
{ \
129
4.81k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.81k
                   HIGHBD_TAIL_SUFFIX); \
131
4.81k
}
itx_tmpl.c:inv_txfm_add_adst_dct_4x8_c
Line
Count
Source
127
8.69k
                                               HIGHBD_DECL_SUFFIX) \
128
8.69k
{ \
129
8.69k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
8.69k
                   HIGHBD_TAIL_SUFFIX); \
131
8.69k
}
itx_tmpl.c:inv_txfm_add_dct_adst_4x8_c
Line
Count
Source
127
7.26k
                                               HIGHBD_DECL_SUFFIX) \
128
7.26k
{ \
129
7.26k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
7.26k
                   HIGHBD_TAIL_SUFFIX); \
131
7.26k
}
itx_tmpl.c:inv_txfm_add_adst_adst_4x8_c
Line
Count
Source
127
10.3k
                                               HIGHBD_DECL_SUFFIX) \
128
10.3k
{ \
129
10.3k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
10.3k
                   HIGHBD_TAIL_SUFFIX); \
131
10.3k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_4x8_c
Line
Count
Source
127
1.14k
                                               HIGHBD_DECL_SUFFIX) \
128
1.14k
{ \
129
1.14k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.14k
                   HIGHBD_TAIL_SUFFIX); \
131
1.14k
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_4x8_c
Line
Count
Source
127
947
                                               HIGHBD_DECL_SUFFIX) \
128
947
{ \
129
947
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
947
                   HIGHBD_TAIL_SUFFIX); \
131
947
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_4x8_c
Line
Count
Source
127
637
                                               HIGHBD_DECL_SUFFIX) \
128
637
{ \
129
637
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
637
                   HIGHBD_TAIL_SUFFIX); \
131
637
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_4x8_c
Line
Count
Source
127
678
                                               HIGHBD_DECL_SUFFIX) \
128
678
{ \
129
678
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
678
                   HIGHBD_TAIL_SUFFIX); \
131
678
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_4x8_c
Line
Count
Source
127
1.09k
                                               HIGHBD_DECL_SUFFIX) \
128
1.09k
{ \
129
1.09k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.09k
                   HIGHBD_TAIL_SUFFIX); \
131
1.09k
}
itx_tmpl.c:inv_txfm_add_dct_identity_4x8_c
Line
Count
Source
127
3.89k
                                               HIGHBD_DECL_SUFFIX) \
128
3.89k
{ \
129
3.89k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.89k
                   HIGHBD_TAIL_SUFFIX); \
131
3.89k
}
itx_tmpl.c:inv_txfm_add_identity_dct_4x8_c
Line
Count
Source
127
1.86k
                                               HIGHBD_DECL_SUFFIX) \
128
1.86k
{ \
129
1.86k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.86k
                   HIGHBD_TAIL_SUFFIX); \
131
1.86k
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_4x8_c
Line
Count
Source
127
1.59k
                                               HIGHBD_DECL_SUFFIX) \
128
1.59k
{ \
129
1.59k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.59k
                   HIGHBD_TAIL_SUFFIX); \
131
1.59k
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_4x8_c
Line
Count
Source
127
1.25k
                                               HIGHBD_DECL_SUFFIX) \
128
1.25k
{ \
129
1.25k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.25k
                   HIGHBD_TAIL_SUFFIX); \
131
1.25k
}
itx_tmpl.c:inv_txfm_add_adst_identity_4x8_c
Line
Count
Source
127
1.70k
                                               HIGHBD_DECL_SUFFIX) \
128
1.70k
{ \
129
1.70k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.70k
                   HIGHBD_TAIL_SUFFIX); \
131
1.70k
}
itx_tmpl.c:inv_txfm_add_identity_adst_4x8_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_4x16_c
Line
Count
Source
127
6.27k
                                               HIGHBD_DECL_SUFFIX) \
128
6.27k
{ \
129
6.27k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
6.27k
                   HIGHBD_TAIL_SUFFIX); \
131
6.27k
}
itx_tmpl.c:inv_txfm_add_identity_identity_4x16_c
Line
Count
Source
127
2.51k
                                               HIGHBD_DECL_SUFFIX) \
128
2.51k
{ \
129
2.51k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.51k
                   HIGHBD_TAIL_SUFFIX); \
131
2.51k
}
itx_tmpl.c:inv_txfm_add_adst_dct_4x16_c
Line
Count
Source
127
3.74k
                                               HIGHBD_DECL_SUFFIX) \
128
3.74k
{ \
129
3.74k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.74k
                   HIGHBD_TAIL_SUFFIX); \
131
3.74k
}
itx_tmpl.c:inv_txfm_add_dct_adst_4x16_c
Line
Count
Source
127
3.30k
                                               HIGHBD_DECL_SUFFIX) \
128
3.30k
{ \
129
3.30k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.30k
                   HIGHBD_TAIL_SUFFIX); \
131
3.30k
}
itx_tmpl.c:inv_txfm_add_adst_adst_4x16_c
Line
Count
Source
127
4.65k
                                               HIGHBD_DECL_SUFFIX) \
128
4.65k
{ \
129
4.65k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.65k
                   HIGHBD_TAIL_SUFFIX); \
131
4.65k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_4x16_c
Line
Count
Source
127
559
                                               HIGHBD_DECL_SUFFIX) \
128
559
{ \
129
559
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
559
                   HIGHBD_TAIL_SUFFIX); \
131
559
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_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_flipadst_dct_4x16_c
Line
Count
Source
127
409
                                               HIGHBD_DECL_SUFFIX) \
128
409
{ \
129
409
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
409
                   HIGHBD_TAIL_SUFFIX); \
131
409
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_4x16_c
Line
Count
Source
127
345
                                               HIGHBD_DECL_SUFFIX) \
128
345
{ \
129
345
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
345
                   HIGHBD_TAIL_SUFFIX); \
131
345
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_4x16_c
Line
Count
Source
127
254
                                               HIGHBD_DECL_SUFFIX) \
128
254
{ \
129
254
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
254
                   HIGHBD_TAIL_SUFFIX); \
131
254
}
itx_tmpl.c:inv_txfm_add_dct_identity_4x16_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_identity_dct_4x16_c
Line
Count
Source
127
823
                                               HIGHBD_DECL_SUFFIX) \
128
823
{ \
129
823
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
823
                   HIGHBD_TAIL_SUFFIX); \
131
823
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_4x16_c
Line
Count
Source
127
506
                                               HIGHBD_DECL_SUFFIX) \
128
506
{ \
129
506
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
506
                   HIGHBD_TAIL_SUFFIX); \
131
506
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_4x16_c
Line
Count
Source
127
379
                                               HIGHBD_DECL_SUFFIX) \
128
379
{ \
129
379
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
379
                   HIGHBD_TAIL_SUFFIX); \
131
379
}
itx_tmpl.c:inv_txfm_add_adst_identity_4x16_c
Line
Count
Source
127
527
                                               HIGHBD_DECL_SUFFIX) \
128
527
{ \
129
527
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
527
                   HIGHBD_TAIL_SUFFIX); \
131
527
}
itx_tmpl.c:inv_txfm_add_identity_adst_4x16_c
Line
Count
Source
127
361
                                               HIGHBD_DECL_SUFFIX) \
128
361
{ \
129
361
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
361
                   HIGHBD_TAIL_SUFFIX); \
131
361
}
itx_tmpl.c:inv_txfm_add_dct_dct_8x4_c
Line
Count
Source
127
20.7k
                                               HIGHBD_DECL_SUFFIX) \
128
20.7k
{ \
129
20.7k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
20.7k
                   HIGHBD_TAIL_SUFFIX); \
131
20.7k
}
itx_tmpl.c:inv_txfm_add_identity_identity_8x4_c
Line
Count
Source
127
5.98k
                                               HIGHBD_DECL_SUFFIX) \
128
5.98k
{ \
129
5.98k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.98k
                   HIGHBD_TAIL_SUFFIX); \
131
5.98k
}
itx_tmpl.c:inv_txfm_add_adst_dct_8x4_c
Line
Count
Source
127
12.5k
                                               HIGHBD_DECL_SUFFIX) \
128
12.5k
{ \
129
12.5k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
12.5k
                   HIGHBD_TAIL_SUFFIX); \
131
12.5k
}
itx_tmpl.c:inv_txfm_add_dct_adst_8x4_c
Line
Count
Source
127
10.3k
                                               HIGHBD_DECL_SUFFIX) \
128
10.3k
{ \
129
10.3k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
10.3k
                   HIGHBD_TAIL_SUFFIX); \
131
10.3k
}
itx_tmpl.c:inv_txfm_add_adst_adst_8x4_c
Line
Count
Source
127
15.1k
                                               HIGHBD_DECL_SUFFIX) \
128
15.1k
{ \
129
15.1k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
15.1k
                   HIGHBD_TAIL_SUFFIX); \
131
15.1k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_8x4_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_flipadst_8x4_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_flipadst_dct_8x4_c
Line
Count
Source
127
1.04k
                                               HIGHBD_DECL_SUFFIX) \
128
1.04k
{ \
129
1.04k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.04k
                   HIGHBD_TAIL_SUFFIX); \
131
1.04k
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_8x4_c
Line
Count
Source
127
827
                                               HIGHBD_DECL_SUFFIX) \
128
827
{ \
129
827
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
827
                   HIGHBD_TAIL_SUFFIX); \
131
827
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_8x4_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_identity_8x4_c
Line
Count
Source
127
4.24k
                                               HIGHBD_DECL_SUFFIX) \
128
4.24k
{ \
129
4.24k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.24k
                   HIGHBD_TAIL_SUFFIX); \
131
4.24k
}
itx_tmpl.c:inv_txfm_add_identity_dct_8x4_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_flipadst_identity_8x4_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_flipadst_8x4_c
Line
Count
Source
127
1.13k
                                               HIGHBD_DECL_SUFFIX) \
128
1.13k
{ \
129
1.13k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.13k
                   HIGHBD_TAIL_SUFFIX); \
131
1.13k
}
itx_tmpl.c:inv_txfm_add_adst_identity_8x4_c
Line
Count
Source
127
2.40k
                                               HIGHBD_DECL_SUFFIX) \
128
2.40k
{ \
129
2.40k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.40k
                   HIGHBD_TAIL_SUFFIX); \
131
2.40k
}
itx_tmpl.c:inv_txfm_add_identity_adst_8x4_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_dct_8x8_c
Line
Count
Source
127
48.1k
                                               HIGHBD_DECL_SUFFIX) \
128
48.1k
{ \
129
48.1k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
48.1k
                   HIGHBD_TAIL_SUFFIX); \
131
48.1k
}
itx_tmpl.c:inv_txfm_add_identity_identity_8x8_c
Line
Count
Source
127
13.0k
                                               HIGHBD_DECL_SUFFIX) \
128
13.0k
{ \
129
13.0k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
13.0k
                   HIGHBD_TAIL_SUFFIX); \
131
13.0k
}
itx_tmpl.c:inv_txfm_add_adst_dct_8x8_c
Line
Count
Source
127
32.0k
                                               HIGHBD_DECL_SUFFIX) \
128
32.0k
{ \
129
32.0k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
32.0k
                   HIGHBD_TAIL_SUFFIX); \
131
32.0k
}
itx_tmpl.c:inv_txfm_add_dct_adst_8x8_c
Line
Count
Source
127
25.3k
                                               HIGHBD_DECL_SUFFIX) \
128
25.3k
{ \
129
25.3k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
25.3k
                   HIGHBD_TAIL_SUFFIX); \
131
25.3k
}
itx_tmpl.c:inv_txfm_add_adst_adst_8x8_c
Line
Count
Source
127
30.3k
                                               HIGHBD_DECL_SUFFIX) \
128
30.3k
{ \
129
30.3k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
30.3k
                   HIGHBD_TAIL_SUFFIX); \
131
30.3k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_8x8_c
Line
Count
Source
127
2.10k
                                               HIGHBD_DECL_SUFFIX) \
128
2.10k
{ \
129
2.10k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.10k
                   HIGHBD_TAIL_SUFFIX); \
131
2.10k
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_8x8_c
Line
Count
Source
127
2.19k
                                               HIGHBD_DECL_SUFFIX) \
128
2.19k
{ \
129
2.19k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.19k
                   HIGHBD_TAIL_SUFFIX); \
131
2.19k
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_8x8_c
Line
Count
Source
127
3.27k
                                               HIGHBD_DECL_SUFFIX) \
128
3.27k
{ \
129
3.27k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.27k
                   HIGHBD_TAIL_SUFFIX); \
131
3.27k
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_8x8_c
Line
Count
Source
127
2.67k
                                               HIGHBD_DECL_SUFFIX) \
128
2.67k
{ \
129
2.67k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.67k
                   HIGHBD_TAIL_SUFFIX); \
131
2.67k
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_8x8_c
Line
Count
Source
127
2.28k
                                               HIGHBD_DECL_SUFFIX) \
128
2.28k
{ \
129
2.28k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.28k
                   HIGHBD_TAIL_SUFFIX); \
131
2.28k
}
itx_tmpl.c:inv_txfm_add_dct_identity_8x8_c
Line
Count
Source
127
8.87k
                                               HIGHBD_DECL_SUFFIX) \
128
8.87k
{ \
129
8.87k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
8.87k
                   HIGHBD_TAIL_SUFFIX); \
131
8.87k
}
itx_tmpl.c:inv_txfm_add_identity_dct_8x8_c
Line
Count
Source
127
4.46k
                                               HIGHBD_DECL_SUFFIX) \
128
4.46k
{ \
129
4.46k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.46k
                   HIGHBD_TAIL_SUFFIX); \
131
4.46k
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_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_identity_flipadst_8x8_c
Line
Count
Source
127
927
                                               HIGHBD_DECL_SUFFIX) \
128
927
{ \
129
927
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
927
                   HIGHBD_TAIL_SUFFIX); \
131
927
}
itx_tmpl.c:inv_txfm_add_adst_identity_8x8_c
Line
Count
Source
127
2.88k
                                               HIGHBD_DECL_SUFFIX) \
128
2.88k
{ \
129
2.88k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.88k
                   HIGHBD_TAIL_SUFFIX); \
131
2.88k
}
itx_tmpl.c:inv_txfm_add_identity_adst_8x8_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_dct_8x16_c
Line
Count
Source
127
17.9k
                                               HIGHBD_DECL_SUFFIX) \
128
17.9k
{ \
129
17.9k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
17.9k
                   HIGHBD_TAIL_SUFFIX); \
131
17.9k
}
itx_tmpl.c:inv_txfm_add_identity_identity_8x16_c
Line
Count
Source
127
4.22k
                                               HIGHBD_DECL_SUFFIX) \
128
4.22k
{ \
129
4.22k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.22k
                   HIGHBD_TAIL_SUFFIX); \
131
4.22k
}
itx_tmpl.c:inv_txfm_add_adst_dct_8x16_c
Line
Count
Source
127
9.85k
                                               HIGHBD_DECL_SUFFIX) \
128
9.85k
{ \
129
9.85k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
9.85k
                   HIGHBD_TAIL_SUFFIX); \
131
9.85k
}
itx_tmpl.c:inv_txfm_add_dct_adst_8x16_c
Line
Count
Source
127
8.09k
                                               HIGHBD_DECL_SUFFIX) \
128
8.09k
{ \
129
8.09k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
8.09k
                   HIGHBD_TAIL_SUFFIX); \
131
8.09k
}
itx_tmpl.c:inv_txfm_add_adst_adst_8x16_c
Line
Count
Source
127
9.89k
                                               HIGHBD_DECL_SUFFIX) \
128
9.89k
{ \
129
9.89k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
9.89k
                   HIGHBD_TAIL_SUFFIX); \
131
9.89k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_8x16_c
Line
Count
Source
127
730
                                               HIGHBD_DECL_SUFFIX) \
128
730
{ \
129
730
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
730
                   HIGHBD_TAIL_SUFFIX); \
131
730
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_8x16_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_dct_8x16_c
Line
Count
Source
127
967
                                               HIGHBD_DECL_SUFFIX) \
128
967
{ \
129
967
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
967
                   HIGHBD_TAIL_SUFFIX); \
131
967
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_8x16_c
Line
Count
Source
127
888
                                               HIGHBD_DECL_SUFFIX) \
128
888
{ \
129
888
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
888
                   HIGHBD_TAIL_SUFFIX); \
131
888
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_8x16_c
Line
Count
Source
127
921
                                               HIGHBD_DECL_SUFFIX) \
128
921
{ \
129
921
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
921
                   HIGHBD_TAIL_SUFFIX); \
131
921
}
itx_tmpl.c:inv_txfm_add_dct_identity_8x16_c
Line
Count
Source
127
2.44k
                                               HIGHBD_DECL_SUFFIX) \
128
2.44k
{ \
129
2.44k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.44k
                   HIGHBD_TAIL_SUFFIX); \
131
2.44k
}
itx_tmpl.c:inv_txfm_add_identity_dct_8x16_c
Line
Count
Source
127
1.49k
                                               HIGHBD_DECL_SUFFIX) \
128
1.49k
{ \
129
1.49k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.49k
                   HIGHBD_TAIL_SUFFIX); \
131
1.49k
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_8x16_c
Line
Count
Source
127
1.28k
                                               HIGHBD_DECL_SUFFIX) \
128
1.28k
{ \
129
1.28k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.28k
                   HIGHBD_TAIL_SUFFIX); \
131
1.28k
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_8x16_c
Line
Count
Source
127
542
                                               HIGHBD_DECL_SUFFIX) \
128
542
{ \
129
542
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
542
                   HIGHBD_TAIL_SUFFIX); \
131
542
}
itx_tmpl.c:inv_txfm_add_adst_identity_8x16_c
Line
Count
Source
127
827
                                               HIGHBD_DECL_SUFFIX) \
128
827
{ \
129
827
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
827
                   HIGHBD_TAIL_SUFFIX); \
131
827
}
itx_tmpl.c:inv_txfm_add_identity_adst_8x16_c
Line
Count
Source
127
545
                                               HIGHBD_DECL_SUFFIX) \
128
545
{ \
129
545
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
545
                   HIGHBD_TAIL_SUFFIX); \
131
545
}
itx_tmpl.c:inv_txfm_add_dct_dct_8x32_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_8x32_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_16x4_c
Line
Count
Source
127
10.2k
                                               HIGHBD_DECL_SUFFIX) \
128
10.2k
{ \
129
10.2k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
10.2k
                   HIGHBD_TAIL_SUFFIX); \
131
10.2k
}
itx_tmpl.c:inv_txfm_add_identity_identity_16x4_c
Line
Count
Source
127
3.27k
                                               HIGHBD_DECL_SUFFIX) \
128
3.27k
{ \
129
3.27k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.27k
                   HIGHBD_TAIL_SUFFIX); \
131
3.27k
}
itx_tmpl.c:inv_txfm_add_adst_dct_16x4_c
Line
Count
Source
127
7.60k
                                               HIGHBD_DECL_SUFFIX) \
128
7.60k
{ \
129
7.60k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
7.60k
                   HIGHBD_TAIL_SUFFIX); \
131
7.60k
}
itx_tmpl.c:inv_txfm_add_dct_adst_16x4_c
Line
Count
Source
127
6.03k
                                               HIGHBD_DECL_SUFFIX) \
128
6.03k
{ \
129
6.03k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
6.03k
                   HIGHBD_TAIL_SUFFIX); \
131
6.03k
}
itx_tmpl.c:inv_txfm_add_adst_adst_16x4_c
Line
Count
Source
127
8.99k
                                               HIGHBD_DECL_SUFFIX) \
128
8.99k
{ \
129
8.99k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
8.99k
                   HIGHBD_TAIL_SUFFIX); \
131
8.99k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_16x4_c
Line
Count
Source
127
617
                                               HIGHBD_DECL_SUFFIX) \
128
617
{ \
129
617
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
617
                   HIGHBD_TAIL_SUFFIX); \
131
617
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_16x4_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_flipadst_dct_16x4_c
Line
Count
Source
127
508
                                               HIGHBD_DECL_SUFFIX) \
128
508
{ \
129
508
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
508
                   HIGHBD_TAIL_SUFFIX); \
131
508
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_16x4_c
Line
Count
Source
127
414
                                               HIGHBD_DECL_SUFFIX) \
128
414
{ \
129
414
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
414
                   HIGHBD_TAIL_SUFFIX); \
131
414
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_16x4_c
Line
Count
Source
127
449
                                               HIGHBD_DECL_SUFFIX) \
128
449
{ \
129
449
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
449
                   HIGHBD_TAIL_SUFFIX); \
131
449
}
itx_tmpl.c:inv_txfm_add_dct_identity_16x4_c
Line
Count
Source
127
2.87k
                                               HIGHBD_DECL_SUFFIX) \
128
2.87k
{ \
129
2.87k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.87k
                   HIGHBD_TAIL_SUFFIX); \
131
2.87k
}
itx_tmpl.c:inv_txfm_add_identity_dct_16x4_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_flipadst_identity_16x4_c
Line
Count
Source
127
763
                                               HIGHBD_DECL_SUFFIX) \
128
763
{ \
129
763
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
763
                   HIGHBD_TAIL_SUFFIX); \
131
763
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_16x4_c
Line
Count
Source
127
439
                                               HIGHBD_DECL_SUFFIX) \
128
439
{ \
129
439
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
439
                   HIGHBD_TAIL_SUFFIX); \
131
439
}
itx_tmpl.c:inv_txfm_add_adst_identity_16x4_c
Line
Count
Source
127
825
                                               HIGHBD_DECL_SUFFIX) \
128
825
{ \
129
825
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
825
                   HIGHBD_TAIL_SUFFIX); \
131
825
}
itx_tmpl.c:inv_txfm_add_identity_adst_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_dct_dct_16x8_c
Line
Count
Source
127
21.9k
                                               HIGHBD_DECL_SUFFIX) \
128
21.9k
{ \
129
21.9k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
21.9k
                   HIGHBD_TAIL_SUFFIX); \
131
21.9k
}
itx_tmpl.c:inv_txfm_add_identity_identity_16x8_c
Line
Count
Source
127
5.17k
                                               HIGHBD_DECL_SUFFIX) \
128
5.17k
{ \
129
5.17k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.17k
                   HIGHBD_TAIL_SUFFIX); \
131
5.17k
}
itx_tmpl.c:inv_txfm_add_adst_dct_16x8_c
Line
Count
Source
127
13.8k
                                               HIGHBD_DECL_SUFFIX) \
128
13.8k
{ \
129
13.8k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
13.8k
                   HIGHBD_TAIL_SUFFIX); \
131
13.8k
}
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
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_flipadst_adst_16x8_c
Line
Count
Source
127
1.10k
                                               HIGHBD_DECL_SUFFIX) \
128
1.10k
{ \
129
1.10k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.10k
                   HIGHBD_TAIL_SUFFIX); \
131
1.10k
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_16x8_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_dct_16x8_c
Line
Count
Source
127
1.40k
                                               HIGHBD_DECL_SUFFIX) \
128
1.40k
{ \
129
1.40k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.40k
                   HIGHBD_TAIL_SUFFIX); \
131
1.40k
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_16x8_c
Line
Count
Source
127
835
                                               HIGHBD_DECL_SUFFIX) \
128
835
{ \
129
835
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
835
                   HIGHBD_TAIL_SUFFIX); \
131
835
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_16x8_c
Line
Count
Source
127
891
                                               HIGHBD_DECL_SUFFIX) \
128
891
{ \
129
891
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
891
                   HIGHBD_TAIL_SUFFIX); \
131
891
}
itx_tmpl.c:inv_txfm_add_dct_identity_16x8_c
Line
Count
Source
127
3.12k
                                               HIGHBD_DECL_SUFFIX) \
128
3.12k
{ \
129
3.12k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.12k
                   HIGHBD_TAIL_SUFFIX); \
131
3.12k
}
itx_tmpl.c:inv_txfm_add_identity_dct_16x8_c
Line
Count
Source
127
1.88k
                                               HIGHBD_DECL_SUFFIX) \
128
1.88k
{ \
129
1.88k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.88k
                   HIGHBD_TAIL_SUFFIX); \
131
1.88k
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_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_identity_flipadst_16x8_c
Line
Count
Source
127
649
                                               HIGHBD_DECL_SUFFIX) \
128
649
{ \
129
649
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
649
                   HIGHBD_TAIL_SUFFIX); \
131
649
}
itx_tmpl.c:inv_txfm_add_adst_identity_16x8_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_identity_adst_16x8_c
Line
Count
Source
127
567
                                               HIGHBD_DECL_SUFFIX) \
128
567
{ \
129
567
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
567
                   HIGHBD_TAIL_SUFFIX); \
131
567
}
itx_tmpl.c:inv_txfm_add_dct_dct_16x16_c
Line
Count
Source
127
48.8k
                                               HIGHBD_DECL_SUFFIX) \
128
48.8k
{ \
129
48.8k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
48.8k
                   HIGHBD_TAIL_SUFFIX); \
131
48.8k
}
itx_tmpl.c:inv_txfm_add_identity_identity_16x16_c
Line
Count
Source
127
6.52k
                                               HIGHBD_DECL_SUFFIX) \
128
6.52k
{ \
129
6.52k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
6.52k
                   HIGHBD_TAIL_SUFFIX); \
131
6.52k
}
itx_tmpl.c:inv_txfm_add_adst_dct_16x16_c
Line
Count
Source
127
45.3k
                                               HIGHBD_DECL_SUFFIX) \
128
45.3k
{ \
129
45.3k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
45.3k
                   HIGHBD_TAIL_SUFFIX); \
131
45.3k
}
itx_tmpl.c:inv_txfm_add_dct_adst_16x16_c
Line
Count
Source
127
31.3k
                                               HIGHBD_DECL_SUFFIX) \
128
31.3k
{ \
129
31.3k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
31.3k
                   HIGHBD_TAIL_SUFFIX); \
131
31.3k
}
itx_tmpl.c:inv_txfm_add_adst_adst_16x16_c
Line
Count
Source
127
41.6k
                                               HIGHBD_DECL_SUFFIX) \
128
41.6k
{ \
129
41.6k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
41.6k
                   HIGHBD_TAIL_SUFFIX); \
131
41.6k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_16x16_c
Line
Count
Source
127
603
                                               HIGHBD_DECL_SUFFIX) \
128
603
{ \
129
603
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
603
                   HIGHBD_TAIL_SUFFIX); \
131
603
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_16x16_c
Line
Count
Source
127
793
                                               HIGHBD_DECL_SUFFIX) \
128
793
{ \
129
793
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
793
                   HIGHBD_TAIL_SUFFIX); \
131
793
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_16x16_c
Line
Count
Source
127
931
                                               HIGHBD_DECL_SUFFIX) \
128
931
{ \
129
931
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
931
                   HIGHBD_TAIL_SUFFIX); \
131
931
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_16x16_c
Line
Count
Source
127
889
                                               HIGHBD_DECL_SUFFIX) \
128
889
{ \
129
889
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
889
                   HIGHBD_TAIL_SUFFIX); \
131
889
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_16x16_c
Line
Count
Source
127
825
                                               HIGHBD_DECL_SUFFIX) \
128
825
{ \
129
825
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
825
                   HIGHBD_TAIL_SUFFIX); \
131
825
}
itx_tmpl.c:inv_txfm_add_dct_identity_16x16_c
Line
Count
Source
127
930
                                               HIGHBD_DECL_SUFFIX) \
128
930
{ \
129
930
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
930
                   HIGHBD_TAIL_SUFFIX); \
131
930
}
itx_tmpl.c:inv_txfm_add_identity_dct_16x16_c
Line
Count
Source
127
600
                                               HIGHBD_DECL_SUFFIX) \
128
600
{ \
129
600
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
600
                   HIGHBD_TAIL_SUFFIX); \
131
600
}
itx_tmpl.c:inv_txfm_add_dct_dct_16x32_c
Line
Count
Source
127
43.0k
                                               HIGHBD_DECL_SUFFIX) \
128
43.0k
{ \
129
43.0k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
43.0k
                   HIGHBD_TAIL_SUFFIX); \
131
43.0k
}
itx_tmpl.c:inv_txfm_add_identity_identity_16x32_c
Line
Count
Source
127
672
                                               HIGHBD_DECL_SUFFIX) \
128
672
{ \
129
672
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
672
                   HIGHBD_TAIL_SUFFIX); \
131
672
}
itx_tmpl.c:inv_txfm_add_dct_dct_16x64_c
Line
Count
Source
127
5.17k
                                               HIGHBD_DECL_SUFFIX) \
128
5.17k
{ \
129
5.17k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.17k
                   HIGHBD_TAIL_SUFFIX); \
131
5.17k
}
itx_tmpl.c:inv_txfm_add_dct_dct_32x8_c
Line
Count
Source
127
18.8k
                                               HIGHBD_DECL_SUFFIX) \
128
18.8k
{ \
129
18.8k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
18.8k
                   HIGHBD_TAIL_SUFFIX); \
131
18.8k
}
itx_tmpl.c:inv_txfm_add_identity_identity_32x8_c
Line
Count
Source
127
549
                                               HIGHBD_DECL_SUFFIX) \
128
549
{ \
129
549
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
549
                   HIGHBD_TAIL_SUFFIX); \
131
549
}
itx_tmpl.c:inv_txfm_add_dct_dct_32x16_c
Line
Count
Source
127
36.2k
                                               HIGHBD_DECL_SUFFIX) \
128
36.2k
{ \
129
36.2k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
36.2k
                   HIGHBD_TAIL_SUFFIX); \
131
36.2k
}
itx_tmpl.c:inv_txfm_add_identity_identity_32x16_c
Line
Count
Source
127
804
                                               HIGHBD_DECL_SUFFIX) \
128
804
{ \
129
804
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
804
                   HIGHBD_TAIL_SUFFIX); \
131
804
}
itx_tmpl.c:inv_txfm_add_dct_dct_32x32_c
Line
Count
Source
127
320k
                                               HIGHBD_DECL_SUFFIX) \
128
320k
{ \
129
320k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
320k
                   HIGHBD_TAIL_SUFFIX); \
131
320k
}
itx_tmpl.c:inv_txfm_add_identity_identity_32x32_c
Line
Count
Source
127
268
                                               HIGHBD_DECL_SUFFIX) \
128
268
{ \
129
268
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
268
                   HIGHBD_TAIL_SUFFIX); \
131
268
}
itx_tmpl.c:inv_txfm_add_dct_dct_32x64_c
Line
Count
Source
127
31.9k
                                               HIGHBD_DECL_SUFFIX) \
128
31.9k
{ \
129
31.9k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
31.9k
                   HIGHBD_TAIL_SUFFIX); \
131
31.9k
}
itx_tmpl.c:inv_txfm_add_dct_dct_64x16_c
Line
Count
Source
127
4.49k
                                               HIGHBD_DECL_SUFFIX) \
128
4.49k
{ \
129
4.49k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.49k
                   HIGHBD_TAIL_SUFFIX); \
131
4.49k
}
itx_tmpl.c:inv_txfm_add_dct_dct_64x32_c
Line
Count
Source
127
16.7k
                                               HIGHBD_DECL_SUFFIX) \
128
16.7k
{ \
129
16.7k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
16.7k
                   HIGHBD_TAIL_SUFFIX); \
131
16.7k
}
itx_tmpl.c:inv_txfm_add_dct_dct_64x64_c
Line
Count
Source
127
157k
                                               HIGHBD_DECL_SUFFIX) \
128
157k
{ \
129
157k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
157k
                   HIGHBD_TAIL_SUFFIX); \
131
157k
}
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
606k
{
188
606k
    int32_t tmp[4 * 4], *c = tmp;
189
3.03M
    for (int y = 0; y < 4; y++, c += 4) {
190
12.1M
        for (int x = 0; x < 4; x++)
191
9.69M
            c[x] = coeff[y + x * 4] >> 2;
192
2.42M
        dav1d_inv_wht4_1d_c(c, 1);
193
2.42M
    }
194
606k
    memset(coeff, 0, sizeof(*coeff) * 4 * 4);
195
196
3.03M
    for (int x = 0; x < 4; x++)
197
2.42M
        dav1d_inv_wht4_1d_c(&tmp[x], 4);
198
199
606k
    c = tmp;
200
3.03M
    for (int y = 0; y < 4; y++, dst += PXSTRIDE(stride))
201
12.1M
        for (int x = 0; x < 4; x++)
202
9.69M
            dst[x] = iclip_pixel(dst[x] + *c++);
203
606k
}
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
68.8k
COLD void bitfn(dav1d_itx_dsp_init)(Dav1dInvTxfmDSPContext *const c, int bpc) {
221
68.8k
#define assign_itx_all_fn64(w, h, pfx) \
222
1.30M
    c->itxfm_add[pfx##TX_##w##X##h][DCT_DCT  ] = \
223
1.30M
        inv_txfm_add_dct_dct_##w##x##h##_c
224
225
68.8k
#define assign_itx_all_fn32(w, h, pfx) \
226
964k
    assign_itx_all_fn64(w, h, pfx); \
227
964k
    c->itxfm_add[pfx##TX_##w##X##h][IDTX] = \
228
964k
        inv_txfm_add_identity_identity_##w##x##h##_c
229
230
68.8k
#define assign_itx_all_fn16(w, h, pfx) \
231
619k
    assign_itx_all_fn32(w, h, pfx); \
232
619k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_ADST ] = \
233
619k
        inv_txfm_add_adst_dct_##w##x##h##_c; \
234
619k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_DCT ] = \
235
619k
        inv_txfm_add_dct_adst_##w##x##h##_c; \
236
619k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_ADST] = \
237
619k
        inv_txfm_add_adst_adst_##w##x##h##_c; \
238
619k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_FLIPADST] = \
239
619k
        inv_txfm_add_flipadst_adst_##w##x##h##_c; \
240
619k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_ADST] = \
241
619k
        inv_txfm_add_adst_flipadst_##w##x##h##_c; \
242
619k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_FLIPADST] = \
243
619k
        inv_txfm_add_flipadst_dct_##w##x##h##_c; \
244
619k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_DCT] = \
245
619k
        inv_txfm_add_dct_flipadst_##w##x##h##_c; \
246
619k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_FLIPADST] = \
247
619k
        inv_txfm_add_flipadst_flipadst_##w##x##h##_c; \
248
619k
    c->itxfm_add[pfx##TX_##w##X##h][H_DCT] = \
249
619k
        inv_txfm_add_dct_identity_##w##x##h##_c; \
250
619k
    c->itxfm_add[pfx##TX_##w##X##h][V_DCT] = \
251
619k
        inv_txfm_add_identity_dct_##w##x##h##_c
252
253
68.8k
#define assign_itx_all_fn84(w, h, pfx) \
254
551k
    assign_itx_all_fn16(w, h, pfx); \
255
551k
    c->itxfm_add[pfx##TX_##w##X##h][H_FLIPADST] = \
256
551k
        inv_txfm_add_flipadst_identity_##w##x##h##_c; \
257
551k
    c->itxfm_add[pfx##TX_##w##X##h][V_FLIPADST] = \
258
551k
        inv_txfm_add_identity_flipadst_##w##x##h##_c; \
259
551k
    c->itxfm_add[pfx##TX_##w##X##h][H_ADST] = \
260
551k
        inv_txfm_add_adst_identity_##w##x##h##_c; \
261
551k
    c->itxfm_add[pfx##TX_##w##X##h][V_ADST] = \
262
551k
        inv_txfm_add_identity_adst_##w##x##h##_c; \
263
68.8k
264
68.8k
#if !(HAVE_ASM && TRIM_DSP_FUNCTIONS && ( \
265
68.8k
  ARCH_AARCH64 || \
266
68.8k
  (ARCH_ARM && (defined(__ARM_NEON) || defined(__APPLE__) || defined(_WIN32))) \
267
68.8k
))
268
68.8k
    c->itxfm_add[TX_4X4][WHT_WHT] = inv_txfm_add_wht_wht_4x4_c;
269
68.8k
#endif
270
68.8k
    assign_itx_all_fn84( 4,  4, );
271
68.8k
    assign_itx_all_fn84( 4,  8, R);
272
68.8k
    assign_itx_all_fn84( 4, 16, R);
273
68.8k
    assign_itx_all_fn84( 8,  4, R);
274
68.8k
    assign_itx_all_fn84( 8,  8, );
275
68.8k
    assign_itx_all_fn84( 8, 16, R);
276
68.8k
    assign_itx_all_fn32( 8, 32, R);
277
68.8k
    assign_itx_all_fn84(16,  4, R);
278
68.8k
    assign_itx_all_fn84(16,  8, R);
279
68.8k
    assign_itx_all_fn16(16, 16, );
280
68.8k
    assign_itx_all_fn32(16, 32, R);
281
68.8k
    assign_itx_all_fn64(16, 64, R);
282
68.8k
    assign_itx_all_fn32(32,  8, R);
283
68.8k
    assign_itx_all_fn32(32, 16, R);
284
68.8k
    assign_itx_all_fn32(32, 32, );
285
68.8k
    assign_itx_all_fn64(32, 64, R);
286
68.8k
    assign_itx_all_fn64(64, 16, R);
287
68.8k
    assign_itx_all_fn64(64, 32, R);
288
68.8k
    assign_itx_all_fn64(64, 64, );
289
290
68.8k
    int all_simd = 0;
291
#if HAVE_ASM
292
#if ARCH_AARCH64 || ARCH_ARM
293
    itx_dsp_init_arm(c, bpc, &all_simd);
294
#endif
295
#if ARCH_LOONGARCH64
296
    itx_dsp_init_loongarch(c, bpc);
297
#endif
298
#if ARCH_PPC64LE
299
    itx_dsp_init_ppc(c, bpc);
300
#endif
301
#if ARCH_RISCV
302
    itx_dsp_init_riscv(c, bpc);
303
#endif
304
#if ARCH_X86
305
    itx_dsp_init_x86(c, bpc, &all_simd);
306
#endif
307
#endif
308
309
68.8k
    if (!all_simd)
310
68.8k
        dav1d_init_last_nonzero_col_from_eob_tables();
311
68.8k
}
dav1d_itx_dsp_init_8bpc
Line
Count
Source
220
30.8k
COLD void bitfn(dav1d_itx_dsp_init)(Dav1dInvTxfmDSPContext *const c, int bpc) {
221
30.8k
#define assign_itx_all_fn64(w, h, pfx) \
222
30.8k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_DCT  ] = \
223
30.8k
        inv_txfm_add_dct_dct_##w##x##h##_c
224
225
30.8k
#define assign_itx_all_fn32(w, h, pfx) \
226
30.8k
    assign_itx_all_fn64(w, h, pfx); \
227
30.8k
    c->itxfm_add[pfx##TX_##w##X##h][IDTX] = \
228
30.8k
        inv_txfm_add_identity_identity_##w##x##h##_c
229
230
30.8k
#define assign_itx_all_fn16(w, h, pfx) \
231
30.8k
    assign_itx_all_fn32(w, h, pfx); \
232
30.8k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_ADST ] = \
233
30.8k
        inv_txfm_add_adst_dct_##w##x##h##_c; \
234
30.8k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_DCT ] = \
235
30.8k
        inv_txfm_add_dct_adst_##w##x##h##_c; \
236
30.8k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_ADST] = \
237
30.8k
        inv_txfm_add_adst_adst_##w##x##h##_c; \
238
30.8k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_FLIPADST] = \
239
30.8k
        inv_txfm_add_flipadst_adst_##w##x##h##_c; \
240
30.8k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_ADST] = \
241
30.8k
        inv_txfm_add_adst_flipadst_##w##x##h##_c; \
242
30.8k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_FLIPADST] = \
243
30.8k
        inv_txfm_add_flipadst_dct_##w##x##h##_c; \
244
30.8k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_DCT] = \
245
30.8k
        inv_txfm_add_dct_flipadst_##w##x##h##_c; \
246
30.8k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_FLIPADST] = \
247
30.8k
        inv_txfm_add_flipadst_flipadst_##w##x##h##_c; \
248
30.8k
    c->itxfm_add[pfx##TX_##w##X##h][H_DCT] = \
249
30.8k
        inv_txfm_add_dct_identity_##w##x##h##_c; \
250
30.8k
    c->itxfm_add[pfx##TX_##w##X##h][V_DCT] = \
251
30.8k
        inv_txfm_add_identity_dct_##w##x##h##_c
252
253
30.8k
#define assign_itx_all_fn84(w, h, pfx) \
254
30.8k
    assign_itx_all_fn16(w, h, pfx); \
255
30.8k
    c->itxfm_add[pfx##TX_##w##X##h][H_FLIPADST] = \
256
30.8k
        inv_txfm_add_flipadst_identity_##w##x##h##_c; \
257
30.8k
    c->itxfm_add[pfx##TX_##w##X##h][V_FLIPADST] = \
258
30.8k
        inv_txfm_add_identity_flipadst_##w##x##h##_c; \
259
30.8k
    c->itxfm_add[pfx##TX_##w##X##h][H_ADST] = \
260
30.8k
        inv_txfm_add_adst_identity_##w##x##h##_c; \
261
30.8k
    c->itxfm_add[pfx##TX_##w##X##h][V_ADST] = \
262
30.8k
        inv_txfm_add_identity_adst_##w##x##h##_c; \
263
30.8k
264
30.8k
#if !(HAVE_ASM && TRIM_DSP_FUNCTIONS && ( \
265
30.8k
  ARCH_AARCH64 || \
266
30.8k
  (ARCH_ARM && (defined(__ARM_NEON) || defined(__APPLE__) || defined(_WIN32))) \
267
30.8k
))
268
30.8k
    c->itxfm_add[TX_4X4][WHT_WHT] = inv_txfm_add_wht_wht_4x4_c;
269
30.8k
#endif
270
30.8k
    assign_itx_all_fn84( 4,  4, );
271
30.8k
    assign_itx_all_fn84( 4,  8, R);
272
30.8k
    assign_itx_all_fn84( 4, 16, R);
273
30.8k
    assign_itx_all_fn84( 8,  4, R);
274
30.8k
    assign_itx_all_fn84( 8,  8, );
275
30.8k
    assign_itx_all_fn84( 8, 16, R);
276
30.8k
    assign_itx_all_fn32( 8, 32, R);
277
30.8k
    assign_itx_all_fn84(16,  4, R);
278
30.8k
    assign_itx_all_fn84(16,  8, R);
279
30.8k
    assign_itx_all_fn16(16, 16, );
280
30.8k
    assign_itx_all_fn32(16, 32, R);
281
30.8k
    assign_itx_all_fn64(16, 64, R);
282
30.8k
    assign_itx_all_fn32(32,  8, R);
283
30.8k
    assign_itx_all_fn32(32, 16, R);
284
30.8k
    assign_itx_all_fn32(32, 32, );
285
30.8k
    assign_itx_all_fn64(32, 64, R);
286
30.8k
    assign_itx_all_fn64(64, 16, R);
287
30.8k
    assign_itx_all_fn64(64, 32, R);
288
30.8k
    assign_itx_all_fn64(64, 64, );
289
290
30.8k
    int all_simd = 0;
291
#if HAVE_ASM
292
#if ARCH_AARCH64 || ARCH_ARM
293
    itx_dsp_init_arm(c, bpc, &all_simd);
294
#endif
295
#if ARCH_LOONGARCH64
296
    itx_dsp_init_loongarch(c, bpc);
297
#endif
298
#if ARCH_PPC64LE
299
    itx_dsp_init_ppc(c, bpc);
300
#endif
301
#if ARCH_RISCV
302
    itx_dsp_init_riscv(c, bpc);
303
#endif
304
#if ARCH_X86
305
    itx_dsp_init_x86(c, bpc, &all_simd);
306
#endif
307
#endif
308
309
30.8k
    if (!all_simd)
310
30.8k
        dav1d_init_last_nonzero_col_from_eob_tables();
311
30.8k
}
dav1d_itx_dsp_init_16bpc
Line
Count
Source
220
38.0k
COLD void bitfn(dav1d_itx_dsp_init)(Dav1dInvTxfmDSPContext *const c, int bpc) {
221
38.0k
#define assign_itx_all_fn64(w, h, pfx) \
222
38.0k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_DCT  ] = \
223
38.0k
        inv_txfm_add_dct_dct_##w##x##h##_c
224
225
38.0k
#define assign_itx_all_fn32(w, h, pfx) \
226
38.0k
    assign_itx_all_fn64(w, h, pfx); \
227
38.0k
    c->itxfm_add[pfx##TX_##w##X##h][IDTX] = \
228
38.0k
        inv_txfm_add_identity_identity_##w##x##h##_c
229
230
38.0k
#define assign_itx_all_fn16(w, h, pfx) \
231
38.0k
    assign_itx_all_fn32(w, h, pfx); \
232
38.0k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_ADST ] = \
233
38.0k
        inv_txfm_add_adst_dct_##w##x##h##_c; \
234
38.0k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_DCT ] = \
235
38.0k
        inv_txfm_add_dct_adst_##w##x##h##_c; \
236
38.0k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_ADST] = \
237
38.0k
        inv_txfm_add_adst_adst_##w##x##h##_c; \
238
38.0k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_FLIPADST] = \
239
38.0k
        inv_txfm_add_flipadst_adst_##w##x##h##_c; \
240
38.0k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_ADST] = \
241
38.0k
        inv_txfm_add_adst_flipadst_##w##x##h##_c; \
242
38.0k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_FLIPADST] = \
243
38.0k
        inv_txfm_add_flipadst_dct_##w##x##h##_c; \
244
38.0k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_DCT] = \
245
38.0k
        inv_txfm_add_dct_flipadst_##w##x##h##_c; \
246
38.0k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_FLIPADST] = \
247
38.0k
        inv_txfm_add_flipadst_flipadst_##w##x##h##_c; \
248
38.0k
    c->itxfm_add[pfx##TX_##w##X##h][H_DCT] = \
249
38.0k
        inv_txfm_add_dct_identity_##w##x##h##_c; \
250
38.0k
    c->itxfm_add[pfx##TX_##w##X##h][V_DCT] = \
251
38.0k
        inv_txfm_add_identity_dct_##w##x##h##_c
252
253
38.0k
#define assign_itx_all_fn84(w, h, pfx) \
254
38.0k
    assign_itx_all_fn16(w, h, pfx); \
255
38.0k
    c->itxfm_add[pfx##TX_##w##X##h][H_FLIPADST] = \
256
38.0k
        inv_txfm_add_flipadst_identity_##w##x##h##_c; \
257
38.0k
    c->itxfm_add[pfx##TX_##w##X##h][V_FLIPADST] = \
258
38.0k
        inv_txfm_add_identity_flipadst_##w##x##h##_c; \
259
38.0k
    c->itxfm_add[pfx##TX_##w##X##h][H_ADST] = \
260
38.0k
        inv_txfm_add_adst_identity_##w##x##h##_c; \
261
38.0k
    c->itxfm_add[pfx##TX_##w##X##h][V_ADST] = \
262
38.0k
        inv_txfm_add_identity_adst_##w##x##h##_c; \
263
38.0k
264
38.0k
#if !(HAVE_ASM && TRIM_DSP_FUNCTIONS && ( \
265
38.0k
  ARCH_AARCH64 || \
266
38.0k
  (ARCH_ARM && (defined(__ARM_NEON) || defined(__APPLE__) || defined(_WIN32))) \
267
38.0k
))
268
38.0k
    c->itxfm_add[TX_4X4][WHT_WHT] = inv_txfm_add_wht_wht_4x4_c;
269
38.0k
#endif
270
38.0k
    assign_itx_all_fn84( 4,  4, );
271
38.0k
    assign_itx_all_fn84( 4,  8, R);
272
38.0k
    assign_itx_all_fn84( 4, 16, R);
273
38.0k
    assign_itx_all_fn84( 8,  4, R);
274
38.0k
    assign_itx_all_fn84( 8,  8, );
275
38.0k
    assign_itx_all_fn84( 8, 16, R);
276
38.0k
    assign_itx_all_fn32( 8, 32, R);
277
38.0k
    assign_itx_all_fn84(16,  4, R);
278
38.0k
    assign_itx_all_fn84(16,  8, R);
279
38.0k
    assign_itx_all_fn16(16, 16, );
280
38.0k
    assign_itx_all_fn32(16, 32, R);
281
38.0k
    assign_itx_all_fn64(16, 64, R);
282
38.0k
    assign_itx_all_fn32(32,  8, R);
283
38.0k
    assign_itx_all_fn32(32, 16, R);
284
38.0k
    assign_itx_all_fn32(32, 32, );
285
38.0k
    assign_itx_all_fn64(32, 64, R);
286
38.0k
    assign_itx_all_fn64(64, 16, R);
287
38.0k
    assign_itx_all_fn64(64, 32, R);
288
38.0k
    assign_itx_all_fn64(64, 64, );
289
290
38.0k
    int all_simd = 0;
291
#if HAVE_ASM
292
#if ARCH_AARCH64 || ARCH_ARM
293
    itx_dsp_init_arm(c, bpc, &all_simd);
294
#endif
295
#if ARCH_LOONGARCH64
296
    itx_dsp_init_loongarch(c, bpc);
297
#endif
298
#if ARCH_PPC64LE
299
    itx_dsp_init_ppc(c, bpc);
300
#endif
301
#if ARCH_RISCV
302
    itx_dsp_init_riscv(c, bpc);
303
#endif
304
#if ARCH_X86
305
    itx_dsp_init_x86(c, bpc, &all_simd);
306
#endif
307
#endif
308
309
38.0k
    if (!all_simd)
310
38.0k
        dav1d_init_last_nonzero_col_from_eob_tables();
311
38.0k
}