FFmpeg
Loading...
Searching...
No Matches
itx_1d.h
Go to the documentation of this file.
1/*
2 * VVC 1D transform
3 *
4 * Copyright (C) 2023 Nuo Mi
5 *
6 * This file is part of FFmpeg.
7 *
8 * FFmpeg is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Lesser General Public
10 * License as published by the Free Software Foundation; either
11 * version 2.1 of the License, or (at your option) any later version.
12 *
13 * FFmpeg is distributed in the hope that it will be useful,
14* but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * Lesser General Public License for more details.
17 *
18 * You should have received a copy of the GNU Lesser General Public
19 * License along with FFmpeg; if not, write to the Free Software
20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
21 */
22
23#ifndef AVCODEC_VVC_ITX_1D_H
24#define AVCODEC_VVC_ITX_1D_H
25
26#include <stdint.h>
27#include <stddef.h>
28
29#define vvc_itx_1d_fn(name) \
30 void (name)(int *coeffs, ptrdiff_t stride, size_t nz)
32
39vvc_itx_1d_fn(ff_vvc_inv_dst7_4);
40vvc_itx_1d_fn(ff_vvc_inv_dst7_8);
41vvc_itx_1d_fn(ff_vvc_inv_dst7_16);
42vvc_itx_1d_fn(ff_vvc_inv_dst7_32);
43vvc_itx_1d_fn(ff_vvc_inv_dct8_4);
44vvc_itx_1d_fn(ff_vvc_inv_dct8_8);
45vvc_itx_1d_fn(ff_vvc_inv_dct8_16);
46vvc_itx_1d_fn(ff_vvc_inv_dct8_32);
47
48
49void ff_vvc_inv_lfnst_1d(int *v, const int *u, int no_zero_size, int n_tr_s,
50 int pred_mode_intra, int lfnst_idx, int log2_transform_range);
51
52#endif // AVCODEC_VVC_ITX_1D_H
void ff_vvc_inv_dct2_64(int *coeffs, const ptrdiff_t stride, const size_t nz)
Definition itx_1d.c:459
void ff_vvc_inv_dct2_4(int *coeffs, const ptrdiff_t stride, const size_t nz)
Definition itx_1d.c:92
void ff_vvc_inv_dct2_16(int *coeffs, const ptrdiff_t stride, const size_t nz)
Definition itx_1d.c:180
void ff_vvc_inv_dct2_2(int *coeffs, const ptrdiff_t stride, const size_t nz)
Definition itx_1d.c:75
void ff_vvc_inv_dct2_8(int *coeffs, const ptrdiff_t stride, const size_t nz)
Definition itx_1d.c:124
void ff_vvc_inv_dct2_32(int *coeffs, const ptrdiff_t stride, const size_t nz)
Definition itx_1d.c:279
void ff_vvc_inv_lfnst_1d(int *v, const int *u, int no_zero_size, int n_tr_s, int pred_mode_intra, int lfnst_idx, int log2_transform_range)
Definition itx_1d.c:695
#define vvc_itx_1d_fn(name)
Definition itx_1d.h:29
#define u(width, name, range_min, range_max)
Definition cbs_apv.c:68