Coverage Report

Created: 2026-10-17 06:56

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
979k
{
48
979k
    const TxfmInfo *const t_dim = &dav1d_txfm_dimensions[tx];
49
979k
    const int w = 4 * t_dim->w, h = 4 * t_dim->h;
50
979k
    const int has_dconly = txtp == DCT_DCT;
51
979k
    assert(w >= 4 && w <= 64);
52
979k
    assert(h >= 4 && h <= 64);
53
979k
    assert(eob >= 0);
54
55
979k
    const int is_rect2 = w * 2 == h || h * 2 == w;
56
979k
    const int rnd = (1 << shift) >> 1;
57
58
979k
    if (eob < has_dconly) {
59
201k
        int dc = coeff[0];
60
201k
        coeff[0] = 0;
61
201k
        if (is_rect2)
62
48.5k
            dc = (dc * 181 + 128) >> 8;
63
201k
        dc = (dc * 181 + 128) >> 8;
64
201k
        dc = (dc + rnd) >> shift;
65
201k
        dc = (dc * 181 + 128 + 2048) >> 12;
66
6.14M
        for (int y = 0; y < h; y++, dst += PXSTRIDE(stride))
67
236M
            for (int x = 0; x < w; x++)
68
230M
                dst[x] = iclip_pixel(dst[x] + dc);
69
201k
        return;
70
201k
    }
71
72
778k
    const uint8_t *const txtps = dav1d_tx1d_types[txtp];
73
778k
    const itx_1d_fn first_1d_fn = dav1d_tx1d_fns[t_dim->lw][txtps[0]];
74
778k
    const itx_1d_fn second_1d_fn = dav1d_tx1d_fns[t_dim->lh][txtps[1]];
75
778k
    const int sh = imin(h, 32), sw = imin(w, 32);
76
778k
#if BITDEPTH == 8
77
778k
    const int row_clip_min = INT16_MIN;
78
778k
    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
778k
    const int row_clip_max = ~row_clip_min;
84
778k
    const int col_clip_max = ~col_clip_min;
85
86
778k
    int32_t tmp[64 * 64], *c = tmp;
87
778k
    int last_nonzero_col; // in first 1d itx
88
778k
    if (txtps[1] == IDENTITY && txtps[0] != IDENTITY) {
89
78.1k
        last_nonzero_col = imin(sh - 1, eob);
90
700k
    } else if (txtps[0] == IDENTITY && txtps[1] != IDENTITY) {
91
43.5k
        last_nonzero_col = eob >> (t_dim->lw + 2);
92
656k
    } else {
93
656k
        last_nonzero_col = dav1d_last_nonzero_col_from_eob[tx][eob];
94
656k
    }
95
778k
    assert(last_nonzero_col < sh);
96
4.38M
    for (int y = 0; y <= last_nonzero_col; y++, c += w) {
97
3.60M
        if (is_rect2)
98
17.8M
            for (int x = 0; x < sw; x++)
99
16.6M
                c[x] = (coeff[y + x * sh] * 181 + 128) >> 8;
100
2.39M
        else
101
39.1M
            for (int x = 0; x < sw; x++)
102
36.7M
                c[x] = coeff[y + x * sh];
103
3.60M
        first_1d_fn(c, 1, row_clip_min, row_clip_max);
104
3.60M
    }
105
778k
    if (last_nonzero_col + 1 < sh)
106
598k
        memset(c, 0, sizeof(*c) * (sh - last_nonzero_col - 1) * w);
107
108
778k
    memset(coeff, 0, sizeof(*coeff) * sw * sh);
109
187M
    for (int i = 0; i < w * sh; i++)
110
186M
        tmp[i] = iclip((tmp[i] + rnd) >> shift, col_clip_min, col_clip_max);
111
112
11.6M
    for (int x = 0; x < w; x++)
113
10.8M
        second_1d_fn(&tmp[x], w, col_clip_min, col_clip_max);
114
115
778k
    c = tmp;
116
11.3M
    for (int y = 0; y < h; y++, dst += PXSTRIDE(stride))
117
252M
        for (int x = 0; x < w; x++)
118
242M
            dst[x] = iclip_pixel(dst[x] + ((*c++ + 8) >> 4));
119
778k
}
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
979k
                                               HIGHBD_DECL_SUFFIX) \
128
979k
{ \
129
979k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
979k
                   HIGHBD_TAIL_SUFFIX); \
131
979k
}
itx_tmpl.c:inv_txfm_add_dct_dct_4x4_c
Line
Count
Source
127
22.1k
                                               HIGHBD_DECL_SUFFIX) \
128
22.1k
{ \
129
22.1k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
22.1k
                   HIGHBD_TAIL_SUFFIX); \
131
22.1k
}
itx_tmpl.c:inv_txfm_add_identity_identity_4x4_c
Line
Count
Source
127
10.1k
                                               HIGHBD_DECL_SUFFIX) \
128
10.1k
{ \
129
10.1k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
10.1k
                   HIGHBD_TAIL_SUFFIX); \
131
10.1k
}
itx_tmpl.c:inv_txfm_add_adst_dct_4x4_c
Line
Count
Source
127
12.3k
                                               HIGHBD_DECL_SUFFIX) \
128
12.3k
{ \
129
12.3k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
12.3k
                   HIGHBD_TAIL_SUFFIX); \
131
12.3k
}
itx_tmpl.c:inv_txfm_add_dct_adst_4x4_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_4x4_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_4x4_c
Line
Count
Source
127
2.23k
                                               HIGHBD_DECL_SUFFIX) \
128
2.23k
{ \
129
2.23k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.23k
                   HIGHBD_TAIL_SUFFIX); \
131
2.23k
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_4x4_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_flipadst_dct_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_dct_flipadst_4x4_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_flipadst_flipadst_4x4_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_dct_identity_4x4_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_identity_dct_4x4_c
Line
Count
Source
127
3.36k
                                               HIGHBD_DECL_SUFFIX) \
128
3.36k
{ \
129
3.36k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.36k
                   HIGHBD_TAIL_SUFFIX); \
131
3.36k
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_4x4_c
Line
Count
Source
127
3.72k
                                               HIGHBD_DECL_SUFFIX) \
128
3.72k
{ \
129
3.72k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.72k
                   HIGHBD_TAIL_SUFFIX); \
131
3.72k
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_4x4_c
Line
Count
Source
127
2.12k
                                               HIGHBD_DECL_SUFFIX) \
128
2.12k
{ \
129
2.12k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.12k
                   HIGHBD_TAIL_SUFFIX); \
131
2.12k
}
itx_tmpl.c:inv_txfm_add_adst_identity_4x4_c
Line
Count
Source
127
4.25k
                                               HIGHBD_DECL_SUFFIX) \
128
4.25k
{ \
129
4.25k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.25k
                   HIGHBD_TAIL_SUFFIX); \
