Coverage Report

Created: 2026-10-28 06:18

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
2.81M
{
48
2.81M
    const TxfmInfo *const t_dim = &dav1d_txfm_dimensions[tx];
49
2.81M
    const int w = 4 * t_dim->w, h = 4 * t_dim->h;
50
2.81M
    const int has_dconly = txtp == DCT_DCT;
51
2.81M
    assert(w >= 4 && w <= 64);
52
2.81M
    assert(h >= 4 && h <= 64);
53
2.81M
    assert(eob >= 0);
54
55
2.81M
    const int is_rect2 = w * 2 == h || h * 2 == w;
56
2.81M
    const int rnd = (1 << shift) >> 1;
57
58
2.81M
    if (eob < has_dconly) {
59
565k
        int dc = coeff[0];
60
565k
        coeff[0] = 0;
61
565k
        if (is_rect2)
62
149k
            dc = (dc * 181 + 128) >> 8;
63
565k
        dc = (dc * 181 + 128) >> 8;
64
565k
        dc = (dc + rnd) >> shift;
65
565k
        dc = (dc * 181 + 128 + 2048) >> 12;
66
17.9M
        for (int y = 0; y < h; y++, dst += PXSTRIDE(stride))
67
709M
            for (int x = 0; x < w; x++)
68
692M
                dst[x] = iclip_pixel(dst[x] + dc);
69
565k
        return;
70
565k
    }
71
72
2.25M
    const uint8_t *const txtps = dav1d_tx1d_types[txtp];
73
2.25M
    const itx_1d_fn first_1d_fn = dav1d_tx1d_fns[t_dim->lw][txtps[0]];
74
2.25M
    const itx_1d_fn second_1d_fn = dav1d_tx1d_fns[t_dim->lh][txtps[1]];
75
2.25M
    const int sh = imin(h, 32), sw = imin(w, 32);
76
2.25M
#if BITDEPTH == 8
77
2.25M
    const int row_clip_min = INT16_MIN;
78
2.25M
    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
2.25M
    const int row_clip_max = ~row_clip_min;
84
2.25M
    const int col_clip_max = ~col_clip_min;
85
86
2.25M
    int32_t tmp[64 * 64], *c = tmp;
87
2.25M
    int last_nonzero_col; // in first 1d itx
88
2.25M
    if (txtps[1] == IDENTITY && txtps[0] != IDENTITY) {
89
147k
        last_nonzero_col = imin(sh - 1, eob);
90
2.10M
    } else if (txtps[0] == IDENTITY && txtps[1] != IDENTITY) {
91
82.7k
        last_nonzero_col = eob >> (t_dim->lw + 2);
92
2.02M
    } else {
93
2.02M
        last_nonzero_col = dav1d_last_nonzero_col_from_eob[tx][eob];
94
2.02M
    }
95
2.25M
    assert(last_nonzero_col < sh);
96
13.9M
    for (int y = 0; y <= last_nonzero_col; y++, c += w) {
97
11.6M
        if (is_rect2)
98
61.8M
            for (int x = 0; x < sw; x++)
99
57.7M
                c[x] = (coeff[y + x * sh] * 181 + 128) >> 8;
100
7.66M
        else
101
125M
            for (int x = 0; x < sw; x++)
102
117M
                c[x] = coeff[y + x * sh];
103
11.6M
        first_1d_fn(c, 1, row_clip_min, row_clip_max);
104
11.6M
    }
105
2.25M
    if (last_nonzero_col + 1 < sh)
106
1.65M
        memset(c, 0, sizeof(*c) * (sh - last_nonzero_col - 1) * w);
107
108
2.25M
    memset(coeff, 0, sizeof(*coeff) * sw * sh);
109
562M
    for (int i = 0; i < w * sh; i++)
110
560M
        tmp[i] = iclip((tmp[i] + rnd) >> shift, col_clip_min, col_clip_max);
111
112
33.5M
    for (int x = 0; x < w; x++)
113
31.2M
        second_1d_fn(&tmp[x], w, col_clip_min, col_clip_max);
114
115
2.25M
    c = tmp;
116
33.4M
    for (int y = 0; y < h; y++, dst += PXSTRIDE(stride))
117
747M
        for (int x = 0; x < w; x++)
118
716M
            dst[x] = iclip_pixel(dst[x] + ((*c++ + 8) >> 4));
119
2.25M
}
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
2.81M
                                               HIGHBD_DECL_SUFFIX) \
128
2.81M
{ \
129
2.81M
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.81M
                   HIGHBD_TAIL_SUFFIX); \
131
2.81M
}
itx_tmpl.c:inv_txfm_add_dct_dct_4x4_c
Line
Count
Source
127
85.2k
                                               HIGHBD_DECL_SUFFIX) \
128
85.2k
{ \
129
85.2k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
85.2k
                   HIGHBD_TAIL_SUFFIX); \
131
85.2k
}
itx_tmpl.c:inv_txfm_add_identity_identity_4x4_c
Line
Count
Source
127
38.2k
                                               HIGHBD_DECL_SUFFIX) \
128
38.2k
{ \
129
38.2k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
38.2k
                   HIGHBD_TAIL_SUFFIX); \
131
38.2k
}
itx_tmpl.c:inv_txfm_add_adst_dct_4x4_c
Line
Count
Source
127
51.4k
                                               HIGHBD_DECL_SUFFIX) \
128
51.4k
{ \
129
51.4k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
51.4k
                   HIGHBD_TAIL_SUFFIX); \
131
51.4k
}
itx_tmpl.c:inv_txfm_add_dct_adst_4x4_c
Line
Count
Source
127
41.5k
                                               HIGHBD_DECL_SUFFIX) \
128
41.5k
{ \
129
41.5k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
41.5k
                   HIGHBD_TAIL_SUFFIX); \
131
41.5k
}
itx_tmpl.c:inv_txfm_add_adst_adst_4x4_c
Line
Count
Source
127
61.5k
                                               HIGHBD_DECL_SUFFIX) \
128
61.5k
{ \
129
61.5k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
61.5k
                   HIGHBD_TAIL_SUFFIX); \
131
61.5k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_4x4_c
Line
Count
Source
127
4.94k
                                               HIGHBD_DECL_SUFFIX) \
128
4.94k
{ \
129
4.94k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.94k
                   HIGHBD_TAIL_SUFFIX); \
131
4.94k
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_4x4_c
Line
Count
Source
127
5.69k
                                               HIGHBD_DECL_SUFFIX) \
128
5.69k
{ \
129
5.69k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.69k
                   HIGHBD_TAIL_SUFFIX); \
131
5.69k
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_4x4_c
Line
Count
Source
127
5.72k
                                               HIGHBD_DECL_SUFFIX) \
128
5.72k
{ \
129
5.72k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.72k
                   HIGHBD_TAIL_SUFFIX); \
131
5.72k
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_4x4_c
Line
Count
Source
127
4.03k
                                               HIGHBD_DECL_SUFFIX) \
128
4.03k
{ \
129
4.03k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.03k
                   HIGHBD_TAIL_SUFFIX); \
131
4.03k
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_4x4_c
Line
Count
Source
127
4.13k
                                               HIGHBD_DECL_SUFFIX) \
128
4.13k
{ \
129
4.13k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.13k
                   HIGHBD_TAIL_SUFFIX); \
