ffmpeg/libavcodec/mips
Andreas Rheinhardt ed33bbe678 avcodec/mpegaudiodec: Hardcode tables to save space
The csa_tables (which always consist of 32 entries of four byte each,
but the type depends upon whether the decoder is fixed or
floating-point) are currently initialized once during decoder
initialization; yet it turns out that this is actually no benefit: The
code used to initialize these tables takes up 153 (fixed point) and 122
(floating point) bytes when compiled with GCC 9.3 with -O3 on x64, so it
is better to just hardcode these tables.

Essentially the same applies to the is_tables: They have a size of 128B
each and the code to initialize them occupies 149 (fixed point) resp.
140 (floating point) bytes. So hardcode them, too.

To make the origin of the tables clear, references to the code used to
create them have been added.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2020-12-08 17:51:47 +01:00
..
Makefile
aaccoder_mips.c
aacdec_mips.c avcodec/mips: Fix register constraint error reported by clang. 2020-07-30 00:23:45 +02:00
aacdec_mips.h
aacpsdsp_mips.c avcodec/mips: Fix segfault in imdct36_mips_float. 2020-07-30 00:23:45 +02:00
aacpsy_mips.h avcodec/mips: Fix segfault in imdct36_mips_float. 2020-07-30 00:23:45 +02:00
aacsbr_mips.c avcodec/mips: Fix register constraint error reported by clang. 2020-07-30 00:23:45 +02:00
aacsbr_mips.h
ac3dsp_mips.c
acelp_filters_mips.c
acelp_vectors_mips.c
amrwbdec_mips.c
amrwbdec_mips.h
blockdsp_init_mips.c libavcodec: Enable runtime detection for MIPS MMI & MSA 2020-07-23 17:21:58 +02:00
blockdsp_mips.h
blockdsp_mmi.c
blockdsp_msa.c
cabac.h avcodec/mips/cabac: Fix a bug in get_cabac_inline_mips. 2020-07-30 00:23:45 +02:00
celp_filters_mips.c
celp_math_mips.c
compute_antialias_fixed.h avcodec/mpegaudiodec: Hardcode tables to save space 2020-12-08 17:51:47 +01:00
compute_antialias_float.h avcodec/mpegaudiodec: Hardcode tables to save space 2020-12-08 17:51:47 +01:00
constants.c
constants.h
fft_mips.c avcodec/fft_template, fft_init_table: Make ff_fft_init() thread-safe 2020-11-24 11:35:03 +01:00
fmtconvert_mips.c
h263dsp_init_mips.c libavcodec: Enable runtime detection for MIPS MMI & MSA 2020-07-23 17:21:58 +02:00
h263dsp_mips.h
h263dsp_msa.c
h264chroma_init_mips.c libavcodec: Enable runtime detection for MIPS MMI & MSA 2020-07-23 17:21:58 +02:00
h264chroma_mips.h
h264chroma_mmi.c
h264chroma_msa.c
h264dsp_init_mips.c libavcodec: Enable runtime detection for MIPS MMI & MSA 2020-07-23 17:21:58 +02:00
h264dsp_mips.h libavcodec: MIPS: MMI: Fix type mismatches 2020-07-23 17:21:58 +02:00
h264dsp_mmi.c libavcodec: MIPS: MMI: Move sp out of the clobber list 2020-07-23 17:21:58 +02:00
h264dsp_msa.c
h264idct_msa.c
h264pred_init_mips.c libavcodec: Enable runtime detection for MIPS MMI & MSA 2020-07-23 17:21:58 +02:00
h264pred_mips.h
h264pred_mmi.c avcodec/mips: [loongson] Fixed mmi optimization 2020-09-10 23:31:10 +02:00
h264pred_msa.c
h264qpel_init_mips.c libavcodec: Enable runtime detection for MIPS MMI & MSA 2020-07-23 17:21:58 +02:00
h264qpel_mmi.c
h264qpel_msa.c
hevc_idct_msa.c
hevc_lpf_sao_msa.c
hevc_macros_msa.h
hevc_mc_bi_msa.c
hevc_mc_biw_msa.c
hevc_mc_uni_msa.c
hevc_mc_uniw_msa.c
hevcdsp_init_mips.c libavcodec: Enable runtime detection for MIPS MMI & MSA 2020-07-23 17:21:58 +02:00
hevcdsp_mips.h
hevcdsp_mmi.c
hevcdsp_msa.c
hevcpred_init_mips.c libavcodec: Enable runtime detection for MIPS MMI & MSA 2020-07-23 17:21:58 +02:00
hevcpred_mips.h
hevcpred_msa.c
hpeldsp_init_mips.c libavcodec: Enable runtime detection for MIPS MMI & MSA 2020-07-23 17:21:58 +02:00
hpeldsp_mips.h
hpeldsp_mmi.c
hpeldsp_msa.c
idctdsp_init_mips.c libavcodec: Enable runtime detection for MIPS MMI & MSA 2020-07-23 17:21:58 +02:00
idctdsp_mips.h
idctdsp_mmi.c
idctdsp_msa.c
iirfilter_mips.c
lsp_mips.h
mathops.h
me_cmp_init_mips.c libavcodec: Enable runtime detection for MIPS MMI & MSA 2020-07-23 17:21:58 +02:00
me_cmp_mips.h
me_cmp_msa.c
mpegaudiodsp_mips_fixed.c
mpegaudiodsp_mips_float.c avcodec/mips: Fix segfault in imdct36_mips_float. 2020-07-30 00:23:45 +02:00
mpegvideo_init_mips.c libavcodec: Enable runtime detection for MIPS MMI & MSA 2020-07-23 17:21:58 +02:00
mpegvideo_mips.h
mpegvideo_mmi.c
mpegvideo_msa.c
mpegvideoencdsp_init_mips.c libavcodec: Enable runtime detection for MIPS MMI & MSA 2020-07-23 17:21:58 +02:00
mpegvideoencdsp_msa.c
pixblockdsp_init_mips.c libavcodec: Enable runtime detection for MIPS MMI & MSA 2020-07-23 17:21:58 +02:00
pixblockdsp_mips.h
pixblockdsp_mmi.c
pixblockdsp_msa.c
qpeldsp_init_mips.c libavcodec: Enable runtime detection for MIPS MMI & MSA 2020-07-23 17:21:58 +02:00
qpeldsp_mips.h
qpeldsp_msa.c
sbrdsp_mips.c avcodec/mips: Fix register constraint error reported by clang. 2020-07-30 00:23:45 +02:00
simple_idct_mmi.c
simple_idct_msa.c
vc1dsp_init_mips.c libavcodec: Enable runtime detection for MIPS MMI & MSA 2020-07-23 17:21:58 +02:00
vc1dsp_mips.h
vc1dsp_mmi.c
vc1dsp_msa.c
videodsp_init.c libavcodec: Enable runtime detection for MIPS MMI & MSA 2020-07-23 17:21:58 +02:00
vp3dsp_idct_mmi.c
vp3dsp_idct_msa.c
vp3dsp_init_mips.c libavcodec: Enable runtime detection for MIPS MMI & MSA 2020-07-23 17:21:58 +02:00
vp3dsp_mips.h
vp8_idct_msa.c
vp8_lpf_msa.c
vp8_mc_msa.c
vp8dsp_init_mips.c libavcodec: Enable runtime detection for MIPS MMI & MSA 2020-07-23 17:21:58 +02:00
vp8dsp_mips.h
vp8dsp_mmi.c
vp9_idct_msa.c
vp9_intra_msa.c
vp9_lpf_msa.c
vp9_mc_mmi.c
vp9_mc_msa.c
vp9dsp_init_mips.c libavcodec: Enable runtime detection for MIPS MMI & MSA 2020-07-23 17:21:58 +02:00
vp9dsp_mips.h
wmv2dsp_init_mips.c libavcodec: Enable runtime detection for MIPS MMI & MSA 2020-07-23 17:21:58 +02:00
wmv2dsp_mips.h libavcodec: Enable runtime detection for MIPS MMI & MSA 2020-07-23 17:21:58 +02:00
wmv2dsp_mmi.c libavcodec: Enable runtime detection for MIPS MMI & MSA 2020-07-23 17:21:58 +02:00
xvid_idct_mmi.c libavcodec: MIPS: MMI: Fix type mismatches 2020-07-23 17:21:58 +02:00
xvididct_init_mips.c libavcodec: Enable runtime detection for MIPS MMI & MSA 2020-07-23 17:21:58 +02:00
xvididct_mips.h libavcodec: MIPS: MMI: Fix type mismatches 2020-07-23 17:21:58 +02:00