131
4.25k
}
itx_tmpl.c:inv_txfm_add_identity_adst_4x4_c
Line
Count
Source
127
2.45k
                                               HIGHBD_DECL_SUFFIX) \
128
2.45k
{ \
129
2.45k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.45k
                   HIGHBD_TAIL_SUFFIX); \
131
2.45k
}
itx_tmpl.c:inv_txfm_add_dct_dct_4x8_c
Line
Count
Source
127
9.44k
                                               HIGHBD_DECL_SUFFIX) \
128
9.44k
{ \
129
9.44k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
9.44k
                   HIGHBD_TAIL_SUFFIX); \
131
9.44k
}
itx_tmpl.c:inv_txfm_add_identity_identity_4x8_c
Line
Count
Source
127
5.23k
                                               HIGHBD_DECL_SUFFIX) \
128
5.23k
{ \
129
5.23k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.23k
                   HIGHBD_TAIL_SUFFIX); \
131
5.23k
}
itx_tmpl.c:inv_txfm_add_adst_dct_4x8_c
Line
Count
Source
127
5.81k
                                               HIGHBD_DECL_SUFFIX) \
128
5.81k
{ \
129
5.81k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.81k
                   HIGHBD_TAIL_SUFFIX); \
131
5.81k
}
itx_tmpl.c:inv_txfm_add_dct_adst_4x8_c
Line
Count
Source
127
4.89k
                                               HIGHBD_DECL_SUFFIX) \
128
4.89k
{ \
129
4.89k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.89k
                   HIGHBD_TAIL_SUFFIX); \
131
4.89k
}
itx_tmpl.c:inv_txfm_add_adst_adst_4x8_c
Line
Count
Source
127
6.70k
                                               HIGHBD_DECL_SUFFIX) \
128
6.70k
{ \
129
6.70k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
6.70k
                   HIGHBD_TAIL_SUFFIX); \
131
6.70k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_4x8_c
Line
Count
Source
127
1.65k
                                               HIGHBD_DECL_SUFFIX) \
128
1.65k
{ \
129
1.65k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.65k
                   HIGHBD_TAIL_SUFFIX); \
131
1.65k
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_4x8_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_flipadst_dct_4x8_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_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_flipadst_flipadst_4x8_c
Line
Count
Source
127
1.41k
                                               HIGHBD_DECL_SUFFIX) \
128
1.41k
{ \
129
1.41k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.41k
                   HIGHBD_TAIL_SUFFIX); \
131
1.41k
}
itx_tmpl.c:inv_txfm_add_dct_identity_4x8_c
Line
Count
Source
127
3.46k
                                               HIGHBD_DECL_SUFFIX) \
128
3.46k
{ \
129
3.46k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.46k
                   HIGHBD_TAIL_SUFFIX); \
131
3.46k
}
itx_tmpl.c:inv_txfm_add_identity_dct_4x8_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_flipadst_identity_4x8_c
Line
Count
Source
127
2.27k
                                               HIGHBD_DECL_SUFFIX) \
128
2.27k
{ \
129
2.27k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.27k
                   HIGHBD_TAIL_SUFFIX); \
131
2.27k
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_4x8_c
Line
Count
Source
127
1.95k
                                               HIGHBD_DECL_SUFFIX) \
128
1.95k
{ \
129
1.95k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.95k
                   HIGHBD_TAIL_SUFFIX); \
131
1.95k
}
itx_tmpl.c:inv_txfm_add_adst_identity_4x8_c
Line
Count
Source
127
2.70k
                                               HIGHBD_DECL_SUFFIX) \
128
2.70k
{ \
129
2.70k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.70k
                   HIGHBD_TAIL_SUFFIX); \
131
2.70k
}
itx_tmpl.c:inv_txfm_add_identity_adst_4x8_c
Line
Count
Source
127
1.75k
                                               HIGHBD_DECL_SUFFIX) \
128
1.75k
{ \
129
1.75k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.75k
                   HIGHBD_TAIL_SUFFIX); \
131
1.75k
}
itx_tmpl.c:inv_txfm_add_dct_dct_4x16_c
Line
Count
Source
127
4.64k
                                               HIGHBD_DECL_SUFFIX) \
128
4.64k
{ \
129
4.64k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.64k
                   HIGHBD_TAIL_SUFFIX); \
131
4.64k
}
itx_tmpl.c:inv_txfm_add_identity_identity_4x16_c
Line
Count
Source
127
2.42k
                                               HIGHBD_DECL_SUFFIX) \
128
2.42k
{ \
129
2.42k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.42k
                   HIGHBD_TAIL_SUFFIX); \
131
2.42k
}
itx_tmpl.c:inv_txfm_add_adst_dct_4x16_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_dct_adst_4x16_c
Line
Count
Source
127
2.66k
                                               HIGHBD_DECL_SUFFIX) \
128
2.66k
{ \
129
2.66k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.66k
                   HIGHBD_TAIL_SUFFIX); \
131
2.66k
}
itx_tmpl.c:inv_txfm_add_adst_adst_4x16_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_flipadst_adst_4x16_c
Line
Count
Source
127
568
                                               HIGHBD_DECL_SUFFIX) \
128
568
{ \
129
568
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
568
                   HIGHBD_TAIL_SUFFIX); \
131
568
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_4x16_c
Line
Count
Source
127
980
                                               HIGHBD_DECL_SUFFIX) \
128
980
{ \
129
980
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
980
                   HIGHBD_TAIL_SUFFIX); \
131
980
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_4x16_c
Line
Count
Source
127
710
                                               HIGHBD_DECL_SUFFIX) \
128
710
{ \
129
710
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
710
                   HIGHBD_TAIL_SUFFIX); \
131
710
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_4x16_c
Line
Count
Source
127
473
                                               HIGHBD_DECL_SUFFIX) \
128
473
{ \
129
473
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
473
                   HIGHBD_TAIL_SUFFIX); \
131
473
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_4x16_c
Line
Count
Source
127
472
                                               HIGHBD_DECL_SUFFIX) \
128
472
{ \
129
472
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
472
                   HIGHBD_TAIL_SUFFIX); \
131
472
}
itx_tmpl.c:inv_txfm_add_dct_identity_4x16_c
Line
Count
Source
127
1.82k
                                               HIGHBD_DECL_SUFFIX) \
128
1.82k
{ \
129
1.82k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.82k
                   HIGHBD_TAIL_SUFFIX); \
131
1.82k
}
itx_tmpl.c:inv_txfm_add_identity_dct_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_identity_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_identity_flipadst_4x16_c
Line
Count
Source
127
647
                                               HIGHBD_DECL_SUFFIX) \
128
647
{ \
129
647
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
647
                   HIGHBD_TAIL_SUFFIX); \
131
647
}
itx_tmpl.c:inv_txfm_add_adst_identity_4x16_c
Line
Count
Source
127
1.31k
                                               HIGHBD_DECL_SUFFIX) \
128
1.31k
{ \
129
1.31k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.31k
                   HIGHBD_TAIL_SUFFIX); \
