mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-02-08 19:00:07 +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> |
||
|---|---|---|
| .. | ||
| asm.S | ||
| audiodsp.c | ||
| blockdsp.c | ||
| fdct.h | ||
| fdctdsp.c | ||
| fmtconvert_altivec.c | ||
| h264chroma_init.c | ||
| h264chroma_template.c | ||
| h264dsp.c | ||
| h264qpel.c | ||
| h264qpel_template.c | ||
| hevcdsp.c | ||
| hevcdsp_template.c | ||
| hpeldsp_altivec.c | ||
| hpeldsp_altivec.h | ||
| idctdsp.c | ||
| lossless_audiodsp_altivec.c | ||
| lossless_videodsp_altivec.c | ||
| Makefile | ||
| mathops.h | ||
| me_cmp.c | ||
| mpeg4videodsp.c | ||
| mpegaudiodsp_altivec.c | ||
| mpegvideo_altivec.c | ||
| mpegvideoencdsp.c | ||
| pixblockdsp.c | ||
| svq1enc_altivec.c | ||
| vc1dsp_altivec.c | ||
| videodsp.c | ||
| vorbisdsp_altivec.c | ||
| vp3dsp_altivec.c | ||
| vp8dsp_altivec.c | ||