131
4.13k
}
itx_tmpl.c:inv_txfm_add_dct_identity_4x4_c
Line
Count
Source
127
18.9k
                                               HIGHBD_DECL_SUFFIX) \
128
18.9k
{ \
129
18.9k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
18.9k
                   HIGHBD_TAIL_SUFFIX); \
131
18.9k
}
itx_tmpl.c:inv_txfm_add_identity_dct_4x4_c
Line
Count
Source
127
8.94k
                                               HIGHBD_DECL_SUFFIX) \
128
8.94k
{ \
129
8.94k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
8.94k
                   HIGHBD_TAIL_SUFFIX); \
131
8.94k
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_4x4_c
Line
Count
Source
127
6.76k
                                               HIGHBD_DECL_SUFFIX) \
128
6.76k
{ \
129
6.76k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
6.76k
                   HIGHBD_TAIL_SUFFIX); \
131
6.76k
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_4x4_c
Line
Count
Source
127
4.32k
                                               HIGHBD_DECL_SUFFIX) \
128
4.32k
{ \
129
4.32k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.32k
                   HIGHBD_TAIL_SUFFIX); \
131
4.32k
}
itx_tmpl.c:inv_txfm_add_adst_identity_4x4_c
Line
Count
Source
127
9.70k
                                               HIGHBD_DECL_SUFFIX) \
128
9.70k
{ \
129
9.70k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
9.70k
                   HIGHBD_TAIL_SUFFIX); \
131
9.70k
}
itx_tmpl.c:inv_txfm_add_identity_adst_4x4_c
Line
Count
Source
127
5.73k
                                               HIGHBD_DECL_SUFFIX) \
128
5.73k
{ \
129
5.73k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.73k
                   HIGHBD_TAIL_SUFFIX); \
131
5.73k
}
itx_tmpl.c:inv_txfm_add_dct_dct_4x8_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_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_adst_dct_4x8_c
Line
Count
Source
127
22.3k
                                               HIGHBD_DECL_SUFFIX) \
128
22.3k
{ \
129
22.3k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
22.3k
                   HIGHBD_TAIL_SUFFIX); \
131
22.3k
}
itx_tmpl.c:inv_txfm_add_dct_adst_4x8_c
Line
Count
Source
127
18.3k
                                               HIGHBD_DECL_SUFFIX) \
128
18.3k
{ \
129
18.3k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
18.3k
                   HIGHBD_TAIL_SUFFIX); \
131
18.3k
}
itx_tmpl.c:inv_txfm_add_adst_adst_4x8_c
Line
Count
Source
127
25.5k
                                               HIGHBD_DECL_SUFFIX) \
128
25.5k
{ \
129
25.5k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
25.5k
                   HIGHBD_TAIL_SUFFIX); \
131
25.5k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_4x8_c
Line
Count
Source
127
2.47k
                                               HIGHBD_DECL_SUFFIX) \
128
2.47k
{ \
129
2.47k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.47k
                   HIGHBD_TAIL_SUFFIX); \
131
2.47k
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_4x8_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_flipadst_dct_4x8_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_flipadst_4x8_c
Line
Count
Source
127
1.81k
                                               HIGHBD_DECL_SUFFIX) \
128
1.81k
{ \
129
1.81k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.81k
                   HIGHBD_TAIL_SUFFIX); \
131
1.81k
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_4x8_c
Line
Count
Source
127
1.98k
                                               HIGHBD_DECL_SUFFIX) \
128
1.98k
{ \
129
1.98k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.98k
                   HIGHBD_TAIL_SUFFIX); \
131
1.98k
}
itx_tmpl.c:inv_txfm_add_dct_identity_4x8_c
Line
Count
Source
127
8.05k
                                               HIGHBD_DECL_SUFFIX) \
128
8.05k
{ \
129
8.05k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
8.05k
                   HIGHBD_TAIL_SUFFIX); \
131
8.05k
}
itx_tmpl.c:inv_txfm_add_identity_dct_4x8_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_flipadst_identity_4x8_c
Line
Count
Source
127
3.45k
                                               HIGHBD_DECL_SUFFIX) \
128
3.45k
{ \
129
3.45k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.45k
                   HIGHBD_TAIL_SUFFIX); \
131
3.45k
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_4x8_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_adst_identity_4x8_c
Line
Count
Source
127
3.76k
                                               HIGHBD_DECL_SUFFIX) \
128
3.76k
{ \
129
3.76k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.76k
                   HIGHBD_TAIL_SUFFIX); \
131
3.76k
}
itx_tmpl.c:inv_txfm_add_identity_adst_4x8_c
Line
Count
Source
127
2.57k
                                               HIGHBD_DECL_SUFFIX) \
128
2.57k
{ \
129
2.57k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.57k
                   HIGHBD_TAIL_SUFFIX); \
131
2.57k
}
itx_tmpl.c:inv_txfm_add_dct_dct_4x16_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_4x16_c
Line
Count
Source
127
5.14k
                                               HIGHBD_DECL_SUFFIX) \
128
5.14k
{ \
129
5.14k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.14k
                   HIGHBD_TAIL_SUFFIX); \
131
5.14k
}
itx_tmpl.c:inv_txfm_add_adst_dct_4x16_c
Line
Count
Source
127
8.56k
                                               HIGHBD_DECL_SUFFIX) \
128
8.56k
{ \
129
8.56k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
8.56k
                   HIGHBD_TAIL_SUFFIX); \
131
8.56k
}
itx_tmpl.c:inv_txfm_add_dct_adst_4x16_c
Line
Count
Source
127
6.89k
                                               HIGHBD_DECL_SUFFIX) \
128
6.89k
{ \
129
6.89k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
6.89k
                   HIGHBD_TAIL_SUFFIX); \
131
6.89k
}
itx_tmpl.c:inv_txfm_add_adst_adst_4x16_c
Line
Count
Source
127
10.0k
                                               HIGHBD_DECL_SUFFIX) \
128
10.0k
{ \
129
10.0k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
10.0k
                   HIGHBD_TAIL_SUFFIX); \
131
10.0k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_4x16_c
Line
Count
Source
127
1.00k
                                               HIGHBD_DECL_SUFFIX) \
128
1.00k
{ \
129
1.00k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.00k
                   HIGHBD_TAIL_SUFFIX); \
131
1.00k
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_4x16_c
Line
Count
Source
127
1.05k
                                               HIGHBD_DECL_SUFFIX) \
128
1.05k
{ \
129
1.05k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.05k
                   HIGHBD_TAIL_SUFFIX); \
131
1.05k
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_4x16_c
Line
Count
Source
127
813
                                               HIGHBD_DECL_SUFFIX) \
128
813
{ \
129
813
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
813
                   HIGHBD_TAIL_SUFFIX); \
131
813
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_4x16_c
Line
Count
Source
127
611
                                               HIGHBD_DECL_SUFFIX) \
128
611
{ \
129
611
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
611
                   HIGHBD_TAIL_SUFFIX); \
131
611
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_4x16_c
Line
Count
Source
127
570
                                               HIGHBD_DECL_SUFFIX) \
128
570
{ \
129
570
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
570
                   HIGHBD_TAIL_SUFFIX); \
131
570
}
itx_tmpl.c:inv_txfm_add_dct_identity_4x16_c
Line
Count
Source
127
3.61k
                                               HIGHBD_DECL_SUFFIX) \
