Diego Biurrun
b42f49e42f
x86: dsputil: Eliminate some unnecessary dsputil_x86.h #includes
11 years ago
Anton Khirnov
dfc50ac85e
x86: mpegvideo: move denoise_dct asm to mpegvideoenc
...
This function is encoding-only.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
11 years ago
Diego Biurrun
7ffaa19570
dsputil: x86: Move ff_inv_zigzag_direct16 table init to mpegvideo
...
The table is MMX-specific and used nowhere else.
11 years ago
Diego Biurrun
3ac7fa81b2
Consistently use "cpu_flags" as variable/parameter name for CPU flags
12 years ago
Diego Biurrun
1399931d07
x86: dsputil: Rename dsputil_mmx.h --> dsputil_x86.h
...
The header is not (anymore) MMX-specific.
12 years ago
Diego Biurrun
c1ad70c3cb
x86: Move some conditional code around to avoid unused variable warnings
12 years ago
Diego Biurrun
5d3d39c72e
dsputil: Move fdct function declarations to dct.h
12 years ago
Diego Biurrun
c9f933b5b6
Add av_cold attributes to arch-specific init functions
12 years ago
Diego Biurrun
d8eda37080
x86: mmx2 ---> mmxext in function names
12 years ago
Diego Biurrun
e0c6cce447
x86: Replace checks for CPU extensions and flags by convenience macros
...
This separates code relying on inline from that relying on external
assembly and fixes instances where the coalesced check was incorrect.
12 years ago
Diego Biurrun
17337f54c0
x86: Split inline and external assembly #ifdefs
13 years ago
Diego Biurrun
ec36aa6944
x86: Fix linking with some or all of yasm, mmx, optimizations disabled
...
Some optimized template functions reference optimized symbols, so they
must be explicitly disabled when those symbols are unavailable.
13 years ago
Diego Biurrun
2f2aa2e542
x86: mpegvideoenc: fix linking with --disable-mmx
...
The optimized dct_quantize template functions reference optimized
fdct symbols, so these functions must only be enabled if the relevant
optimizations have been enabled by configure.
13 years ago
Diego Biurrun
d39791bf39
x86: mpegvideoenc: Do not abuse HAVE_ variables for template instantiation
...
This avoids trouble if HAVE_ variables are used elsewhere in the file.
13 years ago
Diego Biurrun
d211547ddd
x86: mpegvideoenc: Split optimizations off into a separate file
13 years ago