Coverage Report

Created: 2026-10-17 06:55

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
490k
{
48
490k
    const TxfmInfo *const t_dim = &dav1d_txfm_dimensions[tx];
49
490k
    const int w = 4 * t_dim->w, h = 4 * t_dim->h;
50
490k
    const int has_dconly = txtp == DCT_DCT;
51
490k
    assert(w >= 4 && w <= 64);
52
490k
    assert(h >= 4 && h <= 64);
53
490k
    assert(eob >= 0);
54
55
490k
    const int is_rect2 = w * 2 == h || h * 2 == w;
56
490k
    const int rnd = (1 << shift) >> 1;
57
58
490k
    if (eob < has_dconly) {
59
111k
        int dc = coeff[0];
60
111k
        coeff[0] = 0;
61
111k
        if (is_rect2)
62
35.6k
            dc = (dc * 181 + 128) >> 8;
63
111k
        dc = (dc * 181 + 128) >> 8;
64
111k
        dc = (dc + rnd) >> shift;
65
111k
        dc = (dc * 181 + 128 + 2048) >> 12;
66
3.56M
        for (int y = 0; y < h; y++, dst += PXSTRIDE(stride))
67
135M
            for (int x = 0; x < w; x++)
68
132M
                dst[x] = iclip_pixel(dst[x] + dc);
69
111k
        return;
70
111k
    }
71
72
379k
    const uint8_t *const txtps = dav1d_tx1d_types[txtp];
73
379k
    const itx_1d_fn first_1d_fn = dav1d_tx1d_fns[t_dim->lw][txtps[0]];
74
379k
    const itx_1d_fn second_1d_fn = dav1d_tx1d_fns[t_dim->lh][txtps[1]];
75
379k
    const int sh = imin(h, 32), sw = imin(w, 32);
76
379k
#if BITDEPTH == 8
77
379k
    const int row_clip_min = INT16_MIN;
78
379k
    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
379k
    const int row_clip_max = ~row_clip_min;
84
379k
    const int col_clip_max = ~col_clip_min;
85
86
379k
    int32_t tmp[64 * 64], *c = tmp;
87
379k
    int last_nonzero_col; // in first 1d itx
88
379k
    if (txtps[1] == IDENTITY && txtps[0] != IDENTITY) {
89
37.5k
        last_nonzero_col = imin(sh - 1, eob);
90
341k
    } else if (txtps[0] == IDENTITY && txtps[1] != IDENTITY) {
91
22.5k
        last_nonzero_col = eob >> (t_dim->lw + 2);
92
318k
    } else {
93
318k
        last_nonzero_col = dav1d_last_nonzero_col_from_eob[tx][eob];
94
318k
    }
95
379k
    assert(last_nonzero_col < sh);
96
2.09M
    for (int y = 0; y <= last_nonzero_col; y++, c += w) {
97
1.71M
        if (is_rect2)
98
10.7M
            for (int x = 0; x < sw; x++)
99
10.0M
                c[x] = (coeff[y + x * sh] * 181 + 128) >> 8;
100
1.06M
        else
101
15.9M
            for (int x = 0; x < sw; x++)
102
14.8M
                c[x] = coeff[y + x * sh];
103
1.71M
        first_1d_fn(c, 1, row_clip_min, row_clip_max);
104
1.71M
    }
105
379k
    if (last_nonzero_col + 1 < sh)
106
301k
        memset(c, 0, sizeof(*c) * (sh - last_nonzero_col - 1) * w);
107
108
379k
    memset(coeff, 0, sizeof(*coeff) * sw * sh);
109
91.7M
    for (int i = 0; i < w * sh; i++)
110
91.4M
        tmp[i] = iclip((tmp[i] + rnd) >> shift, col_clip_min, col_clip_max);
111
112
5.54M
    for (int x = 0; x < w; x++)
113
5.16M
        second_1d_fn(&tmp[x], w, col_clip_min, col_clip_max);
114
115
379k
    c = tmp;
116
5.72M
    for (int y = 0; y < h; y++, dst += PXSTRIDE(stride))
117
125M
        for (int x = 0; x < w; x++)
118
120M
            dst[x] = iclip_pixel(dst[x] + ((*c++ + 8) >> 4));
119
379k
}
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
490k
                                               HIGHBD_DECL_SUFFIX) \
128
490k
{ \
129
490k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
490k
                   HIGHBD_TAIL_SUFFIX); \
131
490k
}
itx_tmpl.c:inv_txfm_add_dct_dct_4x4_c
Line
Count
Source
127
14.2k
                                               HIGHBD_DECL_SUFFIX) \
128
14.2k
{ \
129
14.2k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
14.2k
                   HIGHBD_TAIL_SUFFIX); \
131
14.2k
}
itx_tmpl.c:inv_txfm_add_identity_identity_4x4_c
Line
Count
Source
127
8.42k
                                               HIGHBD_DECL_SUFFIX) \
128
8.42k
{ \
129
8.42k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
8.42k
                   HIGHBD_TAIL_SUFFIX); \
131
8.42k
}
itx_tmpl.c:inv_txfm_add_adst_dct_4x4_c
Line
Count
Source
127
4.77k
                                               HIGHBD_DECL_SUFFIX) \
128
4.77k
{ \
129
4.77k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.77k
                   HIGHBD_TAIL_SUFFIX); \
131
4.77k
}
itx_tmpl.c:inv_txfm_add_dct_adst_4x4_c
Line
Count
Source
127
4.26k
                                               HIGHBD_DECL_SUFFIX) \
128
4.26k
{ \
129
4.26k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.26k
                   HIGHBD_TAIL_SUFFIX); \
131
4.26k
}
itx_tmpl.c:inv_txfm_add_adst_adst_4x4_c
Line
Count
Source
127
5.87k
                                               HIGHBD_DECL_SUFFIX) \
128
5.87k
{ \
129
5.87k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.87k
                   HIGHBD_TAIL_SUFFIX); \
131
5.87k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_4x4_c
Line
Count
Source
127
1.59k
                                               HIGHBD_DECL_SUFFIX) \
128
1.59k
{ \
129
1.59k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.59k
                   HIGHBD_TAIL_SUFFIX); \
131
1.59k
}
itx_tmpl.c:inv_txfm_add_adst_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_flipadst_dct_4x4_c
Line
Count
Source
127
1.30k
                                               HIGHBD_DECL_SUFFIX) \
128
1.30k
{ \
129
1.30k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.30k
                   HIGHBD_TAIL_SUFFIX); \
131
1.30k
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_4x4_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_flipadst_4x4_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_identity_4x4_c
Line
Count
Source
127
2.79k
                                               HIGHBD_DECL_SUFFIX) \
128
2.79k
{ \
129
2.79k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.79k
                   HIGHBD_TAIL_SUFFIX); \
131
2.79k
}
itx_tmpl.c:inv_txfm_add_identity_dct_4x4_c
Line
Count
Source
127
1.74k
                                               HIGHBD_DECL_SUFFIX) \