131
1.31k
}
itx_tmpl.c:inv_txfm_add_identity_adst_4x16_c
Line
Count
Source
127
768
                                               HIGHBD_DECL_SUFFIX) \
128
768
{ \
129
768
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
768
                   HIGHBD_TAIL_SUFFIX); \
131
768
}
itx_tmpl.c:inv_txfm_add_dct_dct_8x4_c
Line
Count
Source
127
12.9k
                                               HIGHBD_DECL_SUFFIX) \
128
12.9k
{ \
129
12.9k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
12.9k
                   HIGHBD_TAIL_SUFFIX); \
131
12.9k
}
itx_tmpl.c:inv_txfm_add_identity_identity_8x4_c
Line
Count
Source
127
6.16k
                                               HIGHBD_DECL_SUFFIX) \
128
6.16k
{ \
129
6.16k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
6.16k
                   HIGHBD_TAIL_SUFFIX); \
131
6.16k
}
itx_tmpl.c:inv_txfm_add_adst_dct_8x4_c
Line
Count
Source
127
8.25k
                                               HIGHBD_DECL_SUFFIX) \
128
8.25k
{ \
129
8.25k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
8.25k
                   HIGHBD_TAIL_SUFFIX); \
131
8.25k
}
itx_tmpl.c:inv_txfm_add_dct_adst_8x4_c
Line
Count
Source
127
6.53k
                                               HIGHBD_DECL_SUFFIX) \
128
6.53k
{ \
129
6.53k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
6.53k
                   HIGHBD_TAIL_SUFFIX); \
131
6.53k
}
itx_tmpl.c:inv_txfm_add_adst_adst_8x4_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_flipadst_adst_8x4_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_flipadst_8x4_c
Line
Count
Source
127
2.09k
                                               HIGHBD_DECL_SUFFIX) \
128
2.09k
{ \
129
2.09k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.09k
                   HIGHBD_TAIL_SUFFIX); \
131
2.09k
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_8x4_c
Line
Count
Source
127
1.73k
                                               HIGHBD_DECL_SUFFIX) \
128
1.73k
{ \
129
1.73k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.73k
                   HIGHBD_TAIL_SUFFIX); \
131
1.73k
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_8x4_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_flipadst_flipadst_8x4_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_dct_identity_8x4_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_8x4_c
Line
Count
Source
127
2.45k
                                               HIGHBD_DECL_SUFFIX) \
128
2.45k
{ \
129
2.45k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.45k
                   HIGHBD_TAIL_SUFFIX); \
131
2.45k
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_8x4_c
Line
Count
Source
127
2.54k
                                               HIGHBD_DECL_SUFFIX) \
128
2.54k
{ \
129
2.54k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.54k
                   HIGHBD_TAIL_SUFFIX); \
131
2.54k
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_8x4_c
Line
Count
Source
127
1.83k
                                               HIGHBD_DECL_SUFFIX) \
128
1.83k
{ \
129
1.83k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.83k
                   HIGHBD_TAIL_SUFFIX); \
131
1.83k
}
itx_tmpl.c:inv_txfm_add_adst_identity_8x4_c
Line
Count
Source
127
3.22k
                                               HIGHBD_DECL_SUFFIX) \
128
3.22k
{ \
129
3.22k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.22k
                   HIGHBD_TAIL_SUFFIX); \
131
3.22k
}
itx_tmpl.c:inv_txfm_add_identity_adst_8x4_c
Line
Count
Source
127
2.21k
                                               HIGHBD_DECL_SUFFIX) \
128
2.21k
{ \
129
2.21k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.21k
                   HIGHBD_TAIL_SUFFIX); \
131
2.21k
}
itx_tmpl.c:inv_txfm_add_dct_dct_8x8_c
Line
Count
Source
127
40.7k
                                               HIGHBD_DECL_SUFFIX) \
128
40.7k
{ \
129
40.7k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
40.7k
                   HIGHBD_TAIL_SUFFIX); \
131
40.7k
}
itx_tmpl.c:inv_txfm_add_identity_identity_8x8_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_adst_dct_8x8_c
Line
Count
Source
127
22.5k
                                               HIGHBD_DECL_SUFFIX) \
128
22.5k
{ \
129
22.5k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
22.5k
                   HIGHBD_TAIL_SUFFIX); \
131
22.5k
}
itx_tmpl.c:inv_txfm_add_dct_adst_8x8_c
Line
Count
Source
127
18.4k
                                               HIGHBD_DECL_SUFFIX) \
128
18.4k
{ \
129
18.4k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
18.4k
                   HIGHBD_TAIL_SUFFIX); \
131
18.4k
}
itx_tmpl.c:inv_txfm_add_adst_adst_8x8_c
Line
Count
Source
127
21.1k
                                               HIGHBD_DECL_SUFFIX) \
128
21.1k
{ \
129
21.1k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
21.1k
                   HIGHBD_TAIL_SUFFIX); \
131
21.1k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_8x8_c
Line
Count
Source
127
4.09k
                                               HIGHBD_DECL_SUFFIX) \
128
4.09k
{ \
129
4.09k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.09k
                   HIGHBD_TAIL_SUFFIX); \
131
4.09k
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_8x8_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_dct_8x8_c
Line
Count
Source
127
4.62k
                                               HIGHBD_DECL_SUFFIX) \
128
4.62k
{ \
129
4.62k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.62k
                   HIGHBD_TAIL_SUFFIX); \
131
4.62k
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_8x8_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_flipadst_flipadst_8x8_c
Line
Count
Source
127
3.66k
                                               HIGHBD_DECL_SUFFIX) \
128
3.66k
{ \
129
3.66k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.66k
                   HIGHBD_TAIL_SUFFIX); \
131
3.66k
}
itx_tmpl.c:inv_txfm_add_dct_identity_8x8_c
Line
Count
Source
127
9.02k
                                               HIGHBD_DECL_SUFFIX) \
128
9.02k
{ \
129
9.02k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
9.02k
                   HIGHBD_TAIL_SUFFIX); \
131
9.02k
}
itx_tmpl.c:inv_txfm_add_identity_dct_8x8_c
Line
Count
Source
127
3.70k
                                               HIGHBD_DECL_SUFFIX) \
128
3.70k
{ \
129
3.70k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.70k
                   HIGHBD_TAIL_SUFFIX); \
131
3.70k
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_8x8_c
Line
Count
Source
127
4.66k
                                               HIGHBD_DECL_SUFFIX) \
128
4.66k
{ \
129
4.66k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.66k
                   HIGHBD_TAIL_SUFFIX); \
131
4.66k
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_8x8_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_adst_identity_8x8_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_identity_adst_8x8_c
Line
Count
Source
127
1.99k
                                               HIGHBD_DECL_SUFFIX) \
128
1.99k
{ \
129
1.99k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.99k
                   HIGHBD_TAIL_SUFFIX); \
