Coverage Report

Created: 2026-09-02 06:39

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
496k
{
48
496k
    const TxfmInfo *const t_dim = &dav1d_txfm_dimensions[tx];
49
496k
    const int w = 4 * t_dim->w, h = 4 * t_dim->h;
50
496k
    const int has_dconly = txtp == DCT_DCT;
51
496k
    assert(w >= 4 && w <= 64);
52
496k
    assert(h >= 4 && h <= 64);
53
496k
    assert(eob >= 0);
54
55
496k
    const int is_rect2 = w * 2 == h || h * 2 == w;
56
496k
    const int rnd = (1 << shift) >> 1;
57
58
496k
    if (eob < has_dconly) {
59
106k
        int dc = coeff[0];
60
106k
        coeff[0] = 0;
61
106k
        if (is_rect2)
62
32.1k
            dc = (dc * 181 + 128) >> 8;
63
106k
        dc = (dc * 181 + 128) >> 8;
64
106k
        dc = (dc + rnd) >> shift;
65
106k
        dc = (dc * 181 + 128 + 2048) >> 12;
66
3.51M
        for (int y = 0; y < h; y++, dst += PXSTRIDE(stride))
67
125M
            for (int x = 0; x < w; x++)
68
122M
                dst[x] = iclip_pixel(dst[x] + dc);
69
106k
        return;
70
106k
    }
71
72
390k
    const uint8_t *const txtps = dav1d_tx1d_types[txtp];
73
390k
    const itx_1d_fn first_1d_fn = dav1d_tx1d_fns[t_dim->lw][txtps[0]];
74
390k
    const itx_1d_fn second_1d_fn = dav1d_tx1d_fns[t_dim->lh][txtps[1]];
75
390k
    const int sh = imin(h, 32), sw = imin(w, 32);
76
390k
#if BITDEPTH == 8
77
390k
    const int row_clip_min = INT16_MIN;
78
390k
    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
390k
    const int row_clip_max = ~row_clip_min;
84
390k
    const int col_clip_max = ~col_clip_min;
85
86
390k
    int32_t tmp[64 * 64], *c = tmp;
87
390k
    int last_nonzero_col; // in first 1d itx
88
390k
    if (txtps[1] == IDENTITY && txtps[0] != IDENTITY) {
89
42.6k
        last_nonzero_col = imin(sh - 1, eob);
90
347k
    } else if (txtps[0] == IDENTITY && txtps[1] != IDENTITY) {
91
32.2k
        last_nonzero_col = eob >> (t_dim->lw + 2);
92
315k
    } else {
93
315k
        last_nonzero_col = dav1d_last_nonzero_col_from_eob[tx][eob];
94
315k
    }
95
390k
    assert(last_nonzero_col < sh);
96
2.17M
    for (int y = 0; y <= last_nonzero_col; y++, c += w) {
97
1.78M
        if (is_rect2)
98
11.9M
            for (int x = 0; x < sw; x++)
99
11.1M
                c[x] = (coeff[y + x * sh] * 181 + 128) >> 8;
100
1.04M
        else
101
15.6M
            for (int x = 0; x < sw; x++)
102
14.6M
                c[x] = coeff[y + x * sh];
103
1.78M
        first_1d_fn(c, 1, row_clip_min, row_clip_max);
104
1.78M
    }
105
390k
    if (last_nonzero_col + 1 < sh)
106
301k
        memset(c, 0, sizeof(*c) * (sh - last_nonzero_col - 1) * w);
107
108
390k
    memset(coeff, 0, sizeof(*coeff) * sw * sh);
109
92.8M
    for (int i = 0; i < w * sh; i++)
110
92.5M
        tmp[i] = iclip((tmp[i] + rnd) >> shift, col_clip_min, col_clip_max);
111
112
5.50M
    for (int x = 0; x < w; x++)
113
5.11M
        second_1d_fn(&tmp[x], w, col_clip_min, col_clip_max);
114
115
390k
    c = tmp;
116
5.84M
    for (int y = 0; y < h; y++, dst += PXSTRIDE(stride))
117
128M
        for (int x = 0; x < w; x++)
118
122M
            dst[x] = iclip_pixel(dst[x] + ((*c++ + 8) >> 4));
119
390k
}
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
496k
                                               HIGHBD_DECL_SUFFIX) \
128
496k
{ \
129
496k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
496k
                   HIGHBD_TAIL_SUFFIX); \
131
496k
}
itx_tmpl.c:inv_txfm_add_dct_dct_4x4_c
Line
Count
Source
127
11.3k
                                               HIGHBD_DECL_SUFFIX) \
128
11.3k
{ \
129
11.3k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
11.3k
                   HIGHBD_TAIL_SUFFIX); \
131
11.3k
}
itx_tmpl.c:inv_txfm_add_identity_identity_4x4_c
Line
Count
Source
127
5.82k
                                               HIGHBD_DECL_SUFFIX) \
128
5.82k
{ \
129
5.82k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.82k
                   HIGHBD_TAIL_SUFFIX); \
131
5.82k
}
itx_tmpl.c:inv_txfm_add_adst_dct_4x4_c
Line
Count
Source
127
5.00k
                                               HIGHBD_DECL_SUFFIX) \
128
5.00k
{ \
129
5.00k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.00k
                   HIGHBD_TAIL_SUFFIX); \
131
5.00k
}
itx_tmpl.c:inv_txfm_add_dct_adst_4x4_c
Line
Count
Source
127
4.27k
                                               HIGHBD_DECL_SUFFIX) \
128
4.27k
{ \
129
4.27k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.27k
                   HIGHBD_TAIL_SUFFIX); \
131
4.27k
}
itx_tmpl.c:inv_txfm_add_adst_adst_4x4_c
Line
Count
Source
127
7.65k
                                               HIGHBD_DECL_SUFFIX) \
128
7.65k
{ \
129
7.65k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
7.65k
                   HIGHBD_TAIL_SUFFIX); \
131
7.65k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_4x4_c
Line
Count
Source
127
1.63k
                                               HIGHBD_DECL_SUFFIX) \
128
1.63k
{ \
129
1.63k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.63k
                   HIGHBD_TAIL_SUFFIX); \
131
1.63k
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_4x4_c
Line
Count
Source
127
2.44k
                                               HIGHBD_DECL_SUFFIX) \
128
2.44k
{ \
129
2.44k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.44k
                   HIGHBD_TAIL_SUFFIX); \
131
2.44k
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_4x4_c
Line
Count
Source
127
1.26k
                                               HIGHBD_DECL_SUFFIX) \
128
1.26k
{ \
129
1.26k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.26k
                   HIGHBD_TAIL_SUFFIX); \
131
1.26k
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_4x4_c
Line
Count
Source
127
1.27k
                                               HIGHBD_DECL_SUFFIX) \