128
3.61k
{ \
129
3.61k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.61k
                   HIGHBD_TAIL_SUFFIX); \
131
3.61k
}
itx_tmpl.c:inv_txfm_add_identity_dct_4x16_c
Line
Count
Source
127
2.02k
                                               HIGHBD_DECL_SUFFIX) \
128
2.02k
{ \
129
2.02k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.02k
                   HIGHBD_TAIL_SUFFIX); \
131
2.02k
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_4x16_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_identity_flipadst_4x16_c
Line
Count
Source
127
787
                                               HIGHBD_DECL_SUFFIX) \
128
787
{ \
129
787
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
787
                   HIGHBD_TAIL_SUFFIX); \
131
787
}
itx_tmpl.c:inv_txfm_add_adst_identity_4x16_c
Line
Count
Source
127
1.84k
                                               HIGHBD_DECL_SUFFIX) \
128
1.84k
{ \
129
1.84k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.84k
                   HIGHBD_TAIL_SUFFIX); \
131
1.84k
}
itx_tmpl.c:inv_txfm_add_identity_adst_4x16_c
Line
Count
Source
127
972
                                               HIGHBD_DECL_SUFFIX) \
128
972
{ \
129
972
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
972
                   HIGHBD_TAIL_SUFFIX); \
131
972
}
itx_tmpl.c:inv_txfm_add_dct_dct_8x4_c
Line
Count
Source
127
46.8k
                                               HIGHBD_DECL_SUFFIX) \
128
46.8k
{ \
129
46.8k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
46.8k
                   HIGHBD_TAIL_SUFFIX); \
131
46.8k
}
itx_tmpl.c:inv_txfm_add_identity_identity_8x4_c
Line
Count
Source
127
18.1k
                                               HIGHBD_DECL_SUFFIX) \
128
18.1k
{ \
129
18.1k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
18.1k
                   HIGHBD_TAIL_SUFFIX); \
131
18.1k
}
itx_tmpl.c:inv_txfm_add_adst_dct_8x4_c
Line
Count
Source
127
29.2k
                                               HIGHBD_DECL_SUFFIX) \
128
29.2k
{ \
129
29.2k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
29.2k
                   HIGHBD_TAIL_SUFFIX); \
131
29.2k
}
itx_tmpl.c:inv_txfm_add_dct_adst_8x4_c
Line
Count
Source
127
23.1k
                                               HIGHBD_DECL_SUFFIX) \
128
23.1k
{ \
129
23.1k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
23.1k
                   HIGHBD_TAIL_SUFFIX); \
131
23.1k
}
itx_tmpl.c:inv_txfm_add_adst_adst_8x4_c
Line
Count
Source
127
33.6k
                                               HIGHBD_DECL_SUFFIX) \
128
33.6k
{ \
129
33.6k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
33.6k
                   HIGHBD_TAIL_SUFFIX); \
131
33.6k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_8x4_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_flipadst_8x4_c
Line
Count
Source
127
3.64k
                                               HIGHBD_DECL_SUFFIX) \
128
3.64k
{ \
129
3.64k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.64k
                   HIGHBD_TAIL_SUFFIX); \
131
3.64k
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_8x4_c
Line
Count
Source
127
3.21k
                                               HIGHBD_DECL_SUFFIX) \
128
3.21k
{ \
129
3.21k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.21k
                   HIGHBD_TAIL_SUFFIX); \
131
3.21k
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_8x4_c
Line
Count
Source
127
2.43k
                                               HIGHBD_DECL_SUFFIX) \
128
2.43k
{ \
129
2.43k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.43k
                   HIGHBD_TAIL_SUFFIX); \
131
2.43k
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_8x4_c
Line
Count
Source
127
2.34k
                                               HIGHBD_DECL_SUFFIX) \
128
2.34k
{ \
129
2.34k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.34k
                   HIGHBD_TAIL_SUFFIX); \
131
2.34k
}
itx_tmpl.c:inv_txfm_add_dct_identity_8x4_c
Line
Count
Source
127
11.2k
                                               HIGHBD_DECL_SUFFIX) \
128
11.2k
{ \
129
11.2k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
11.2k
                   HIGHBD_TAIL_SUFFIX); \
131
11.2k
}
itx_tmpl.c:inv_txfm_add_identity_dct_8x4_c
Line
Count
Source
127
5.22k
                                               HIGHBD_DECL_SUFFIX) \
128
5.22k
{ \
129
5.22k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.22k
                   HIGHBD_TAIL_SUFFIX); \
131
5.22k
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_8x4_c
Line
Count
Source
127
4.04k
                                               HIGHBD_DECL_SUFFIX) \
128
4.04k
{ \
129
4.04k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.04k
                   HIGHBD_TAIL_SUFFIX); \
131
4.04k
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_8x4_c
Line
Count
Source
127
2.83k
                                               HIGHBD_DECL_SUFFIX) \
128
2.83k
{ \
129
2.83k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.83k
                   HIGHBD_TAIL_SUFFIX); \
131
2.83k
}
itx_tmpl.c:inv_txfm_add_adst_identity_8x4_c
Line
Count
Source
127
5.49k
                                               HIGHBD_DECL_SUFFIX) \
128
5.49k
{ \
129
5.49k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.49k
                   HIGHBD_TAIL_SUFFIX); \
131
5.49k
}
itx_tmpl.c:inv_txfm_add_identity_adst_8x4_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_dct_dct_8x8_c
Line
Count
Source
127
127k
                                               HIGHBD_DECL_SUFFIX) \
128
127k
{ \
129
127k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
127k
                   HIGHBD_TAIL_SUFFIX); \
131
127k
}
itx_tmpl.c:inv_txfm_add_identity_identity_8x8_c
Line
Count
Source
127
33.5k
                                               HIGHBD_DECL_SUFFIX) \
128
33.5k
{ \
129
33.5k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
33.5k
                   HIGHBD_TAIL_SUFFIX); \
131
33.5k
}
itx_tmpl.c:inv_txfm_add_adst_dct_8x8_c
Line
Count
Source
127
75.8k
                                               HIGHBD_DECL_SUFFIX) \
128
75.8k
{ \
129
75.8k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
75.8k
                   HIGHBD_TAIL_SUFFIX); \
131
75.8k
}
itx_tmpl.c:inv_txfm_add_dct_adst_8x8_c
Line
Count
Source
127
61.3k
                                               HIGHBD_DECL_SUFFIX) \
128
61.3k
{ \
129
61.3k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
61.3k
                   HIGHBD_TAIL_SUFFIX); \
131
61.3k
}
itx_tmpl.c:inv_txfm_add_adst_adst_8x8_c
Line
Count
Source
127
69.1k
                                               HIGHBD_DECL_SUFFIX) \
128
69.1k
{ \
129
69.1k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
69.1k
                   HIGHBD_TAIL_SUFFIX); \
131
69.1k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_8x8_c
Line
Count
Source
127
6.40k
                                               HIGHBD_DECL_SUFFIX) \
128
6.40k
{ \
129
6.40k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
6.40k
                   HIGHBD_TAIL_SUFFIX); \
131
6.40k
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_8x8_c
Line
Count
Source
127
6.17k
                                               HIGHBD_DECL_SUFFIX) \
128
6.17k
{ \
129
6.17k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
6.17k
                   HIGHBD_TAIL_SUFFIX); \