131
1.99k
}
itx_tmpl.c:inv_txfm_add_dct_dct_8x16_c
Line
Count
Source
127
12.3k
                                               HIGHBD_DECL_SUFFIX) \
128
12.3k
{ \
129
12.3k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
12.3k
                   HIGHBD_TAIL_SUFFIX); \
131
12.3k
}
itx_tmpl.c:inv_txfm_add_identity_identity_8x16_c
Line
Count
Source
127
2.68k
                                               HIGHBD_DECL_SUFFIX) \
128
2.68k
{ \
129
2.68k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.68k
                   HIGHBD_TAIL_SUFFIX); \
131
2.68k
}
itx_tmpl.c:inv_txfm_add_adst_dct_8x16_c
Line
Count
Source
127
6.92k
                                               HIGHBD_DECL_SUFFIX) \
128
6.92k
{ \
129
6.92k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
6.92k
                   HIGHBD_TAIL_SUFFIX); \
131
6.92k
}
itx_tmpl.c:inv_txfm_add_dct_adst_8x16_c
Line
Count
Source
127
5.53k
                                               HIGHBD_DECL_SUFFIX) \
128
5.53k
{ \
129
5.53k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.53k
                   HIGHBD_TAIL_SUFFIX); \
131
5.53k
}
itx_tmpl.c:inv_txfm_add_adst_adst_8x16_c
Line
Count
Source
127
6.11k
                                               HIGHBD_DECL_SUFFIX) \
128
6.11k
{ \
129
6.11k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
6.11k
                   HIGHBD_TAIL_SUFFIX); \
131
6.11k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_8x16_c
Line
Count
Source
127
1.41k
                                               HIGHBD_DECL_SUFFIX) \
128
1.41k
{ \
129
1.41k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.41k
                   HIGHBD_TAIL_SUFFIX); \
131
1.41k
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_8x16_c
Line
Count
Source
127
1.55k
                                               HIGHBD_DECL_SUFFIX) \
128
1.55k
{ \
129
1.55k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.55k
                   HIGHBD_TAIL_SUFFIX); \
131
1.55k
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_8x16_c
Line
Count
Source
127
1.67k
                                               HIGHBD_DECL_SUFFIX) \
128
1.67k
{ \
129
1.67k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.67k
                   HIGHBD_TAIL_SUFFIX); \
131
1.67k
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_8x16_c
Line
Count
Source
127
1.73k
                                               HIGHBD_DECL_SUFFIX) \
128
1.73k
{ \
129
1.73k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.73k
                   HIGHBD_TAIL_SUFFIX); \
131
1.73k
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_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_dct_identity_8x16_c
Line
Count
Source
127
2.73k
                                               HIGHBD_DECL_SUFFIX) \
128
2.73k
{ \
129
2.73k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.73k
                   HIGHBD_TAIL_SUFFIX); \
131
2.73k
}
itx_tmpl.c:inv_txfm_add_identity_dct_8x16_c
Line
Count
Source
127
1.27k
                                               HIGHBD_DECL_SUFFIX) \
128
1.27k
{ \
129
1.27k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.27k
                   HIGHBD_TAIL_SUFFIX); \
131
1.27k
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_8x16_c
Line
Count
Source
127
1.58k
                                               HIGHBD_DECL_SUFFIX) \
128
1.58k
{ \
129
1.58k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.58k
                   HIGHBD_TAIL_SUFFIX); \
131
1.58k
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_8x16_c
Line
Count
Source
127
1.01k
                                               HIGHBD_DECL_SUFFIX) \
128
1.01k
{ \
129
1.01k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.01k
                   HIGHBD_TAIL_SUFFIX); \
131
1.01k
}
itx_tmpl.c:inv_txfm_add_adst_identity_8x16_c
Line
Count
Source
127
2.65k
                                               HIGHBD_DECL_SUFFIX) \
128
2.65k
{ \
129
2.65k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.65k
                   HIGHBD_TAIL_SUFFIX); \
131
2.65k
}
itx_tmpl.c:inv_txfm_add_identity_adst_8x16_c
Line
Count
Source
127
664
                                               HIGHBD_DECL_SUFFIX) \
128
664
{ \
129
664
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
664
                   HIGHBD_TAIL_SUFFIX); \
131
664
}
itx_tmpl.c:inv_txfm_add_dct_dct_8x32_c
Line
Count
Source
127
12.2k
                                               HIGHBD_DECL_SUFFIX) \
128
12.2k
{ \
129
12.2k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
12.2k
                   HIGHBD_TAIL_SUFFIX); \
131
12.2k
}
itx_tmpl.c:inv_txfm_add_identity_identity_8x32_c
Line
Count
Source
127
880
                                               HIGHBD_DECL_SUFFIX) \
128
880
{ \
129
880
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
880
                   HIGHBD_TAIL_SUFFIX); \
131
880
}
itx_tmpl.c:inv_txfm_add_dct_dct_16x4_c
Line
Count
Source
127
8.49k
                                               HIGHBD_DECL_SUFFIX) \
128
8.49k
{ \
129
8.49k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
8.49k
                   HIGHBD_TAIL_SUFFIX); \
131
8.49k
}
itx_tmpl.c:inv_txfm_add_identity_identity_16x4_c
Line
Count
Source
127
4.70k
                                               HIGHBD_DECL_SUFFIX) \
128
4.70k
{ \
129
4.70k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.70k
                   HIGHBD_TAIL_SUFFIX); \
131
4.70k
}
itx_tmpl.c:inv_txfm_add_adst_dct_16x4_c
Line
Count
Source
127
5.75k
                                               HIGHBD_DECL_SUFFIX) \
128
5.75k
{ \
129
5.75k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.75k
                   HIGHBD_TAIL_SUFFIX); \
131
5.75k
}
itx_tmpl.c:inv_txfm_add_dct_adst_16x4_c
Line
Count
Source
127
4.91k
                                               HIGHBD_DECL_SUFFIX) \
128
4.91k
{ \
129
4.91k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.91k
                   HIGHBD_TAIL_SUFFIX); \
131
4.91k
}
itx_tmpl.c:inv_txfm_add_adst_adst_16x4_c
Line
Count
Source
127
7.36k
                                               HIGHBD_DECL_SUFFIX) \
128
7.36k
{ \
129
7.36k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
7.36k
                   HIGHBD_TAIL_SUFFIX); \
131
7.36k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_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_adst_flipadst_16x4_c
Line
Count
Source
127
1.51k
                                               HIGHBD_DECL_SUFFIX) \
128
1.51k
{ \
129
1.51k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.51k
                   HIGHBD_TAIL_SUFFIX); \
131
1.51k
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_16x4_c
Line
Count
Source
127
1.21k
                                               HIGHBD_DECL_SUFFIX) \
128
1.21k
{ \
129
1.21k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.21k
                   HIGHBD_TAIL_SUFFIX); \