128
1.27k
{ \
129
1.27k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.27k
                   HIGHBD_TAIL_SUFFIX); \
131
1.27k
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_4x4_c
Line
Count
Source
127
1.57k
                                               HIGHBD_DECL_SUFFIX) \
128
1.57k
{ \
129
1.57k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.57k
                   HIGHBD_TAIL_SUFFIX); \
131
1.57k
}
itx_tmpl.c:inv_txfm_add_dct_identity_4x4_c
Line
Count
Source
127
3.90k
                                               HIGHBD_DECL_SUFFIX) \
128
3.90k
{ \
129
3.90k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.90k
                   HIGHBD_TAIL_SUFFIX); \
131
3.90k
}
itx_tmpl.c:inv_txfm_add_identity_dct_4x4_c
Line
Count
Source
127
1.77k
                                               HIGHBD_DECL_SUFFIX) \
128
1.77k
{ \
129
1.77k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.77k
                   HIGHBD_TAIL_SUFFIX); \
131
1.77k
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_4x4_c
Line
Count
Source
127
2.36k
                                               HIGHBD_DECL_SUFFIX) \
128
2.36k
{ \
129
2.36k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.36k
                   HIGHBD_TAIL_SUFFIX); \
131
2.36k
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_4x4_c
Line
Count
Source
127
2.06k
                                               HIGHBD_DECL_SUFFIX) \
128
2.06k
{ \
129
2.06k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.06k
                   HIGHBD_TAIL_SUFFIX); \
131
2.06k
}
itx_tmpl.c:inv_txfm_add_adst_identity_4x4_c
Line
Count
Source
127
3.39k
                                               HIGHBD_DECL_SUFFIX) \
128
3.39k
{ \
129
3.39k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.39k
                   HIGHBD_TAIL_SUFFIX); \
131
3.39k
}
itx_tmpl.c:inv_txfm_add_identity_adst_4x4_c
Line
Count
Source
127
3.51k
                                               HIGHBD_DECL_SUFFIX) \
128
3.51k
{ \
129
3.51k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.51k
                   HIGHBD_TAIL_SUFFIX); \
131
3.51k
}
itx_tmpl.c:inv_txfm_add_dct_dct_4x8_c
Line
Count
Source
127
4.71k
                                               HIGHBD_DECL_SUFFIX) \
128
4.71k
{ \
129
4.71k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.71k
                   HIGHBD_TAIL_SUFFIX); \
131
4.71k
}
itx_tmpl.c:inv_txfm_add_identity_identity_4x8_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_dct_4x8_c
Line
Count
Source
127
2.37k
                                               HIGHBD_DECL_SUFFIX) \
128
2.37k
{ \
129
2.37k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.37k
                   HIGHBD_TAIL_SUFFIX); \
131
2.37k
}
itx_tmpl.c:inv_txfm_add_dct_adst_4x8_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_adst_adst_4x8_c
Line
Count
Source
127
3.68k
                                               HIGHBD_DECL_SUFFIX) \
128
3.68k
{ \
129
3.68k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.68k
                   HIGHBD_TAIL_SUFFIX); \
131
3.68k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_4x8_c
Line
Count
Source
127
1.11k
                                               HIGHBD_DECL_SUFFIX) \
128
1.11k
{ \
129
1.11k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.11k
                   HIGHBD_TAIL_SUFFIX); \
131
1.11k
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_4x8_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_flipadst_dct_4x8_c
Line
Count
Source
127
1.38k
                                               HIGHBD_DECL_SUFFIX) \
128
1.38k
{ \
129
1.38k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.38k
                   HIGHBD_TAIL_SUFFIX); \
131
1.38k
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_4x8_c
Line
Count
Source
127
845
                                               HIGHBD_DECL_SUFFIX) \
128
845
{ \
129
845
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
845
                   HIGHBD_TAIL_SUFFIX); \
131
845
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_4x8_c
Line
Count
Source
127
932
                                               HIGHBD_DECL_SUFFIX) \
128
932
{ \
129
932
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
932
                   HIGHBD_TAIL_SUFFIX); \
131
932
}
itx_tmpl.c:inv_txfm_add_dct_identity_4x8_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_identity_dct_4x8_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_identity_4x8_c
Line
Count
Source
127
1.15k
                                               HIGHBD_DECL_SUFFIX) \
128
1.15k
{ \
129
1.15k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.15k
                   HIGHBD_TAIL_SUFFIX); \
131
1.15k
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_4x8_c
Line
Count
Source
127
955
                                               HIGHBD_DECL_SUFFIX) \
128
955
{ \
129
955
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
955
                   HIGHBD_TAIL_SUFFIX); \
131
955
}
itx_tmpl.c:inv_txfm_add_adst_identity_4x8_c
Line
Count
Source
127
1.95k
                                               HIGHBD_DECL_SUFFIX) \
128
1.95k
{ \
129
1.95k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.95k
                   HIGHBD_TAIL_SUFFIX); \
131
1.95k
}
itx_tmpl.c:inv_txfm_add_identity_adst_4x8_c
Line
Count
Source
127
1.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_dct_dct_4x16_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_identity_identity_4x16_c
Line
Count
Source
127
961
                                               HIGHBD_DECL_SUFFIX) \
128
961
{ \
129
961
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
961
                   HIGHBD_TAIL_SUFFIX); \
131
961
}
itx_tmpl.c:inv_txfm_add_adst_dct_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_dct_adst_4x16_c
Line
Count
Source
127
841
                                               HIGHBD_DECL_SUFFIX) \
128
841
{ \
129
841
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
841
                   HIGHBD_TAIL_SUFFIX); \
131
841
}
itx_tmpl.c:inv_txfm_add_adst_adst_4x16_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_flipadst_adst_4x16_c
Line
Count
Source
127
283
                                               HIGHBD_DECL_SUFFIX) \
128
283
{ \
129
283
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
283
                   HIGHBD_TAIL_SUFFIX); \
131
283
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_4x16_c
Line
Count
Source
127
452
                                               HIGHBD_DECL_SUFFIX) \
128
452
{ \
129
452
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
452
                   HIGHBD_TAIL_SUFFIX); \
131
452
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_4x16_c
Line
Count
Source
127
269
                                               HIGHBD_DECL_SUFFIX) \
128
269
{ \
129
269
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
269
                   HIGHBD_TAIL_SUFFIX); \
131
269
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_4x16_c
Line
Count
Source
127
317
                                               HIGHBD_DECL_SUFFIX) \
128
317
{ \
129
317
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
317
                   HIGHBD_TAIL_SUFFIX); \
131
317
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_4x16_c
Line
Count
Source
127
226
                                               HIGHBD_DECL_SUFFIX) \
128
226
{ \
129
226
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
226
                   HIGHBD_TAIL_SUFFIX); \
