summaryrefslogtreecommitdiff
path: root/libavcodec/x86
Commit message (Collapse)AuthorAge
* lavc: introduce VideoDSPContextRonald S. Bultje2012-12-20
| | | | | | | | 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>
* x86inc: support stack mem allocation and re-alignment in PROLOGUERonald S. Bultje2012-12-12
| | | | | | | Use this in VP8/H264-8bit loopfilter functions so they can be used if there is no aligned stack (e.g. MSVC 32bit or ICC 10.x). Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* ac3dec: make downmix() take array of pointers to channel dataMans Rullgard2012-12-09
|
* SBR DSP x86: implement SSE sbr_hf_genChristophe Gisquet2012-12-07
| | | | | | | | | | | | Start and end index are multiple of 2, therefore guaranteeing aligned access. Also, this allows to generate 4 floats per loop, keeping the alignment all along. Timing: - 32 bits: 326c -> 172c - 64 bits: 323c -> 156c Signed-off-by: Diego Biurrun <diego@biurrun.de>
* x86: dsputilenc: port to cpuflagsDiego Biurrun2012-11-28
|
* x86: h264dsp: Fix linking with yasm and optimizations disabledDiego Biurrun2012-11-28
| | | | | Some optimized functions reference optimized symbols, so the functions must be explicitly disabled when those symbols are unavailable.
* x86: h264_idct: port to cpuflagsDiego Biurrun2012-11-28
|
* x86: h264_weight: port to cpuflagsDiego Biurrun2012-11-27
|
* x86: fix build without inline asmDiego Biurrun2012-11-26
| | | | | | | | The qpel functions referenced here are not related to h264 and should thus never have been under CONFIG_H264QPEL. Signed-off-by: Mans Rullgard <mans@mansr.com> Signed-off-by: Diego Biurrun <diego@biurrun.de>
* x86: h264 qpel: use the correct number of utilized xmm regs in cglobalJustin Ruggles2012-11-25
| | | | Fixes xmm register clobbering on win64.
* x86: h264: Convert 8-bit QPEL inline assembly to YASMDaniel Kang2012-11-25
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* x86: h264: Remove 3dnow QPEL codeDaniel Kang2012-11-25
| | | | | | | The only CPUs that have 3dnow and don't have mmxext are 12 years old. Moreover, AMD has dropped 3dnow extensions from newer CPUs. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* x86: h264_chromamc: port to cpuflagsDiego Biurrun2012-11-25
|
* x86: h264_intrapred: Fix C function names in commentsDiego Biurrun2012-11-18
| | | | | Function names changed after switching to declaration with PRED4x4/8x8/8x8L/16x16 macros in the C code.
* x86: SPLATD: port to cpuflagsDiego Biurrun2012-11-18
|
* x86: dsputil: port to cpuflagsDiego Biurrun2012-11-16
|
* x86: mmx2 ---> mmxext in asm constructsDiego Biurrun2012-11-14
|
* x86: h264_weight_10bit: port to cpuflagsDiego Biurrun2012-11-13
|
* build: Drop AVX assembly ifdefsDiego Biurrun2012-11-11
| | | | An assembler able to cope with AVX instructions is now required.
* x86: h264_qpel_10bit: drop unused parameter from MC10/MC20/MC30 macrosDiego Biurrun2012-11-10
|
* x86: PALIGNR: port to cpuflagsDiego Biurrun2012-11-09
|
* x86: h264_qpel_10bit: port to cpuflagsDiego Biurrun2012-11-09
|
* x86: h264_intrapred: port to cpuflagsDiego Biurrun2012-11-08
|
* x86: h264qpel: Only define mmxext QPEL functions if H264QPEL is enabledDiego Biurrun2012-11-05
| | | | This fixes compilation with --disable-everything and components enabled.
* x86: PABSW: port to cpuflagsDiego Biurrun2012-11-05
|
* x86: vc1dsp: port to cpuflagsDiego Biurrun2012-11-05
|
* x86: Refactor PSWAPD fallback implementations and port to cpuflagsDiego Biurrun2012-11-02
|
* x86: PMINUB: port to cpuflagsDiego Biurrun2012-11-02
|
* x86: ac3dsp: port to cpuflagsDiego Biurrun2012-11-02
|
* x86: Move optimization suffix to end of function namesDiego Biurrun2012-10-31
| | | | This simplifies cpuflags porting.
* x86: h264_chromamc_10bit: drop pointless PAVG %defineDiego Biurrun2012-10-31
| | | | It is only used in one place so there is no need for the abstraction.
* x86: mmx2 ---> mmxext in function namesDiego Biurrun2012-10-31
|
* x86: fmtconvert: Refactor cvtps2pi emulation through cpuflagsDiego Biurrun2012-10-31
|
* x86: fmtconvert: port to cpuflagsDiego Biurrun2012-10-31
|
* x86: MMX2 ---> MMXEXT in macro namesDiego Biurrun2012-10-31
|
* x86: mmx2 ---> mmxext in comments and messagesDiego Biurrun2012-10-31
|
* x86: yasm: Use complete source path for macro helper %includesDiego Biurrun2012-10-31
| | | | | This is more consistent with the way we handle C #includes and it simplifies the build system.
* x86: include x86inc.asm in x86util.asmDiego Biurrun2012-10-31
| | | | This is necessary to allow refactoring some x86util macros with cpuflags.
* Use ptrdiff_t instead of int for intra pred "stride" function parameter.Ronald S. Bultje2012-10-29
| | | | | This way, SIMD-optimized functions don't have to sign-extend their stride argument manually to be able to do pointer arithmetic.
* x86: use PRED4x4/8x8/8x8L/16x16 macros to declare intrapred prototypes.Ronald S. Bultje2012-10-29
|
* Remove usage of INIT_AVX in h264_intrapred_10bit.asm.Ronald S. Bultje2012-10-29
| | | | | | | Replace INIT_AVX by INIT_XMM avx. Port the whole file to use cpuflag based function declarations. Remove (now unused) cputype argument in function declaration macros. Change function prototypes to have mmx2 instead of mmxext as suffix, since that's required by cpuflags.
* dsputil: split out mlp dsp functionLuca Barbato2012-10-11
|
* x86: vc1: call ff_vc1dsp_init_x86() under if (ARCH_X86)Janne Grunau2012-10-08
|
* x86: cavs: call ff_cavsdsp_init_x86() under if (ARCH_X86)Janne Grunau2012-10-08
|
* x86: call most of the x86 dsp init functions under if (ARCH_X86)Janne Grunau2012-10-08
| | | | Rename the called dsp init functions to *_init_x86.
* Give all anonymously typedeffed structs in headers a nameDiego Biurrun2012-10-06
| | | | Anonymous structs cannot be forward declared and have no benefit.
* x86: dsputil: kill VLA in gmc_mmx()Mans Rullgard2012-10-05
| | | | | | | | Instead of using an evil VLA, fall back to C version when edge emulation is needed. MPEG4 GMC is a rarely used fringe feature so the speed loss is an acceptable cost for safer code. Signed-off-by: Mans Rullgard <mans@mansr.com>
* avcodec: Drop silly and/or broken printf debug outputDiego Biurrun2012-10-01
|
* dsputil_mmx: fix reading prior of the src array in sub_hfyu_median_prediction()Michael Niedermayer2012-09-28
| | | | | | This should fix the utvideoenc valgrind failure Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* x86: dsputil: Move Xvid IDCT put/add functions to a more suitable placeDiego Biurrun2012-09-14
|