131
1.21k
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_16x4_c
Line
Count
Source
127
974
                                               HIGHBD_DECL_SUFFIX) \
128
974
{ \
129
974
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
974
                   HIGHBD_TAIL_SUFFIX); \
131
974
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_16x4_c
Line
Count
Source
127
737
                                               HIGHBD_DECL_SUFFIX) \
128
737
{ \
129
737
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
737
                   HIGHBD_TAIL_SUFFIX); \
131
737
}
itx_tmpl.c:inv_txfm_add_dct_identity_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_identity_dct_16x4_c
Line
Count
Source
127
1.67k
                                               HIGHBD_DECL_SUFFIX) \
128
1.67k
{ \
129
1.67k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.67k
                   HIGHBD_TAIL_SUFFIX); \
131
1.67k
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_16x4_c
Line
Count
Source
127
1.60k
                                               HIGHBD_DECL_SUFFIX) \
128
1.60k
{ \
129
1.60k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.60k
                   HIGHBD_TAIL_SUFFIX); \
131
1.60k
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_16x4_c
Line
Count
Source
127
1.17k
                                               HIGHBD_DECL_SUFFIX) \
128
1.17k
{ \
129
1.17k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.17k
                   HIGHBD_TAIL_SUFFIX); \
131
1.17k
}
itx_tmpl.c:inv_txfm_add_adst_identity_16x4_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_adst_16x4_c
Line
Count
Source
127
1.12k
                                               HIGHBD_DECL_SUFFIX) \
128
1.12k
{ \
129
1.12k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.12k
                   HIGHBD_TAIL_SUFFIX); \
131
1.12k
}
itx_tmpl.c:inv_txfm_add_dct_dct_16x8_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_identity_16x8_c
Line
Count
Source
127
4.02k
                                               HIGHBD_DECL_SUFFIX) \
128
4.02k
{ \
129
4.02k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.02k
                   HIGHBD_TAIL_SUFFIX); \
131
4.02k
}
itx_tmpl.c:inv_txfm_add_adst_dct_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_dct_adst_16x8_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_16x8_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_16x8_c
Line
Count
Source
127
2.03k
                                               HIGHBD_DECL_SUFFIX) \
128
2.03k
{ \
129
2.03k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.03k
                   HIGHBD_TAIL_SUFFIX); \
131
2.03k
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_16x8_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_dct_16x8_c
Line
Count
Source
127
2.41k
                                               HIGHBD_DECL_SUFFIX) \
128
2.41k
{ \
129
2.41k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.41k
                   HIGHBD_TAIL_SUFFIX); \
131
2.41k
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_16x8_c
Line
Count
Source
127
2.22k
                                               HIGHBD_DECL_SUFFIX) \
128
2.22k
{ \
129
2.22k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.22k
                   HIGHBD_TAIL_SUFFIX); \
131
2.22k
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_16x8_c
Line
Count
Source
127
1.89k
                                               HIGHBD_DECL_SUFFIX) \
128
1.89k
{ \
129
1.89k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.89k
                   HIGHBD_TAIL_SUFFIX); \
131
1.89k
}
itx_tmpl.c:inv_txfm_add_dct_identity_16x8_c
Line
Count
Source
127
3.91k
                                               HIGHBD_DECL_SUFFIX) \
128
3.91k
{ \
129
3.91k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.91k
                   HIGHBD_TAIL_SUFFIX); \
131
3.91k
}
itx_tmpl.c:inv_txfm_add_identity_dct_16x8_c
Line
Count
Source
127
1.91k
                                               HIGHBD_DECL_SUFFIX) \
128
1.91k
{ \
129
1.91k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.91k
                   HIGHBD_TAIL_SUFFIX); \
131
1.91k
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_16x8_c
Line
Count
Source
127
2.01k
                                               HIGHBD_DECL_SUFFIX) \
128
2.01k
{ \
129
2.01k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.01k
                   HIGHBD_TAIL_SUFFIX); \
131
2.01k
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_16x8_c
Line
Count
Source
127
1.45k
                                               HIGHBD_DECL_SUFFIX) \
128
1.45k
{ \
129
1.45k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.45k
                   HIGHBD_TAIL_SUFFIX); \
131
1.45k
}
itx_tmpl.c:inv_txfm_add_adst_identity_16x8_c
Line
Count
Source
127
2.58k
                                               HIGHBD_DECL_SUFFIX) \
128
2.58k
{ \
129
2.58k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.58k
                   HIGHBD_TAIL_SUFFIX); \
131
2.58k
}
itx_tmpl.c:inv_txfm_add_identity_adst_16x8_c
Line
Count
Source
127
971
                                               HIGHBD_DECL_SUFFIX) \
128
971
{ \
129
971
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
971
                   HIGHBD_TAIL_SUFFIX); \
131
971
}
itx_tmpl.c:inv_txfm_add_dct_dct_16x16_c
Line
Count
Source
127
32.5k
                                               HIGHBD_DECL_SUFFIX) \
128
32.5k
{ \
129
32.5k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
32.5k
                   HIGHBD_TAIL_SUFFIX); \
131
32.5k
}
itx_tmpl.c:inv_txfm_add_identity_identity_16x16_c
Line
Count
Source
127
3.91k
                                               HIGHBD_DECL_SUFFIX) \
128
3.91k
{ \
129
3.91k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.91k
                   HIGHBD_TAIL_SUFFIX); \
131
3.91k
}
itx_tmpl.c:inv_txfm_add_adst_dct_16x16_c
Line
Count
Source
127
24.1k
                                               HIGHBD_DECL_SUFFIX) \
128
24.1k
{ \
129
24.1k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
24.1k
                   HIGHBD_TAIL_SUFFIX); \
131
24.1k
}
itx_tmpl.c:inv_txfm_add_dct_adst_16x16_c
Line
Count
Source
127
19.2k
                                               HIGHBD_DECL_SUFFIX) \
128
19.2k
{ \
129
19.2k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
19.2k
                   HIGHBD_TAIL_SUFFIX); \
131
19.2k
}
itx_tmpl.c:inv_txfm_add_adst_adst_16x16_c
Line
Count
Source
127
22.7k
                                               HIGHBD_DECL_SUFFIX) \
128
22.7k
{ \
129
22.7k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
22.7k
                   HIGHBD_TAIL_SUFFIX); \
131
22.7k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_16x16_c
Line
Count
Source
127
1.60k
                                               HIGHBD_DECL_SUFFIX) \
128
1.60k
{ \
129
1.60k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.60k
                   HIGHBD_TAIL_SUFFIX); \
131
1.60k
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_16x16_c
Line
Count
Source
127
2.69k
                                               HIGHBD_DECL_SUFFIX) \
128
2.69k
{ \
129
2.69k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.69k
                   HIGHBD_TAIL_SUFFIX); \
131
2.69k
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_16x16_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_dct_flipadst_16x16_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_flipadst_16x16_c
Line
Count
Source
127
1.56k
                                               HIGHBD_DECL_SUFFIX) \