131
226
}
itx_tmpl.c:inv_txfm_add_dct_identity_4x16_c
Line
Count
Source
127
491
                                               HIGHBD_DECL_SUFFIX) \
128
491
{ \
129
491
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
491
                   HIGHBD_TAIL_SUFFIX); \
131
491
}
itx_tmpl.c:inv_txfm_add_identity_dct_4x16_c
Line
Count
Source
127
339
                                               HIGHBD_DECL_SUFFIX) \
128
339
{ \
129
339
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
339
                   HIGHBD_TAIL_SUFFIX); \
131
339
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_4x16_c
Line
Count
Source
127
359
                                               HIGHBD_DECL_SUFFIX) \
128
359
{ \
129
359
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
359
                   HIGHBD_TAIL_SUFFIX); \
131
359
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_4x16_c
Line
Count
Source
127
272
                                               HIGHBD_DECL_SUFFIX) \
128
272
{ \
129
272
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
272
                   HIGHBD_TAIL_SUFFIX); \
131
272
}
itx_tmpl.c:inv_txfm_add_adst_identity_4x16_c
Line
Count
Source
127
448
                                               HIGHBD_DECL_SUFFIX) \
128
448
{ \
129
448
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
448
                   HIGHBD_TAIL_SUFFIX); \
131
448
}
itx_tmpl.c:inv_txfm_add_identity_adst_4x16_c
Line
Count
Source
127
325
                                               HIGHBD_DECL_SUFFIX) \
128
325
{ \
129
325
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
325
                   HIGHBD_TAIL_SUFFIX); \
131
325
}
itx_tmpl.c:inv_txfm_add_dct_dct_8x4_c
Line
Count
Source
127
5.33k
                                               HIGHBD_DECL_SUFFIX) \
128
5.33k
{ \
129
5.33k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.33k
                   HIGHBD_TAIL_SUFFIX); \
131
5.33k
}
itx_tmpl.c:inv_txfm_add_identity_identity_8x4_c
Line
Count
Source
127
4.93k
                                               HIGHBD_DECL_SUFFIX) \
128
4.93k
{ \
129
4.93k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.93k
                   HIGHBD_TAIL_SUFFIX); \
131
4.93k
}
itx_tmpl.c:inv_txfm_add_adst_dct_8x4_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_adst_8x4_c
Line
Count
Source
127
2.36k
                                               HIGHBD_DECL_SUFFIX) \
128
2.36k
{ \
129
2.36k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.36k
                   HIGHBD_TAIL_SUFFIX); \
131
2.36k
}
itx_tmpl.c:inv_txfm_add_adst_adst_8x4_c
Line
Count
Source
127
3.67k
                                               HIGHBD_DECL_SUFFIX) \
128
3.67k
{ \
129
3.67k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.67k
                   HIGHBD_TAIL_SUFFIX); \
131
3.67k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_8x4_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_adst_flipadst_8x4_c
Line
Count
Source
127
1.23k
                                               HIGHBD_DECL_SUFFIX) \
128
1.23k
{ \
129
1.23k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.23k
                   HIGHBD_TAIL_SUFFIX); \
131
1.23k
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_8x4_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_flipadst_8x4_c
Line
Count
Source
127
1.24k
                                               HIGHBD_DECL_SUFFIX) \
128
1.24k
{ \
129
1.24k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.24k
                   HIGHBD_TAIL_SUFFIX); \
131
1.24k
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_8x4_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_8x4_c
Line
Count
Source
127
2.36k
                                               HIGHBD_DECL_SUFFIX) \
128
2.36k
{ \
129
2.36k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.36k
                   HIGHBD_TAIL_SUFFIX); \
131
2.36k
}
itx_tmpl.c:inv_txfm_add_identity_dct_8x4_c
Line
Count
Source
127
1.13k
                                               HIGHBD_DECL_SUFFIX) \
128
1.13k
{ \
129
1.13k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.13k
                   HIGHBD_TAIL_SUFFIX); \
131
1.13k
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_8x4_c
Line
Count
Source
127
2.24k
                                               HIGHBD_DECL_SUFFIX) \
128
2.24k
{ \
129
2.24k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.24k
                   HIGHBD_TAIL_SUFFIX); \
131
2.24k
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_8x4_c
Line
Count
Source
127
4.07k
                                               HIGHBD_DECL_SUFFIX) \
128
4.07k
{ \
129
4.07k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.07k
                   HIGHBD_TAIL_SUFFIX); \
131
4.07k
}
itx_tmpl.c:inv_txfm_add_adst_identity_8x4_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_identity_adst_8x4_c
Line
Count
Source
127
1.29k
                                               HIGHBD_DECL_SUFFIX) \
128
1.29k
{ \
129
1.29k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.29k
                   HIGHBD_TAIL_SUFFIX); \
131
1.29k
}
itx_tmpl.c:inv_txfm_add_dct_dct_8x8_c
Line
Count
Source
127
19.1k
                                               HIGHBD_DECL_SUFFIX) \
128
19.1k
{ \
129
19.1k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
19.1k
                   HIGHBD_TAIL_SUFFIX); \
131
19.1k
}
itx_tmpl.c:inv_txfm_add_identity_identity_8x8_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_8x8_c
Line
Count
Source
127
9.31k
                                               HIGHBD_DECL_SUFFIX) \
128
9.31k
{ \
129
9.31k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
9.31k
                   HIGHBD_TAIL_SUFFIX); \
131
9.31k
}
itx_tmpl.c:inv_txfm_add_dct_adst_8x8_c
Line
Count
Source
127
8.59k
                                               HIGHBD_DECL_SUFFIX) \
128
8.59k
{ \
129
8.59k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
8.59k
                   HIGHBD_TAIL_SUFFIX); \
131
8.59k
}
itx_tmpl.c:inv_txfm_add_adst_adst_8x8_c
Line
Count
Source
127
9.35k
                                               HIGHBD_DECL_SUFFIX) \
128
9.35k
{ \
129
9.35k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
9.35k
                   HIGHBD_TAIL_SUFFIX); \
131
9.35k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_8x8_c
Line
Count
Source
127
3.07k
                                               HIGHBD_DECL_SUFFIX) \
128
3.07k
{ \
129
3.07k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.07k
                   HIGHBD_TAIL_SUFFIX); \
131
3.07k
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_8x8_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_flipadst_dct_8x8_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_dct_flipadst_8x8_c
Line
Count
Source
127
2.04k
                                               HIGHBD_DECL_SUFFIX) \
128
2.04k
{ \
129
2.04k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.04k
                   HIGHBD_TAIL_SUFFIX); \
131
2.04k
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_8x8_c
Line
Count
Source
127
1.76k
                                               HIGHBD_DECL_SUFFIX) \
128
1.76k
{ \
129
1.76k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.76k
                   HIGHBD_TAIL_SUFFIX); \
