Diego Biurrun
92f8e06ecb
x86: dsputil hpeldsp: Move shared template functions into separate object
12 years ago
Diego Biurrun
110796739a
x86: hpeldsp: Move avg_pixels8_x2_mmx() out of hpeldsp_rnd_template.c
...
The function is only instantiated once, so there is no point
in keeping it in a template file.
12 years ago
Diego Biurrun
dc1b328d0d
x86: hpeldsp: Only compile MMX hpeldsp code if MMX is enabled
12 years ago
Diego Biurrun
9b3a04d306
x86: Move duplicated put_pixels{8|16}_mmx functions into their own file
12 years ago
Diego Biurrun
643e433bf7
mpegaudiosp: More consistent names for ppc/x86 optimization files
12 years ago
Ronald S. Bultje
8db00081a3
x86: hpeldsp: Move half-pel assembly from dsputil to hpeldsp
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Ronald S. Bultje
b93b27edb0
dsputil: Make dsputil selectable
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Ronald S. Bultje
610b18e2e3
x86: qpel: Move fullpel and l2 functions to a separate file
...
This way, they can be shared between mpeg4qpel and h264qpel without
requiring either one to be compiled unconditionally.
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Carl Eugen Hoyos
670bb1c979
Fix compilation with --enable-decoder=webp --disable-decoder=vp8
12 years ago
Ronald S. Bultje
3ced55d51c
Move x86 half-pel assembly from dsputil to hpeldsp.
12 years ago
Ronald S. Bultje
6a701306db
dsputil: make selectable.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Ronald S. Bultje
22cc8a103c
x86/qpel: move fullpel and l2 functions to separate file.
...
This way, they can be shared between mpeg4qpel and h264qpel without
requiring either one to be compiled unconditionally.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Daniel Kang
9acd23d655
x86: dsputil: Fix h263 loop filter link error in some configurations
...
This was caused by unconditionally referencing a conditionally compiled
table. Now the code is also compiled conditionally.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
12 years ago
Martin Storsjö
a846dccb29
h264chroma: x86: Fix building with yasm disabled
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Diego Biurrun
79dad2a932
dsputil: Separate h264chroma
12 years ago
Daniel Kang
71155d7b41
dsputil: x86: Convert mpeg4 qpel and dsputil avg to yasm
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
12 years ago
Mans Rullgard
e9d817351b
dsputil: Separate h264 qpel
...
The sh4 optimizations are removed, because the code is
100% identical to the C code, so it is unlikely to
provide any real practical benefit.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
12 years ago
Ronald S. Bultje
2e4bb99f4d
vorbisdsp: convert x86 simd functions from inline asm to yasm.
12 years ago
Ronald S. Bultje
fef906c77c
Move vorbis_inverse_coupling from dsputil to vorbisdspcontext.
...
Conveniently (together with Justin's earlier patches), this makes
our vorbis decoder entirely independent of dsputil.
12 years ago
Michael Niedermayer
274e48d8ac
x86/Makefile: move dirac_dwt to right type
...
Fix build failure without yasm
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
30981a966f
lavc: split snow and dirac DWTs
...
There is only about 4 lines of common code, so it alot cleaner
when seperated.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Diego Biurrun
a0c5917f86
Drop Snow codec
...
Snow is a toy codec with no real-world use and horrible code.
12 years ago
Ronald S. Bultje
8c53d39e7f
lavc: introduce VideoDSPContext
...
Move some functions from dsputil. The idea is that videodsp contains
functions that are useful for a large and varied set of video decoders.
Currently, it contains emulated_edge_mc() and prefetch().
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
12 years ago
Clément Bœsch
7eafd274d8
build: fix prores decoder dependencies.
...
According to lavc/proresdsp.c, both prores and prores-lgpl decoders need
lavc/x86/proresdsp_init.c:ff_proresdsp_x86_init().
12 years ago
Daniel Kang
610e00b359
x86: h264: Convert 8-bit QPEL inline assembly to YASM
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
12 years ago
Janne Grunau
7e522859fc
x86: vc1: call ff_vc1dsp_init_x86() under if (ARCH_X86)
12 years ago
Janne Grunau
cb36febcbc
x86: cavs: call ff_cavsdsp_init_x86() under if (ARCH_X86)
12 years ago
Janne Grunau
f101eab1be
x86: call most of the x86 dsp init functions under if (ARCH_X86)
...
Rename the called dsp init functions to *_init_x86.
12 years ago
Diego Biurrun
a84edbacaf
x86: dsputil: Only compile motion_est code when encoders are enabled
12 years ago
Diego Biurrun
2e6f93a284
x86: Always compile files with functions that are called unconditionally
13 years ago
Diego Biurrun
bcc45d6348
x86: avcodec: Drop silly "_mmx" suffixes from filenames
13 years ago
Diego Biurrun
efbd04c332
x86: avcodec: Drop silly "_sse" suffixes from filenames
13 years ago
Diego Biurrun
3f02c533f3
build: fft: x86: Drop unused YASM-OBJS-FFT- variable
13 years ago
Diego Biurrun
dc40285427
x86: mpegvideo: more sensible names for optimization file and init function
13 years ago
Diego Biurrun
d211547ddd
x86: mpegvideoenc: Split optimizations off into a separate file
13 years ago
Diego Biurrun
26ce9aec03
dnxhdenc: x86: more sensible names for optimization file and init function
13 years ago
Diego Biurrun
6fa488678f
build: x86: Only compile mpegvideo optimizations when necessary
13 years ago
Diego Biurrun
6961bdface
x86: avcodec: Consistently name all init files
13 years ago
Diego Biurrun
29cfdd3767
x86: avcodec: Appropriately name files containing only init functions
13 years ago
Diego Biurrun
3b9e832e17
x86: Drop silly "_yasm" suffixes from filenames
13 years ago
Ronald S. Bultje
9f14cd91b5
fft: port FFT/IMDCT 3dnow functions to yasm, and disable on x86-64.
...
64-bit CPUs always have SSE available, thus there is no need to compile
in the 3dnow functions. This results in smaller binaries.
13 years ago
Mans Rullgard
ec7c501ed5
x86: remove libmpeg2 mmx(ext) idct functions
...
These functions are not faster than other mmx implementations on
any hardware I have been able to test on, and they are horribly
inaccurate. There is thus no reason to ever use them.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Ronald S. Bultje
b6a3849adb
fft: port FFT/IMDCT 3dnow functions to yasm, and disable on x86-64.
...
64-bit CPUs always have SSE available, thus there is no need to compile
in the 3dnow functions. This results in smaller binaries.
13 years ago
Mans Rullgard
28f9ab7029
vp3: move idct and loop filter pointers to new vp3dsp context
...
This moves all VP3-specific function pointers from dsputil to a
new vp3dsp context. There is no reason to ever use the VP3 IDCT
where an MPEG2 IDCT is expected or vice versa.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Mans Rullgard
ab9f987661
build: add CONFIG_VP3DSP, reduce repetition in OBJS lists
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Nicolas George
91765594dd
Revert "Revert "x86: fft: convert sse inline asm to yasm""
...
This reverts commit fd91a3ec44
.
The bug it introduced has been fixed.
13 years ago
Nicolas George
fd91a3ec44
Revert "x86: fft: convert sse inline asm to yasm"
...
This reverts commit 8299260470
.
It breaks shared builds on x86_64.
13 years ago
Mans Rullgard
8299260470
x86: fft: convert sse inline asm to yasm
13 years ago
Diego Biurrun
7bb3a302fe
build: Consistently handle conditional compilation for all optimization OBJS.
13 years ago
Diego Biurrun
ad0e31f134
build: prettyprinting cosmetics
13 years ago