131
6.17k
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_8x8_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_dct_flipadst_8x8_c
Line
Count
Source
127
7.06k
                                               HIGHBD_DECL_SUFFIX) \
128
7.06k
{ \
129
7.06k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
7.06k
                   HIGHBD_TAIL_SUFFIX); \
131
7.06k
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_8x8_c
Line
Count
Source
127
5.87k
                                               HIGHBD_DECL_SUFFIX) \
128
5.87k
{ \
129
5.87k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.87k
                   HIGHBD_TAIL_SUFFIX); \
131
5.87k
}
itx_tmpl.c:inv_txfm_add_dct_identity_8x8_c
Line
Count
Source
127
19.0k
                                               HIGHBD_DECL_SUFFIX) \
128
19.0k
{ \
129
19.0k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
19.0k
                   HIGHBD_TAIL_SUFFIX); \
131
19.0k
}
itx_tmpl.c:inv_txfm_add_identity_dct_8x8_c
Line
Count
Source
127
10.7k
                                               HIGHBD_DECL_SUFFIX) \
128
10.7k
{ \
129
10.7k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
10.7k
                   HIGHBD_TAIL_SUFFIX); \
131
10.7k
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_8x8_c
Line
Count
Source
127
5.20k
                                               HIGHBD_DECL_SUFFIX) \
128
5.20k
{ \
129
5.20k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.20k
                   HIGHBD_TAIL_SUFFIX); \
131
5.20k
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_8x8_c
Line
Count
Source
127
4.00k
                                               HIGHBD_DECL_SUFFIX) \
128
4.00k
{ \
129
4.00k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.00k
                   HIGHBD_TAIL_SUFFIX); \
131
4.00k
}
itx_tmpl.c:inv_txfm_add_adst_identity_8x8_c
Line
Count
Source
127
5.64k
                                               HIGHBD_DECL_SUFFIX) \
128
5.64k
{ \
129
5.64k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.64k
                   HIGHBD_TAIL_SUFFIX); \
131
5.64k
}
itx_tmpl.c:inv_txfm_add_identity_adst_8x8_c
Line
Count
Source
127
3.64k
                                               HIGHBD_DECL_SUFFIX) \
128
3.64k
{ \
129
3.64k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.64k
                   HIGHBD_TAIL_SUFFIX); \
131
3.64k
}
itx_tmpl.c:inv_txfm_add_dct_dct_8x16_c
Line
Count
Source
127
51.1k
                                               HIGHBD_DECL_SUFFIX) \
128
51.1k
{ \
129
51.1k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
51.1k
                   HIGHBD_TAIL_SUFFIX); \
131
51.1k
}
itx_tmpl.c:inv_txfm_add_identity_identity_8x16_c
Line
Count
Source
127
10.0k
                                               HIGHBD_DECL_SUFFIX) \
128
10.0k
{ \
129
10.0k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
10.0k
                   HIGHBD_TAIL_SUFFIX); \
131
10.0k
}
itx_tmpl.c:inv_txfm_add_adst_dct_8x16_c
Line
Count
Source
127
27.4k
                                               HIGHBD_DECL_SUFFIX) \
128
27.4k
{ \
129
27.4k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
27.4k
                   HIGHBD_TAIL_SUFFIX); \
131
27.4k
}
itx_tmpl.c:inv_txfm_add_dct_adst_8x16_c
Line
Count
Source
127
20.4k
                                               HIGHBD_DECL_SUFFIX) \
128
20.4k
{ \
129
20.4k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
20.4k
                   HIGHBD_TAIL_SUFFIX); \
131
20.4k
}
itx_tmpl.c:inv_txfm_add_adst_adst_8x16_c
Line
Count
Source
127
24.8k
                                               HIGHBD_DECL_SUFFIX) \
128
24.8k
{ \
129
24.8k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
24.8k
                   HIGHBD_TAIL_SUFFIX); \
131
24.8k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_8x16_c
Line
Count
Source
127
2.31k
                                               HIGHBD_DECL_SUFFIX) \
128
2.31k
{ \
129
2.31k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.31k
                   HIGHBD_TAIL_SUFFIX); \
131
2.31k
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_8x16_c
Line
Count
Source
127
2.39k
                                               HIGHBD_DECL_SUFFIX) \
128
2.39k
{ \
129
2.39k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.39k
                   HIGHBD_TAIL_SUFFIX); \
131
2.39k
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_8x16_c
Line
Count
Source
127
3.19k
                                               HIGHBD_DECL_SUFFIX) \
128
3.19k
{ \
129
3.19k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.19k
                   HIGHBD_TAIL_SUFFIX); \
131
3.19k
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_8x16_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_flipadst_8x16_c
Line
Count
Source
127
2.61k
                                               HIGHBD_DECL_SUFFIX) \
128
2.61k
{ \
129
2.61k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.61k
                   HIGHBD_TAIL_SUFFIX); \
131
2.61k
}
itx_tmpl.c:inv_txfm_add_dct_identity_8x16_c
Line
Count
Source
127
6.85k
                                               HIGHBD_DECL_SUFFIX) \
128
6.85k
{ \
129
6.85k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
6.85k
                   HIGHBD_TAIL_SUFFIX); \
131
6.85k
}
itx_tmpl.c:inv_txfm_add_identity_dct_8x16_c
Line
Count
Source
127
3.85k
                                               HIGHBD_DECL_SUFFIX) \
128
3.85k
{ \
129
3.85k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.85k
                   HIGHBD_TAIL_SUFFIX); \
131
3.85k
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_8x16_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_identity_flipadst_8x16_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_adst_identity_8x16_c
Line
Count
Source
127
2.38k
                                               HIGHBD_DECL_SUFFIX) \
128
2.38k
{ \
129
2.38k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.38k
                   HIGHBD_TAIL_SUFFIX); \
131
2.38k
}
itx_tmpl.c:inv_txfm_add_identity_adst_8x16_c
Line
Count
Source
127
1.61k
                                               HIGHBD_DECL_SUFFIX) \
128
1.61k
{ \
129
1.61k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.61k
                   HIGHBD_TAIL_SUFFIX); \
131
1.61k
}
itx_tmpl.c:inv_txfm_add_dct_dct_8x32_c
Line
Count
Source
127
31.4k
                                               HIGHBD_DECL_SUFFIX) \
128
31.4k
{ \
129
31.4k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
31.4k
                   HIGHBD_TAIL_SUFFIX); \
131
31.4k
}
itx_tmpl.c:inv_txfm_add_identity_identity_8x32_c
Line
Count
Source
127
1.36k
                                               HIGHBD_DECL_SUFFIX) \
128
1.36k
{ \
129
1.36k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.36k
                   HIGHBD_TAIL_SUFFIX); \
131
1.36k
}
itx_tmpl.c:inv_txfm_add_dct_dct_16x4_c
Line
Count
Source
127
25.9k
                                               HIGHBD_DECL_SUFFIX) \
128
25.9k
{ \
129
25.9k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
25.9k
                   HIGHBD_TAIL_SUFFIX); \
131
25.9k
}
itx_tmpl.c:inv_txfm_add_identity_identity_16x4_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_adst_dct_16x4_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_dct_adst_16x4_c
Line
Count
Source
127
14.2k
                                               HIGHBD_DECL_SUFFIX) \