131
1.76k
}
itx_tmpl.c:inv_txfm_add_dct_identity_8x8_c
Line
Count
Source
127
4.27k
                                               HIGHBD_DECL_SUFFIX) \
128
4.27k
{ \
129
4.27k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.27k
                   HIGHBD_TAIL_SUFFIX); \
131
4.27k
}
itx_tmpl.c:inv_txfm_add_identity_dct_8x8_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_flipadst_identity_8x8_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_flipadst_8x8_c
Line
Count
Source
127
1.90k
                                               HIGHBD_DECL_SUFFIX) \
128
1.90k
{ \
129
1.90k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.90k
                   HIGHBD_TAIL_SUFFIX); \
131
1.90k
}
itx_tmpl.c:inv_txfm_add_adst_identity_8x8_c
Line
Count
Source
127
2.30k
                                               HIGHBD_DECL_SUFFIX) \
128
2.30k
{ \
129
2.30k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.30k
                   HIGHBD_TAIL_SUFFIX); \
131
2.30k
}
itx_tmpl.c:inv_txfm_add_identity_adst_8x8_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_dct_dct_8x16_c
Line
Count
Source
127
8.52k
                                               HIGHBD_DECL_SUFFIX) \
128
8.52k
{ \
129
8.52k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
8.52k
                   HIGHBD_TAIL_SUFFIX); \
131
8.52k
}
itx_tmpl.c:inv_txfm_add_identity_identity_8x16_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_dct_8x16_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_dct_adst_8x16_c
Line
Count
Source
127
2.37k
                                               HIGHBD_DECL_SUFFIX) \
128
2.37k
{ \
129
2.37k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.37k
                   HIGHBD_TAIL_SUFFIX); \
131
2.37k
}
itx_tmpl.c:inv_txfm_add_adst_adst_8x16_c
Line
Count
Source
127
5.21k
                                               HIGHBD_DECL_SUFFIX) \
128
5.21k
{ \
129
5.21k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.21k
                   HIGHBD_TAIL_SUFFIX); \
131
5.21k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_8x16_c
Line
Count
Source
127
1.02k
                                               HIGHBD_DECL_SUFFIX) \
128
1.02k
{ \
129
1.02k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.02k
                   HIGHBD_TAIL_SUFFIX); \
131
1.02k
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_8x16_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_flipadst_dct_8x16_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_flipadst_8x16_c
Line
Count
Source
127
1.07k
                                               HIGHBD_DECL_SUFFIX) \
128
1.07k
{ \
129
1.07k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.07k
                   HIGHBD_TAIL_SUFFIX); \
131
1.07k
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_8x16_c
Line
Count
Source
127
1.48k
                                               HIGHBD_DECL_SUFFIX) \
128
1.48k
{ \
129
1.48k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.48k
                   HIGHBD_TAIL_SUFFIX); \
131
1.48k
}
itx_tmpl.c:inv_txfm_add_dct_identity_8x16_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_identity_dct_8x16_c
Line
Count
Source
127
1.62k
                                               HIGHBD_DECL_SUFFIX) \
128
1.62k
{ \
129
1.62k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.62k
                   HIGHBD_TAIL_SUFFIX); \
131
1.62k
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_8x16_c
Line
Count
Source
127
896
                                               HIGHBD_DECL_SUFFIX) \
128
896
{ \
129
896
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
896
                   HIGHBD_TAIL_SUFFIX); \
131
896
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_8x16_c
Line
Count
Source
127
663
                                               HIGHBD_DECL_SUFFIX) \
128
663
{ \
129
663
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
663
                   HIGHBD_TAIL_SUFFIX); \
131
663
}
itx_tmpl.c:inv_txfm_add_adst_identity_8x16_c
Line
Count
Source
127
869
                                               HIGHBD_DECL_SUFFIX) \
128
869
{ \
129
869
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
869
                   HIGHBD_TAIL_SUFFIX); \
131
869
}
itx_tmpl.c:inv_txfm_add_identity_adst_8x16_c
Line
Count
Source
127
667
                                               HIGHBD_DECL_SUFFIX) \
128
667
{ \
129
667
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
667
                   HIGHBD_TAIL_SUFFIX); \
131
667
}
itx_tmpl.c:inv_txfm_add_dct_dct_8x32_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_identity_identity_8x32_c
Line
Count
Source
127
514
                                               HIGHBD_DECL_SUFFIX) \
128
514
{ \
129
514
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
514
                   HIGHBD_TAIL_SUFFIX); \
131
514
}
itx_tmpl.c:inv_txfm_add_dct_dct_16x4_c
Line
Count
Source
127
2.36k
                                               HIGHBD_DECL_SUFFIX) \
128
2.36k
{ \
129
2.36k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.36k
                   HIGHBD_TAIL_SUFFIX); \
131
2.36k
}
itx_tmpl.c:inv_txfm_add_identity_identity_16x4_c
Line
Count
Source
127
1.25k
                                               HIGHBD_DECL_SUFFIX) \
128
1.25k
{ \
129
1.25k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.25k
                   HIGHBD_TAIL_SUFFIX); \
131
1.25k
}
itx_tmpl.c:inv_txfm_add_adst_dct_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_dct_adst_16x4_c
Line
Count
Source
127
992
                                               HIGHBD_DECL_SUFFIX) \
128
992
{ \
129
992
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
992
                   HIGHBD_TAIL_SUFFIX); \
131
992
}
itx_tmpl.c:inv_txfm_add_adst_adst_16x4_c
Line
Count
Source
127
1.54k
                                               HIGHBD_DECL_SUFFIX) \
128
1.54k
{ \
129
1.54k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.54k
                   HIGHBD_TAIL_SUFFIX); \
131
1.54k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_16x4_c
Line
Count
Source
127
402
                                               HIGHBD_DECL_SUFFIX) \
128
402
{ \
129
402
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
402
                   HIGHBD_TAIL_SUFFIX); \
131
402
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_16x4_c
Line
Count
Source
127
455
                                               HIGHBD_DECL_SUFFIX) \
128
455
{ \
129
455
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
455
                   HIGHBD_TAIL_SUFFIX); \
131
455
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_16x4_c
Line
Count
Source
127
291
                                               HIGHBD_DECL_SUFFIX) \
128
291
{ \
129
291
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
291
                   HIGHBD_TAIL_SUFFIX); \
131
291
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_16x4_c
Line
Count
Source
127
515
                                               HIGHBD_DECL_SUFFIX) \
128
515
{ \
129
515
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
515
                   HIGHBD_TAIL_SUFFIX); \
131
515
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_16x4_c
Line
Count
Source
127
329
                                               HIGHBD_DECL_SUFFIX) \
128
329
{ \
129
329
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
329
                   HIGHBD_TAIL_SUFFIX); \
