summaryrefslogtreecommitdiff
path: root/libavcodec/ppc
Commit message (Collapse)AuthorAge
* Move mm_support() from libavcodec to libavutil, make it a publicStefano Sabatini2010-09-08
| | | | | | function and rename it to av_get_cpu_flags(). Originally committed as revision 25076 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Merge has_altivec() function into mm_support(), remove it and useStefano Sabatini2010-09-08
| | | | | | | | mm_support() instead. Reduce complexity and simplify pending move to libavutil. Originally committed as revision 25074 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename FF_MM_ symbols related to CPU features flags as AV_CPU_FLAG_Stefano Sabatini2010-09-04
| | | | | | symbols, and move them from libavcodec/avcodec.h to libavutil/cpu.h. Originally committed as revision 25040 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove global mm_flags variableMåns Rullgård2010-08-24
| | | | Originally committed as revision 24909 to svn://svn.ffmpeg.org/ffmpeg/trunk
* more credits to D. J. Bernstein for fftLoren Merritt2010-07-18
| | | | Originally committed as revision 24308 to svn://svn.ffmpeg.org/ffmpeg/trunk
* PPC: convert Altivec FFT to pure assemblerMåns Rullgård2010-07-04
| | | | | | | | | | | | | | On PPC a leaf function has a 288-byte red zone below the stack pointer, sparing these functions the chore of setting up a full stack frame. When a function call is disguised within an inline asm block, the compiler might not adjust the stack pointer as required before a function call, resulting in the red zone being clobbered. Moving the entire function to pure asm avoids this problem and also results in somewhat better code. Originally committed as revision 24044 to svn://svn.ffmpeg.org/ffmpeg/trunk
* PPC: gas-preprocessor handles m[ft]spr shorthandsMåns Rullgård2010-07-04
| | | | Originally committed as revision 24043 to svn://svn.ffmpeg.org/ffmpeg/trunk
* PPC: add some asm support macrosMåns Rullgård2010-07-04
| | | | Originally committed as revision 24042 to svn://svn.ffmpeg.org/ffmpeg/trunk
* PPC: add _interleave versions of fft{4,6,16}_altivecMåns Rullgård2010-07-03
| | | | | | This removes the need for a post-swizzle with the small FFTs. Originally committed as revision 24025 to svn://svn.ffmpeg.org/ffmpeg/trunk
* PPC: fix build on OSX without gas-preprocessorMåns Rullgård2010-07-02
| | | | Originally committed as revision 23962 to svn://svn.ffmpeg.org/ffmpeg/trunk
* PPC: Altivec IMDCTLoren Merritt2010-07-01
| | | | | | Patch by Loren Merritt Originally committed as revision 23959 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove vestiges of radix-2 FFTMåns Rullgård2010-07-01
| | | | | | Patch (mostly) by Loren Merritt Originally committed as revision 23957 to svn://svn.ffmpeg.org/ffmpeg/trunk
* PPC: Altivec split-radix FFTMåns Rullgård2010-07-01
| | | | | | | | | 1.8x faster than altivec radix-2 on a G4 8% faster vorbis decoding Patch (mostly) by Loren Merritt Originally committed as revision 23956 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Check whether IBM or Apple PPC assembler syntax is usedMåns Rullgård2010-07-01
| | | | | | | This checks which assembler syntax is supported and defines macros for register names accordingly. Originally committed as revision 23952 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Altivec-optimized mp{1,2,3} windowingVitor Sessak2010-07-01
| | | | Originally committed as revision 23943 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix grammar errors in documentationMåns Rullgård2010-06-30
| | | | Originally committed as revision 23904 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Altivec VP8 MC functionsDavid Conrad2010-06-29
| | | | Originally committed as revision 23884 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Altivec: Add helper function to load from a constant misalignmentDavid Conrad2010-06-29
| | | | Originally committed as revision 23883 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add const to some pointer parameters.Eli Friedman2010-06-27
| | | | | | Patch by Eli Friedman, eli D friedman A gmail Originally committed as revision 23826 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 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
* Remove explicit filename from Doxygen @file commands.Diego Biurrun2010-04-20
| | | | | | | | Passing an explicit filename to this command is only necessary if the documentation in the @file block refers to a file different from the one the block resides in. Originally committed as revision 22921 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Simplify arch-specific object file listsMåns Rullgård2010-03-16
| | | | Originally committed as revision 22570 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move arch-specific makefile parts into $arch/MakefileMåns Rullgård2010-03-16
| | | | Originally committed as revision 22569 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move H264 dsputil functions into their own structMåns Rullgård2010-03-16
| | | | | | | | | | | This moves the H264-specific functions from DSPContext to the new H264DSPContext. The code is made conditional on CONFIG_H264DSP which is set by the codecs requiring it. The qpel and chroma MC functions are not moved as these are used by non-h264 code. Originally committed as revision 22565 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move the local includes below the system includesMartin Storsjö2010-03-08
| | | | | | | | | This fixes a compilation issue on OS X 10.4, where some system headers were included implicitly through dsputil_altivec.h (with _POSIX_C_SOURCE defined), and other system headers included later, with _POSIX_C_SOURCE undefined at that time. Originally committed as revision 22327 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
* Move FFT parts from dsputil.h to fft.hMåns Rullgård2010-03-06
| | | | Originally committed as revision 22235 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove DECLARE_ALIGNED_{8,16} macrosMåns Rullgård2010-03-06
| | | | | | | These macros are redundant. All uses are replaced with the generic DECLARE_ALIGNED macro instead. Originally committed as revision 22233 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move array specifiers outside DECLARE_ALIGNED() invocationsMåns Rullgård2010-01-22
| | | | Originally committed as revision 21377 to svn://svn.ffmpeg.org/ffmpeg/trunk
* refactor and optimize scalarproductLoren Merritt2009-12-05
| | | | | | | | 29-105% faster apply_filter, 6-90% faster ape decoding on core2 (Any x86 other than core2 probably gets much less, since this is mostly due to ssse3 cachesplit avoidance and I haven't written the full gamut of other cachesplit modes.) 9-123% faster ape decoding on G4. Originally committed as revision 20739 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: fix indentation after previous commitMåns Rullgård2009-09-27
| | | | Originally committed as revision 20062 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Drop unused args from vector_fmul_add_add, simpify code, and renameMåns Rullgård2009-09-27
| | | | | | | | | The src3 and step arguments to vector_fmul_add_add() are always zero and one, respectively. This removes these arguments from the function, simplifies the code accordingly, and renames the function to better match the new operation. Originally committed as revision 20061 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move per-arch fft init bits into the corresponding subdirsMåns Rullgård2009-09-15
| | | | Originally committed as revision 19864 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
* Add necessary #include for config.h.Diego Biurrun2009-08-24
| | | | Originally committed as revision 19692 to svn://svn.ffmpeg.org/ffmpeg/trunk
* PPC: simplify loading some values into altivec registersMåns Rullgård2009-08-24
| | | | | | | Instead of filling a local array with the desired value and loading it, load a single element and vec_splat() it to fill the vector. Originally committed as revision 19691 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Include required headers in {mips,ppc}/mathops.hMåns Rullgård2009-08-23
| | | | Originally committed as revision 19686 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Do not check for both CONFIG_VC1_DECODER and CONFIG_WMV3_DECODER,Diego Biurrun2009-07-29
| | | | | | the former depends upon the latter. Originally committed as revision 19533 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Do not redundantly check for both CONFIG_THEORA_DECODER and CONFIG_VP3_DECODER.Diego Biurrun2009-07-22
| | | | | | The Theora decoder depends on the VP3 decoder. Originally committed as revision 19492 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change HAVE_PPC64 to ARCH_PPC64.Reimar Döffinger2009-05-26
| | | | | | | As a side-effect this also gives it the correct value on e.g. PPC970FX-based PPC64 systems, thus fixing "make test" (mp2/mp3 decoding). Originally committed as revision 18953 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Altivec VP3 IDCTDavid Conrad2009-05-25
| | | | Originally committed as revision 18949 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
* PPC: 32-bit asm for MAC64 and MLS64Måns Rullgård2009-05-11
| | | | | | | | GCC makes a mess of these operations, so give it a hand. 55% faster MP3 decoding on G4. Originally committed as revision 18794 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add necessary header for CONFIG_RUNTIME_CPUDETECT preprocessor definition.Diego Biurrun2009-05-09
| | | | Originally committed as revision 18774 to svn://svn.ffmpeg.org/ffmpeg/trunk
* PPC: implement MULH() in assemblerMåns Rullgård2009-05-04
| | | | | | | | | Left to its own devices, gcc calculates the full 64-bit product only to discard the low 32 bits. This forces it to do the right thing. 20% faster MP3 decoding on G4. Originally committed as revision 18737 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Altivec version of avg_no_rnd_vc1_chroma_mc8David Conrad2009-04-15
| | | | Originally committed as revision 18522 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename put_no_rnd_h264_chroma* to reflect its usage in VC1 onlyDavid Conrad2009-04-14
| | | | Originally committed as revision 18517 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
* Remove AltiVec optimizations for Snow. They are hindering the developmentDiego Biurrun2009-04-12
| | | | | | of Snow, which is still in flux. Originally committed as revision 18475 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove unnecessary gcc_fixes.h #include.Diego Biurrun2009-04-09
| | | | Originally committed as revision 18384 to svn://svn.ffmpeg.org/ffmpeg/trunk