summaryrefslogtreecommitdiff
path: root/libavcodec/x86/cavsdsp.c
Commit message (Collapse)AuthorAge
* lavu: move LOCAL_ALIGNED from internal.h to mem_internal.hAnton Khirnov2021-01-01
| | | | That is a more appropriate place for it.
* avcodec/x86/cavsdsp: Delete #include "libavcodec/x86/idctdsp.h".Wan-Teh Chang2017-07-21
| | | | | | | | | | | This file already has #include "idctdsp.h", which is resolved to the idctdsp.h header in the directory where this file resides by compilers. Two other files in this directory, libavcodec/x86/idctdsp_init.c and libavcodec/x86/xvididct_init.c, also rely on #include "idctdsp.h" working this way. Signed-off-by: Wan-Teh Chang <wtc@google.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* cavs: add a sse2 idct implementation.Ronald S. Bultje2017-04-06
| | | | | This makes using the function pointer ff_add_pixels_clamped() unnecessary, since we always know what the best implementation is at compile-time.
* cavs: convert idct from inline asm to yasm.Ronald S. Bultje2017-04-06
|
* Merge commit 'f81be06cf614919d71ded29b8f595bef40123ad8'James Almer2017-03-19
|\ | | | | | | | | | | | | * commit 'f81be06cf614919d71ded29b8f595bef40123ad8': cavs: Change type of stride parameters to ptrdiff_t Merged-by: James Almer <jamrial@gmail.com>
| * cavs: Change type of stride parameters to ptrdiff_tDiego Biurrun2016-08-26
| | | | | | | | ptrdiff_t is the correct type for array strides and similar.
* | avcodec/x86/cavsdsp: Put MMX code under mmx checkMichael Niedermayer2017-03-06
| | | | | | | | | | | | | | Without this the FPU state becomes trashed and causes mysterious fate failures with cpuflags=0 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/x86/cavsdsp: silence -Wunused-variable on --disable-mmxGanesh Ajjanagadde2015-09-24
| | | | | | | | | | | | | | | | | | This silences -Wunused-variable when compiled with --disable-mmx, e.g http://fate.ffmpeg.org/log.cgi?time=20150919094617&log=compile&slot=x86_64-archlinux-gcc-disable-mmx. The alternative of header guards will make it far too ugly. Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Merge commit 'e4610300de6869bd6b3b00e76cfeabb6d7653dcd'Michael Niedermayer2015-05-28
|\| | | | | | | | | | | | | | | | | | | | | * commit 'e4610300de6869bd6b3b00e76cfeabb6d7653dcd': x86: cavs: Remove an unneeded scratch buffer Conflicts: libavcodec/x86/cavsdsp.c See: d79f7bf0d63a81ee66026ee92a6946a7303d04bd Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * x86: cavs: Remove an unneeded scratch bufferMichael Niedermayer2015-05-28
| | | | | | | | | | | | | | | | Simplifies the code and makes it build on certain compilers running out of registers on x86. CC: libav-stable@libav.org Reported-By: mudler
* | avcodec/x86/cavsdsp: remove incorrect LOCAL_ALIGN tmpMichael Niedermayer2015-03-16
| | | | | | | | | | | | This is faster and simpler as well Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | x86: lavc: use LOCAL_ALIGNED instead of DECLARE_ALIGNEDChristophe Gisquet2015-03-14
| | | | | | | | | | | | The later may yield incorrect code for on-stack variables. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | x86/cavsdsp: fix buffer alignment in cavs_idct8_add_mmx()James Almer2014-09-25
| | | | | | | | | | | | | | | | It may be used by ff_add_pixels_clamped_sse2(). Should fix fate-cavs failures on some systems. Reviewed-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: James Almer <jamrial@gmail.com>
* | avcodec/x86: use function pointers for {put,add}_pixels_clampedJames Almer2014-09-24
| | | | | | | | | | | | | | | | Same behavior as in simple_idct. This way the best optimized versions available will be used instead. Reviewed-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: James Almer <jamrial@gmail.com>
* | Merge commit '7fb993d338d88f2f62e0a358b6c9f3eb9a3a08ac'Michael Niedermayer2014-07-25
|\| | | | | | | | | | | | | | | | | | | | | | | * commit '7fb993d338d88f2f62e0a358b6c9f3eb9a3a08ac': qpeldsp: Mark source pointer in qpel_mc_func function pointer const Conflicts: libavcodec/h264qpel_template.c libavcodec/x86/cavsdsp.c libavcodec/x86/rv40dsp_init.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * qpeldsp: Mark source pointer in qpel_mc_func function pointer constDiego Biurrun2014-07-25
| |
* | Merge commit 'b4987f72197e0c62cf2633bf835a9c32d2a445ae'Michael Niedermayer2014-07-18
|\| | | | | | | | | | | | | | | | | | | | | * commit 'b4987f72197e0c62cf2633bf835a9c32d2a445ae': idct: Convert IDCT permutation #defines to an enum Conflicts: libavcodec/idctdsp.c libavcodec/x86/cavsdsp.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * idct: Convert IDCT permutation #defines to an enumDiego Biurrun2014-07-18
| | | | | | | | Also rename the enum values to be consistent with other DCT permutations.
* | Merge commit 'e3fcb14347466095839c2a3c47ebecff02da891e'Michael Niedermayer2014-07-01
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'e3fcb14347466095839c2a3c47ebecff02da891e': dsputil: Split off IDCT bits into their own context Conflicts: configure libavcodec/aic.c libavcodec/arm/Makefile libavcodec/arm/dsputil_init_arm.c libavcodec/arm/dsputil_init_armv6.c libavcodec/asvdec.c libavcodec/dnxhdenc.c libavcodec/dsputil.c libavcodec/dvdec.c libavcodec/dxva2_mpeg2.c libavcodec/intrax8.c libavcodec/mdec.c libavcodec/mjpegdec.c libavcodec/mjpegenc_common.h libavcodec/mpegvideo.c libavcodec/ppc/dsputil_altivec.h libavcodec/ppc/dsputil_ppc.c libavcodec/ppc/idctdsp.c libavcodec/x86/Makefile libavcodec/x86/dsputil_init.c libavcodec/x86/dsputil_mmx.c libavcodec/x86/dsputil_x86.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * dsputil: Split off IDCT bits into their own contextDiego Biurrun2014-06-30
| |
* | x86: hpeldsp: propagate changes across codecsChristophe Gisquet2014-05-26
| | | | | | | | | | | | | | Some codecs still use mmx versions, so have them use the versions with newer instruction sets. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | x86: kill fpel_mmx.cChristophe Gisquet2014-05-21
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | x86/cavdsp: prevent named constraints appearing twice.Matt Oliver2014-05-03
| |
* | Use MANGLE in cavsdsp.c to save two registers using gcc.Carl Eugen Hoyos2014-04-19
| | | | | | | | Fixes compilation with !HAVE_6REGS.
* | Merge commit '6655c933a887a2d20707fff657b614aa1d86a25b'Michael Niedermayer2014-03-22
|\| | | | | | | | | | | | | * commit '6655c933a887a2d20707fff657b614aa1d86a25b': x86: dsputil: Move fpel declarations to a separate header Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * x86: dsputil: Move fpel declarations to a separate headerDiego Biurrun2014-03-22
| |
* | Automatically change MANGLE() into named inline asm operands when direct ↵Matt Oliver2014-03-18
| | | | | | | | | | | | | | | | symbol reference in inline asm are not supported. This is part of the patch-set for intel C inline asm on windows support Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2013-12-05
|\| | | | | | | | | | | | | * qatar/master: x86: Initialize mmxext after amd3dnow optimizations Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * x86: Initialize mmxext after amd3dnow optimizationsDiego Biurrun2013-12-04
| | | | | | | | | | | | The mmxext optimizations should be at least equally fast if available and amd3dnow optimizations are being deprecated. Thus the former should override the latter, not the other way around.
* | Merge commit '6369ba3c9cc74becfaad2a8882dff3dd3e7ae3c0'Michael Niedermayer2013-08-30
|\| | | | | | | | | | | | | | | | | | | | | | | * commit '6369ba3c9cc74becfaad2a8882dff3dd3e7ae3c0': x86: avcodec: Use convenience macros to check for CPU flags Conflicts: libavcodec/x86/dsputil_init.c libavcodec/x86/hpeldsp_init.c libavcodec/x86/motion_est.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * x86: avcodec: Use convenience macros to check for CPU flagsDiego Biurrun2013-08-29
| |
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2013-07-18
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: Consistently use "cpu_flags" as variable/parameter name for CPU flags Conflicts: libavcodec/x86/dsputil_init.c libavcodec/x86/h264dsp_init.c libavcodec/x86/hpeldsp_init.c libavcodec/x86/motion_est.c libavcodec/x86/mpegvideo.c libavcodec/x86/proresdsp_init.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Consistently use "cpu_flags" as variable/parameter name for CPU flagsDiego Biurrun2013-07-18
| |
* | Merge commit '1399931d07f0f37ef4526eb8d39d33c64e09618a'Michael Niedermayer2013-05-14
|\| | | | | | | | | | | | | | | | | | | * commit '1399931d07f0f37ef4526eb8d39d33c64e09618a': x86: dsputil: Rename dsputil_mmx.h --> dsputil_x86.h Conflicts: libavcodec/x86/dsputil_mmx.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * x86: dsputil: Rename dsputil_mmx.h --> dsputil_x86.hDiego Biurrun2013-05-12
| | | | | | | | The header is not (anymore) MMX-specific.
* | Merge commit '3d40c1ee742db5f13ebcf53c2d1fa4bf4f39bcd2'Michael Niedermayer2013-05-09
|\| | | | | | | | | | | | | * commit '3d40c1ee742db5f13ebcf53c2d1fa4bf4f39bcd2': x86: dsputil: Move TRANSPOSE4 macro to the only place it is used Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * x86: dsputil: Move TRANSPOSE4 macro to the only place it is usedDiego Biurrun2013-05-08
| |
* | Merge commit '71469f3b636fbe06b6aca5933f9fdebddd8d5f57'Michael Niedermayer2013-05-09
|\| | | | | | | | | | | | | | | | | | | * commit '71469f3b636fbe06b6aca5933f9fdebddd8d5f57': x86: dsputil: Move constant declarations into separate header Conflicts: libavcodec/x86/dsputil_mmx.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * x86: dsputil: Move constant declarations into separate headerDiego Biurrun2013-05-08
| |
* | Merge commit 'bf7c3c6b157f7938578f964b62cffd5e504940be'Michael Niedermayer2013-05-03
|\| | | | | | | | | | | | | | | | | | | * commit 'bf7c3c6b157f7938578f964b62cffd5e504940be': x86: dsputil: Move cavs and vc1-specific functions where they belong Conflicts: libavcodec/x86/dsputil_mmx.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * x86: dsputil: Move cavs and vc1-specific functions where they belongDiego Biurrun2013-05-02
| |
* | Merge commit '7f75f2f2bd692857c1c1ca7f414eb30ece3de93d'Michael Niedermayer2013-05-01
|\| | | | | | | | | | | | | | | | | * commit '7f75f2f2bd692857c1c1ca7f414eb30ece3de93d': ppc: Drop unnecessary ff_ name prefixes from static functions x86: Drop unnecessary ff_ name prefixes from static functions arm: Drop unnecessary ff_ name prefixes from static functions Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * x86: Drop unnecessary ff_ name prefixes from static functionsDiego Biurrun2013-04-30
| |
* | Merge commit 'b4ad7c54c878dead7dfa4838b912a530c1debe85'Michael Niedermayer2013-04-22
|\| | | | | | | | | | | | | * commit 'b4ad7c54c878dead7dfa4838b912a530c1debe85': x86: cavs: Refactor duplicate dspfunc macro Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * x86: cavs: Refactor duplicate dspfunc macroDiego Biurrun2013-04-22
| |
* | Merge commit '78fa0bd0f7067868943c0899907e313414492426'Michael Niedermayer2013-04-22
|\| | | | | | | | | | | | | * commit '78fa0bd0f7067868943c0899907e313414492426': x86: cavs: Put mmx-specific code into its own init function Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * x86: cavs: Put mmx-specific code into its own init functionDiego Biurrun2013-04-22
| | | | | | | | | | Before, this code was labeled as mmxext and enabled both for the 3dnow and the mmxext case.
* | Merge commit 'a8b6015823e628047a45916404c00044c5e80415'Michael Niedermayer2013-03-13
|\| | | | | | | | | | | | | | | | | | | | | | | * commit 'a8b6015823e628047a45916404c00044c5e80415': dsputil: convert remaining functions to use ptrdiff_t strides Conflicts: libavcodec/dsputil.h libavcodec/dsputil_template.c libavcodec/h264qpel_template.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * dsputil: convert remaining functions to use ptrdiff_t stridesLuca Barbato2013-03-12
| | | | | | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* | Merge commit 'c242bbd8b6939507a1a6fb64101b0553d92d303f'Michael Niedermayer2013-02-26
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'c242bbd8b6939507a1a6fb64101b0553d92d303f': Remove unnecessary dsputil.h #includes Conflicts: libavcodec/ffv1.c libavcodec/h261dec.c libavcodec/h261enc.c libavcodec/h264pred.c libavcodec/lpc.h libavcodec/mjpegdec.c libavcodec/rectangle.h libavcodec/x86/idct_sse2_xvid.c Merged-by: Michael Niedermayer <michaelni@gmx.at>