128
1.74k
{ \
129
1.74k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.74k
                   HIGHBD_TAIL_SUFFIX); \
131
1.74k
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_4x4_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_identity_flipadst_4x4_c
Line
Count
Source
127
1.21k
                                               HIGHBD_DECL_SUFFIX) \
128
1.21k
{ \
129
1.21k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.21k
                   HIGHBD_TAIL_SUFFIX); \
131
1.21k
}
itx_tmpl.c:inv_txfm_add_adst_identity_4x4_c
Line
Count
Source
127
2.59k
                                               HIGHBD_DECL_SUFFIX) \
128
2.59k
{ \
129
2.59k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.59k
                   HIGHBD_TAIL_SUFFIX); \
131
2.59k
}
itx_tmpl.c:inv_txfm_add_identity_adst_4x4_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_dct_dct_4x8_c
Line
Count
Source
127
5.29k
                                               HIGHBD_DECL_SUFFIX) \
128
5.29k
{ \
129
5.29k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.29k
                   HIGHBD_TAIL_SUFFIX); \
131
5.29k
}
itx_tmpl.c:inv_txfm_add_identity_identity_4x8_c
Line
Count
Source
127
3.24k
                                               HIGHBD_DECL_SUFFIX) \
128
3.24k
{ \
129
3.24k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.24k
                   HIGHBD_TAIL_SUFFIX); \
131
3.24k
}
itx_tmpl.c:inv_txfm_add_adst_dct_4x8_c
Line
Count
Source
127
1.96k
                                               HIGHBD_DECL_SUFFIX) \
128
1.96k
{ \
129
1.96k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.96k
                   HIGHBD_TAIL_SUFFIX); \
131
1.96k
}
itx_tmpl.c:inv_txfm_add_dct_adst_4x8_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_adst_adst_4x8_c
Line
Count
Source
127
2.50k
                                               HIGHBD_DECL_SUFFIX) \
128
2.50k
{ \
129
2.50k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.50k
                   HIGHBD_TAIL_SUFFIX); \
131
2.50k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_4x8_c
Line
Count
Source
127
734
                                               HIGHBD_DECL_SUFFIX) \
128
734
{ \
129
734
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
734
                   HIGHBD_TAIL_SUFFIX); \
131
734
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_4x8_c
Line
Count
Source
127
901
                                               HIGHBD_DECL_SUFFIX) \
128
901
{ \
129
901
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
901
                   HIGHBD_TAIL_SUFFIX); \
131
901
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_4x8_c
Line
Count
Source
127
798
                                               HIGHBD_DECL_SUFFIX) \
128
798
{ \
129
798
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
798
                   HIGHBD_TAIL_SUFFIX); \
131
798
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_4x8_c
Line
Count
Source
127
756
                                               HIGHBD_DECL_SUFFIX) \
128
756
{ \
129
756
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
756
                   HIGHBD_TAIL_SUFFIX); \
131
756
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_4x8_c
Line
Count
Source
127
722
                                               HIGHBD_DECL_SUFFIX) \
128
722
{ \
129
722
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
722
                   HIGHBD_TAIL_SUFFIX); \
131
722
}
itx_tmpl.c:inv_txfm_add_dct_identity_4x8_c
Line
Count
Source
127
1.35k
                                               HIGHBD_DECL_SUFFIX) \
128
1.35k
{ \
129
1.35k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.35k
                   HIGHBD_TAIL_SUFFIX); \
131
1.35k
}
itx_tmpl.c:inv_txfm_add_identity_dct_4x8_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_flipadst_identity_4x8_c
Line
Count
Source
127
1.08k
                                               HIGHBD_DECL_SUFFIX) \
128
1.08k
{ \
129
1.08k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.08k
                   HIGHBD_TAIL_SUFFIX); \
131
1.08k
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_4x8_c
Line
Count
Source
127
543
                                               HIGHBD_DECL_SUFFIX) \
128
543
{ \
129
543
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
543
                   HIGHBD_TAIL_SUFFIX); \
131
543
}
itx_tmpl.c:inv_txfm_add_adst_identity_4x8_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_identity_adst_4x8_c
Line
Count
Source
127
904
                                               HIGHBD_DECL_SUFFIX) \
128
904
{ \
129
904
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
904
                   HIGHBD_TAIL_SUFFIX); \
131
904
}
itx_tmpl.c:inv_txfm_add_dct_dct_4x16_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_identity_identity_4x16_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_dct_4x16_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_dct_adst_4x16_c
Line
Count
Source
127
894
                                               HIGHBD_DECL_SUFFIX) \
128
894
{ \
129
894
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
894
                   HIGHBD_TAIL_SUFFIX); \
131
894
}
itx_tmpl.c:inv_txfm_add_adst_adst_4x16_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_flipadst_adst_4x16_c
Line
Count
Source
127
470
                                               HIGHBD_DECL_SUFFIX) \
128
470
{ \
129
470
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
470
                   HIGHBD_TAIL_SUFFIX); \
131
470
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_4x16_c
Line
Count
Source
127
481
                                               HIGHBD_DECL_SUFFIX) \
128
481
{ \
129
481
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
481
                   HIGHBD_TAIL_SUFFIX); \
131
481
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_4x16_c
Line
Count
Source
127
441
                                               HIGHBD_DECL_SUFFIX) \
128
441
{ \
129
441
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
441
                   HIGHBD_TAIL_SUFFIX); \
131
441
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_4x16_c
Line
Count
Source
127
616
                                               HIGHBD_DECL_SUFFIX) \
128
616
{ \
129
616
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
616
                   HIGHBD_TAIL_SUFFIX); \
131
616
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_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_dct_identity_4x16_c
Line
Count
Source
127
763
                                               HIGHBD_DECL_SUFFIX) \
128
763
{ \
129
763
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
763
                   HIGHBD_TAIL_SUFFIX); \
131
763
}
itx_tmpl.c:inv_txfm_add_identity_dct_4x16_c
Line
Count
Source
127
543
                                               HIGHBD_DECL_SUFFIX) \
128
543
{ \
129
543
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
543
                   HIGHBD_TAIL_SUFFIX); \
131
543
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_4x16_c
Line
Count
Source
127
633
                                               HIGHBD_DECL_SUFFIX) \
128
633
{ \
129
633
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
633
                   HIGHBD_TAIL_SUFFIX); \
131
633
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_4x16_c
Line
Count
Source
127
494
                                               HIGHBD_DECL_SUFFIX) \
128
494
{ \
129
494
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
494
                   HIGHBD_TAIL_SUFFIX); \
131
494
}
itx_tmpl.c:inv_txfm_add_adst_identity_4x16_c
Line
Count
Source
127
683
                                               HIGHBD_DECL_SUFFIX) \
128
683
{ \
129
683
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
683
                   HIGHBD_TAIL_SUFFIX); \