131
329
}
itx_tmpl.c:inv_txfm_add_dct_identity_16x4_c
Line
Count
Source
127
658
                                               HIGHBD_DECL_SUFFIX) \
128
658
{ \
129
658
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
658
                   HIGHBD_TAIL_SUFFIX); \
131
658
}
itx_tmpl.c:inv_txfm_add_identity_dct_16x4_c
Line
Count
Source
127
476
                                               HIGHBD_DECL_SUFFIX) \
128
476
{ \
129
476
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
476
                   HIGHBD_TAIL_SUFFIX); \
131
476
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_16x4_c
Line
Count
Source
127
479
                                               HIGHBD_DECL_SUFFIX) \
128
479
{ \
129
479
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
479
                   HIGHBD_TAIL_SUFFIX); \
131
479
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_16x4_c
Line
Count
Source
127
364
                                               HIGHBD_DECL_SUFFIX) \
128
364
{ \
129
364
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
364
                   HIGHBD_TAIL_SUFFIX); \
131
364
}
itx_tmpl.c:inv_txfm_add_adst_identity_16x4_c
Line
Count
Source
127
646
                                               HIGHBD_DECL_SUFFIX) \
128
646
{ \
129
646
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
646
                   HIGHBD_TAIL_SUFFIX); \
131
646
}
itx_tmpl.c:inv_txfm_add_identity_adst_16x4_c
Line
Count
Source
127
410
                                               HIGHBD_DECL_SUFFIX) \
128
410
{ \
129
410
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
410
                   HIGHBD_TAIL_SUFFIX); \
131
410
}
itx_tmpl.c:inv_txfm_add_dct_dct_16x8_c
Line
Count
Source
127
7.17k
                                               HIGHBD_DECL_SUFFIX) \
128
7.17k
{ \
129
7.17k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
7.17k
                   HIGHBD_TAIL_SUFFIX); \
131
7.17k
}
itx_tmpl.c:inv_txfm_add_identity_identity_16x8_c
Line
Count
Source
127
1.94k
                                               HIGHBD_DECL_SUFFIX) \
128
1.94k
{ \
129
1.94k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.94k
                   HIGHBD_TAIL_SUFFIX); \
131
1.94k
}
itx_tmpl.c:inv_txfm_add_adst_dct_16x8_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_dct_adst_16x8_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_adst_adst_16x8_c
Line
Count
Source
127
2.87k
                                               HIGHBD_DECL_SUFFIX) \
128
2.87k
{ \
129
2.87k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.87k
                   HIGHBD_TAIL_SUFFIX); \
131
2.87k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_16x8_c
Line
Count
Source
127
992
                                               HIGHBD_DECL_SUFFIX) \
128
992
{ \
129
992
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
992
                   HIGHBD_TAIL_SUFFIX); \
131
992
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_16x8_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_flipadst_dct_16x8_c
Line
Count
Source
127
1.14k
                                               HIGHBD_DECL_SUFFIX) \
128
1.14k
{ \
129
1.14k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.14k
                   HIGHBD_TAIL_SUFFIX); \
131
1.14k
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_16x8_c
Line
Count
Source
127
1.09k
                                               HIGHBD_DECL_SUFFIX) \
128
1.09k
{ \
129
1.09k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.09k
                   HIGHBD_TAIL_SUFFIX); \
131
1.09k
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_16x8_c
Line
Count
Source
127
1.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_identity_16x8_c
Line
Count
Source
127
1.62k
                                               HIGHBD_DECL_SUFFIX) \
128
1.62k
{ \
129
1.62k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.62k
                   HIGHBD_TAIL_SUFFIX); \
131
1.62k
}
itx_tmpl.c:inv_txfm_add_identity_dct_16x8_c
Line
Count
Source
127
910
                                               HIGHBD_DECL_SUFFIX) \
128
910
{ \
129
910
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
910
                   HIGHBD_TAIL_SUFFIX); \
131
910
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_16x8_c
Line
Count
Source
127
853
                                               HIGHBD_DECL_SUFFIX) \
128
853
{ \
129
853
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
853
                   HIGHBD_TAIL_SUFFIX); \
131
853
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_16x8_c
Line
Count
Source
127
643
                                               HIGHBD_DECL_SUFFIX) \
128
643
{ \
129
643
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
643
                   HIGHBD_TAIL_SUFFIX); \
131
643
}
itx_tmpl.c:inv_txfm_add_adst_identity_16x8_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_adst_16x8_c
Line
Count
Source
127
758
                                               HIGHBD_DECL_SUFFIX) \
128
758
{ \
129
758
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
758
                   HIGHBD_TAIL_SUFFIX); \
131
758
}
itx_tmpl.c:inv_txfm_add_dct_dct_16x16_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_16x16_c
Line
Count
Source
127
1.26k
                                               HIGHBD_DECL_SUFFIX) \
128
1.26k
{ \
129
1.26k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.26k
                   HIGHBD_TAIL_SUFFIX); \
131
1.26k
}
itx_tmpl.c:inv_txfm_add_adst_dct_16x16_c
Line
Count
Source
127
7.03k
                                               HIGHBD_DECL_SUFFIX) \
128
7.03k
{ \
129
7.03k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
7.03k
                   HIGHBD_TAIL_SUFFIX); \
131
7.03k
}
itx_tmpl.c:inv_txfm_add_dct_adst_16x16_c
Line
Count
Source
127
7.01k
                                               HIGHBD_DECL_SUFFIX) \
128
7.01k
{ \
129
7.01k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
7.01k
                   HIGHBD_TAIL_SUFFIX); \
131
7.01k
}
itx_tmpl.c:inv_txfm_add_adst_adst_16x16_c
Line
Count
Source
127
8.22k
                                               HIGHBD_DECL_SUFFIX) \
128
8.22k
{ \
129
8.22k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
8.22k
                   HIGHBD_TAIL_SUFFIX); \
131
8.22k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_16x16_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_adst_flipadst_16x16_c
Line
Count
Source
127
1.71k
                                               HIGHBD_DECL_SUFFIX) \
128
1.71k
{ \
129
1.71k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.71k
                   HIGHBD_TAIL_SUFFIX); \
131
1.71k
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_16x16_c
Line
Count
Source
127
1.27k
                                               HIGHBD_DECL_SUFFIX) \
128
1.27k
{ \
129
1.27k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.27k
                   HIGHBD_TAIL_SUFFIX); \
131
1.27k
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_16x16_c
Line
Count
Source
127
1.26k
                                               HIGHBD_DECL_SUFFIX) \
128
1.26k
{ \
129
1.26k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.26k
                   HIGHBD_TAIL_SUFFIX); \
131
1.26k
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_16x16_c
Line
Count
Source
127
1.45k
                                               HIGHBD_DECL_SUFFIX) \
128
1.45k
{ \
129
1.45k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.45k
                   HIGHBD_TAIL_SUFFIX); \
