[FFmpeg-devel] [PATCH 09/11] lavc/hevc*: move to hevc/ subdir

James Almer jamrial at gmail.com
Sun Jun 2 03:39:36 EEST 2024


On 5/31/2024 2:47 PM, Anton Khirnov wrote:
> ---
>   libavcodec/Makefile                           | 12 ++-----
>   libavcodec/aarch64/hevcdsp_init_aarch64.c     |  2 +-
>   libavcodec/arm/hevcdsp_arm.h                  |  2 +-
>   libavcodec/arm/hevcdsp_init_arm.c             |  2 +-
>   libavcodec/arm/hevcdsp_init_neon.c            |  2 +-
>   libavcodec/bsf/extract_extradata.c            |  3 +-
>   libavcodec/bsf/h265_metadata.c                |  3 +-
>   libavcodec/bsf/hevc_mp4toannexb.c             |  3 +-
>   libavcodec/bsf/remove_extradata.c             |  3 +-
>   libavcodec/cbs_h2645.c                        |  2 +-
>   libavcodec/cbs_h265.h                         |  3 +-
>   libavcodec/d3d12va_hevc.c                     |  4 +--
>   libavcodec/dxva2_hevc.c                       |  4 +--
>   libavcodec/h2645_parse.c                      |  3 +-
>   libavcodec/hevc/Makefile                      | 36 +++++++++++++++++++
>   libavcodec/{hevc_cabac.c => hevc/cabac.c}     |  2 +-
>   libavcodec/{hevc_data.c => hevc/data.c}       |  2 +-
>   libavcodec/{hevc_data.h => hevc/data.h}       |  0
>   libavcodec/{hevcdsp.c => hevc/dsp.c}          | 10 +++---
>   libavcodec/{hevcdsp.h => hevc/dsp.h}          |  8 ++---
>   .../dsp_template.c}                           |  2 +-
>   libavcodec/{hevc_filter.c => hevc/filter.c}   |  0
>   libavcodec/{ => hevc}/hevc.h                  |  6 ++--
>   libavcodec/{ => hevc}/hevcdec.c               |  2 +-
>   libavcodec/{ => hevc}/hevcdec.h               | 33 ++++++++---------
>   libavcodec/{hevc_mvs.c => hevc/mvs.c}         |  0
>   libavcodec/{hevc_parse.c => hevc/parse.c}     |  2 +-
>   libavcodec/{hevc_parse.h => hevc/parse.h}     |  4 +--
>   libavcodec/{hevc_parser.c => hevc/parser.c}   |  6 ++--
>   libavcodec/{hevcpred.c => hevc/pred.c}        | 10 +++---
>   libavcodec/{hevcpred.h => hevc/pred.h}        |  6 ++--
>   .../pred_template.c}                          |  2 +-
>   libavcodec/{hevc_ps.c => hevc/ps.c}           |  4 +--
>   libavcodec/{hevc_ps.h => hevc/ps.h}           |  7 ++--
>   libavcodec/{hevc_ps_enc.c => hevc/ps_enc.c}   |  2 +-
>   libavcodec/{hevc_refs.c => hevc/refs.c}       |  0
>   libavcodec/{hevc_sei.c => hevc/sei.c}         |  4 +--
>   libavcodec/{hevc_sei.h => hevc/sei.h}         |  7 ++--
>   libavcodec/loongarch/hevcdsp_lasx.h           |  2 +-
>   libavcodec/loongarch/hevcdsp_lsx.h            |  2 +-
>   libavcodec/mediacodecdec.c                    |  2 +-
>   libavcodec/mips/hevcdsp_mips.h                |  2 +-
>   libavcodec/mips/hevcdsp_mmi.c                 |  2 +-
>   libavcodec/mips/hevcpred_mips.h               |  2 +-
>   libavcodec/mips/hevcpred_msa.c                |  2 +-
>   libavcodec/nvdec_hevc.c                       |  4 +--
>   libavcodec/nvenc.c                            |  2 +-
>   libavcodec/ppc/hevcdsp.c                      |  2 +-
>   libavcodec/qsvenc_hevc.c                      |  5 +--
>   libavcodec/vaapi_encode_h265.c                |  3 +-
>   libavcodec/vaapi_hevc.c                       |  3 +-
>   libavcodec/vdpau_hevc.c                       |  4 +--
>   libavcodec/videotoolbox.c                     |  2 +-
>   libavcodec/vulkan_hevc.c                      |  6 ++--
>   libavcodec/x86/hevcdsp_init.c                 |  2 +-
>   libavformat/hevc.c                            |  2 +-
>   libavformat/hevcdec.c                         |  2 +-
>   libavformat/mov.c                             |  2 +-
>   libavformat/mpegtsenc.c                       |  2 +-
>   tests/checkasm/hevc_add_res.c                 |  2 +-
>   tests/checkasm/hevc_deblock.c                 |  2 +-
>   tests/checkasm/hevc_idct.c                    |  2 +-
>   tests/checkasm/hevc_pel.c                     |  2 +-
>   tests/checkasm/hevc_sao.c                     |  2 +-
>   64 files changed, 154 insertions(+), 114 deletions(-)
>   create mode 100644 libavcodec/hevc/Makefile
>   rename libavcodec/{hevc_cabac.c => hevc/cabac.c} (99%)
>   rename libavcodec/{hevc_data.c => hevc/data.c} (98%)
>   rename libavcodec/{hevc_data.h => hevc/data.h} (100%)
>   rename libavcodec/{hevcdsp.c => hevc/dsp.c} (99%)
>   rename libavcodec/{hevcdsp.h => hevc/dsp.h} (98%)
>   rename libavcodec/{hevcdsp_template.c => hevc/dsp_template.c} (99%)
>   rename libavcodec/{hevc_filter.c => hevc/filter.c} (100%)
>   rename libavcodec/{ => hevc}/hevc.h (98%)
>   rename libavcodec/{ => hevc}/hevcdec.c (99%)
>   rename libavcodec/{ => hevc}/hevcdec.h (97%)
>   rename libavcodec/{hevc_mvs.c => hevc/mvs.c} (100%)
>   rename libavcodec/{hevc_parse.c => hevc/parse.c} (99%)
>   rename libavcodec/{hevc_parse.h => hevc/parse.h} (96%)
>   rename libavcodec/{hevc_parser.c => hevc/parser.c} (99%)
>   rename libavcodec/{hevcpred.c => hevc/pred.c} (93%)
>   rename libavcodec/{hevcpred.h => hevc/pred.h} (94%)
>   rename libavcodec/{hevcpred_template.c => hevc/pred_template.c} (99%)
>   rename libavcodec/{hevc_ps.c => hevc/ps.c} (99%)
>   rename libavcodec/{hevc_ps.h => hevc/ps.h} (99%)
>   rename libavcodec/{hevc_ps_enc.c => hevc/ps_enc.c} (99%)
>   rename libavcodec/{hevc_refs.c => hevc/refs.c} (100%)
>   rename libavcodec/{hevc_sei.c => hevc/sei.c} (99%)
>   rename libavcodec/{hevc_sei.h => hevc/sei.h} (96%)

To be in line with vvc, you'd also need to move the x86/ files to their 
own hevc folder.


More information about the ffmpeg-devel mailing list