128
14.2k
{ \
129
14.2k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
14.2k
                   HIGHBD_TAIL_SUFFIX); \
131
14.2k
}
itx_tmpl.c:inv_txfm_add_adst_adst_16x4_c
Line
Count
Source
127
20.4k
                                               HIGHBD_DECL_SUFFIX) \
128
20.4k
{ \
129
20.4k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
20.4k
                   HIGHBD_TAIL_SUFFIX); \
131
20.4k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_16x4_c
Line
Count
Source
127
2.92k
                                               HIGHBD_DECL_SUFFIX) \
128
2.92k
{ \
129
2.92k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.92k
                   HIGHBD_TAIL_SUFFIX); \
131
2.92k
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_16x4_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_dct_16x4_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_16x4_c
Line
Count
Source
127
1.16k
                                               HIGHBD_DECL_SUFFIX) \
128
1.16k
{ \
129
1.16k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.16k
                   HIGHBD_TAIL_SUFFIX); \
131
1.16k
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_16x4_c
Line
Count
Source
127
1.03k
                                               HIGHBD_DECL_SUFFIX) \
128
1.03k
{ \
129
1.03k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.03k
                   HIGHBD_TAIL_SUFFIX); \
131
1.03k
}
itx_tmpl.c:inv_txfm_add_dct_identity_16x4_c
Line
Count
Source
127
6.91k
                                               HIGHBD_DECL_SUFFIX) \
128
6.91k
{ \
129
6.91k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
6.91k
                   HIGHBD_TAIL_SUFFIX); \
131
6.91k
}
itx_tmpl.c:inv_txfm_add_identity_dct_16x4_c
Line
Count
Source
127
3.35k
                                               HIGHBD_DECL_SUFFIX) \
128
3.35k
{ \
129
3.35k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.35k
                   HIGHBD_TAIL_SUFFIX); \
131
3.35k
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_16x4_c
Line
Count
Source
127
2.52k
                                               HIGHBD_DECL_SUFFIX) \
128
2.52k
{ \
129
2.52k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.52k
                   HIGHBD_TAIL_SUFFIX); \
131
2.52k
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_16x4_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_adst_identity_16x4_c
Line
Count
Source
127
2.95k
                                               HIGHBD_DECL_SUFFIX) \
128
2.95k
{ \
129
2.95k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.95k
                   HIGHBD_TAIL_SUFFIX); \
131
2.95k
}
itx_tmpl.c:inv_txfm_add_identity_adst_16x4_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_dct_dct_16x8_c
Line
Count
Source
127
50.1k
                                               HIGHBD_DECL_SUFFIX) \
128
50.1k
{ \
129
50.1k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
50.1k
                   HIGHBD_TAIL_SUFFIX); \
131
50.1k
}
itx_tmpl.c:inv_txfm_add_identity_identity_16x8_c
Line
Count
Source
127
10.6k
                                               HIGHBD_DECL_SUFFIX) \
128
10.6k
{ \
129
10.6k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
10.6k
                   HIGHBD_TAIL_SUFFIX); \
131
10.6k
}
itx_tmpl.c:inv_txfm_add_adst_dct_16x8_c
Line
Count
Source
127
27.1k
                                               HIGHBD_DECL_SUFFIX) \
128
27.1k
{ \
129
27.1k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
27.1k
                   HIGHBD_TAIL_SUFFIX); \
131
27.1k
}
itx_tmpl.c:inv_txfm_add_dct_adst_16x8_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_adst_adst_16x8_c
Line
Count
Source
127
25.5k
                                               HIGHBD_DECL_SUFFIX) \
128
25.5k
{ \
129
25.5k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
25.5k
                   HIGHBD_TAIL_SUFFIX); \
131
25.5k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_16x8_c
Line
Count
Source
127
2.98k
                                               HIGHBD_DECL_SUFFIX) \
128
2.98k
{ \
129
2.98k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.98k
                   HIGHBD_TAIL_SUFFIX); \
131
2.98k
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_16x8_c
Line
Count
Source
127
1.92k
                                               HIGHBD_DECL_SUFFIX) \
128
1.92k
{ \
129
1.92k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.92k
                   HIGHBD_TAIL_SUFFIX); \
131
1.92k
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_16x8_c
Line
Count
Source
127
3.06k
                                               HIGHBD_DECL_SUFFIX) \
128
3.06k
{ \
129
3.06k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.06k
                   HIGHBD_TAIL_SUFFIX); \
131
3.06k
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_16x8_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_flipadst_flipadst_16x8_c
Line
Count
Source
127
1.93k
                                               HIGHBD_DECL_SUFFIX) \
128
1.93k
{ \
129
1.93k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.93k
                   HIGHBD_TAIL_SUFFIX); \
131
1.93k
}
itx_tmpl.c:inv_txfm_add_dct_identity_16x8_c
Line
Count
Source
127
7.24k
                                               HIGHBD_DECL_SUFFIX) \
128
7.24k
{ \
129
7.24k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
7.24k
                   HIGHBD_TAIL_SUFFIX); \
131
7.24k
}
itx_tmpl.c:inv_txfm_add_identity_dct_16x8_c
Line
Count
Source
127
3.42k
                                               HIGHBD_DECL_SUFFIX) \
128
3.42k
{ \
129
3.42k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.42k
                   HIGHBD_TAIL_SUFFIX); \
131
3.42k
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_16x8_c
Line
Count
Source
127
1.87k
                                               HIGHBD_DECL_SUFFIX) \
128
1.87k
{ \
129
1.87k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.87k
                   HIGHBD_TAIL_SUFFIX); \
131
1.87k
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_16x8_c
Line
Count
Source
127
1.92k
                                               HIGHBD_DECL_SUFFIX) \
128
1.92k
{ \
129
1.92k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.92k
                   HIGHBD_TAIL_SUFFIX); \
131
1.92k
}
itx_tmpl.c:inv_txfm_add_adst_identity_16x8_c
Line
Count
Source
127
2.16k
                                               HIGHBD_DECL_SUFFIX) \
128
2.16k
{ \
129
2.16k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.16k
                   HIGHBD_TAIL_SUFFIX); \
131
2.16k
}
itx_tmpl.c:inv_txfm_add_identity_adst_16x8_c
Line
Count
Source
127
1.42k
                                               HIGHBD_DECL_SUFFIX) \
128
1.42k
{ \
129
1.42k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.42k
                   HIGHBD_TAIL_SUFFIX); \
131
1.42k
}
itx_tmpl.c:inv_txfm_add_dct_dct_16x16_c
Line
Count
Source
127
95.7k
                                               HIGHBD_DECL_SUFFIX) \
128
95.7k
{ \
129
95.7k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
95.7k
                   HIGHBD_TAIL_SUFFIX); \
131
95.7k
}
itx_tmpl.c:inv_txfm_add_identity_identity_16x16_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_dct_16x16_c
Line
Count
Source
127
69.9k
                                               HIGHBD_DECL_SUFFIX) \
128
69.9k
{ \
129
69.9k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
69.9k
                   HIGHBD_TAIL_SUFFIX); \
131
69.9k
}
itx_tmpl.c:inv_txfm_add_dct_adst_16x16_c
Line
Count
Source
127
55.4k
                                               HIGHBD_DECL_SUFFIX) \