131
1.45k
}
itx_tmpl.c:inv_txfm_add_dct_identity_16x16_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_dct_16x16_c
Line
Count
Source
127
1.06k
                                               HIGHBD_DECL_SUFFIX) \
128
1.06k
{ \
129
1.06k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.06k
                   HIGHBD_TAIL_SUFFIX); \
131
1.06k
}
itx_tmpl.c:inv_txfm_add_dct_dct_16x32_c
Line
Count
Source
127
16.4k
                                               HIGHBD_DECL_SUFFIX) \
128
16.4k
{ \
129
16.4k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
16.4k
                   HIGHBD_TAIL_SUFFIX); \
131
16.4k
}
itx_tmpl.c:inv_txfm_add_identity_identity_16x32_c
Line
Count
Source
127
2.71k
                                               HIGHBD_DECL_SUFFIX) \
128
2.71k
{ \
129
2.71k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.71k
                   HIGHBD_TAIL_SUFFIX); \
131
2.71k
}
itx_tmpl.c:inv_txfm_add_dct_dct_16x64_c
Line
Count
Source
127
990
                                               HIGHBD_DECL_SUFFIX) \
128
990
{ \
129
990
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
990
                   HIGHBD_TAIL_SUFFIX); \
131
990
}
itx_tmpl.c:inv_txfm_add_dct_dct_32x8_c
Line
Count
Source
127
3.63k
                                               HIGHBD_DECL_SUFFIX) \
128
3.63k
{ \
129
3.63k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.63k
                   HIGHBD_TAIL_SUFFIX); \
131
3.63k
}
itx_tmpl.c:inv_txfm_add_identity_identity_32x8_c
Line
Count
Source
127
393
                                               HIGHBD_DECL_SUFFIX) \
128
393
{ \
129
393
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
393
                   HIGHBD_TAIL_SUFFIX); \
131
393
}
itx_tmpl.c:inv_txfm_add_dct_dct_32x16_c
Line
Count
Source
127
12.8k
                                               HIGHBD_DECL_SUFFIX) \
128
12.8k
{ \
129
12.8k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
12.8k
                   HIGHBD_TAIL_SUFFIX); \
131
12.8k
}
itx_tmpl.c:inv_txfm_add_identity_identity_32x16_c
Line
Count
Source
127
946
                                               HIGHBD_DECL_SUFFIX) \
128
946
{ \
129
946
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
946
                   HIGHBD_TAIL_SUFFIX); \
131
946
}
itx_tmpl.c:inv_txfm_add_dct_dct_32x32_c
Line
Count
Source
127
56.3k
                                               HIGHBD_DECL_SUFFIX) \
128
56.3k
{ \
129
56.3k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
56.3k
                   HIGHBD_TAIL_SUFFIX); \
131
56.3k
}
itx_tmpl.c:inv_txfm_add_identity_identity_32x32_c
Line
Count
Source
127
430
                                               HIGHBD_DECL_SUFFIX) \
128
430
{ \
129
430
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
430
                   HIGHBD_TAIL_SUFFIX); \
131
430
}
itx_tmpl.c:inv_txfm_add_dct_dct_32x64_c
Line
Count
Source
127
23.9k
                                               HIGHBD_DECL_SUFFIX) \
128
23.9k
{ \
129
23.9k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
23.9k
                   HIGHBD_TAIL_SUFFIX); \
131
23.9k
}
itx_tmpl.c:inv_txfm_add_dct_dct_64x16_c
Line
Count
Source
127
1.09k
                                               HIGHBD_DECL_SUFFIX) \
128
1.09k
{ \
129
1.09k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.09k
                   HIGHBD_TAIL_SUFFIX); \
131
1.09k
}
itx_tmpl.c:inv_txfm_add_dct_dct_64x32_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_dct_dct_64x64_c
Line
Count
Source
127
17.8k
                                               HIGHBD_DECL_SUFFIX) \
128
17.8k
{ \
129
17.8k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
17.8k
                   HIGHBD_TAIL_SUFFIX); \
131
17.8k
}
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
44.4k
{
188
44.4k
    int32_t tmp[4 * 4], *c = tmp;
189
222k
    for (int y = 0; y < 4; y++, c += 4) {
190
888k
        for (int x = 0; x < 4; x++)
191
710k
            c[x] = coeff[y + x * 4] >> 2;
192
177k
        dav1d_inv_wht4_1d_c(c, 1);
193
177k
    }
194
44.4k
    memset(coeff, 0, sizeof(*coeff) * 4 * 4);
195
196
222k
    for (int x = 0; x < 4; x++)
197
177k
        dav1d_inv_wht4_1d_c(&tmp[x], 4);
198
199
44.4k
    c = tmp;
200
222k
    for (int y = 0; y < 4; y++, dst += PXSTRIDE(stride))
201
888k
        for (int x = 0; x < 4; x++)
202
710k
            dst[x] = iclip_pixel(dst[x] + *c++);
203
44.4k
}
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
27.6k
COLD void bitfn(dav1d_itx_dsp_init)(Dav1dInvTxfmDSPContext *const c, int bpc) {
221
27.6k
#define assign_itx_all_fn64(w, h, pfx) \
222
525k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_DCT  ] = \
223
525k
        inv_txfm_add_dct_dct_##w##x##h##_c
224
225
27.6k
#define assign_itx_all_fn32(w, h, pfx) \
226
386k
    assign_itx_all_fn64(w, h, pfx); \
227
386k
    c->itxfm_add[pfx##TX_##w##X##h][IDTX] = \
228
386k
        inv_txfm_add_identity_identity_##w##x##h##_c
229
230
27.6k
#define assign_itx_all_fn16(w, h, pfx) \
231
248k
    assign_itx_all_fn32(w, h, pfx); \
232
248k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_ADST ] = \
233
248k
        inv_txfm_add_adst_dct_##w##x##h##_c; \
234
248k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_DCT ] = \
235
248k
        inv_txfm_add_dct_adst_##w##x##h##_c; \
236
248k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_ADST] = \
237
248k
        inv_txfm_add_adst_adst_##w##x##h##_c; \
238
248k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_FLIPADST] = \
239
248k
        inv_txfm_add_flipadst_adst_##w##x##h##_c; \
240
248k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_ADST] = \
241
248k
        inv_txfm_add_adst_flipadst_##w##x##h##_c; \
242
248k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_FLIPADST] = \
243
248k
        inv_txfm_add_flipadst_dct_##w##x##h##_c; \
244
248k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_DCT] = \
245
248k
        inv_txfm_add_dct_flipadst_##w##x##h##_c; \
246
248k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_FLIPADST] = \
247
248k
        inv_txfm_add_flipadst_flipadst_##w##x##h##_c; \
