summaryrefslogtreecommitdiff
path: root/libavcodec/fdctdsp.c
Commit message (Collapse)AuthorAgeFilesLines
* all: Replace if (ARCH_FOO) checks by #if ARCH_FOOAndreas Rheinhardt2022-06-151-5/+6
| | | | | | | | | | | | | | | | | | This is more spec-compliant because it does not rely on dead-code elimination by the compiler. Especially MSVC has problems with this, as can be seen in https://ffmpeg.org/pipermail/ffmpeg-devel/2022-May/296373.html or https://ffmpeg.org/pipermail/ffmpeg-devel/2022-May/297022.html This commit does not eliminate every instance where we rely on dead code elimination: It only tackles branching to the initialization of arch-specific dsp code, not e.g. all uses of CONFIG_ and HAVE_ checks. But maybe it is already enough to compile FFmpeg with MSVC with whole-programm-optimizations enabled (if one does not disable too many components). Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avcodec/fdctdsp: use the 10bit code for 9 bit tooMichael Niedermayer2014-12-201-1/+1
| | | | | | 9bit is currently not used Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge commit '1274ea8dbaec44355bde07f6bb31fec0c4e6fd2d'Michael Niedermayer2014-09-081-0/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | * commit '1274ea8dbaec44355bde07f6bb31fec0c4e6fd2d': Split off floating point AAN (I)DCT into separate components Conflicts: configure libavcodec/Makefile libavcodec/dct-test.c libavcodec/idctdsp.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Split off floating point AAN (I)DCT into separate componentsDiego Biurrun2014-09-071-0/+2
| |
* | Merge commit '2b8b0da09cf0dc2535de42f95110eb633f36d8c8'Michael Niedermayer2014-09-041-10/+8
|\ \ | |/ | | | | | | | | | | * commit '2b8b0da09cf0dc2535de42f95110eb633f36d8c8': fdctdsp: cosmetics: Drop one unnecessary if-block level Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * fdctdsp: cosmetics: Drop one unnecessary if-block levelDiego Biurrun2014-09-031-10/+8
| |
* | Merge commit 'a9aee08d900f686e966c64afec5d88a7d9d130a3'Michael Niedermayer2014-07-081-4/+4
|/ | | | | | | | | | | | | | | | | | * commit 'a9aee08d900f686e966c64afec5d88a7d9d130a3': dsputil: Split off FDCT bits into their own context Conflicts: configure libavcodec/Makefile libavcodec/asvenc.c libavcodec/dnxhdenc.c libavcodec/dsputil.c libavcodec/mpegvideo.h libavcodec/mpegvideo_enc.c libavcodec/x86/Makefile libavcodec/x86/dsputilenc_mmx.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
* dsputil: Split off FDCT bits into their own contextDiego Biurrun2014-07-071-0/+50