aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/x86/rv34dsp_init.c
Commit message (Collapse)AuthorAgeFilesLines
* avcodec/x86/rv34dsp: Remove obsolete MMX functionAndreas Rheinhardt2022-06-221-3/+0
| | | | | | | | | The only systems which benefit from ff_rv34_idct_dc_add_mmx are truely ancient 32bit x86s as all other systems use at least the SSE2 versions (this includes all x64 cpus (which is why this code is restricted to x86-32)). Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* x86/rv34dsp: add ff_rv34_idct_dc_add_sse2James Almer2017-02-021-1/+4
| | | | | | | Also disable ff_rv34_idct_dc_add_mmx on x86_64 as the presence of sse2 is guaranteed in such builds. Signed-off-by: James Almer <jamrial@gmail.com>
* Merge commit 'dc40a70c5755bccfb1a1349639943e1f408bea50'Hendrik Leppkes2016-06-261-1/+0
|\ | | | | | | | | | | | | * commit 'dc40a70c5755bccfb1a1349639943e1f408bea50': Drop unnecessary libavutil/x86/asm.h #includes Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * Drop unnecessary libavutil/x86/asm.h #includesDiego Biurrun2016-05-281-1/+0
| |
* | Merge commit 'b0be1ae792ac8bbfb0fc7b9b9cb39eaf0feb489b'Michael Niedermayer2014-01-091-0/+1
|\| | | | | | | | | | | | | * commit 'b0be1ae792ac8bbfb0fc7b9b9cb39eaf0feb489b': x86: avcodec: Add a bunch of missing #includes for av_cold Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * x86: avcodec: Add a bunch of missing #includes for av_coldDiego Biurrun2014-01-091-0/+1
| |
* | Reinstate proper FFmpeg license for all files.Thilo Borgmann2013-08-301-4/+4
|/
* Consistently use "cpu_flags" as variable/parameter name for CPU flagsDiego Biurrun2013-07-181-4/+4
|
* Remove unnecessary dsputil.h #includesDiego Biurrun2013-02-261-1/+0
|
* rv34: Drop now unnecessary dsputil dependenciesDiego Biurrun2013-02-061-1/+1
|
* Drop DCTELEM typedefDiego Biurrun2013-01-221-3/+3
| | | | | | It does not help as an abstraction and adds dsputil dependencies. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* x86: mmx2 ---> mmxext in asm constructsDiego Biurrun2012-11-141-5/+5
|
* x86: Replace checks for CPU extensions and flags by convenience macrosDiego Biurrun2012-09-081-5/+4
| | | | | This separates code relying on inline from that relying on external assembly and fixes instances where the coalesced check was incorrect.
* x86: cosmetics: Comment some #endifs for better readabilityDiego Biurrun2012-08-301-1/+1
|
* x86: rename libavutil/x86_cpu.h to libavutil/x86/asm.hMans Rullgard2012-08-091-1/+1
| | | | | | | This puts x86-specific things in the x86/ subdirectory where they belong. Signed-off-by: Mans Rullgard <mans@mansr.com>
* x86: build: replace mmx2 by mmxextDiego Biurrun2012-08-031-1/+1
| | | | | | | Refactoring mmx2/mmxext YASM code with cpuflags will force renames. So switching to a consistent naming scheme beforehand is sensible. The name "mmxext" is more official and widespread and also the name of the CPU flag, as reported e.g. by the Linux kernel.
* rv34dsp x86: implement MMX2 inverse transformChristophe Gisquet2012-04-281-0/+2
| | | | | | 141 cycles down to 51. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* rv34: change most "int stride" into "ptrdiff_t stride".Ronald S. Bultje2012-02-201-2/+2
| | | | | | This prevents having to sign-extend on 64-bit systems with 32-bit ints, such as x86-64. Also fixes crashes on systems where we don't do it and arguments are not in registers, such as Win64 for all weight functions.
* rv34: 1-pass inter MB reconstructionChristophe GISQUET2012-01-161-2/+1
| | | | Implement 1-pass inverse transform and reconstruction for inter blocks.
* rv34: Intra 16x16 handlingChristophe GISQUET2012-01-161-4/+10
| | | | | | | Extract processing of intra 16x16 blocks from intra macroblock processing. Also implement a function performing inverse transform and block reconstruction for DC-only blocks in 1 pass instead of 2.
* rv34: DC-only inverse transformChristophe GISQUET2012-01-121-0/+40
When decoding coefficients, detect whether the block is DC-only, and take advantage of this knowledge to perform DC-only inverse transform. This is achieved by: - first, changing the 108x4 element modulo_three_table into a 108 element table (kind of base4), and accessing each value using mask and shifts. - then, checking low bits for 0 (as they represent the presence of higher frequency coefficients) Also provide x86 SIMD code for the DC-only inverse transform. Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>