248
248k
    c->itxfm_add[pfx##TX_##w##X##h][H_DCT] = \
249
248k
        inv_txfm_add_dct_identity_##w##x##h##_c; \
250
248k
    c->itxfm_add[pfx##TX_##w##X##h][V_DCT] = \
251
248k
        inv_txfm_add_identity_dct_##w##x##h##_c
252
253
27.6k
#define assign_itx_all_fn84(w, h, pfx) \
254
221k
    assign_itx_all_fn16(w, h, pfx); \
255
221k
    c->itxfm_add[pfx##TX_##w##X##h][H_FLIPADST] = \
256
221k
        inv_txfm_add_flipadst_identity_##w##x##h##_c; \
257
221k
    c->itxfm_add[pfx##TX_##w##X##h][V_FLIPADST] = \
258
221k
        inv_txfm_add_identity_flipadst_##w##x##h##_c; \
259
221k
    c->itxfm_add[pfx##TX_##w##X##h][H_ADST] = \
260
221k
        inv_txfm_add_adst_identity_##w##x##h##_c; \
261
221k
    c->itxfm_add[pfx##TX_##w##X##h][V_ADST] = \
262
221k
        inv_txfm_add_identity_adst_##w##x##h##_c; \
263
27.6k
264
27.6k
#if !(HAVE_ASM && TRIM_DSP_FUNCTIONS && ( \
265
27.6k
  ARCH_AARCH64 || \
266
27.6k
  (ARCH_ARM && (defined(__ARM_NEON) || defined(__APPLE__) || defined(_WIN32))) \
267
27.6k
))
268
27.6k
    c->itxfm_add[TX_4X4][WHT_WHT] = inv_txfm_add_wht_wht_4x4_c;
269
27.6k
#endif
270
27.6k
    assign_itx_all_fn84( 4,  4, );
271
27.6k
    assign_itx_all_fn84( 4,  8, R);
272
27.6k
    assign_itx_all_fn84( 4, 16, R);
273
27.6k
    assign_itx_all_fn84( 8,  4, R);
274
27.6k
    assign_itx_all_fn84( 8,  8, );
275
27.6k
    assign_itx_all_fn84( 8, 16, R);
276
27.6k
    assign_itx_all_fn32( 8, 32, R);
277
27.6k
    assign_itx_all_fn84(16,  4, R);
278
27.6k
    assign_itx_all_fn84(16,  8, R);
279
27.6k
    assign_itx_all_fn16(16, 16, );
280
27.6k
    assign_itx_all_fn32(16, 32, R);
281
27.6k
    assign_itx_all_fn64(16, 64, R);
282
27.6k
    assign_itx_all_fn32(32,  8, R);
283
27.6k
    assign_itx_all_fn32(32, 16, R);
284
27.6k
    assign_itx_all_fn32(32, 32, );
285
27.6k
    assign_itx_all_fn64(32, 64, R);
286
27.6k
    assign_itx_all_fn64(64, 16, R);
287
27.6k
    assign_itx_all_fn64(64, 32, R);
288
27.6k
    assign_itx_all_fn64(64, 64, );
289
290
27.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
27.6k
    if (!all_simd)
310
27.6k
        dav1d_init_last_nonzero_col_from_eob_tables();
311
27.6k
}
dav1d_itx_dsp_init_8bpc
Line
Count
Source
220
12.6k
COLD void bitfn(dav1d_itx_dsp_init)(Dav1dInvTxfmDSPContext *const c, int bpc) {
221
12.6k
#define assign_itx_all_fn64(w, h, pfx) \
222
12.6k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_DCT  ] = \
223
12.6k
        inv_txfm_add_dct_dct_##w##x##h##_c
224
225
12.6k
#define assign_itx_all_fn32(w, h, pfx) \
226
12.6k
    assign_itx_all_fn64(w, h, pfx); \
227
12.6k
    c->itxfm_add[pfx##TX_##w##X##h][IDTX] = \
228
12.6k
        inv_txfm_add_identity_identity_##w##x##h##_c
229
230
12.6k
#define assign_itx_all_fn16(w, h, pfx) \
231
12.6k
    assign_itx_all_fn32(w, h, pfx); \
232
12.6k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_ADST ] = \
233
12.6k
        inv_txfm_add_adst_dct_##w##x##h##_c; \
234
12.6k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_DCT ] = \
235
12.6k
        inv_txfm_add_dct_adst_##w##x##h##_c; \
236
12.6k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_ADST] = \
237
12.6k
        inv_txfm_add_adst_adst_##w##x##h##_c; \
238
12.6k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_FLIPADST] = \
239
12.6k
        inv_txfm_add_flipadst_adst_##w##x##h##_c; \
240
12.6k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_ADST] = \
241
12.6k
        inv_txfm_add_adst_flipadst_##w##x##h##_c; \
242
12.6k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_FLIPADST] = \
243
12.6k
        inv_txfm_add_flipadst_dct_##w##x##h##_c; \
244
12.6k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_DCT] = \
245
12.6k
        inv_txfm_add_dct_flipadst_##w##x##h##_c; \
246
12.6k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_FLIPADST] = \
247
12.6k
        inv_txfm_add_flipadst_flipadst_##w##x##h##_c; \