131
683
}
itx_tmpl.c:inv_txfm_add_identity_adst_4x16_c
Line
Count
Source
127
501
                                               HIGHBD_DECL_SUFFIX) \
128
501
{ \
129
501
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
501
                   HIGHBD_TAIL_SUFFIX); \
131
501
}
itx_tmpl.c:inv_txfm_add_dct_dct_8x4_c
Line
Count
Source
127
7.97k
                                               HIGHBD_DECL_SUFFIX) \
128
7.97k
{ \
129
7.97k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
7.97k
                   HIGHBD_TAIL_SUFFIX); \
131
7.97k
}
itx_tmpl.c:inv_txfm_add_identity_identity_8x4_c
Line
Count
Source
127
4.53k
                                               HIGHBD_DECL_SUFFIX) \
128
4.53k
{ \
129
4.53k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.53k
                   HIGHBD_TAIL_SUFFIX); \
131
4.53k
}
itx_tmpl.c:inv_txfm_add_adst_dct_8x4_c
Line
Count
Source
127
2.86k
                                               HIGHBD_DECL_SUFFIX) \
128
2.86k
{ \
129
2.86k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.86k
                   HIGHBD_TAIL_SUFFIX); \
131
2.86k
}
itx_tmpl.c:inv_txfm_add_dct_adst_8x4_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_8x4_c
Line
Count
Source
127
3.37k
                                               HIGHBD_DECL_SUFFIX) \
128
3.37k
{ \
129
3.37k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.37k
                   HIGHBD_TAIL_SUFFIX); \
131
3.37k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_8x4_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_adst_flipadst_8x4_c
Line
Count
Source
127
1.20k
                                               HIGHBD_DECL_SUFFIX) \
128
1.20k
{ \
129
1.20k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.20k
                   HIGHBD_TAIL_SUFFIX); \
131
1.20k
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_8x4_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_dct_flipadst_8x4_c
Line
Count
Source
127
1.02k
                                               HIGHBD_DECL_SUFFIX) \
128
1.02k
{ \
129
1.02k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.02k
                   HIGHBD_TAIL_SUFFIX); \
131
1.02k
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_8x4_c
Line
Count
Source
127
801
                                               HIGHBD_DECL_SUFFIX) \
128
801
{ \
129
801
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
801
                   HIGHBD_TAIL_SUFFIX); \
131
801
}
itx_tmpl.c:inv_txfm_add_dct_identity_8x4_c
Line
Count
Source
127
1.88k
                                               HIGHBD_DECL_SUFFIX) \
128
1.88k
{ \
129
1.88k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.88k
                   HIGHBD_TAIL_SUFFIX); \
131
1.88k
}
itx_tmpl.c:inv_txfm_add_identity_dct_8x4_c
Line
Count
Source
127
918
                                               HIGHBD_DECL_SUFFIX) \
128
918
{ \
129
918
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
918
                   HIGHBD_TAIL_SUFFIX); \
131
918
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_8x4_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_8x4_c
Line
Count
Source
127
900
                                               HIGHBD_DECL_SUFFIX) \
128
900
{ \
129
900
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
900
                   HIGHBD_TAIL_SUFFIX); \
131
900
}
itx_tmpl.c:inv_txfm_add_adst_identity_8x4_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_identity_adst_8x4_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_dct_8x8_c
Line
Count
Source
127
24.3k
                                               HIGHBD_DECL_SUFFIX) \
128
24.3k
{ \
129
24.3k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
24.3k
                   HIGHBD_TAIL_SUFFIX); \
131
24.3k
}
itx_tmpl.c:inv_txfm_add_identity_identity_8x8_c
Line
Count
Source
127
6.99k
                                               HIGHBD_DECL_SUFFIX) \
128
6.99k
{ \
129
6.99k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
6.99k
                   HIGHBD_TAIL_SUFFIX); \
131
6.99k
}
itx_tmpl.c:inv_txfm_add_adst_dct_8x8_c
Line
Count
Source
127
9.10k
                                               HIGHBD_DECL_SUFFIX) \
128
9.10k
{ \
129
9.10k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
9.10k
                   HIGHBD_TAIL_SUFFIX); \
131
9.10k
}
itx_tmpl.c:inv_txfm_add_dct_adst_8x8_c
Line
Count
Source
127
7.64k
                                               HIGHBD_DECL_SUFFIX) \
128
7.64k
{ \
129
7.64k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
7.64k
                   HIGHBD_TAIL_SUFFIX); \
131
7.64k
}
itx_tmpl.c:inv_txfm_add_adst_adst_8x8_c
Line
Count
Source
127
7.54k
                                               HIGHBD_DECL_SUFFIX) \
128
7.54k
{ \
129
7.54k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
7.54k
                   HIGHBD_TAIL_SUFFIX); \
131
7.54k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_8x8_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_adst_flipadst_8x8_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_flipadst_dct_8x8_c
Line
Count
Source
127
2.64k
                                               HIGHBD_DECL_SUFFIX) \
128
2.64k
{ \
129
2.64k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.64k
                   HIGHBD_TAIL_SUFFIX); \
131
2.64k
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_8x8_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_flipadst_flipadst_8x8_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_dct_identity_8x8_c
Line
Count
Source
127
3.31k
                                               HIGHBD_DECL_SUFFIX) \
128
3.31k
{ \
129
3.31k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.31k
                   HIGHBD_TAIL_SUFFIX); \
131
3.31k
}
itx_tmpl.c:inv_txfm_add_identity_dct_8x8_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_flipadst_identity_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_identity_flipadst_8x8_c
Line
Count
Source
127
1.04k
                                               HIGHBD_DECL_SUFFIX) \
128
1.04k
{ \
129
1.04k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.04k
                   HIGHBD_TAIL_SUFFIX); \
131
1.04k
}
itx_tmpl.c:inv_txfm_add_adst_identity_8x8_c
Line
Count
Source
127
2.22k
                                               HIGHBD_DECL_SUFFIX) \
128
2.22k
{ \
129
2.22k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.22k
                   HIGHBD_TAIL_SUFFIX); \
131
2.22k
}
itx_tmpl.c:inv_txfm_add_identity_adst_8x8_c
Line
Count
Source
127
1.19k
                                               HIGHBD_DECL_SUFFIX) \
128
1.19k
{ \
129
1.19k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.19k
                   HIGHBD_TAIL_SUFFIX); \
131
1.19k
}
itx_tmpl.c:inv_txfm_add_dct_dct_8x16_c
Line
Count
Source
127
8.30k
                                               HIGHBD_DECL_SUFFIX) \
128
8.30k
{ \
129
8.30k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
8.30k
                   HIGHBD_TAIL_SUFFIX); \
131
8.30k
}
itx_tmpl.c:inv_txfm_add_identity_identity_8x16_c
Line
Count
Source
127
1.96k
                                               HIGHBD_DECL_SUFFIX) \
128
1.96k
{ \
129
1.96k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.96k
                   HIGHBD_TAIL_SUFFIX); \
