1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-07 11:13:41 +02:00
FFmpeg/libavcodec/loongarch
Andreas Rheinhardt 6106fb2b4c avcodec/hevcdsp: Offset ff_hevc_.pel_filters to simplify addressing
Besides simplifying address computations (it saves 432B of .text
in hevcdsp.o alone here) it also fixes undefined behaviour that
occurs if mx or my are 0 (happens when the filters are unused)
because they lead to an array index of -1 in the old code.
This happens in the checkasm-hevc_pel FATE-test.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Reviewed-by: Nuo Mi <nuomi2021@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
2024-02-13 20:25:49 -03:00
..
cabac.h
h264_cabac.c
h264_deblock_lasx.c
h264_intrapred_init_loongarch.c
h264_intrapred_loongarch.h
h264chroma_init_loongarch.c
h264chroma_loongarch.h
h264chroma.S
h264dsp_init_loongarch.c
h264dsp_lasx.c
h264dsp_loongarch.h
h264dsp.S
h264idct_loongarch.c
h264idct.S
h264intrapred.S
h264qpel_init_loongarch.c
h264qpel_lasx.c
h264qpel_loongarch.h
h264qpel_lsx.c
h264qpel.S
hevc_add_res.S
hevc_idct_lsx.c avcodec/hevc: Add ff_hevc_idct_32x32_lasx asm opt 2024-01-12 23:35:40 +01:00
hevc_idct.S avcodec/hevc: Add ff_hevc_idct_32x32_lasx asm opt 2024-01-12 23:35:40 +01:00
hevc_lpf_sao_lsx.c
hevc_mc_bi_lsx.c avcodec/hevcdsp: Offset ff_hevc_.pel_filters to simplify addressing 2024-02-13 20:25:49 -03:00
hevc_mc_uni_lsx.c avcodec/hevcdsp: Offset ff_hevc_.pel_filters to simplify addressing 2024-02-13 20:25:49 -03:00
hevc_mc_uniw_lsx.c avcodec/hevcdsp: Offset ff_hevc_.pel_filters to simplify addressing 2024-02-13 20:25:49 -03:00
hevc_mc.S avcodec/hevcdsp: Offset ff_hevc_.pel_filters to simplify addressing 2024-02-13 20:25:49 -03:00
hevcdsp_init_loongarch.c avcodec/hevc: Add ff_hevc_idct_32x32_lasx asm opt 2024-01-12 23:35:40 +01:00
hevcdsp_lasx.h avcodec/hevc: Add ff_hevc_idct_32x32_lasx asm opt 2024-01-12 23:35:40 +01:00
hevcdsp_lsx.c avcodec/hevcdsp: Offset ff_hevc_.pel_filters to simplify addressing 2024-02-13 20:25:49 -03:00
hevcdsp_lsx.h avcodec/hevc: Add asm opt for the following functions 2024-01-12 23:35:40 +01:00
hpeldsp_init_loongarch.c
hpeldsp_lasx.c
hpeldsp_lasx.h
idctdsp_init_loongarch.c
idctdsp_lasx.c
idctdsp_loongarch.h
loongson_asm.S
Makefile avcodec/hevc: Add ff_hevc_idct_32x32_lasx asm opt 2024-01-12 23:35:40 +01:00
simple_idct_lasx.c
vc1dsp_init_loongarch.c
vc1dsp_lasx.c
vc1dsp_loongarch.h
videodsp_init.c
vp8_lpf_lsx.c
vp8_mc_lsx.c
vp8dsp_init_loongarch.c
vp8dsp_loongarch.h
vp9_idct_lsx.c
vp9_intra_lsx.c
vp9_lpf_lsx.c
vp9_mc_lsx.c
vp9dsp_init_loongarch.c
vp9dsp_loongarch.h