128
55.4k
{ \
129
55.4k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
55.4k
                   HIGHBD_TAIL_SUFFIX); \
131
55.4k
}
itx_tmpl.c:inv_txfm_add_adst_adst_16x16_c
Line
Count
Source
127
66.2k
                                               HIGHBD_DECL_SUFFIX) \
128
66.2k
{ \
129
66.2k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
66.2k
                   HIGHBD_TAIL_SUFFIX); \
131
66.2k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_16x16_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_adst_flipadst_16x16_c
Line
Count
Source
127
3.01k
                                               HIGHBD_DECL_SUFFIX) \
128
3.01k
{ \
129
3.01k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.01k
                   HIGHBD_TAIL_SUFFIX); \
131
3.01k
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_16x16_c
Line
Count
Source
127
3.54k
                                               HIGHBD_DECL_SUFFIX) \
128
3.54k
{ \
129
3.54k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.54k
                   HIGHBD_TAIL_SUFFIX); \
131
3.54k
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_16x16_c
Line
Count
Source
127
4.05k
                                               HIGHBD_DECL_SUFFIX) \
128
4.05k
{ \
129
4.05k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.05k
                   HIGHBD_TAIL_SUFFIX); \
131
4.05k
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_16x16_c
Line
Count
Source
127
2.61k
                                               HIGHBD_DECL_SUFFIX) \
128
2.61k
{ \
129
2.61k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.61k
                   HIGHBD_TAIL_SUFFIX); \
131
2.61k
}
itx_tmpl.c:inv_txfm_add_dct_identity_16x16_c
Line
Count
Source
127
3.95k
                                               HIGHBD_DECL_SUFFIX) \
128
3.95k
{ \
129
3.95k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.95k
                   HIGHBD_TAIL_SUFFIX); \
131
3.95k
}
itx_tmpl.c:inv_txfm_add_identity_dct_16x16_c
Line
Count
Source
127
2.11k
                                               HIGHBD_DECL_SUFFIX) \
128
2.11k
{ \
129
2.11k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.11k
                   HIGHBD_TAIL_SUFFIX); \
131
2.11k
}
itx_tmpl.c:inv_txfm_add_dct_dct_16x32_c
Line
Count
Source
127
102k
                                               HIGHBD_DECL_SUFFIX) \
128
102k
{ \
129
102k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
102k
                   HIGHBD_TAIL_SUFFIX); \
131
102k
}
itx_tmpl.c:inv_txfm_add_identity_identity_16x32_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_dct_dct_16x64_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_dct_dct_32x8_c
Line
Count
Source
127
49.9k
                                               HIGHBD_DECL_SUFFIX) \
128
49.9k
{ \
129
49.9k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
49.9k
                   HIGHBD_TAIL_SUFFIX); \
131
49.9k
}
itx_tmpl.c:inv_txfm_add_identity_identity_32x8_c
Line
Count
Source
127
1.85k
                                               HIGHBD_DECL_SUFFIX) \
128
1.85k
{ \
129
1.85k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.85k
                   HIGHBD_TAIL_SUFFIX); \
131
1.85k
}
itx_tmpl.c:inv_txfm_add_dct_dct_32x16_c
Line
Count
Source
127
73.1k
                                               HIGHBD_DECL_SUFFIX) \
128
73.1k
{ \
129
73.1k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
73.1k
                   HIGHBD_TAIL_SUFFIX); \
131
73.1k
}
itx_tmpl.c:inv_txfm_add_identity_identity_32x16_c
Line
Count
Source
127
957
                                               HIGHBD_DECL_SUFFIX) \
128
957
{ \
129
957
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
957
                   HIGHBD_TAIL_SUFFIX); \
131
957
}
itx_tmpl.c:inv_txfm_add_dct_dct_32x32_c
Line
Count
Source
127
327k
                                               HIGHBD_DECL_SUFFIX) \
128
327k
{ \
129
327k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
327k
                   HIGHBD_TAIL_SUFFIX); \
131
327k
}
itx_tmpl.c:inv_txfm_add_identity_identity_32x32_c
Line
Count
Source
127
540
                                               HIGHBD_DECL_SUFFIX) \
128
540
{ \
129
540
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
540
                   HIGHBD_TAIL_SUFFIX); \
131
540
}
itx_tmpl.c:inv_txfm_add_dct_dct_32x64_c
Line
Count
Source
127
50.7k
                                               HIGHBD_DECL_SUFFIX) \
128
50.7k
{ \
129
50.7k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
50.7k
                   HIGHBD_TAIL_SUFFIX); \
131
50.7k
}
itx_tmpl.c:inv_txfm_add_dct_dct_64x16_c
Line
Count
Source
127
11.1k
                                               HIGHBD_DECL_SUFFIX) \
128
11.1k
{ \
129
11.1k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
11.1k
                   HIGHBD_TAIL_SUFFIX); \
131
11.1k
}
itx_tmpl.c:inv_txfm_add_dct_dct_64x32_c
Line
Count
Source
127
27.1k
                                               HIGHBD_DECL_SUFFIX) \
128
27.1k
{ \
129
27.1k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
27.1k
                   HIGHBD_TAIL_SUFFIX); \
131
27.1k
}
itx_tmpl.c:inv_txfm_add_dct_dct_64x64_c
Line
Count
Source
127
144k
                                               HIGHBD_DECL_SUFFIX) \
128
144k
{ \
129
144k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
144k
                   HIGHBD_TAIL_SUFFIX); \
131
144k
}
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
728k
{
188
728k
    int32_t tmp[4 * 4], *c = tmp;
189
3.64M
    for (int y = 0; y < 4; y++, c += 4) {
190
14.5M
        for (int x = 0; x < 4; x++)
191
11.6M
            c[x] = coeff[y + x * 4] >> 2;
192
2.91M
        dav1d_inv_wht4_1d_c(c, 1);
193
2.91M
    }
194
728k
    memset(coeff, 0, sizeof(*coeff) * 4 * 4);
195
196
3.64M
    for (int x = 0; x < 4; x++)
197
2.91M
        dav1d_inv_wht4_1d_c(&tmp[x], 4);
198
199
728k
    c = tmp;
200
3.64M
    for (int y = 0; y < 4; y++, dst += PXSTRIDE(stride))
201
14.5M
        for (int x = 0; x < 4; x++)
202
11.6M
            dst[x] = iclip_pixel(dst[x] + *c++);
203
728k
}
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
67.2k
COLD void bitfn(dav1d_itx_dsp_init)(Dav1dInvTxfmDSPContext *const c, int bpc) {
221
67.2k
#define assign_itx_all_fn64(w, h, pfx) \
222
1.27M
    c->itxfm_add[pfx##TX_##w##X##h][DCT_DCT  ] = \
223
1.27M
        inv_txfm_add_dct_dct_##w##x##h##_c
224
225
67.2k
#define assign_itx_all_fn32(w, h, pfx) \
226
941k
    assign_itx_all_fn64(w, h, pfx); \
227
941k
    c->itxfm_add[pfx##TX_##w##X##h][IDTX] = \
228
941k
        inv_txfm_add_identity_identity_##w##x##h##_c
229
230
67.2k
#define assign_itx_all_fn16(w, h, pfx) \
231
605k
    assign_itx_all_fn32(w, h, pfx); \
232
605k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_ADST ] = \
233
605k
        inv_txfm_add_adst_dct_##w##x##h##_c; \
234
605k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_DCT ] = \
235
605k
        inv_txfm_add_dct_adst_##w##x##h##_c; \
236
605k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_ADST] = \
237
605k
        inv_txfm_add_adst_adst_##w##x##h##_c; \