131
1.96k
}
itx_tmpl.c:inv_txfm_add_adst_dct_8x16_c
Line
Count
Source
127
2.62k
                                               HIGHBD_DECL_SUFFIX) \
128
2.62k
{ \
129
2.62k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.62k
                   HIGHBD_TAIL_SUFFIX); \
131
2.62k
}
itx_tmpl.c:inv_txfm_add_dct_adst_8x16_c
Line
Count
Source
127
1.97k
                                               HIGHBD_DECL_SUFFIX) \
128
1.97k
{ \
129
1.97k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.97k
                   HIGHBD_TAIL_SUFFIX); \
131
1.97k
}
itx_tmpl.c:inv_txfm_add_adst_adst_8x16_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_adst_8x16_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_adst_flipadst_8x16_c
Line
Count
Source
127
773
                                               HIGHBD_DECL_SUFFIX) \
128
773
{ \
129
773
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
773
                   HIGHBD_TAIL_SUFFIX); \
131
773
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_8x16_c
Line
Count
Source
127
965
                                               HIGHBD_DECL_SUFFIX) \
128
965
{ \
129
965
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
965
                   HIGHBD_TAIL_SUFFIX); \
131
965
}
itx_tmpl.c:inv_txfm_add_dct_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_flipadst_flipadst_8x16_c
Line
Count
Source
127
692
                                               HIGHBD_DECL_SUFFIX) \
128
692
{ \
129
692
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
692
                   HIGHBD_TAIL_SUFFIX); \
131
692
}
itx_tmpl.c:inv_txfm_add_dct_identity_8x16_c
Line
Count
Source
127
998
                                               HIGHBD_DECL_SUFFIX) \
128
998
{ \
129
998
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
998
                   HIGHBD_TAIL_SUFFIX); \
131
998
}
itx_tmpl.c:inv_txfm_add_identity_dct_8x16_c
Line
Count
Source
127
637
                                               HIGHBD_DECL_SUFFIX) \
128
637
{ \
129
637
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
637
                   HIGHBD_TAIL_SUFFIX); \
131
637
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_8x16_c
Line
Count
Source
127
797
                                               HIGHBD_DECL_SUFFIX) \
128
797
{ \
129
797
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
797
                   HIGHBD_TAIL_SUFFIX); \
131
797
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_8x16_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_adst_identity_8x16_c
Line
Count
Source
127
874
                                               HIGHBD_DECL_SUFFIX) \
128
874
{ \
129
874
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
874
                   HIGHBD_TAIL_SUFFIX); \
131
874
}
itx_tmpl.c:inv_txfm_add_identity_adst_8x16_c
Line
Count
Source
127
558
                                               HIGHBD_DECL_SUFFIX) \
128
558
{ \
129
558
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
558
                   HIGHBD_TAIL_SUFFIX); \
131
558
}
itx_tmpl.c:inv_txfm_add_dct_dct_8x32_c
Line
Count
Source
127
6.41k
                                               HIGHBD_DECL_SUFFIX) \
128
6.41k
{ \
129
6.41k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
6.41k
                   HIGHBD_TAIL_SUFFIX); \
131
6.41k
}
itx_tmpl.c:inv_txfm_add_identity_identity_8x32_c
Line
Count
Source
127
745
                                               HIGHBD_DECL_SUFFIX) \
128
745
{ \
129
745
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
745
                   HIGHBD_TAIL_SUFFIX); \
131
745
}
itx_tmpl.c:inv_txfm_add_dct_dct_16x4_c
Line
Count
Source
127
4.87k
                                               HIGHBD_DECL_SUFFIX) \
128
4.87k
{ \
129
4.87k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
4.87k
                   HIGHBD_TAIL_SUFFIX); \
131
4.87k
}
itx_tmpl.c:inv_txfm_add_identity_identity_16x4_c
Line
Count
Source
127
3.21k
                                               HIGHBD_DECL_SUFFIX) \
128
3.21k
{ \
129
3.21k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.21k
                   HIGHBD_TAIL_SUFFIX); \
131
3.21k
}
itx_tmpl.c:inv_txfm_add_adst_dct_16x4_c
Line
Count
Source
127
1.40k
                                               HIGHBD_DECL_SUFFIX) \
128
1.40k
{ \
129
1.40k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.40k
                   HIGHBD_TAIL_SUFFIX); \
131
1.40k
}
itx_tmpl.c:inv_txfm_add_dct_adst_16x4_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_adst_adst_16x4_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_flipadst_adst_16x4_c
Line
Count
Source
127
849
                                               HIGHBD_DECL_SUFFIX) \
128
849
{ \
129
849
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
849
                   HIGHBD_TAIL_SUFFIX); \
131
849
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_16x4_c
Line
Count
Source
127
824
                                               HIGHBD_DECL_SUFFIX) \
128
824
{ \
129
824
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
824
                   HIGHBD_TAIL_SUFFIX); \
131
824
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_16x4_c
Line
Count
Source
127
543
                                               HIGHBD_DECL_SUFFIX) \
128
543
{ \
129
543
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
543
                   HIGHBD_TAIL_SUFFIX); \
131
543
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_16x4_c
Line
Count
Source
127
687
                                               HIGHBD_DECL_SUFFIX) \
128
687
{ \
129
687
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
687
                   HIGHBD_TAIL_SUFFIX); \
131
687
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_16x4_c
Line
Count
Source
127
596
                                               HIGHBD_DECL_SUFFIX) \
128
596
{ \
129
596
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
596
                   HIGHBD_TAIL_SUFFIX); \
131
596
}
itx_tmpl.c:inv_txfm_add_dct_identity_16x4_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_dct_16x4_c
Line
Count
Source
127
698
                                               HIGHBD_DECL_SUFFIX) \
128
698
{ \
129
698
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
698
                   HIGHBD_TAIL_SUFFIX); \
131
698
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_16x4_c
Line
Count
Source
127
1.08k
                                               HIGHBD_DECL_SUFFIX) \
128
1.08k
{ \
129
1.08k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.08k
                   HIGHBD_TAIL_SUFFIX); \
131
1.08k
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_16x4_c
Line
Count
Source
127
635
                                               HIGHBD_DECL_SUFFIX) \
128
635
{ \
129
635
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
635
                   HIGHBD_TAIL_SUFFIX); \
131
635
}
itx_tmpl.c:inv_txfm_add_adst_identity_16x4_c
Line
Count
Source
127
1.18k
                                               HIGHBD_DECL_SUFFIX) \
128
1.18k
{ \
129
1.18k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.18k
                   HIGHBD_TAIL_SUFFIX); \
131
1.18k
}
itx_tmpl.c:inv_txfm_add_identity_adst_16x4_c
Line
Count
Source
127
747
                                               HIGHBD_DECL_SUFFIX) \
128
747
{ \
129
747
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
747
                   HIGHBD_TAIL_SUFFIX); \