248
12.6k
    c->itxfm_add[pfx##TX_##w##X##h][H_DCT] = \
249
12.6k
        inv_txfm_add_dct_identity_##w##x##h##_c; \
250
12.6k
    c->itxfm_add[pfx##TX_##w##X##h][V_DCT] = \
251
12.6k
        inv_txfm_add_identity_dct_##w##x##h##_c
252
253
12.6k
#define assign_itx_all_fn84(w, h, pfx) \
254
12.6k
    assign_itx_all_fn16(w, h, pfx); \
255
12.6k
    c->itxfm_add[pfx##TX_##w##X##h][H_FLIPADST] = \
256
12.6k
        inv_txfm_add_flipadst_identity_##w##x##h##_c; \
257
12.6k
    c->itxfm_add[pfx##TX_##w##X##h][V_FLIPADST] = \
258
12.6k
        inv_txfm_add_identity_flipadst_##w##x##h##_c; \
259
12.6k
    c->itxfm_add[pfx##TX_##w##X##h][H_ADST] = \
260
12.6k
        inv_txfm_add_adst_identity_##w##x##h##_c; \
261
12.6k
    c->itxfm_add[pfx##TX_##w##X##h][V_ADST] = \
262
12.6k
        inv_txfm_add_identity_adst_##w##x##h##_c; \
263
12.6k
264
12.6k
#if !(HAVE_ASM && TRIM_DSP_FUNCTIONS && ( \
265
12.6k
  ARCH_AARCH64 || \
266
12.6k
  (ARCH_ARM && (defined(__ARM_NEON) || defined(__APPLE__) || defined(_WIN32))) \
267
12.6k
))
268
12.6k
    c->itxfm_add[TX_4X4][WHT_WHT] = inv_txfm_add_wht_wht_4x4_c;
269
12.6k
#endif
270
12.6k
    assign_itx_all_fn84( 4,  4, );
271
12.6k
    assign_itx_all_fn84( 4,  8, R);
272
12.6k
    assign_itx_all_fn84( 4, 16, R);
273
12.6k
    assign_itx_all_fn84( 8,  4, R);
274
12.6k
    assign_itx_all_fn84( 8,  8, );
275
12.6k
    assign_itx_all_fn84( 8, 16, R);
276
12.6k
    assign_itx_all_fn32( 8, 32, R);
277
12.6k
    assign_itx_all_fn84(16,  4, R);
278
12.6k
    assign_itx_all_fn84(16,  8, R);
279
12.6k
    assign_itx_all_fn16(16, 16, );
280
12.6k
    assign_itx_all_fn32(16, 32, R);
281
12.6k
    assign_itx_all_fn64(16, 64, R);
282
12.6k
    assign_itx_all_fn32(32,  8, R);
283
12.6k
    assign_itx_all_fn32(32, 16, R);
284
12.6k
    assign_itx_all_fn32(32, 32, );
285
12.6k
    assign_itx_all_fn64(32, 64, R);
286
12.6k
    assign_itx_all_fn64(64, 16, R);
287
12.6k
    assign_itx_all_fn64(64, 32, R);
288
12.6k
    assign_itx_all_fn64(64, 64, );
289
290
12.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
12.6k
    if (!all_simd)
310
12.6k
        dav1d_init_last_nonzero_col_from_eob_tables();
311
12.6k
}
dav1d_itx_dsp_init_16bpc
Line
Count
Source
220
14.9k
COLD void bitfn(dav1d_itx_dsp_init)(Dav1dInvTxfmDSPContext *const c, int bpc) {
221
14.9k
#define assign_itx_all_fn64(w, h, pfx) \
222
14.9k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_DCT  ] = \
223
14.9k
        inv_txfm_add_dct_dct_##w##x##h##_c
224
225
14.9k
#define assign_itx_all_fn32(w, h, pfx) \
226
14.9k
    assign_itx_all_fn64(w, h, pfx); \
227
14.9k
    c->itxfm_add[pfx##TX_##w##X##h][IDTX] = \
228
14.9k
        inv_txfm_add_identity_identity_##w##x##h##_c
229
230
14.9k
#define assign_itx_all_fn16(w, h, pfx) \
231
14.9k
    assign_itx_all_fn32(w, h, pfx); \
232
14.9k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_ADST ] = \
233
14.9k
        inv_txfm_add_adst_dct_##w##x##h##_c; \
234
14.9k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_DCT ] = \
235
14.9k
        inv_txfm_add_dct_adst_##w##x##h##_c; \
236
14.9k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_ADST] = \
237
14.9k
        inv_txfm_add_adst_adst_##w##x##h##_c; \
238
14.9k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_FLIPADST] = \
239
14.9k
        inv_txfm_add_flipadst_adst_##w##x##h##_c; \
240
14.9k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_ADST] = \
241
14.9k
        inv_txfm_add_adst_flipadst_##w##x##h##_c; \
242
14.9k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_FLIPADST] = \
243
14.9k
        inv_txfm_add_flipadst_dct_##w##x##h##_c; \
244
14.9k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_DCT] = \
245
14.9k
        inv_txfm_add_dct_flipadst_##w##x##h##_c; \
246
14.9k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_FLIPADST] = \
247
14.9k
        inv_txfm_add_flipadst_flipadst_##w##x##h##_c; \
248
14.9k
    c->itxfm_add[pfx##TX_##w##X##h][H_DCT] = \
249
14.9k
        inv_txfm_add_dct_identity_##w##x##h##_c; \
250
14.9k
    c->itxfm_add[pfx##TX_##w##X##h][V_DCT] = \
251
14.9k
        inv_txfm_add_identity_dct_##w##x##h##_c
252
253
14.9k
#define assign_itx_all_fn84(w, h, pfx) \
254
14.9k
    assign_itx_all_fn16(w, h, pfx); \
255
14.9k
    c->itxfm_add[pfx##TX_##w##X##h][H_FLIPADST] = \
256
14.9k
        inv_txfm_add_flipadst_identity_##w##x##h##_c; \
257
14.9k
    c->itxfm_add[pfx##TX_##w##X##h][V_FLIPADST] = \
258
14.9k
        inv_txfm_add_identity_flipadst_##w##x##h##_c; \
259
14.9k
    c->itxfm_add[pfx##TX_##w##X##h][H_ADST] = \
260
14.9k
        inv_txfm_add_adst_identity_##w##x##h##_c; \
261
14.9k
    c->itxfm_add[pfx##TX_##w##X##h][V_ADST] = \
262
14.9k
        inv_txfm_add_identity_adst_##w##x##h##_c; \
263
14.9k
264
14.9k
#if !(HAVE_ASM && TRIM_DSP_FUNCTIONS && ( \
265
14.9k
  ARCH_AARCH64 || \
266
14.9k
  (ARCH_ARM && (defined(__ARM_NEON) || defined(__APPLE__) || defined(_WIN32))) \
267
14.9k
))
268
14.9k
    c->itxfm_add[TX_4X4][WHT_WHT] = inv_txfm_add_wht_wht_4x4_c;
269
14.9k
#endif
270
14.9k
    assign_itx_all_fn84( 4,  4, );
271
14.9k
    assign_itx_all_fn84( 4,  8, R);
272
14.9k
    assign_itx_all_fn84( 4, 16, R);
273
14.9k
    assign_itx_all_fn84( 8,  4, R);
274
14.9k
    assign_itx_all_fn84( 8,  8, );
275
14.9k
    assign_itx_all_fn84( 8, 16, R);
276
14.9k
    assign_itx_all_fn32( 8, 32, R);
277
14.9k
    assign_itx_all_fn84(16,  4, R);
278
14.9k
    assign_itx_all_fn84(16,  8, R);
279
14.9k
    assign_itx_all_fn16(16, 16, );
280
14.9k
    assign_itx_all_fn32(16, 32, R);
281
14.9k
    assign_itx_all_fn64(16, 64, R);
282
14.9k
    assign_itx_all_fn32(32,  8, R);
283
14.9k
    assign_itx_all_fn32(32, 16, R);
284
14.9k
    assign_itx_all_fn32(32, 32, );
285
14.9k
    assign_itx_all_fn64(32, 64, R);
286
14.9k
    assign_itx_all_fn64(64, 16, R);
287
14.9k
    assign_itx_all_fn64(64, 32, R);
288
14.9k
    assign_itx_all_fn64(64, 64, );
289
290
14.9k
    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
14.9k
    if (!all_simd)
310
14.9k
        dav1d_init_last_nonzero_col_from_eob_tables();
311
14.9k
}