128
1.56k
{ \
129
1.56k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.56k
                   HIGHBD_TAIL_SUFFIX); \
131
1.56k
}
itx_tmpl.c:inv_txfm_add_dct_identity_16x16_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_dct_16x16_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_16x32_c
Line
Count
Source
127
21.6k
                                               HIGHBD_DECL_SUFFIX) \
128
21.6k
{ \
129
21.6k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
21.6k
                   HIGHBD_TAIL_SUFFIX); \
131
21.6k
}
itx_tmpl.c:inv_txfm_add_identity_identity_16x32_c
Line
Count
Source
127
590
                                               HIGHBD_DECL_SUFFIX) \
128
590
{ \
129
590
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
590
                   HIGHBD_TAIL_SUFFIX); \
131
590
}
itx_tmpl.c:inv_txfm_add_dct_dct_16x64_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_dct_dct_32x8_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_identity_identity_32x8_c
Line
Count
Source
127
1.44k
                                               HIGHBD_DECL_SUFFIX) \
128
1.44k
{ \
129
1.44k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.44k
                   HIGHBD_TAIL_SUFFIX); \
131
1.44k
}
itx_tmpl.c:inv_txfm_add_dct_dct_32x16_c
Line
Count
Source
127
23.7k
                                               HIGHBD_DECL_SUFFIX) \
128
23.7k
{ \
129
23.7k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
23.7k
                   HIGHBD_TAIL_SUFFIX); \
131
23.7k
}
itx_tmpl.c:inv_txfm_add_identity_identity_32x16_c
Line
Count
Source
127
580
                                               HIGHBD_DECL_SUFFIX) \
128
580
{ \
129
580
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
580
                   HIGHBD_TAIL_SUFFIX); \
131
580
}
itx_tmpl.c:inv_txfm_add_dct_dct_32x32_c
Line
Count
Source
127
115k
                                               HIGHBD_DECL_SUFFIX) \
128
115k
{ \
129
115k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
115k
                   HIGHBD_TAIL_SUFFIX); \
131
115k
}
itx_tmpl.c:inv_txfm_add_identity_identity_32x32_c
Line
Count
Source
127
396
                                               HIGHBD_DECL_SUFFIX) \
128
396
{ \
129
396
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
396
                   HIGHBD_TAIL_SUFFIX); \
131
396
}
itx_tmpl.c:inv_txfm_add_dct_dct_32x64_c
Line
Count
Source
127
17.5k
                                               HIGHBD_DECL_SUFFIX) \
128
17.5k
{ \
129
17.5k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
17.5k
                   HIGHBD_TAIL_SUFFIX); \
131
17.5k
}
itx_tmpl.c:inv_txfm_add_dct_dct_64x16_c
Line
Count
Source
127
2.96k
                                               HIGHBD_DECL_SUFFIX) \
128
2.96k
{ \
129
2.96k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.96k
                   HIGHBD_TAIL_SUFFIX); \
131
2.96k
}
itx_tmpl.c:inv_txfm_add_dct_dct_64x32_c
Line
Count
Source
127
7.73k
                                               HIGHBD_DECL_SUFFIX) \
128
7.73k
{ \
129
7.73k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
7.73k
                   HIGHBD_TAIL_SUFFIX); \
131
7.73k
}
itx_tmpl.c:inv_txfm_add_dct_dct_64x64_c
Line
Count
Source
127
47.9k
                                               HIGHBD_DECL_SUFFIX) \
128
47.9k
{ \
129
47.9k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
47.9k
                   HIGHBD_TAIL_SUFFIX); \
131
47.9k
}
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
191k
{
188
191k
    int32_t tmp[4 * 4], *c = tmp;
189
956k
    for (int y = 0; y < 4; y++, c += 4) {
190
3.82M
        for (int x = 0; x < 4; x++)
191
3.06M
            c[x] = coeff[y + x * 4] >> 2;
192
765k
        dav1d_inv_wht4_1d_c(c, 1);
193
765k
    }
194
191k
    memset(coeff, 0, sizeof(*coeff) * 4 * 4);
195
196
956k
    for (int x = 0; x < 4; x++)
197
765k
        dav1d_inv_wht4_1d_c(&tmp[x], 4);
198
199
191k
    c = tmp;
200
956k
    for (int y = 0; y < 4; y++, dst += PXSTRIDE(stride))
201
3.82M
        for (int x = 0; x < 4; x++)
202
3.06M
            dst[x] = iclip_pixel(dst[x] + *c++);
203
191k
}
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
24.6k
COLD void bitfn(dav1d_itx_dsp_init)(Dav1dInvTxfmDSPContext *const c, int bpc) {
221
24.6k
#define assign_itx_all_fn64(w, h, pfx) \
222
469k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_DCT  ] = \
223
469k
        inv_txfm_add_dct_dct_##w##x##h##_c
224
225
24.6k
#define assign_itx_all_fn32(w, h, pfx) \
226
345k
    assign_itx_all_fn64(w, h, pfx); \
227
345k
    c->itxfm_add[pfx##TX_##w##X##h][IDTX] = \
228
345k
        inv_txfm_add_identity_identity_##w##x##h##_c
229
230
24.6k
#define assign_itx_all_fn16(w, h, pfx) \
231
222k
    assign_itx_all_fn32(w, h, pfx); \
232
222k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_ADST ] = \
233
222k
        inv_txfm_add_adst_dct_##w##x##h##_c; \
234
222k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_DCT ] = \
235
222k
        inv_txfm_add_dct_adst_##w##x##h##_c; \
236
222k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_ADST] = \
237
222k
        inv_txfm_add_adst_adst_##w##x##h##_c; \
238
222k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_FLIPADST] = \
239
222k
        inv_txfm_add_flipadst_adst_##w##x##h##_c; \
240
222k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_ADST] = \
241
222k
        inv_txfm_add_adst_flipadst_##w##x##h##_c; \
242
222k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_FLIPADST] = \
243
222k
        inv_txfm_add_flipadst_dct_##w##x##h##_c; \
244
222k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_DCT] = \
245
222k
        inv_txfm_add_dct_flipadst_##w##x##h##_c; \
246
222k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_FLIPADST] = \
247
222k
        inv_txfm_add_flipadst_flipadst_##w##x##h##_c; \