131
747
}
itx_tmpl.c:inv_txfm_add_dct_dct_16x8_c
Line
Count
Source
127
11.0k
                                               HIGHBD_DECL_SUFFIX) \
128
11.0k
{ \
129
11.0k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
11.0k
                   HIGHBD_TAIL_SUFFIX); \
131
11.0k
}
itx_tmpl.c:inv_txfm_add_identity_identity_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_adst_dct_16x8_c
Line
Count
Source
127
3.24k
                                               HIGHBD_DECL_SUFFIX) \
128
3.24k
{ \
129
3.24k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
3.24k
                   HIGHBD_TAIL_SUFFIX); \
131
3.24k
}
itx_tmpl.c:inv_txfm_add_dct_adst_16x8_c
Line
Count
Source
127
2.67k
                                               HIGHBD_DECL_SUFFIX) \
128
2.67k
{ \
129
2.67k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.67k
                   HIGHBD_TAIL_SUFFIX); \
131
2.67k
}
itx_tmpl.c:inv_txfm_add_adst_adst_16x8_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_flipadst_adst_16x8_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_16x8_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_flipadst_dct_16x8_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_dct_flipadst_16x8_c
Line
Count
Source
127
993
                                               HIGHBD_DECL_SUFFIX) \
128
993
{ \
129
993
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
993
                   HIGHBD_TAIL_SUFFIX); \
131
993
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_16x8_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_identity_16x8_c
Line
Count
Source
127
1.30k
                                               HIGHBD_DECL_SUFFIX) \
128
1.30k
{ \
129
1.30k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.30k
                   HIGHBD_TAIL_SUFFIX); \
131
1.30k
}
itx_tmpl.c:inv_txfm_add_identity_dct_16x8_c
Line
Count
Source
127
843
                                               HIGHBD_DECL_SUFFIX) \
128
843
{ \
129
843
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
843
                   HIGHBD_TAIL_SUFFIX); \
131
843
}
itx_tmpl.c:inv_txfm_add_flipadst_identity_16x8_c
Line
Count
Source
127
972
                                               HIGHBD_DECL_SUFFIX) \
128
972
{ \
129
972
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
972
                   HIGHBD_TAIL_SUFFIX); \
131
972
}
itx_tmpl.c:inv_txfm_add_identity_flipadst_16x8_c
Line
Count
Source
127
478
                                               HIGHBD_DECL_SUFFIX) \
128
478
{ \
129
478
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
478
                   HIGHBD_TAIL_SUFFIX); \
131
478
}
itx_tmpl.c:inv_txfm_add_adst_identity_16x8_c
Line
Count
Source
127
1.19k
                                               HIGHBD_DECL_SUFFIX) \
128
1.19k
{ \
129
1.19k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.19k
                   HIGHBD_TAIL_SUFFIX); \
131
1.19k
}
itx_tmpl.c:inv_txfm_add_identity_adst_16x8_c
Line
Count
Source
127
609
                                               HIGHBD_DECL_SUFFIX) \
128
609
{ \
129
609
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
609
                   HIGHBD_TAIL_SUFFIX); \
131
609
}
itx_tmpl.c:inv_txfm_add_dct_dct_16x16_c
Line
Count
Source
127
19.5k
                                               HIGHBD_DECL_SUFFIX) \
128
19.5k
{ \
129
19.5k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
19.5k
                   HIGHBD_TAIL_SUFFIX); \
131
19.5k
}
itx_tmpl.c:inv_txfm_add_identity_identity_16x16_c
Line
Count
Source
127
2.20k
                                               HIGHBD_DECL_SUFFIX) \
128
2.20k
{ \
129
2.20k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
2.20k
                   HIGHBD_TAIL_SUFFIX); \
131
2.20k
}
itx_tmpl.c:inv_txfm_add_adst_dct_16x16_c
Line
Count
Source
127
8.14k
                                               HIGHBD_DECL_SUFFIX) \
128
8.14k
{ \
129
8.14k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
8.14k
                   HIGHBD_TAIL_SUFFIX); \
131
8.14k
}
itx_tmpl.c:inv_txfm_add_dct_adst_16x16_c
Line
Count
Source
127
6.06k
                                               HIGHBD_DECL_SUFFIX) \
128
6.06k
{ \
129
6.06k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
6.06k
                   HIGHBD_TAIL_SUFFIX); \
131
6.06k
}
itx_tmpl.c:inv_txfm_add_adst_adst_16x16_c
Line
Count
Source
127
7.37k
                                               HIGHBD_DECL_SUFFIX) \
128
7.37k
{ \
129
7.37k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
7.37k
                   HIGHBD_TAIL_SUFFIX); \
131
7.37k
}
itx_tmpl.c:inv_txfm_add_flipadst_adst_16x16_c
Line
Count
Source
127
1.10k
                                               HIGHBD_DECL_SUFFIX) \
128
1.10k
{ \
129
1.10k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.10k
                   HIGHBD_TAIL_SUFFIX); \
131
1.10k
}
itx_tmpl.c:inv_txfm_add_adst_flipadst_16x16_c
Line
Count
Source
127
1.34k
                                               HIGHBD_DECL_SUFFIX) \
128
1.34k
{ \
129
1.34k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.34k
                   HIGHBD_TAIL_SUFFIX); \
131
1.34k
}
itx_tmpl.c:inv_txfm_add_flipadst_dct_16x16_c
Line
Count
Source
127
1.70k
                                               HIGHBD_DECL_SUFFIX) \
128
1.70k
{ \
129
1.70k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.70k
                   HIGHBD_TAIL_SUFFIX); \
131
1.70k
}
itx_tmpl.c:inv_txfm_add_dct_flipadst_16x16_c
Line
Count
Source
127
1.66k
                                               HIGHBD_DECL_SUFFIX) \
128
1.66k
{ \
129
1.66k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.66k
                   HIGHBD_TAIL_SUFFIX); \
131
1.66k
}
itx_tmpl.c:inv_txfm_add_flipadst_flipadst_16x16_c
Line
Count
Source
127
1.04k
                                               HIGHBD_DECL_SUFFIX) \
128
1.04k
{ \
129
1.04k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.04k
                   HIGHBD_TAIL_SUFFIX); \
131
1.04k
}
itx_tmpl.c:inv_txfm_add_dct_identity_16x16_c
Line
Count
Source
127
1.68k
                                               HIGHBD_DECL_SUFFIX) \
128
1.68k
{ \
129
1.68k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.68k
                   HIGHBD_TAIL_SUFFIX); \
131
1.68k
}
itx_tmpl.c:inv_txfm_add_identity_dct_16x16_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_dct_dct_16x32_c
Line
Count
Source
127
19.5k
                                               HIGHBD_DECL_SUFFIX) \
128
19.5k
{ \
129
19.5k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
19.5k
                   HIGHBD_TAIL_SUFFIX); \
