FFmpeg
vvc_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_VVC_ITX_1D_H
24 #define AVCODEC_VVC_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 
39 vvc_itx_1d_fn(ff_vvc_inv_dst7_4);
40 vvc_itx_1d_fn(ff_vvc_inv_dst7_8);
41 vvc_itx_1d_fn(ff_vvc_inv_dst7_16);
42 vvc_itx_1d_fn(ff_vvc_inv_dst7_32);
43 vvc_itx_1d_fn(ff_vvc_inv_dct8_4);
44 vvc_itx_1d_fn(ff_vvc_inv_dct8_8);
45 vvc_itx_1d_fn(ff_vvc_inv_dct8_16);
46 vvc_itx_1d_fn(ff_vvc_inv_dct8_32);
47 
48 
49 void 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_VVC_ITX_1D_H
ff_vvc_inv_dct2_4
void ff_vvc_inv_dct2_4(int *coeffs, const ptrdiff_t stride, const size_t nz)
Definition: vvc_itx_1d.c:92
u
#define u(width, name, range_min, range_max)
Definition: cbs_h2645.c:250
ff_vvc_inv_lfnst_1d
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: vvc_itx_1d.c:695
ff_vvc_inv_dct2_16
void ff_vvc_inv_dct2_16(int *coeffs, const ptrdiff_t stride, const size_t nz)
Definition: vvc_itx_1d.c:180
ff_vvc_inv_dct2_32
void ff_vvc_inv_dct2_32(int *coeffs, const ptrdiff_t stride, const size_t nz)
Definition: vvc_itx_1d.c:279
ff_vvc_inv_dct2_8
void ff_vvc_inv_dct2_8(int *coeffs, const ptrdiff_t stride, const size_t nz)
Definition: vvc_itx_1d.c:124
ff_vvc_inv_dct2_2
void ff_vvc_inv_dct2_2(int *coeffs, const ptrdiff_t stride, const size_t nz)
Definition: vvc_itx_1d.c:75
vvc_itx_1d_fn
vvc_itx_1d_fn * vvc_itx_1d_fn
Definition: vvc_itx_1d.h:31
vvc_itx_1d_fn
#define vvc_itx_1d_fn(name)
Definition: vvc_itx_1d.h:29
ff_vvc_inv_dct2_64
void ff_vvc_inv_dct2_64(int *coeffs, const ptrdiff_t stride, const size_t nz)
Definition: vvc_itx_1d.c:459