248
222k
    c->itxfm_add[pfx##TX_##w##X##h][H_DCT] = \
249
222k
        inv_txfm_add_dct_identity_##w##x##h##_c; \
250
222k
    c->itxfm_add[pfx##TX_##w##X##h][V_DCT] = \
251
222k
        inv_txfm_add_identity_dct_##w##x##h##_c
252
253
24.6k
#define assign_itx_all_fn84(w, h, pfx) \
254
197k
    assign_itx_all_fn16(w, h, pfx); \
255
197k
    c->itxfm_add[pfx##TX_##w##X##h][H_FLIPADST] = \
256
197k
        inv_txfm_add_flipadst_identity_##w##x##h##_c; \
257
197k
    c->itxfm_add[pfx##TX_##w##X##h][V_FLIPADST] = \
258
197k
        inv_txfm_add_identity_flipadst_##w##x##h##_c; \
259
197k
    c->itxfm_add[pfx##TX_##w##X##h][H_ADST] = \
260
197k
        inv_txfm_add_adst_identity_##w##x##h##_c; \
261
197k
    c->itxfm_add[pfx##TX_##w##X##h][V_ADST] = \
262
197k
        inv_txfm_add_identity_adst_##w##x##h##_c; \
263
24.6k
264
24.6k
#if !(HAVE_ASM && TRIM_DSP_FUNCTIONS && ( \
265
24.6k
  ARCH_AARCH64 || \
266
24.6k
  (ARCH_ARM && (defined(__ARM_NEON) || defined(__APPLE__) || defined(_WIN32))) \
267
24.6k
))
268
24.6k
    c->itxfm_add[TX_4X4][WHT_WHT] = inv_txfm_add_wht_wht_4x4_c;
269
24.6k
#endif
270
24.6k
    assign_itx_all_fn84( 4,  4, );
271
24.6k
    assign_itx_all_fn84( 4,  8, R);
272
24.6k
    assign_itx_all_fn84( 4, 16, R);
273
24.6k
    assign_itx_all_fn84( 8,  4, R);
274
24.6k
    assign_itx_all_fn84( 8,  8, );
275
24.6k
    assign_itx_all_fn84( 8, 16, R);
276
24.6k
    assign_itx_all_fn32( 8, 32, R);
277
24.6k
    assign_itx_all_fn84(16,  4, R);
278
24.6k
    assign_itx_all_fn84(16,  8, R);
279
24.6k
    assign_itx_all_fn16(16, 16, );
280
24.6k
    assign_itx_all_fn32(16, 32, R);
281
24.6k
    assign_itx_all_fn64(16, 64, R);
282
24.6k
    assign_itx_all_fn32(32,  8, R);
283
24.6k
    assign_itx_all_fn32(32, 16, R);
284
24.6k
    assign_itx_all_fn32(32, 32, );
285
24.6k
    assign_itx_all_fn64(32, 64, R);
286
24.6k
    assign_itx_all_fn64(64, 16, R);
287
24.6k
    assign_itx_all_fn64(64, 32, R);
288
24.6k
    assign_itx_all_fn64(64, 64, );
289
290
24.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
24.6k
    if (!all_simd)
310
24.6k
        dav1d_init_last_nonzero_col_from_eob_tables();
311
24.6k
}
dav1d_itx_dsp_init_8bpc
Line
Count
Source
220
11.1k
COLD void bitfn(dav1d_itx_dsp_init)(Dav1dInvTxfmDSPContext *const c, int bpc) {
221
11.1k
#define assign_itx_all_fn64(w, h, pfx) \
222
11.1k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_DCT  ] = \
223
11.1k
        inv_txfm_add_dct_dct_##w##x##h##_c
224
225
11.1k
#define assign_itx_all_fn32(w, h, pfx) \
226
11.1k
    assign_itx_all_fn64(w, h, pfx); \
227
11.1k
    c->itxfm_add[pfx##TX_##w##X##h][IDTX] = \
228
11.1k
        inv_txfm_add_identity_identity_##w##x##h##_c
229
230
11.1k
#define assign_itx_all_fn16(w, h, pfx) \
231
11.1k
    assign_itx_all_fn32(w, h, pfx); \
232
11.1k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_ADST ] = \
233
11.1k
        inv_txfm_add_adst_dct_##w##x##h##_c; \
234
11.1k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_DCT ] = \
235
11.1k
        inv_txfm_add_dct_adst_##w##x##h##_c; \
236
11.1k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_ADST] = \
237
11.1k
        inv_txfm_add_adst_adst_##w##x##h##_c; \
238
11.1k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_FLIPADST] = \
239
11.1k
        inv_txfm_add_flipadst_adst_##w##x##h##_c; \
240
11.1k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_ADST] = \
241
11.1k
        inv_txfm_add_adst_flipadst_##w##x##h##_c; \
242
11.1k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_FLIPADST] = \
243
11.1k
        inv_txfm_add_flipadst_dct_##w##x##h##_c; \
244
11.1k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_DCT] = \
245
11.1k
        inv_txfm_add_dct_flipadst_##w##x##h##_c; \
246
11.1k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_FLIPADST] = \
247
11.1k
        inv_txfm_add_flipadst_flipadst_##w##x##h##_c; \
