aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/vvc
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-04-04 04:14:58 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-04-04 16:45:00 +0200
commitdb063212c8dde0d6082856935e2b2275230bc365 (patch)
tree69d3fa02629b16fd8150b04b6266b4b86a0e9087 /libavcodec/vvc
parent486a2b964ba4e496ecd821e189d495ad06585abe (diff)
downloadffmpeg-db063212c8dde0d6082856935e2b2275230bc365.tar.gz
avcodec/vvc: Rename vvc_?foo->foo
A namespace is unnecessary here given that all these files are already in the vvc subfolder. Reviewed-by: Nuo Mi <nuomi2021@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/vvc')
-rw-r--r--libavcodec/vvc/Makefile28
-rw-r--r--libavcodec/vvc/cabac.c (renamed from libavcodec/vvc/vvc_cabac.c)6
-rw-r--r--libavcodec/vvc/cabac.h (renamed from libavcodec/vvc/vvc_cabac.h)8
-rw-r--r--libavcodec/vvc/ctu.c (renamed from libavcodec/vvc/vvc_ctu.c)8
-rw-r--r--libavcodec/vvc/ctu.h (renamed from libavcodec/vvc/vvc_ctu.h)8
-rw-r--r--libavcodec/vvc/data.c (renamed from libavcodec/vvc/vvc_data.c)2
-rw-r--r--libavcodec/vvc/data.h (renamed from libavcodec/vvc/vvc_data.h)6
-rw-r--r--libavcodec/vvc/dec.c (renamed from libavcodec/vvc/vvcdec.c)10
-rw-r--r--libavcodec/vvc/dec.h (renamed from libavcodec/vvc/vvcdec.h)10
-rw-r--r--libavcodec/vvc/dsp.c (renamed from libavcodec/vvc/vvcdsp.c)12
-rw-r--r--libavcodec/vvc/dsp.h (renamed from libavcodec/vvc/vvcdsp.h)6
-rw-r--r--libavcodec/vvc/dsp_template.c (renamed from libavcodec/vvc/vvcdsp_template.c)10
-rw-r--r--libavcodec/vvc/filter.c (renamed from libavcodec/vvc/vvc_filter.c)8
-rw-r--r--libavcodec/vvc/filter.h (renamed from libavcodec/vvc/vvc_filter.h)8
-rw-r--r--libavcodec/vvc/filter_template.c (renamed from libavcodec/vvc/vvc_filter_template.c)0
-rw-r--r--libavcodec/vvc/inter.c (renamed from libavcodec/vvc/vvc_inter.c)8
-rw-r--r--libavcodec/vvc/inter.h (renamed from libavcodec/vvc/vvc_inter.h)8
-rw-r--r--libavcodec/vvc/inter_template.c (renamed from libavcodec/vvc/vvc_inter_template.c)0
-rw-r--r--libavcodec/vvc/intra.c (renamed from libavcodec/vvc/vvc_intra.c)8
-rw-r--r--libavcodec/vvc/intra.h (renamed from libavcodec/vvc/vvc_intra.h)8
-rw-r--r--libavcodec/vvc/intra_template.c (renamed from libavcodec/vvc/vvc_intra_template.c)2
-rw-r--r--libavcodec/vvc/intra_utils.c (renamed from libavcodec/vvc/vvc_intra_utils.c)8
-rw-r--r--libavcodec/vvc/itx_1d.c (renamed from libavcodec/vvc/vvc_itx_1d.c)4
-rw-r--r--libavcodec/vvc/itx_1d.h (renamed from libavcodec/vvc/vvc_itx_1d.h)6
-rw-r--r--libavcodec/vvc/mvs.c (renamed from libavcodec/vvc/vvc_mvs.c)8
-rw-r--r--libavcodec/vvc/mvs.h (renamed from libavcodec/vvc/vvc_mvs.h)8
-rw-r--r--libavcodec/vvc/ps.c (renamed from libavcodec/vvc/vvc_ps.c)6
-rw-r--r--libavcodec/vvc/ps.h (renamed from libavcodec/vvc/vvc_ps.h)6
-rw-r--r--libavcodec/vvc/refs.c (renamed from libavcodec/vvc/vvc_refs.c)2
-rw-r--r--libavcodec/vvc/refs.h (renamed from libavcodec/vvc/vvc_refs.h)8
-rw-r--r--libavcodec/vvc/thread.c (renamed from libavcodec/vvc/vvc_thread.c)12
-rw-r--r--libavcodec/vvc/thread.h (renamed from libavcodec/vvc/vvc_thread.h)8
32 files changed, 120 insertions, 120 deletions
diff --git a/libavcodec/vvc/Makefile b/libavcodec/vvc/Makefile
index 2a0055d494..6a28d32bc2 100644
--- a/libavcodec/vvc/Makefile
+++ b/libavcodec/vvc/Makefile
@@ -1,17 +1,17 @@
clean::
$(RM) $(CLEANSUFFIXES:%=libavcodec/vvc/%)
-OBJS-$(CONFIG_VVC_DECODER) += vvc/vvcdec.o \
- vvc/vvcdsp.o \
- vvc/vvc_cabac.o \
- vvc/vvc_ctu.o \
- vvc/vvc_data.o \
- vvc/vvc_filter.o \
- vvc/vvc_inter.o \
- vvc/vvc_intra.o \
- vvc/vvc_intra_utils.o \
- vvc/vvc_itx_1d.o \
- vvc/vvc_mvs.o \
- vvc/vvc_ps.o \
- vvc/vvc_refs.o \
- vvc/vvc_thread.o \
+OBJS-$(CONFIG_VVC_DECODER) += vvc/dec.o \
+ vvc/dsp.o \
+ vvc/cabac.o \
+ vvc/ctu.o \
+ vvc/data.o \
+ vvc/filter.o \
+ vvc/inter.o \
+ vvc/intra.o \
+ vvc/intra_utils.o \
+ vvc/itx_1d.o \
+ vvc/mvs.o \
+ vvc/ps.o \
+ vvc/refs.o \
+ vvc/thread.o \
diff --git a/libavcodec/vvc/vvc_cabac.c b/libavcodec/vvc/cabac.c
index 5e24a1b677..a5ccccd1c0 100644
--- a/libavcodec/vvc/vvc_cabac.c
+++ b/libavcodec/vvc/cabac.c
@@ -21,9 +21,9 @@
*/
#include "libavcodec/cabac_functions.h"
-#include "vvc_cabac.h"
-#include "vvc_ctu.h"
-#include "vvc_data.h"
+#include "cabac.h"
+#include "ctu.h"
+#include "data.h"
#define CABAC_MAX_BIN 31
diff --git a/libavcodec/vvc/vvc_cabac.h b/libavcodec/vvc/cabac.h
index 172ab272ff..e9bc98e23a 100644
--- a/libavcodec/vvc/vvc_cabac.h
+++ b/libavcodec/vvc/cabac.h
@@ -20,10 +20,10 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef AVCODEC_VVC_VVC_CABAC_H
-#define AVCODEC_VVC_VVC_CABAC_H
+#ifndef AVCODEC_VVC_CABAC_H
+#define AVCODEC_VVC_CABAC_H
-#include "vvc_ctu.h"
+#include "ctu.h"
int ff_vvc_cabac_init(VVCLocalContext *lc, int ctu_idx, int rx, int ry);
@@ -123,4 +123,4 @@ int ff_vvc_end_of_slice_flag_decode(VVCLocalContext *lc);
int ff_vvc_end_of_tile_one_bit(VVCLocalContext *lc);
int ff_vvc_end_of_subset_one_bit(VVCLocalContext *lc);
-#endif //AVCODEC_VVC_VVC_CABAC_H
+#endif //AVCODEC_VVC_CABAC_H
diff --git a/libavcodec/vvc/vvc_ctu.c b/libavcodec/vvc/ctu.c
index 8ba12c8d9f..53f92ca10f 100644
--- a/libavcodec/vvc/vvc_ctu.c
+++ b/libavcodec/vvc/ctu.c
@@ -22,10 +22,10 @@
#include "libavcodec/refstruct.h"
-#include "vvc_cabac.h"
-#include "vvc_ctu.h"
-#include "vvc_inter.h"
-#include "vvc_mvs.h"
+#include "cabac.h"
+#include "ctu.h"
+#include "inter.h"
+#include "mvs.h"
#define PROF_TEMP_SIZE (PROF_BLOCK_SIZE) * sizeof(int16_t)
diff --git a/libavcodec/vvc/vvc_ctu.h b/libavcodec/vvc/ctu.h
index 460dbdba59..4e38ecf54a 100644
--- a/libavcodec/vvc/vvc_ctu.h
+++ b/libavcodec/vvc/ctu.h
@@ -20,13 +20,13 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef AVCODEC_VVC_VVC_CTU_H
-#define AVCODEC_VVC_VVC_CTU_H
+#ifndef AVCODEC_VVC_CTU_H
+#define AVCODEC_VVC_CTU_H
#include "libavcodec/cabac.h"
#include "libavutil/mem_internal.h"
-#include "vvcdec.h"
+#include "dec.h"
#define MAX_CTU_SIZE 128
@@ -483,4 +483,4 @@ void ff_vvc_ctu_free_cus(CTU *ctu);
int ff_vvc_get_qPy(const VVCFrameContext *fc, int xc, int yc);
void ff_vvc_ep_init_stat_coeff(EntryPoint *ep, int bit_depth, int persistent_rice_adaptation_enabled_flag);
-#endif // AVCODEC_VVC_VVC_CTU_H
+#endif // AVCODEC_VVC_CTU_H
diff --git a/libavcodec/vvc/vvc_data.c b/libavcodec/vvc/data.c
index 0c9376d098..ace585b663 100644
--- a/libavcodec/vvc/vvc_data.c
+++ b/libavcodec/vvc/data.c
@@ -22,7 +22,7 @@
#include "libavutil/avassert.h"
-#include "vvc_data.h"
+#include "data.h"
const uint8_t ff_vvc_diag_scan_x[5][5][16*16] = {
{
diff --git a/libavcodec/vvc/vvc_data.h b/libavcodec/vvc/data.h
index 1f9a463bc7..e493b9e0e6 100644
--- a/libavcodec/vvc/vvc_data.h
+++ b/libavcodec/vvc/data.h
@@ -18,8 +18,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef AVCODEC_VVC_VVC_DATA_H
-#define AVCODEC_VVC_VVC_DATA_H
+#ifndef AVCODEC_VVC_DATA_H
+#define AVCODEC_VVC_DATA_H
#include <stdint.h>
@@ -77,4 +77,4 @@ extern const uint8_t ff_vvc_alf_aps_class_to_filt_map[25];
const uint8_t* ff_vvc_get_mip_matrix(const int size_id, const int mode_idx);
-#endif /* AVCODEC_VVC_VVC_DATA_H */
+#endif /* AVCODEC_VVC_DATA_H */
diff --git a/libavcodec/vvc/vvcdec.c b/libavcodec/vvc/dec.c
index d7a89f7488..eb447604fe 100644
--- a/libavcodec/vvc/vvcdec.c
+++ b/libavcodec/vvc/dec.c
@@ -28,11 +28,11 @@
#include "libavutil/mem.h"
#include "libavutil/thread.h"
-#include "vvcdec.h"
-#include "vvc_ctu.h"
-#include "vvc_data.h"
-#include "vvc_refs.h"
-#include "vvc_thread.h"
+#include "dec.h"
+#include "ctu.h"
+#include "data.h"
+#include "refs.h"
+#include "thread.h"
#define TAB_MAX 32
diff --git a/libavcodec/vvc/vvcdec.h b/libavcodec/vvc/dec.h
index aa3d715524..4dacefc06a 100644
--- a/libavcodec/vvc/vvcdec.h
+++ b/libavcodec/vvc/dec.h
@@ -21,14 +21,14 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef AVCODEC_VVC_VVCDEC_H
-#define AVCODEC_VVC_VVCDEC_H
+#ifndef AVCODEC_VVC_DEC_H
+#define AVCODEC_VVC_DEC_H
#include "libavcodec/videodsp.h"
#include "libavcodec/vvc.h"
-#include "vvc_ps.h"
-#include "vvcdsp.h"
+#include "ps.h"
+#include "dsp.h"
#define LUMA 0
#define CHROMA 1
@@ -226,4 +226,4 @@ typedef struct VVCContext {
int nb_delayed; ///< delayed frames
} VVCContext ;
-#endif /* AVCODEC_VVC_VVCDEC_H */
+#endif /* AVCODEC_VVC_DEC_H */
diff --git a/libavcodec/vvc/vvcdsp.c b/libavcodec/vvc/dsp.c
index d63b9bc9b3..41e830a98a 100644
--- a/libavcodec/vvc/vvcdsp.c
+++ b/libavcodec/vvc/dsp.c
@@ -20,9 +20,9 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include "vvcdsp.h"
-#include "vvc_ctu.h"
-#include "vvc_itx_1d.h"
+#include "dsp.h"
+#include "ctu.h"
+#include "itx_1d.h"
#define VVC_SIGN(v) (v < 0 ? -1 : !!v)
@@ -84,15 +84,15 @@ typedef struct IntraEdgeParams {
#define BDOF_GRADIENT_SIZE (BDOF_BLOCK_SIZE + BDOF_BORDER_EXT * 2)
#define BIT_DEPTH 8
-#include "vvcdsp_template.c"
+#include "dsp_template.c"
#undef BIT_DEPTH
#define BIT_DEPTH 10
-#include "vvcdsp_template.c"
+#include "dsp_template.c"
#undef BIT_DEPTH
#define BIT_DEPTH 12
-#include "vvcdsp_template.c"
+#include "dsp_template.c"
#undef BIT_DEPTH
void ff_vvc_dsp_init(VVCDSPContext *vvcdsp, int bit_depth)
diff --git a/libavcodec/vvc/vvcdsp.h b/libavcodec/vvc/dsp.h
index f4fb3cb7d7..9810ac314c 100644
--- a/libavcodec/vvc/vvcdsp.h
+++ b/libavcodec/vvc/dsp.h
@@ -21,8 +21,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef AVCODEC_VVC_VVCDSP_H
-#define AVCODEC_VVC_VVCDSP_H
+#ifndef AVCODEC_VVC_DSP_H
+#define AVCODEC_VVC_DSP_H
#include <stdint.h>
#include <stddef.h>
@@ -169,4 +169,4 @@ void ff_vvc_dsp_init(VVCDSPContext *hpc, int bit_depth);
void ff_vvc_dsp_init_x86(VVCDSPContext *hpc, const int bit_depth);
-#endif /* AVCODEC_VVC_VVCDSP_H */
+#endif /* AVCODEC_VVC_DSP_H */
diff --git a/libavcodec/vvc/vvcdsp_template.c b/libavcodec/vvc/dsp_template.c
index 33815d6765..8130abbccf 100644
--- a/libavcodec/vvc/vvcdsp_template.c
+++ b/libavcodec/vvc/dsp_template.c
@@ -22,12 +22,12 @@
#include "libavutil/frame.h"
#include "libavcodec/bit_depth_template.c"
-#include "vvcdec.h"
-#include "vvc_data.h"
+#include "dec.h"
+#include "data.h"
-#include "vvc_inter_template.c"
-#include "vvc_intra_template.c"
-#include "vvc_filter_template.c"
+#include "inter_template.c"
+#include "intra_template.c"
+#include "filter_template.c"
static void FUNC(add_residual)(uint8_t *_dst, const int *res,
const int w, const int h, const ptrdiff_t _stride)
diff --git a/libavcodec/vvc/vvc_filter.c b/libavcodec/vvc/filter.c
index de0816619b..8f44255ce4 100644
--- a/libavcodec/vvc/vvc_filter.c
+++ b/libavcodec/vvc/filter.c
@@ -21,10 +21,10 @@
*/
#include "libavutil/frame.h"
-#include "vvc_ctu.h"
-#include "vvc_data.h"
-#include "vvc_filter.h"
-#include "vvc_refs.h"
+#include "ctu.h"
+#include "data.h"
+#include "filter.h"
+#include "refs.h"
#define LEFT 0
#define TOP 1
diff --git a/libavcodec/vvc/vvc_filter.h b/libavcodec/vvc/filter.h
index 9597437d83..03cc74e071 100644
--- a/libavcodec/vvc/vvc_filter.h
+++ b/libavcodec/vvc/filter.h
@@ -20,10 +20,10 @@
* License along with FFmpeg; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef AVCODEC_VVC_VVC_FILTER_H
-#define AVCODEC_VVC_VVC_FILTER_H
+#ifndef AVCODEC_VVC_FILTER_H
+#define AVCODEC_VVC_FILTER_H
-#include "vvcdec.h"
+#include "dec.h"
/**
* lmcs filter for the CTU
@@ -70,4 +70,4 @@ void ff_vvc_alf_copy_ctu_to_hv(VVCLocalContext* lc, int x0, int y0);
*/
void ff_vvc_alf_filter(VVCLocalContext *lc, const int x0, const int y0);
-#endif // AVCODEC_VVC_VVC_CTU_H
+#endif // AVCODEC_VVC_CTU_H
diff --git a/libavcodec/vvc/vvc_filter_template.c b/libavcodec/vvc/filter_template.c
index 9b3a0e46f7..9b3a0e46f7 100644
--- a/libavcodec/vvc/vvc_filter_template.c
+++ b/libavcodec/vvc/filter_template.c
diff --git a/libavcodec/vvc/vvc_inter.c b/libavcodec/vvc/inter.c
index 1a87cb71cf..4a8d1d866a 100644
--- a/libavcodec/vvc/vvc_inter.c
+++ b/libavcodec/vvc/inter.c
@@ -21,10 +21,10 @@
*/
#include "libavutil/frame.h"
-#include "vvc_data.h"
-#include "vvc_inter.h"
-#include "vvc_mvs.h"
-#include "vvc_refs.h"
+#include "data.h"
+#include "inter.h"
+#include "mvs.h"
+#include "refs.h"
// +1 is enough, + 32 for asm alignment
#define PROF_TEMP_OFFSET (MAX_PB_SIZE + 32)
diff --git a/libavcodec/vvc/vvc_inter.h b/libavcodec/vvc/inter.h
index 61fc44b3a0..50f2dbb66b 100644
--- a/libavcodec/vvc/vvc_inter.h
+++ b/libavcodec/vvc/inter.h
@@ -20,10 +20,10 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef AVCODEC_VVC_VVC_INTER_H
-#define AVCODEC_VVC_VVC_INTER_H
+#ifndef AVCODEC_VVC_INTER_H
+#define AVCODEC_VVC_INTER_H
-#include "vvc_ctu.h"
+#include "ctu.h"
/**
* Loop entire CTU to predict all inter coding blocks
@@ -39,4 +39,4 @@ int ff_vvc_predict_inter(VVCLocalContext *lc, int rs);
*/
void ff_vvc_predict_ciip(VVCLocalContext *lc);
-#endif // AVCODEC_VVC_VVC_INTER_H
+#endif // AVCODEC_VVC_INTER_H
diff --git a/libavcodec/vvc/vvc_inter_template.c b/libavcodec/vvc/inter_template.c
index e2fbfd4fc0..e2fbfd4fc0 100644
--- a/libavcodec/vvc/vvc_inter_template.c
+++ b/libavcodec/vvc/inter_template.c
diff --git a/libavcodec/vvc/vvc_intra.c b/libavcodec/vvc/intra.c
index 6d976320f8..e515fb9710 100644
--- a/libavcodec/vvc/vvc_intra.c
+++ b/libavcodec/vvc/intra.c
@@ -22,10 +22,10 @@
#include "libavutil/frame.h"
#include "libavutil/imgutils.h"
-#include "vvc_data.h"
-#include "vvc_inter.h"
-#include "vvc_intra.h"
-#include "vvc_itx_1d.h"
+#include "data.h"
+#include "inter.h"
+#include "intra.h"
+#include "itx_1d.h"
static int is_cclm(enum IntraPredMode mode)
{
diff --git a/libavcodec/vvc/vvc_intra.h b/libavcodec/vvc/intra.h
index 6b674008f9..8a02699135 100644
--- a/libavcodec/vvc/vvc_intra.h
+++ b/libavcodec/vvc/intra.h
@@ -19,10 +19,10 @@
* License along with FFmpeg; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef AVCODEC_VVC_VVC_INTRA_H
-#define AVCODEC_VVC_VVC_INTRA_H
+#ifndef AVCODEC_VVC_INTRA_H
+#define AVCODEC_VVC_INTRA_H
-#include "vvc_ctu.h"
+#include "ctu.h"
/**
* reconstruct a CTU
@@ -46,4 +46,4 @@ int ff_vvc_intra_inv_angle_derive(int pred_mode);
int ff_vvc_wide_angle_mode_mapping(const CodingUnit *cu,
int tb_width, int tb_height, int c_idx, int pred_mode_intra);
-#endif // AVCODEC_VVC_VVC_INTRA_H
+#endif // AVCODEC_VVC_INTRA_H
diff --git a/libavcodec/vvc/vvc_intra_template.c b/libavcodec/vvc/intra_template.c
index a078885266..1a4d5f6f93 100644
--- a/libavcodec/vvc/vvc_intra_template.c
+++ b/libavcodec/vvc/intra_template.c
@@ -22,7 +22,7 @@
#include "libavcodec/bit_depth_template.c"
-#include "vvc_intra.h"
+#include "intra.h"
#define POS(x, y) src[(x) + stride * (y)]
diff --git a/libavcodec/vvc/vvc_intra_utils.c b/libavcodec/vvc/intra_utils.c
index 7d34cff023..040aacdffe 100644
--- a/libavcodec/vvc/vvc_intra_utils.c
+++ b/libavcodec/vvc/intra_utils.c
@@ -25,10 +25,10 @@
#include "libavutil/avassert.h"
#include "libavutil/macros.h"
#include "libavutil/common.h"
-#include "vvc_ctu.h"
-#include "vvc_intra.h"
-#include "vvc_ps.h"
-#include "vvcdec.h"
+#include "ctu.h"
+#include "intra.h"
+#include "ps.h"
+#include "dec.h"
int ff_vvc_get_mip_size_id(const int w, const int h)
{
diff --git a/libavcodec/vvc/vvc_itx_1d.c b/libavcodec/vvc/itx_1d.c
index cb076f680f..c84e39440a 100644
--- a/libavcodec/vvc/vvc_itx_1d.c
+++ b/libavcodec/vvc/itx_1d.c
@@ -57,8 +57,8 @@
Compact inverse discrete cosine transform circuit for MPEG video decoding.
*/
-#include "vvc_data.h"
-#include "vvc_itx_1d.h"
+#include "data.h"
+#include "itx_1d.h"
#include "libavutil/avutil.h"
#define G2(m) ((nz > 2) ? (m) : 0)
diff --git a/libavcodec/vvc/vvc_itx_1d.h b/libavcodec/vvc/itx_1d.h
index d9094f524b..59495827b8 100644
--- a/libavcodec/vvc/vvc_itx_1d.h
+++ b/libavcodec/vvc/itx_1d.h
@@ -20,8 +20,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef AVCODEC_VVC_VVC_ITX_1D_H
-#define AVCODEC_VVC_VVC_ITX_1D_H
+#ifndef AVCODEC_VVC_ITX_1D_H
+#define AVCODEC_VVC_ITX_1D_H
#include <stdint.h>
#include <stddef.h>
@@ -49,4 +49,4 @@ vvc_itx_1d_fn(ff_vvc_inv_dct8_32);
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);
-#endif // AVCODEC_VVC_VVC_ITX_1D_H
+#endif // AVCODEC_VVC_ITX_1D_H
diff --git a/libavcodec/vvc/vvc_mvs.c b/libavcodec/vvc/mvs.c
index 37a2d0a228..fe7d923460 100644
--- a/libavcodec/vvc/vvc_mvs.c
+++ b/libavcodec/vvc/mvs.c
@@ -20,10 +20,10 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include "vvc_ctu.h"
-#include "vvc_data.h"
-#include "vvc_refs.h"
-#include "vvc_mvs.h"
+#include "ctu.h"
+#include "data.h"
+#include "refs.h"
+#include "mvs.h"
#define IS_SAME_MV(a, b) (AV_RN64A(a) == AV_RN64A(b))
diff --git a/libavcodec/vvc/vvc_mvs.h b/libavcodec/vvc/mvs.h
index 78ad17c303..3f0c8b08e9 100644
--- a/libavcodec/vvc/vvc_mvs.h
+++ b/libavcodec/vvc/mvs.h
@@ -20,10 +20,10 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef AVCODEC_VVC_VVC_MVS_H
-#define AVCODEC_VVC_VVC_MVS_H
+#ifndef AVCODEC_VVC_MVS_H
+#define AVCODEC_VVC_MVS_H
-#include "vvc_ctu.h"
+#include "ctu.h"
void ff_vvc_round_mv(Mv *mv, int lshift, int rshift);
void ff_vvc_clip_mv(Mv *mv);
@@ -45,4 +45,4 @@ MvField* ff_vvc_get_mvf(const VVCFrameContext *fc, const int x0, const int y0);
void ff_vvc_set_mvf(const VVCLocalContext *lc, const int x0, const int y0, const int w, const int h, const MvField *mvf);
void ff_vvc_set_intra_mvf(const VVCLocalContext *lc, int dmvr);
-#endif //AVCODEC_VVC_VVC_MVS_H
+#endif //AVCODEC_VVC_MVS_H
diff --git a/libavcodec/vvc/vvc_ps.c b/libavcodec/vvc/ps.c
index 301fa16400..0365feab47 100644
--- a/libavcodec/vvc/vvc_ps.c
+++ b/libavcodec/vvc/ps.c
@@ -25,9 +25,9 @@
#include "libavutil/mem.h"
#include "libavutil/pixdesc.h"
#include "libavcodec/refstruct.h"
-#include "vvc_data.h"
-#include "vvc_ps.h"
-#include "vvcdec.h"
+#include "data.h"
+#include "ps.h"
+#include "dec.h"
static int sps_map_pixel_format(VVCSPS *sps, void *log_ctx)
{
diff --git a/libavcodec/vvc/vvc_ps.h b/libavcodec/vvc/ps.h
index f60d8b81c6..3efb097b41 100644
--- a/libavcodec/vvc/vvc_ps.h
+++ b/libavcodec/vvc/ps.h
@@ -20,8 +20,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef AVCODEC_VVC_VVC_PS_H
-#define AVCODEC_VVC_VVC_PS_H
+#ifndef AVCODEC_VVC_PS_H
+#define AVCODEC_VVC_PS_H
#include "libavcodec/cbs_h266.h"
#include "libavcodec/vvc.h"
@@ -263,4 +263,4 @@ int ff_vvc_decode_sh(VVCSH *sh, const VVCFrameParamSets *ps, const CodedBitstrea
void ff_vvc_frame_ps_free(VVCFrameParamSets *fps);
void ff_vvc_ps_uninit(VVCParamSets *ps);
-#endif /* AVCODEC_VVC_VVC_PS_H */
+#endif /* AVCODEC_VVC_PS_H */
diff --git a/libavcodec/vvc/vvc_refs.c b/libavcodec/vvc/refs.c
index 553b25e1ce..a5ee7338d6 100644
--- a/libavcodec/vvc/vvc_refs.c
+++ b/libavcodec/vvc/refs.c
@@ -27,7 +27,7 @@
#include "libavcodec/refstruct.h"
#include "libavcodec/thread.h"
-#include "vvc_refs.h"
+#include "refs.h"
#define VVC_FRAME_FLAG_OUTPUT (1 << 0)
#define VVC_FRAME_FLAG_SHORT_REF (1 << 1)
diff --git a/libavcodec/vvc/vvc_refs.h b/libavcodec/vvc/refs.h
index eba4422fb4..8ae33d4a9a 100644
--- a/libavcodec/vvc/vvc_refs.h
+++ b/libavcodec/vvc/refs.h
@@ -20,10 +20,10 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef AVCODEC_VVC_VVC_REFS_H
-#define AVCODEC_VVC_VVC_REFS_H
+#ifndef AVCODEC_VVC_REFS_H
+#define AVCODEC_VVC_REFS_H
-#include "vvcdec.h"
+#include "dec.h"
int ff_vvc_output_frame(VVCContext *s, VVCFrameContext *fc, struct AVFrame *out, int no_output_of_prior_pics_flag, int flush);
void ff_vvc_bump_frame(VVCContext *s, VVCFrameContext *fc);
@@ -55,4 +55,4 @@ void ff_vvc_report_frame_finished(VVCFrame *frame);
void ff_vvc_report_progress(VVCFrame *frame, VVCProgress vp, int y);
void ff_vvc_add_progress_listener(VVCFrame *frame, VVCProgressListener *l);
-#endif // AVCODEC_VVC_VVC_REFS_H
+#endif // AVCODEC_VVC_REFS_H
diff --git a/libavcodec/vvc/vvc_thread.c b/libavcodec/vvc/thread.c
index 9fad0ae85a..01c3ff75b1 100644
--- a/libavcodec/vvc/vvc_thread.c
+++ b/libavcodec/vvc/thread.c
@@ -26,12 +26,12 @@
#include "libavutil/mem.h"
#include "libavutil/thread.h"
-#include "vvc_thread.h"
-#include "vvc_ctu.h"
-#include "vvc_filter.h"
-#include "vvc_inter.h"
-#include "vvc_intra.h"
-#include "vvc_refs.h"
+#include "thread.h"
+#include "ctu.h"
+#include "filter.h"
+#include "inter.h"
+#include "intra.h"
+#include "refs.h"
typedef struct ProgressListener {
VVCProgressListener l;
diff --git a/libavcodec/vvc/vvc_thread.h b/libavcodec/vvc/thread.h
index 6c726744f8..55bb4ea244 100644
--- a/libavcodec/vvc/vvc_thread.h
+++ b/libavcodec/vvc/thread.h
@@ -20,10 +20,10 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef AVCODEC_VVC_VVC_THREAD_H
-#define AVCODEC_VVC_VVC_THREAD_H
+#ifndef AVCODEC_VVC_THREAD_H
+#define AVCODEC_VVC_THREAD_H
-#include "vvcdec.h"
+#include "dec.h"
struct AVExecutor* ff_vvc_executor_alloc(VVCContext *s, int thread_count);
void ff_vvc_executor_free(struct AVExecutor **e);
@@ -33,4 +33,4 @@ void ff_vvc_frame_thread_free(VVCFrameContext *fc);
void ff_vvc_frame_submit(VVCContext *s, VVCFrameContext *fc);
int ff_vvc_frame_wait(VVCContext *s, VVCFrameContext *fc);
-#endif // AVCODEC_VVC_VVC_THREAD_H
+#endif // AVCODEC_VVC_THREAD_H