summaryrefslogtreecommitdiff
path: root/libavcodec/ppc/dsputil_altivec.c
Commit message (Collapse)AuthorAge
* PPC: Move types_altivec.h and util_altivec.h from libavcodec to libavutilJustin Ruggles2012-06-08
| | | | | This will allow for easier implementation of Altivec functions in libraries other than libavcodec.
* ppc: dsputil: do unaligned block accesses correctlyMans Rullgard2012-05-01
| | | | | | | | | | | | To load unaligned vector data in the usual way, explicit vec_ld() should be used rather than dereferencing a pointer to a vector type. When the VSX extension is enabled, gcc may compile vector pointer dereferences using the VSX lxvw4x instruction instead of the lvx instruction typically used with Altivec/VMX. As the behaviour of these instructions with unaligned addresses differs, it is important that only lvx is used here. Signed-off-by: Mans Rullgard <mans@mansr.com>
* ppc: Add ff_ prefix to nonstatic symbolsMartin Storsjö2012-02-15
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* dsputil: Add ff_ prefix to the dsputil*_init* functionsMartin Storsjö2012-02-15
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* dsputil: update per-arch init funcs for non-h264 high bit depthMans Rullgard2011-07-21
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* dsputil: template get_pixels() for different bit depthsMans Rullgard2011-07-21
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* ppc: remove disabled codeDiego Biurrun2011-07-16
|
* Adds 8-, 9- and 10-bit versions of some of the functions used by the h264 ↵Oskar Arvidsson2011-05-10
| | | | | | | | | | | | | | | | | decoder. This patch lets e.g. dsputil_init chose dsp functions with respect to the bit depth to decode. The naming scheme of bit depth dependent functions is <base name>_<bit depth>[_<prefix>] (i.e. the old clear_blocks_c is now named clear_blocks_8_c). Note: Some of the functions for high bit depth is not dependent on the bit depth, but only on the pixel size. This leaves some room for optimizing binary size. Preparatory patch for high bit depth h264 decoding support. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-19
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Fix overread in altivec DSP function sad16Vitor Sessak2011-01-29
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Remove PPC perf counter supportMåns Rullgård2010-06-26
| | | | | | This functionality is better accessed through tools like oprofile. Originally committed as revision 23808 to svn://svn.ffmpeg.org/ffmpeg/trunk
* PPC: move prototypes to headers and make some functions staticMåns Rullgård2010-03-06
| | | | Originally committed as revision 22267 to svn://svn.ffmpeg.org/ffmpeg/trunk
* PPC: remove unnecessary alignment on local variablesMåns Rullgård2009-08-24
| | | | | | | | | Storing a single element from a vector where all elements have the same value does not require an aligned destination. Which element is stored depends on the alignment of the destination address, but since they all have the same value, the result is the same regardless of the alignment. Originally committed as revision 19696 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove useless casts of vec_ld() parameters.Diego Biurrun2009-05-18
| | | | | | Gets rid of 'cast discards qualifiers from pointer target type' warnings. Originally committed as revision 18867 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove gcc_fixes.h. It only contains workarounds for unsupported gcc versions.Diego Biurrun2009-04-12
| | | | Originally committed as revision 18476 to svn://svn.ffmpeg.org/ffmpeg/trunk
* replace all occurrence of ENABLE_ by the corresponding CONFIG_, HAVE_ or ARCH_Aurelien Jacobs2009-01-14
| | | | | | and remove all ENABLE_ definitions. Originally committed as revision 16600 to svn://svn.ffmpeg.org/ffmpeg/trunk
* add Altivec implementation of clear_blockGuillaume Poirier2008-12-12
| | | | Originally committed as revision 16078 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove AltiVec vector declaration compiler compatibility macros.Diego Biurrun2008-07-24
| | | | | | | | | | The original problem was that FSF and Apple gcc used a different syntax for vector declarations, i.e. {} vs. (). Nowadays Apple gcc versions support the standard {} syntax and versions that support {} are available on all relevant Mac OS X versions. Thus the greater compatibility is no longer worth cluttering the code with macros. Originally committed as revision 14366 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: Make libavcodec/ppc/dsputil_altivec.c conform to style guidelines.Diego Biurrun2008-07-20
| | | | | | | This includes indentation changes, comment reformatting, consistent brace placement and some prettyprinting. Originally committed as revision 14318 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use full path for #includes from another directory.Diego Biurrun2008-05-09
| | | | Originally committed as revision 13098 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change some files to only include the necessary headers.Diego Biurrun2008-01-04
| | | | Originally committed as revision 11394 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix alignment broke by my last patchVitor Sessak2007-12-01
| | | | Originally committed as revision 11123 to svn://svn.ffmpeg.org/ffmpeg/trunk
* spellingVitor Sessak2007-12-01
| | | | Originally committed as revision 11122 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: Fix indentation after last commit.Diego Biurrun2007-10-02
| | | | Originally committed as revision 10643 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace CONFIG_VORBIS_DECODER #ifdef by if (ENABLE_VORBIS_DECODER).Diego Biurrun2007-10-02
| | | | | | Blessed by Luca Barbato on IRC. Originally committed as revision 10642 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Sanitize altivec code so it can be built with runtime check properlyLuca Barbato2007-10-02
| | | | Originally committed as revision 10640 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: Fix AltiVec spelling.Diego Biurrun2007-10-02
| | | | Originally committed as revision 10639 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove const vector macro indirection that is useless and obfuscatingDiego Biurrun2007-10-01
| | | | | | now that the Metrowerks workarounds are gone. Originally committed as revision 10633 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Simplify preprocessor directives.Diego Biurrun2007-08-27
| | | | Originally committed as revision 10249 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change SYS_DARWIN preprocessor checks to __APPLE__, they are specificDiego Biurrun2007-08-27
| | | | | | to Mac OS X rather than to Darwin. Originally committed as revision 10247 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix trivial mixed declarations and code warning caused by a double semicolon.Diego Biurrun2007-08-24
| | | | Originally committed as revision 10212 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename CONFIG_DARWIN to SYS_DARWIN, it is not configurable (in FFmpeg).Diego Biurrun2007-08-22
| | | | Originally committed as revision 10190 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Simplify preprocessor directives.Diego Biurrun2007-08-22
| | | | Originally committed as revision 10181 to svn://svn.ffmpeg.org/ffmpeg/trunk
* use macro Use DECLARE_ALIGNED_16 to align stack-allocated variablesGuillaume Poirier2007-05-17
| | | | | | | | | instead of compiler-dependent __attribute__((aligned(16))) Origiginal thread: Date: May 17, 2007 12:30 AM Subject: [PATCH] Use DECLARE_ALIGNED_16 in libavcodec/ppc/ Originally committed as revision 9047 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add libavcodec to compiler include flags in order to simplify headerRonald S. Bultje2007-05-16
| | | | | | | include paths in the source files. mostly from a patch by Ronald S. Bultje, rbultje ronald.bitfreak net Originally committed as revision 9034 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Simplify and avoid a warning (should be faster on Cell and certain G4 revisions)Luca Barbato2007-01-27
| | | | Originally committed as revision 7734 to svn://svn.ffmpeg.org/ffmpeg/trunk
* removing ALTIVEC_USE_REFERENCE_C_CODE, since has no use anymoreLuca Barbato2006-10-09
| | | | Originally committed as revision 6606 to svn://svn.ffmpeg.org/ffmpeg/trunk
* add_bytes passes testsLuca Barbato2006-10-09
| | | | Originally committed as revision 6600 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change license headers to say 'FFmpeg' instead of 'this program/this library'Diego Biurrun2006-10-07
| | | | | | and fix GPL/LGPL version mismatches. Originally committed as revision 6577 to svn://svn.ffmpeg.org/ffmpeg/trunk
* keep in sync with dsputil, makes --disable-decoder=vorbis buildLuca Barbato2006-08-11
| | | | Originally committed as revision 5979 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics: 2->4 spaces and some bracesLuca Barbato2006-08-06
| | | | Originally committed as revision 5940 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Yet another typoLuca Barbato2006-08-04
| | | | Originally committed as revision 5933 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix a stupid typo and another error, thanks to Emanuele Giaquinta ↵Luca Barbato2006-08-04
| | | | | | <exg@gentoo.org> for pointing out the issue and the patch Originally committed as revision 5932 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Almost cosmetic changes in dsputil_init_ppc and vorbis_inverse_coupling_altivec:Luca Barbato2006-08-03
| | | | | | | | - whitespace consistency 2->4 [dsputil_init_ppc] - reorder struct initialization with dsputil_init_altivec [dsputil_init_ppc] - use casts instead of temp variables [vorbis_inverse_coupling_altivec] Originally committed as revision 5918 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Minor fixLuca Barbato2006-08-03
| | | | Originally committed as revision 5916 to svn://svn.ffmpeg.org/ffmpeg/trunk
* vorbis_inverse_coupling_altivecLuca Barbato2006-08-03
| | | | Originally committed as revision 5914 to svn://svn.ffmpeg.org/ffmpeg/trunk
* avoid possible segfault situationsLuca Barbato2006-08-02
| | | | Originally committed as revision 5895 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics: should not hurt performance, scream if areLuca Barbato2006-06-17
| | | | Originally committed as revision 5493 to svn://svn.ffmpeg.org/ffmpeg/trunk
* hadamard8_diff* enabled on linux/ppcLuca Barbato2006-04-07
| | | | Originally committed as revision 5272 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Update licensing information: The FSF changed postal address.Diego Biurrun2006-01-12
| | | | Originally committed as revision 4842 to svn://svn.ffmpeg.org/ffmpeg/trunk