248
11.1k
    c->itxfm_add[pfx##TX_##w##X##h][H_DCT] = \
249
11.1k
        inv_txfm_add_dct_identity_##w##x##h##_c; \
250
11.1k
    c->itxfm_add[pfx##TX_##w##X##h][V_DCT] = \
251
11.1k
        inv_txfm_add_identity_dct_##w##x##h##_c
252
253
11.1k
#define assign_itx_all_fn84(w, h, pfx) \
254
11.1k
    assign_itx_all_fn16(w, h, pfx); \
255
11.1k
    c->itxfm_add[pfx##TX_##w##X##h][H_FLIPADST] = \
256
11.1k
        inv_txfm_add_flipadst_identity_##w##x##h##_c; \
257
11.1k
    c->itxfm_add[pfx##TX_##w##X##h][V_FLIPADST] = \
258
11.1k
        inv_txfm_add_identity_flipadst_##w##x##h##_c; \
259
11.1k
    c->itxfm_add[pfx##TX_##w##X##h][H_ADST] = \
260
11.1k
        inv_txfm_add_adst_identity_##w##x##h##_c; \
261
11.1k
    c->itxfm_add[pfx##TX_##w##X##h][V_ADST] = \
262
11.1k
        inv_txfm_add_identity_adst_##w##x##h##_c; \
263
11.1k
264
11.1k
#if !(HAVE_ASM && TRIM_DSP_FUNCTIONS && ( \
265
11.1k
  ARCH_AARCH64 || \
266
11.1k
  (ARCH_ARM && (defined(__ARM_NEON) || defined(__APPLE__) || defined(_WIN32))) \
267
11.1k
))
268
11.1k
    c->itxfm_add[TX_4X4][WHT_WHT] = inv_txfm_add_wht_wht_4x4_c;
269
11.1k
#endif
270
11.1k
    assign_itx_all_fn84( 4,  4, );
271
11.1k
    assign_itx_all_fn84( 4,  8, R);
272
11.1k
    assign_itx_all_fn84( 4, 16, R);
273
11.1k
    assign_itx_all_fn84( 8,  4, R);
274
11.1k
    assign_itx_all_fn84( 8,  8, );
275
11.1k
    assign_itx_all_fn84( 8, 16, R);
276
11.1k
    assign_itx_all_fn32( 8, 32, R);
277
11.1k
    assign_itx_all_fn84(16,  4, R);
278
11.1k
    assign_itx_all_fn84(16,  8, R);
279
11.1k
    assign_itx_all_fn16(16, 16, );
280
11.1k
    assign_itx_all_fn32(16, 32, R);
281
11.1k
    assign_itx_all_fn64(16, 64, R);
282
11.1k
    assign_itx_all_fn32(32,  8, R);
283
11.1k
    assign_itx_all_fn32(32, 16, R);
284
11.1k
    assign_itx_all_fn32(32, 32, );
285
11.1k
    assign_itx_all_fn64(32, 64, R);
286
11.1k
    assign_itx_all_fn64(64, 16, R);
287
11.1k
    assign_itx_all_fn64(64, 32, R);
288
11.1k
    assign_itx_all_fn64(64, 64, );
289
290
11.1k
    int all_simd = 0;
291
#if HAVE_ASM
292
#if ARCH_AARCH64 || ARCH_ARM
293
    itx_dsp_init_arm(c, bpc, &all_simd);
294
#endif
295
#if ARCH_LOONGARCH64
296
    itx_dsp_init_loongarch(c, bpc);
297
#endif
298
#if ARCH_PPC64LE
299
    itx_dsp_init_ppc(c, bpc);
300
#endif
301
#if ARCH_RISCV
302
    itx_dsp_init_riscv(c, bpc);
303
#endif
304
#if ARCH_X86
305
    itx_dsp_init_x86(c, bpc, &all_simd);
306
#endif
307
#endif
308
309
11.1k
    if (!all_simd)
310
11.1k
        dav1d_init_last_nonzero_col_from_eob_tables();
311
11.1k
}
dav1d_itx_dsp_init_16bpc
Line
Count
Source
220
13.5k
COLD void bitfn(dav1d_itx_dsp_init)(Dav1dInvTxfmDSPContext *const c, int bpc) {
221
13.5k
#define assign_itx_all_fn64(w, h, pfx) \
222
13.5k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_DCT  ] = \
223
13.5k
        inv_txfm_add_dct_dct_##w##x##h##_c
224
225
13.5k
#define assign_itx_all_fn32(w, h, pfx) \
226
13.5k
    assign_itx_all_fn64(w, h, pfx); \
227
13.5k
    c->itxfm_add[pfx##TX_##w##X##h][IDTX] = \
228
13.5k
        inv_txfm_add_identity_identity_##w##x##h##_c
229
230
13.5k
#define assign_itx_all_fn16(w, h, pfx) \
231
13.5k
    assign_itx_all_fn32(w, h, pfx); \
232
13.5k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_ADST ] = \
233
13.5k
        inv_txfm_add_adst_dct_##w##x##h##_c; \
234
13.5k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_DCT ] = \
235
13.5k
        inv_txfm_add_dct_adst_##w##x##h##_c; \
236
13.5k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_ADST] = \
237
13.5k
        inv_txfm_add_adst_adst_##w##x##h##_c; \
238
13.5k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_FLIPADST] = \
239
13.5k
        inv_txfm_add_flipadst_adst_##w##x##h##_c; \
240
13.5k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_ADST] = \
241
13.5k
        inv_txfm_add_adst_flipadst_##w##x##h##_c; \
242
13.5k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_FLIPADST] = \
243
13.5k
        inv_txfm_add_flipadst_dct_##w##x##h##_c; \
244
13.5k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_DCT] = \
245
13.5k
        inv_txfm_add_dct_flipadst_##w##x##h##_c; \
246
13.5k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_FLIPADST] = \
247
13.5k
        inv_txfm_add_flipadst_flipadst_##w##x##h##_c; \
248
13.5k
    c->itxfm_add[pfx##TX_##w##X##h][H_DCT] = \
249
13.5k
        inv_txfm_add_dct_identity_##w##x##h##_c; \
250
13.5k
    c->itxfm_add[pfx##TX_##w##X##h][V_DCT] = \
251
13.5k
        inv_txfm_add_identity_dct_##w##x##h##_c
252
253
13.5k
#define assign_itx_all_fn84(w, h, pfx) \
254
13.5k
    assign_itx_all_fn16(w, h, pfx); \
255
13.5k
    c->itxfm_add[pfx##TX_##w##X##h][H_FLIPADST] = \
256
13.5k
        inv_txfm_add_flipadst_identity_##w##x##h##_c; \
257
13.5k
    c->itxfm_add[pfx##TX_##w##X##h][V_FLIPADST] = \
258
13.5k
        inv_txfm_add_identity_flipadst_##w##x##h##_c; \
259
13.5k
    c->itxfm_add[pfx##TX_##w##X##h][H_ADST] = \
260
13.5k
        inv_txfm_add_adst_identity_##w##x##h##_c; \
261
13.5k
    c->itxfm_add[pfx##TX_##w##X##h][V_ADST] = \
262
13.5k
        inv_txfm_add_identity_adst_##w##x##h##_c; \
263
13.5k
264
13.5k
#if !(HAVE_ASM && TRIM_DSP_FUNCTIONS && ( \
265
13.5k
  ARCH_AARCH64 || \
266
13.5k
  (ARCH_ARM && (defined(__ARM_NEON) || defined(__APPLE__) || defined(_WIN32))) \
267
13.5k
))
268
13.5k
    c->itxfm_add[TX_4X4][WHT_WHT] = inv_txfm_add_wht_wht_4x4_c;
269
13.5k
#endif
270
13.5k
    assign_itx_all_fn84( 4,  4, );
271
13.5k
    assign_itx_all_fn84( 4,  8, R);
272
13.5k
    assign_itx_all_fn84( 4, 16, R);
273
13.5k
    assign_itx_all_fn84( 8,  4, R);
274
13.5k
    assign_itx_all_fn84( 8,  8, );
275
13.5k
    assign_itx_all_fn84( 8, 16, R);
276
13.5k
    assign_itx_all_fn32( 8, 32, R);
277
13.5k
    assign_itx_all_fn84(16,  4, R);
278
13.5k
    assign_itx_all_fn84(16,  8, R);
279
13.5k
    assign_itx_all_fn16(16, 16, );
280
13.5k
    assign_itx_all_fn32(16, 32, R);
281
13.5k
    assign_itx_all_fn64(16, 64, R);
282
13.5k
    assign_itx_all_fn32(32,  8, R);
283
13.5k
    assign_itx_all_fn32(32, 16, R);
284
13.5k
    assign_itx_all_fn32(32, 32, );
285
13.5k
    assign_itx_all_fn64(32, 64, R);
286
13.5k
    assign_itx_all_fn64(64, 16, R);
287
13.5k
    assign_itx_all_fn64(64, 32, R);
288
13.5k
    assign_itx_all_fn64(64, 64, );
289
290
13.5k
    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
13.5k
    if (!all_simd)
310
13.5k
        dav1d_init_last_nonzero_col_from_eob_tables();
311
13.5k
}