238
605k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_FLIPADST] = \
239
605k
        inv_txfm_add_flipadst_adst_##w##x##h##_c; \
240
605k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_ADST] = \
241
605k
        inv_txfm_add_adst_flipadst_##w##x##h##_c; \
242
605k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_FLIPADST] = \
243
605k
        inv_txfm_add_flipadst_dct_##w##x##h##_c; \
244
605k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_DCT] = \
245
605k
        inv_txfm_add_dct_flipadst_##w##x##h##_c; \
246
605k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_FLIPADST] = \
247
605k
        inv_txfm_add_flipadst_flipadst_##w##x##h##_c; \
248
605k
    c->itxfm_add[pfx##TX_##w##X##h][H_DCT] = \
249
605k
        inv_txfm_add_dct_identity_##w##x##h##_c; \
250
605k
    c->itxfm_add[pfx##TX_##w##X##h][V_DCT] = \
251
605k
        inv_txfm_add_identity_dct_##w##x##h##_c
252
253
67.2k
#define assign_itx_all_fn84(w, h, pfx) \
254
538k
    assign_itx_all_fn16(w, h, pfx); \
255
538k
    c->itxfm_add[pfx##TX_##w##X##h][H_FLIPADST] = \
256
538k
        inv_txfm_add_flipadst_identity_##w##x##h##_c; \
257
538k
    c->itxfm_add[pfx##TX_##w##X##h][V_FLIPADST] = \
258
538k
        inv_txfm_add_identity_flipadst_##w##x##h##_c; \
259
538k
    c->itxfm_add[pfx##TX_##w##X##h][H_ADST] = \
260
538k
        inv_txfm_add_adst_identity_##w##x##h##_c; \
261
538k
    c->itxfm_add[pfx##TX_##w##X##h][V_ADST] = \
262
538k
        inv_txfm_add_identity_adst_##w##x##h##_c; \
263
67.2k
264
67.2k
#if !(HAVE_ASM && TRIM_DSP_FUNCTIONS && ( \
265
67.2k
  ARCH_AARCH64 || \
266
67.2k
  (ARCH_ARM && (defined(__ARM_NEON) || defined(__APPLE__) || defined(_WIN32))) \
267
67.2k
))
268
67.2k
    c->itxfm_add[TX_4X4][WHT_WHT] = inv_txfm_add_wht_wht_4x4_c;
269
67.2k
#endif
270
67.2k
    assign_itx_all_fn84( 4,  4, );
271
67.2k
    assign_itx_all_fn84( 4,  8, R);
272
67.2k
    assign_itx_all_fn84( 4, 16, R);
273
67.2k
    assign_itx_all_fn84( 8,  4, R);
274
67.2k
    assign_itx_all_fn84( 8,  8, );
275
67.2k
    assign_itx_all_fn84( 8, 16, R);
276
67.2k
    assign_itx_all_fn32( 8, 32, R);
277
67.2k
    assign_itx_all_fn84(16,  4, R);
278
67.2k
    assign_itx_all_fn84(16,  8, R);
279
67.2k
    assign_itx_all_fn16(16, 16, );
280
67.2k
    assign_itx_all_fn32(16, 32, R);
281
67.2k
    assign_itx_all_fn64(16, 64, R);
282
67.2k
    assign_itx_all_fn32(32,  8, R);
283
67.2k
    assign_itx_all_fn32(32, 16, R);
284
67.2k
    assign_itx_all_fn32(32, 32, );
285
67.2k
    assign_itx_all_fn64(32, 64, R);
286
67.2k
    assign_itx_all_fn64(64, 16, R);
287
67.2k
    assign_itx_all_fn64(64, 32, R);
288
67.2k
    assign_itx_all_fn64(64, 64, );
289
290
67.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
67.2k
    if (!all_simd)
310
67.2k
        dav1d_init_last_nonzero_col_from_eob_tables();
311
67.2k
}
dav1d_itx_dsp_init_8bpc
Line
Count
Source
220
31.6k
COLD void bitfn(dav1d_itx_dsp_init)(Dav1dInvTxfmDSPContext *const c, int bpc) {
221
31.6k
#define assign_itx_all_fn64(w, h, pfx) \
222
31.6k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_DCT  ] = \
223
31.6k
        inv_txfm_add_dct_dct_##w##x##h##_c
224
225
31.6k
#define assign_itx_all_fn32(w, h, pfx) \
226
31.6k
    assign_itx_all_fn64(w, h, pfx); \
227
31.6k
    c->itxfm_add[pfx##TX_##w##X##h][IDTX] = \
228
31.6k
        inv_txfm_add_identity_identity_##w##x##h##_c
229
230
31.6k
#define assign_itx_all_fn16(w, h, pfx) \
231
31.6k
    assign_itx_all_fn32(w, h, pfx); \
232
31.6k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_ADST ] = \
233
31.6k
        inv_txfm_add_adst_dct_##w##x##h##_c; \
234
31.6k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_DCT ] = \
235
31.6k
        inv_txfm_add_dct_adst_##w##x##h##_c; \
236
31.6k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_ADST] = \
237
31.6k
        inv_txfm_add_adst_adst_##w##x##h##_c; \
238
31.6k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_FLIPADST] = \
239
31.6k
        inv_txfm_add_flipadst_adst_##w##x##h##_c; \
240
31.6k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_ADST] = \
241
31.6k
        inv_txfm_add_adst_flipadst_##w##x##h##_c; \
242
31.6k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_FLIPADST] = \
243
31.6k
        inv_txfm_add_flipadst_dct_##w##x##h##_c; \
244
31.6k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_DCT] = \
245
31.6k
        inv_txfm_add_dct_flipadst_##w##x##h##_c; \
246
31.6k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_FLIPADST] = \
247
31.6k
        inv_txfm_add_flipadst_flipadst_##w##x##h##_c; \