131
19.5k
}
itx_tmpl.c:inv_txfm_add_identity_identity_16x32_c
Line
Count
Source
127
428
                                               HIGHBD_DECL_SUFFIX) \
128
428
{ \
129
428
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
428
                   HIGHBD_TAIL_SUFFIX); \
131
428
}
itx_tmpl.c:inv_txfm_add_dct_dct_16x64_c
Line
Count
Source
127
5.41k
                                               HIGHBD_DECL_SUFFIX) \
128
5.41k
{ \
129
5.41k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
5.41k
                   HIGHBD_TAIL_SUFFIX); \
131
5.41k
}
itx_tmpl.c:inv_txfm_add_dct_dct_32x8_c
Line
Count
Source
127
6.33k
                                               HIGHBD_DECL_SUFFIX) \
128
6.33k
{ \
129
6.33k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
6.33k
                   HIGHBD_TAIL_SUFFIX); \
131
6.33k
}
itx_tmpl.c:inv_txfm_add_identity_identity_32x8_c
Line
Count
Source
127
628
                                               HIGHBD_DECL_SUFFIX) \
128
628
{ \
129
628
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
628
                   HIGHBD_TAIL_SUFFIX); \
131
628
}
itx_tmpl.c:inv_txfm_add_dct_dct_32x16_c
Line
Count
Source
127
12.5k
                                               HIGHBD_DECL_SUFFIX) \
128
12.5k
{ \
129
12.5k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
12.5k
                   HIGHBD_TAIL_SUFFIX); \
131
12.5k
}
itx_tmpl.c:inv_txfm_add_identity_identity_32x16_c
Line
Count
Source
127
356
                                               HIGHBD_DECL_SUFFIX) \
128
356
{ \
129
356
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
356
                   HIGHBD_TAIL_SUFFIX); \
131
356
}
itx_tmpl.c:inv_txfm_add_dct_dct_32x32_c
Line
Count
Source
127
45.7k
                                               HIGHBD_DECL_SUFFIX) \
128
45.7k
{ \
129
45.7k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
45.7k
                   HIGHBD_TAIL_SUFFIX); \
131
45.7k
}
itx_tmpl.c:inv_txfm_add_identity_identity_32x32_c
Line
Count
Source
127
346
                                               HIGHBD_DECL_SUFFIX) \
128
346
{ \
129
346
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
346
                   HIGHBD_TAIL_SUFFIX); \
131
346
}
itx_tmpl.c:inv_txfm_add_dct_dct_32x64_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_dct_dct_64x16_c
Line
Count
Source
127
1.18k
                                               HIGHBD_DECL_SUFFIX) \
128
1.18k
{ \
129
1.18k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
1.18k
                   HIGHBD_TAIL_SUFFIX); \
131
1.18k
}
itx_tmpl.c:inv_txfm_add_dct_dct_64x32_c
Line
Count
Source
127
6.22k
                                               HIGHBD_DECL_SUFFIX) \
128
6.22k
{ \
129
6.22k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
6.22k
                   HIGHBD_TAIL_SUFFIX); \
131
6.22k
}
itx_tmpl.c:inv_txfm_add_dct_dct_64x64_c
Line
Count
Source
127
25.2k
                                               HIGHBD_DECL_SUFFIX) \
128
25.2k
{ \
129
25.2k
    inv_txfm_add_c(dst, stride, coeff, eob, pfx##TX_##w##X##h, shift, type \
130
25.2k
                   HIGHBD_TAIL_SUFFIX); \
131
25.2k
}
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
25.7k
{
188
25.7k
    int32_t tmp[4 * 4], *c = tmp;
189
128k
    for (int y = 0; y < 4; y++, c += 4) {
190
515k
        for (int x = 0; x < 4; x++)
191
412k
            c[x] = coeff[y + x * 4] >> 2;
192
103k
        dav1d_inv_wht4_1d_c(c, 1);
193
103k
    }
194
25.7k
    memset(coeff, 0, sizeof(*coeff) * 4 * 4);
195
196
128k
    for (int x = 0; x < 4; x++)
197
103k
        dav1d_inv_wht4_1d_c(&tmp[x], 4);
198
199
25.7k
    c = tmp;
200
128k
    for (int y = 0; y < 4; y++, dst += PXSTRIDE(stride))
201
515k
        for (int x = 0; x < 4; x++)
202
412k
            dst[x] = iclip_pixel(dst[x] + *c++);
203
25.7k
}
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
40.4k
COLD void bitfn(dav1d_itx_dsp_init)(Dav1dInvTxfmDSPContext *const c, int bpc) {
221
40.4k
#define assign_itx_all_fn64(w, h, pfx) \
222
767k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_DCT  ] = \
223
767k
        inv_txfm_add_dct_dct_##w##x##h##_c
224
225
40.4k
#define assign_itx_all_fn32(w, h, pfx) \
226
565k
    assign_itx_all_fn64(w, h, pfx); \
227
565k
    c->itxfm_add[pfx##TX_##w##X##h][IDTX] = \
228
565k
        inv_txfm_add_identity_identity_##w##x##h##_c
229
230
40.4k
#define assign_itx_all_fn16(w, h, pfx) \
231
363k
    assign_itx_all_fn32(w, h, pfx); \
232
363k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_ADST ] = \
233
363k
        inv_txfm_add_adst_dct_##w##x##h##_c; \
234
363k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_DCT ] = \
235
363k
        inv_txfm_add_dct_adst_##w##x##h##_c; \
236
363k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_ADST] = \
237
363k
        inv_txfm_add_adst_adst_##w##x##h##_c; \
238
363k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_FLIPADST] = \
239
363k
        inv_txfm_add_flipadst_adst_##w##x##h##_c; \
240
363k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_ADST] = \
241
363k
        inv_txfm_add_adst_flipadst_##w##x##h##_c; \
242
363k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_FLIPADST] = \
243
363k
        inv_txfm_add_flipadst_dct_##w##x##h##_c; \
244
363k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_DCT] = \
245
363k
        inv_txfm_add_dct_flipadst_##w##x##h##_c; \
246
363k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_FLIPADST] = \
247
363k
        inv_txfm_add_flipadst_flipadst_##w##x##h##_c; \
