mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-02-11 12:39:57 +00:00
Before this commit, the input in get_pixels and get_pixels_unaligned has been treated inconsistenly: - The generic code treated 9, 10, 12 and 14 bits as 16bit input (these bits correspond to what FFmpeg's dsputils supported), everything with <= 8 bits as 8 bit and everything else as 8 bit when used via AVDCT (which exposes these functions and purports to support up to 14 bits). - AARCH64, ARM, PPC and RISC-V, x86 ignore this AVDCT special case. - RISC-V also ignored the restriction to 9, 10, 12 and 14 for its 16bit check and treated everything > 8 bits as 16bit. - The mmi MIPS code treats everything as 8 bit when used via AVDCT (this is certainly broken); otherwise it checks for <= 8 bits. The msa MIPS code behaves like the generic code. This commit changes this to treat 9..16 bits as 16 bit input, everything else as 8 bit (the former because it makes sense, the latter to preserve the behaviour for external users*). *: The only internal user of AVDCT (the spp filter) always uses 8, 9 or 10 bits. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> |
||
|---|---|---|
| .. | ||
| aac.h | ||
| aacpsdsp_init_arm.c | ||
| aacpsdsp_neon.S | ||
| ac3dsp_arm.S | ||
| ac3dsp_armv6.S | ||
| ac3dsp_init_arm.c | ||
| ac3dsp_neon.S | ||
| asm-offsets.h | ||
| audiodsp_arm.h | ||
| audiodsp_init_arm.c | ||
| audiodsp_init_neon.c | ||
| audiodsp_neon.S | ||
| blockdsp_arm.h | ||
| blockdsp_init_arm.c | ||
| blockdsp_init_neon.c | ||
| blockdsp_neon.S | ||
| cabac.h | ||
| dca.h | ||
| flacdsp_arm.S | ||
| flacdsp_init_arm.c | ||
| fmtconvert_init_arm.c | ||
| fmtconvert_neon.S | ||
| fmtconvert_vfp.S | ||
| g722dsp_init_arm.c | ||
| g722dsp_neon.S | ||
| h264chroma_init_arm.c | ||
| h264cmc_neon.S | ||
| h264dsp_init_arm.c | ||
| h264dsp_neon.S | ||
| h264idct_neon.S | ||
| h264pred_init_arm.c | ||
| h264pred_neon.S | ||
| h264qpel_init_arm.c | ||
| h264qpel_neon.S | ||
| hevcdsp_arm.h | ||
| hevcdsp_deblock_neon.S | ||
| hevcdsp_idct_neon.S | ||
| hevcdsp_init_arm.c | ||
| hevcdsp_init_neon.c | ||
| hevcdsp_qpel_neon.S | ||
| hevcdsp_sao_neon.S | ||
| hpeldsp_arm.h | ||
| hpeldsp_arm.S | ||
| hpeldsp_armv6.S | ||
| hpeldsp_init_arm.c | ||
| hpeldsp_init_armv6.c | ||
| hpeldsp_init_neon.c | ||
| hpeldsp_neon.S | ||
| idct.h | ||
| idctdsp_arm.h | ||
| idctdsp_arm.S | ||
| idctdsp_armv6.S | ||
| idctdsp_init_arm.c | ||
| idctdsp_init_armv5te.c | ||
| idctdsp_init_armv6.c | ||
| idctdsp_init_neon.c | ||
| idctdsp_neon.S | ||
| int_neon.S | ||
| jrevdct_arm.S | ||
| lossless_audiodsp_init_arm.c | ||
| lossless_audiodsp_neon.S | ||
| Makefile | ||
| mathops.h | ||
| me_cmp_armv6.S | ||
| me_cmp_init_arm.c | ||
| mlpdsp_armv5te.S | ||
| mlpdsp_armv6.S | ||
| mlpdsp_init_arm.c | ||
| mpegaudiodsp_fixed_armv6.S | ||
| mpegaudiodsp_init_arm.c | ||
| mpegvideo_arm.c | ||
| mpegvideo_arm.h | ||
| mpegvideo_armv5te.c | ||
| mpegvideo_armv5te_s.S | ||
| mpegvideo_neon.S | ||
| mpegvideoencdsp_armv6.S | ||
| mpegvideoencdsp_init_arm.c | ||
| neon.S | ||
| neontest.c | ||
| pixblockdsp_armv6.S | ||
| pixblockdsp_init_arm.c | ||
| pixblockdsp_neon.S | ||
| rv34dsp_init_arm.c | ||
| rv34dsp_neon.S | ||
| rv40dsp_init_arm.c | ||
| rv40dsp_neon.S | ||
| sbcdsp_armv6.S | ||
| sbcdsp_init_arm.c | ||
| sbcdsp_neon.S | ||
| sbrdsp_init_arm.c | ||
| sbrdsp_neon.S | ||
| simple_idct_arm.S | ||
| simple_idct_armv5te.S | ||
| simple_idct_armv6.S | ||
| simple_idct_neon.S | ||
| startcode.h | ||
| startcode_armv6.S | ||
| synth_filter_init_arm.c | ||
| synth_filter_neon.S | ||
| synth_filter_vfp.S | ||
| vc1dsp.h | ||
| vc1dsp_init_arm.c | ||
| vc1dsp_init_neon.c | ||
| vc1dsp_neon.S | ||
| videodsp_arm.h | ||
| videodsp_armv5te.S | ||
| videodsp_init_arm.c | ||
| videodsp_init_armv5te.c | ||
| vorbisdsp_init_arm.c | ||
| vorbisdsp_neon.S | ||
| vp3dsp_init_arm.c | ||
| vp3dsp_neon.S | ||
| vp6dsp_init_arm.c | ||
| vp6dsp_neon.S | ||
| vp8.h | ||
| vp8_armv6.S | ||
| vp8dsp.h | ||
| vp8dsp_armv6.S | ||
| vp8dsp_init_arm.c | ||
| vp8dsp_init_armv6.c | ||
| vp8dsp_init_neon.c | ||
| vp8dsp_neon.S | ||
| vp9dsp_init.h | ||
| vp9dsp_init_10bpp_arm.c | ||
| vp9dsp_init_12bpp_arm.c | ||
| vp9dsp_init_16bpp_arm_template.c | ||
| vp9dsp_init_arm.c | ||
| vp9itxfm_16bpp_neon.S | ||
| vp9itxfm_neon.S | ||
| vp9lpf_16bpp_neon.S | ||
| vp9lpf_neon.S | ||
| vp9mc_16bpp_neon.S | ||
| vp9mc_neon.S | ||
| vpx_arith.h | ||