248
31.6k
    c->itxfm_add[pfx##TX_##w##X##h][H_DCT] = \
249
31.6k
        inv_txfm_add_dct_identity_##w##x##h##_c; \
250
31.6k
    c->itxfm_add[pfx##TX_##w##X##h][V_DCT] = \
251
31.6k
        inv_txfm_add_identity_dct_##w##x##h##_c
252
253
31.6k
#define assign_itx_all_fn84(w, h, pfx) \
254
31.6k
    assign_itx_all_fn16(w, h, pfx); \
255
31.6k
    c->itxfm_add[pfx##TX_##w##X##h][H_FLIPADST] = \
256
31.6k
        inv_txfm_add_flipadst_identity_##w##x##h##_c; \
257
31.6k
    c->itxfm_add[pfx##TX_##w##X##h][V_FLIPADST] = \
258
31.6k
        inv_txfm_add_identity_flipadst_##w##x##h##_c; \
259
31.6k
    c->itxfm_add[pfx##TX_##w##X##h][H_ADST] = \
260
31.6k
        inv_txfm_add_adst_identity_##w##x##h##_c; \
261
31.6k
    c->itxfm_add[pfx##TX_##w##X##h][V_ADST] = \
262
31.6k
        inv_txfm_add_identity_adst_##w##x##h##_c; \
263
31.6k
264
31.6k
#if !(HAVE_ASM && TRIM_DSP_FUNCTIONS && ( \
265
31.6k
  ARCH_AARCH64 || \
266
31.6k
  (ARCH_ARM && (defined(__ARM_NEON) || defined(__APPLE__) || defined(_WIN32))) \
267
31.6k
))
268
31.6k
    c->itxfm_add[TX_4X4][WHT_WHT] = inv_txfm_add_wht_wht_4x4_c;
269
31.6k
#endif
270
31.6k
    assign_itx_all_fn84( 4,  4, );
271
31.6k
    assign_itx_all_fn84( 4,  8, R);
272
31.6k
    assign_itx_all_fn84( 4, 16, R);
273
31.6k
    assign_itx_all_fn84( 8,  4, R);
274
31.6k
    assign_itx_all_fn84( 8,  8, );
275
31.6k
    assign_itx_all_fn84( 8, 16, R);
276
31.6k
    assign_itx_all_fn32( 8, 32, R);
277
31.6k
    assign_itx_all_fn84(16,  4, R);
278
31.6k
    assign_itx_all_fn84(16,  8, R);
279
31.6k
    assign_itx_all_fn16(16, 16, );
280
31.6k
    assign_itx_all_fn32(16, 32, R);
281
31.6k
    assign_itx_all_fn64(16, 64, R);
282
31.6k
    assign_itx_all_fn32(32,  8, R);
283
31.6k
    assign_itx_all_fn32(32, 16, R);
284
31.6k
    assign_itx_all_fn32(32, 32, );
285
31.6k
    assign_itx_all_fn64(32, 64, R);
286
31.6k
    assign_itx_all_fn64(64, 16, R);
287
31.6k
    assign_itx_all_fn64(64, 32, R);
288
31.6k
    assign_itx_all_fn64(64, 64, );
289
290
31.6k
    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
31.6k
    if (!all_simd)
310
31.6k
        dav1d_init_last_nonzero_col_from_eob_tables();
311
31.6k
}
dav1d_itx_dsp_init_16bpc
Line
Count
Source
220
35.6k
COLD void bitfn(dav1d_itx_dsp_init)(Dav1dInvTxfmDSPContext *const c, int bpc) {
221
35.6k
#define assign_itx_all_fn64(w, h, pfx) \
222
35.6k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_DCT  ] = \
223
35.6k
        inv_txfm_add_dct_dct_##w##x##h##_c
224
225
35.6k
#define assign_itx_all_fn32(w, h, pfx) \
226
35.6k
    assign_itx_all_fn64(w, h, pfx); \
227
35.6k
    c->itxfm_add[pfx##TX_##w##X##h][IDTX] = \
228
35.6k
        inv_txfm_add_identity_identity_##w##x##h##_c
229
230
35.6k
#define assign_itx_all_fn16(w, h, pfx) \
231
35.6k
    assign_itx_all_fn32(w, h, pfx); \
232
35.6k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_ADST ] = \
233
35.6k
        inv_txfm_add_adst_dct_##w##x##h##_c; \
234
35.6k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_DCT ] = \
235
35.6k
        inv_txfm_add_dct_adst_##w##x##h##_c; \
236
35.6k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_ADST] = \
237
35.6k
        inv_txfm_add_adst_adst_##w##x##h##_c; \
238
35.6k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_FLIPADST] = \
239
35.6k
        inv_txfm_add_flipadst_adst_##w##x##h##_c; \
240
35.6k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_ADST] = \
241
35.6k
        inv_txfm_add_adst_flipadst_##w##x##h##_c; \
242
35.6k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_FLIPADST] = \
243
35.6k
        inv_txfm_add_flipadst_dct_##w##x##h##_c; \
244
35.6k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_DCT] = \
245
35.6k
        inv_txfm_add_dct_flipadst_##w##x##h##_c; \
246
35.6k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_FLIPADST] = \
247
35.6k
        inv_txfm_add_flipadst_flipadst_##w##x##h##_c; \
248
35.6k
    c->itxfm_add[pfx##TX_##w##X##h][H_DCT] = \
249
35.6k
        inv_txfm_add_dct_identity_##w##x##h##_c; \
250
35.6k
    c->itxfm_add[pfx##TX_##w##X##h][V_DCT] = \
251
35.6k
        inv_txfm_add_identity_dct_##w##x##h##_c
252
253
35.6k
#define assign_itx_all_fn84(w, h, pfx) \
254
35.6k
    assign_itx_all_fn16(w, h, pfx); \
255
35.6k
    c->itxfm_add[pfx##TX_##w##X##h][H_FLIPADST] = \
256
35.6k
        inv_txfm_add_flipadst_identity_##w##x##h##_c; \
257
35.6k
    c->itxfm_add[pfx##TX_##w##X##h][V_FLIPADST] = \
258
35.6k
        inv_txfm_add_identity_flipadst_##w##x##h##_c; \
259
35.6k
    c->itxfm_add[pfx##TX_##w##X##h][H_ADST] = \
260
35.6k
        inv_txfm_add_adst_identity_##w##x##h##_c; \
261
35.6k
    c->itxfm_add[pfx##TX_##w##X##h][V_ADST] = \
262
35.6k
        inv_txfm_add_identity_adst_##w##x##h##_c; \
263
35.6k
264
35.6k
#if !(HAVE_ASM && TRIM_DSP_FUNCTIONS && ( \
265
35.6k
  ARCH_AARCH64 || \
266
35.6k
  (ARCH_ARM && (defined(__ARM_NEON) || defined(__APPLE__) || defined(_WIN32))) \
267
35.6k
))
268
35.6k
    c->itxfm_add[TX_4X4][WHT_WHT] = inv_txfm_add_wht_wht_4x4_c;
269
35.6k
#endif
270
35.6k
    assign_itx_all_fn84( 4,  4, );
271
35.6k
    assign_itx_all_fn84( 4,  8, R);
272
35.6k
    assign_itx_all_fn84( 4, 16, R);
273
35.6k
    assign_itx_all_fn84( 8,  4, R);
274
35.6k
    assign_itx_all_fn84( 8,  8, );
275
35.6k
    assign_itx_all_fn84( 8, 16, R);
276
35.6k
    assign_itx_all_fn32( 8, 32, R);
277
35.6k
    assign_itx_all_fn84(16,  4, R);
278
35.6k
    assign_itx_all_fn84(16,  8, R);
279
35.6k
    assign_itx_all_fn16(16, 16, );
280
35.6k
    assign_itx_all_fn32(16, 32, R);
281
35.6k
    assign_itx_all_fn64(16, 64, R);
282
35.6k
    assign_itx_all_fn32(32,  8, R);
283
35.6k
    assign_itx_all_fn32(32, 16, R);
284
35.6k
    assign_itx_all_fn32(32, 32, );
285
35.6k
    assign_itx_all_fn64(32, 64, R);
286
35.6k
    assign_itx_all_fn64(64, 16, R);
287
35.6k
    assign_itx_all_fn64(64, 32, R);
288
35.6k
    assign_itx_all_fn64(64, 64, );
289
290
35.6k
    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
35.6k
    if (!all_simd)
310
35.6k
        dav1d_init_last_nonzero_col_from_eob_tables();
311
35.6k
}