248
363k
    c->itxfm_add[pfx##TX_##w##X##h][H_DCT] = \
249
363k
        inv_txfm_add_dct_identity_##w##x##h##_c; \
250
363k
    c->itxfm_add[pfx##TX_##w##X##h][V_DCT] = \
251
363k
        inv_txfm_add_identity_dct_##w##x##h##_c
252
253
40.4k
#define assign_itx_all_fn84(w, h, pfx) \
254
323k
    assign_itx_all_fn16(w, h, pfx); \
255
323k
    c->itxfm_add[pfx##TX_##w##X##h][H_FLIPADST] = \
256
323k
        inv_txfm_add_flipadst_identity_##w##x##h##_c; \
257
323k
    c->itxfm_add[pfx##TX_##w##X##h][V_FLIPADST] = \
258
323k
        inv_txfm_add_identity_flipadst_##w##x##h##_c; \
259
323k
    c->itxfm_add[pfx##TX_##w##X##h][H_ADST] = \
260
323k
        inv_txfm_add_adst_identity_##w##x##h##_c; \
261
323k
    c->itxfm_add[pfx##TX_##w##X##h][V_ADST] = \
262
323k
        inv_txfm_add_identity_adst_##w##x##h##_c; \
263
40.4k
264
40.4k
#if !(HAVE_ASM && TRIM_DSP_FUNCTIONS && ( \
265
40.4k
  ARCH_AARCH64 || \
266
40.4k
  (ARCH_ARM && (defined(__ARM_NEON) || defined(__APPLE__) || defined(_WIN32))) \
267
40.4k
))
268
40.4k
    c->itxfm_add[TX_4X4][WHT_WHT] = inv_txfm_add_wht_wht_4x4_c;
269
40.4k
#endif
270
40.4k
    assign_itx_all_fn84( 4,  4, );
271
40.4k
    assign_itx_all_fn84( 4,  8, R);
272
40.4k
    assign_itx_all_fn84( 4, 16, R);
273
40.4k
    assign_itx_all_fn84( 8,  4, R);
274
40.4k
    assign_itx_all_fn84( 8,  8, );
275
40.4k
    assign_itx_all_fn84( 8, 16, R);
276
40.4k
    assign_itx_all_fn32( 8, 32, R);
277
40.4k
    assign_itx_all_fn84(16,  4, R);
278
40.4k
    assign_itx_all_fn84(16,  8, R);
279
40.4k
    assign_itx_all_fn16(16, 16, );
280
40.4k
    assign_itx_all_fn32(16, 32, R);
281
40.4k
    assign_itx_all_fn64(16, 64, R);
282
40.4k
    assign_itx_all_fn32(32,  8, R);
283
40.4k
    assign_itx_all_fn32(32, 16, R);
284
40.4k
    assign_itx_all_fn32(32, 32, );
285
40.4k
    assign_itx_all_fn64(32, 64, R);
286
40.4k
    assign_itx_all_fn64(64, 16, R);
287
40.4k
    assign_itx_all_fn64(64, 32, R);
288
40.4k
    assign_itx_all_fn64(64, 64, );
289
290
40.4k
    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
40.4k
    if (!all_simd)
310
40.4k
        dav1d_init_last_nonzero_col_from_eob_tables();
311
40.4k
}
dav1d_itx_dsp_init_8bpc
Line
Count
Source
220
18.0k
COLD void bitfn(dav1d_itx_dsp_init)(Dav1dInvTxfmDSPContext *const c, int bpc) {
221
18.0k
#define assign_itx_all_fn64(w, h, pfx) \
222
18.0k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_DCT  ] = \
223
18.0k
        inv_txfm_add_dct_dct_##w##x##h##_c
224
225
18.0k
#define assign_itx_all_fn32(w, h, pfx) \
226
18.0k
    assign_itx_all_fn64(w, h, pfx); \
227
18.0k
    c->itxfm_add[pfx##TX_##w##X##h][IDTX] = \
228
18.0k
        inv_txfm_add_identity_identity_##w##x##h##_c
229
230
18.0k
#define assign_itx_all_fn16(w, h, pfx) \
231
18.0k
    assign_itx_all_fn32(w, h, pfx); \
232
18.0k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_ADST ] = \
233
18.0k
        inv_txfm_add_adst_dct_##w##x##h##_c; \
234
18.0k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_DCT ] = \
235
18.0k
        inv_txfm_add_dct_adst_##w##x##h##_c; \
236
18.0k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_ADST] = \
237
18.0k
        inv_txfm_add_adst_adst_##w##x##h##_c; \
238
18.0k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_FLIPADST] = \
239
18.0k
        inv_txfm_add_flipadst_adst_##w##x##h##_c; \
240
18.0k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_ADST] = \
241
18.0k
        inv_txfm_add_adst_flipadst_##w##x##h##_c; \
242
18.0k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_FLIPADST] = \
243
18.0k
        inv_txfm_add_flipadst_dct_##w##x##h##_c; \
244
18.0k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_DCT] = \
245
18.0k
        inv_txfm_add_dct_flipadst_##w##x##h##_c; \
246
18.0k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_FLIPADST] = \
247
18.0k
        inv_txfm_add_flipadst_flipadst_##w##x##h##_c; \
248
18.0k
    c->itxfm_add[pfx##TX_##w##X##h][H_DCT] = \
249
18.0k
        inv_txfm_add_dct_identity_##w##x##h##_c; \
250
18.0k
    c->itxfm_add[pfx##TX_##w##X##h][V_DCT] = \
251
18.0k
        inv_txfm_add_identity_dct_##w##x##h##_c
252
253
18.0k
#define assign_itx_all_fn84(w, h, pfx) \
254
18.0k
    assign_itx_all_fn16(w, h, pfx); \
255
18.0k
    c->itxfm_add[pfx##TX_##w##X##h][H_FLIPADST] = \
256
18.0k
        inv_txfm_add_flipadst_identity_##w##x##h##_c; \
257
18.0k
    c->itxfm_add[pfx##TX_##w##X##h][V_FLIPADST] = \
258
18.0k
        inv_txfm_add_identity_flipadst_##w##x##h##_c; \
259
18.0k
    c->itxfm_add[pfx##TX_##w##X##h][H_ADST] = \
260
18.0k
        inv_txfm_add_adst_identity_##w##x##h##_c; \
261
18.0k
    c->itxfm_add[pfx##TX_##w##X##h][V_ADST] = \
262
18.0k
        inv_txfm_add_identity_adst_##w##x##h##_c; \
263
18.0k
264
18.0k
#if !(HAVE_ASM && TRIM_DSP_FUNCTIONS && ( \
265
18.0k
  ARCH_AARCH64 || \
266
18.0k
  (ARCH_ARM && (defined(__ARM_NEON) || defined(__APPLE__) || defined(_WIN32))) \
267
18.0k
))
268
18.0k
    c->itxfm_add[TX_4X4][WHT_WHT] = inv_txfm_add_wht_wht_4x4_c;
269
18.0k
#endif
270
18.0k
    assign_itx_all_fn84( 4,  4, );
271
18.0k
    assign_itx_all_fn84( 4,  8, R);
272
18.0k
    assign_itx_all_fn84( 4, 16, R);
273
18.0k
    assign_itx_all_fn84( 8,  4, R);
274
18.0k
    assign_itx_all_fn84( 8,  8, );
275
18.0k
    assign_itx_all_fn84( 8, 16, R);
276
18.0k
    assign_itx_all_fn32( 8, 32, R);
277
18.0k
    assign_itx_all_fn84(16,  4, R);
278
18.0k
    assign_itx_all_fn84(16,  8, R);
279
18.0k
    assign_itx_all_fn16(16, 16, );
280
18.0k
    assign_itx_all_fn32(16, 32, R);
281
18.0k
    assign_itx_all_fn64(16, 64, R);
282
18.0k
    assign_itx_all_fn32(32,  8, R);
283
18.0k
    assign_itx_all_fn32(32, 16, R);
284
18.0k
    assign_itx_all_fn32(32, 32, );
285
18.0k
    assign_itx_all_fn64(32, 64, R);
286
18.0k
    assign_itx_all_fn64(64, 16, R);
287
18.0k
    assign_itx_all_fn64(64, 32, R);
288
18.0k
    assign_itx_all_fn64(64, 64, );
289
290
18.0k
    int all_simd = 0;
291
#if HAVE_ASM
292
#if ARCH_AARCH64 || ARCH_ARM
293
    itx_dsp_init_arm(c, bpc, &all_simd);
294
#endif
295
#if ARCH_LOONGARCH64
296
    itx_dsp_init_loongarch(c, bpc);
297
#endif
298
#if ARCH_PPC64LE
299
    itx_dsp_init_ppc(c, bpc);
300
#endif
301
#if ARCH_RISCV
302
    itx_dsp_init_riscv(c, bpc);
303
#endif
304
#if ARCH_X86
305
    itx_dsp_init_x86(c, bpc, &all_simd);
306
#endif
307
#endif
308
309
18.0k
    if (!all_simd)
310
18.0k
        dav1d_init_last_nonzero_col_from_eob_tables();
311
18.0k
}
dav1d_itx_dsp_init_16bpc
Line
Count
Source
220
22.3k
COLD void bitfn(dav1d_itx_dsp_init)(Dav1dInvTxfmDSPContext *const c, int bpc) {
221
22.3k
#define assign_itx_all_fn64(w, h, pfx) \
222
22.3k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_DCT  ] = \
223
22.3k
        inv_txfm_add_dct_dct_##w##x##h##_c
224
225
22.3k
#define assign_itx_all_fn32(w, h, pfx) \
226
22.3k
    assign_itx_all_fn64(w, h, pfx); \
227
22.3k
    c->itxfm_add[pfx##TX_##w##X##h][IDTX] = \
228
22.3k
        inv_txfm_add_identity_identity_##w##x##h##_c
229
230
22.3k
#define assign_itx_all_fn16(w, h, pfx) \
231
22.3k
    assign_itx_all_fn32(w, h, pfx); \
232
22.3k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_ADST ] = \
233
22.3k
        inv_txfm_add_adst_dct_##w##x##h##_c; \
234
22.3k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_DCT ] = \
235
22.3k
        inv_txfm_add_dct_adst_##w##x##h##_c; \
236
22.3k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_ADST] = \
237
22.3k
        inv_txfm_add_adst_adst_##w##x##h##_c; \
238
22.3k
    c->itxfm_add[pfx##TX_##w##X##h][ADST_FLIPADST] = \
239
22.3k
        inv_txfm_add_flipadst_adst_##w##x##h##_c; \
240
22.3k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_ADST] = \
241
22.3k
        inv_txfm_add_adst_flipadst_##w##x##h##_c; \
242
22.3k
    c->itxfm_add[pfx##TX_##w##X##h][DCT_FLIPADST] = \
243
22.3k
        inv_txfm_add_flipadst_dct_##w##x##h##_c; \
244
22.3k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_DCT] = \
245
22.3k
        inv_txfm_add_dct_flipadst_##w##x##h##_c; \
246
22.3k
    c->itxfm_add[pfx##TX_##w##X##h][FLIPADST_FLIPADST] = \
247
22.3k
        inv_txfm_add_flipadst_flipadst_##w##x##h##_c; \
248
22.3k
    c->itxfm_add[pfx##TX_##w##X##h][H_DCT] = \
249
22.3k
        inv_txfm_add_dct_identity_##w##x##h##_c; \
250
22.3k
    c->itxfm_add[pfx##TX_##w##X##h][V_DCT] = \
251
22.3k
        inv_txfm_add_identity_dct_##w##x##h##_c
252
253
22.3k
#define assign_itx_all_fn84(w, h, pfx) \
254
22.3k
    assign_itx_all_fn16(w, h, pfx); \
255
22.3k
    c->itxfm_add[pfx##TX_##w##X##h][H_FLIPADST] = \
256
22.3k
        inv_txfm_add_flipadst_identity_##w##x##h##_c; \
257
22.3k
    c->itxfm_add[pfx##TX_##w##X##h][V_FLIPADST] = \
258
22.3k
        inv_txfm_add_identity_flipadst_##w##x##h##_c; \
259
22.3k
    c->itxfm_add[pfx##TX_##w##X##h][H_ADST] = \
260
22.3k
        inv_txfm_add_adst_identity_##w##x##h##_c; \
261
22.3k
    c->itxfm_add[pfx##TX_##w##X##h][V_ADST] = \
262
22.3k
        inv_txfm_add_identity_adst_##w##x##h##_c; \
263
22.3k
264
22.3k
#if !(HAVE_ASM && TRIM_DSP_FUNCTIONS && ( \
265
22.3k
  ARCH_AARCH64 || \
266
22.3k
  (ARCH_ARM && (defined(__ARM_NEON) || defined(__APPLE__) || defined(_WIN32))) \
267
22.3k
))
268
22.3k
    c->itxfm_add[TX_4X4][WHT_WHT] = inv_txfm_add_wht_wht_4x4_c;
269
22.3k
#endif
270
22.3k
    assign_itx_all_fn84( 4,  4, );
271
22.3k
    assign_itx_all_fn84( 4,  8, R);
272
22.3k
    assign_itx_all_fn84( 4, 16, R);
273
22.3k
    assign_itx_all_fn84( 8,  4, R);
274
22.3k
    assign_itx_all_fn84( 8,  8, );
275
22.3k
    assign_itx_all_fn84( 8, 16, R);
276
22.3k
    assign_itx_all_fn32( 8, 32, R);
277
22.3k
    assign_itx_all_fn84(16,  4, R);
278
22.3k
    assign_itx_all_fn84(16,  8, R);
279
22.3k
    assign_itx_all_fn16(16, 16, );
280
22.3k
    assign_itx_all_fn32(16, 32, R);
281
22.3k
    assign_itx_all_fn64(16, 64, R);
282
22.3k
    assign_itx_all_fn32(32,  8, R);
283
22.3k
    assign_itx_all_fn32(32, 16, R);
284
22.3k
    assign_itx_all_fn32(32, 32, );
285
22.3k
    assign_itx_all_fn64(32, 64, R);
286
22.3k
    assign_itx_all_fn64(64, 16, R);
287
22.3k
    assign_itx_all_fn64(64, 32, R);
288
22.3k
    assign_itx_all_fn64(64, 64, );
289
290
22.3k
    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
22.3k
    if (!all_simd)
310
22.3k
        dav1d_init_last_nonzero_col_from_eob_tables();
311
22.3k
}