Statistics
| Branch: | Revision:

ffmpeg / libavcodec / ppc / dsputil_altivec.c @ fe2ff6d2

History | View | Annotate | Download (55 KB)

# Date Author Comment
bc0a603c 01/30/2011 02:41 AM Vitor Sessak

Fix overread in altivec DSP function sad16

Signed-off-by: Mans Rullgard <>
(cherry picked from commit 3af1fe829ee6db5eafe261947e74b8516ffe5188)

2829ce4b 06/26/2010 10:23 PM Måns Rullgård

Remove PPC perf counter support

This functionality is better accessed through tools like oprofile.

Originally committed as revision 23808 to svn://svn.ffmpeg.org/ffmpeg/trunk

ddb8c2c0 03/06/2010 10:37 PM Måns Rullgård

PPC: move prototypes to headers and make some functions static

Originally committed as revision 22267 to svn://svn.ffmpeg.org/ffmpeg/trunk

afe08a72 08/24/2009 09:42 PM Måns Rullgård

PPC: remove unnecessary alignment on local variables

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...

76499b9f 05/18/2009 08:21 AM Diego Biurrun

Remove useless casts of vec_ld() parameters.
Gets rid of 'cast discards qualifiers from pointer target type' warnings.

Originally committed as revision 18867 to svn://svn.ffmpeg.org/ffmpeg/trunk

5137235e 04/12/2009 09:45 PM Diego Biurrun

Remove gcc_fixes.h. It only contains workarounds for unsupported gcc versions.

Originally committed as revision 18476 to svn://svn.ffmpeg.org/ffmpeg/trunk

49fb20cb 01/14/2009 05:19 PM Aurelien Jacobs

replace all occurrence of ENABLE_ by the corresponding CONFIG_, HAVE_ or ARCH_
and remove all ENABLE_ definitions.

Originally committed as revision 16600 to svn://svn.ffmpeg.org/ffmpeg/trunk

64adf4f2 12/12/2008 09:59 AM Guillaume Poirier

add Altivec implementation of clear_block

Originally committed as revision 16078 to svn://svn.ffmpeg.org/ffmpeg/trunk

80a61f08 07/24/2008 10:53 AM Diego Biurrun

Remove AltiVec vector declaration compiler compatibility macros.
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...

86255db9 07/20/2008 08:56 PM Diego Biurrun

cosmetics: Make libavcodec/ppc/dsputil_altivec.c conform to style guidelines.
This includes indentation changes, comment reformatting, consistent brace
placement and some prettyprinting.

Originally committed as revision 14318 to svn://svn.ffmpeg.org/ffmpeg/trunk

245976da 05/09/2008 11:56 AM Diego Biurrun

Use full path for #includes from another directory.

Originally committed as revision 13098 to svn://svn.ffmpeg.org/ffmpeg/trunk

0c893224 01/04/2008 01:38 PM Diego Biurrun

Change some files to only include the necessary headers.

Originally committed as revision 11394 to svn://svn.ffmpeg.org/ffmpeg/trunk

f87d2632 12/01/2007 10:35 PM Vitor Sessak

Fix alignment broke by my last patch

Originally committed as revision 11123 to svn://svn.ffmpeg.org/ffmpeg/trunk

52b541ad 12/01/2007 10:21 PM Vitor Sessak

spelling

Originally committed as revision 11122 to svn://svn.ffmpeg.org/ffmpeg/trunk

1f3a990b 10/02/2007 12:35 PM Diego Biurrun

cosmetics: Fix indentation after last commit.

Originally committed as revision 10643 to svn://svn.ffmpeg.org/ffmpeg/trunk

eee94748 10/02/2007 12:34 PM Diego Biurrun

Replace CONFIG_VORBIS_DECODER #ifdef by if (ENABLE_VORBIS_DECODER).
Blessed by Luca Barbato on IRC.

Originally committed as revision 10642 to svn://svn.ffmpeg.org/ffmpeg/trunk

89523bee 10/02/2007 11:39 AM Luca Barbato

Sanitize altivec code so it can be built with runtime check properly

Originally committed as revision 10640 to svn://svn.ffmpeg.org/ffmpeg/trunk

a1d0b6a2 10/02/2007 10:34 AM Diego Biurrun

cosmetics: Fix AltiVec spelling.

Originally committed as revision 10639 to svn://svn.ffmpeg.org/ffmpeg/trunk

7fd7259a 10/01/2007 02:23 PM Diego Biurrun

Remove const vector macro indirection that is useless and obfuscating
now that the Metrowerks workarounds are gone.

Originally committed as revision 10633 to svn://svn.ffmpeg.org/ffmpeg/trunk

06b00c5f 08/27/2007 09:21 AM Diego Biurrun

Simplify preprocessor directives.

Originally committed as revision 10249 to svn://svn.ffmpeg.org/ffmpeg/trunk

c97f5402 08/27/2007 09:17 AM Diego Biurrun

Change SYS_DARWIN preprocessor checks to APPLE, they are specific
to Mac OS X rather than to Darwin.

Originally committed as revision 10247 to svn://svn.ffmpeg.org/ffmpeg/trunk

f9edc233 08/24/2007 03:42 PM Diego Biurrun

Fix trivial mixed declarations and code warning caused by a double semicolon.

Originally committed as revision 10212 to svn://svn.ffmpeg.org/ffmpeg/trunk

9d16f87f 08/22/2007 10:46 PM Diego Biurrun

Rename CONFIG_DARWIN to SYS_DARWIN, it is not configurable (in FFmpeg).

Originally committed as revision 10190 to svn://svn.ffmpeg.org/ffmpeg/trunk

d55388d0 08/22/2007 01:04 PM Diego Biurrun

Simplify preprocessor directives.

Originally committed as revision 10181 to svn://svn.ffmpeg.org/ffmpeg/trunk

88bcb6c2 05/17/2007 02:14 PM Guillaume Poirier

use macro Use DECLARE_ALIGNED_16 to align stack-allocated variables
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

b550bfaa 05/16/2007 09:51 AM Ronald S. Bultje

Add libavcodec to compiler include flags in order to simplify header
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

fe70f25c 01/27/2007 03:09 PM Luca Barbato

Simplify and avoid a warning (should be faster on Cell and certain G4 revisions)

Originally committed as revision 7734 to svn://svn.ffmpeg.org/ffmpeg/trunk

b420448e 10/09/2006 06:29 PM Luca Barbato

removing ALTIVEC_USE_REFERENCE_C_CODE, since has no use anymore

Originally committed as revision 6606 to svn://svn.ffmpeg.org/ffmpeg/trunk

441e8fe9 10/09/2006 01:37 PM Luca Barbato

add_bytes passes tests

Originally committed as revision 6600 to svn://svn.ffmpeg.org/ffmpeg/trunk

b78e7197 10/07/2006 03:30 PM Diego Biurrun

Change license headers to say 'FFmpeg' instead of 'this program/this library'
and fix GPL/LGPL version mismatches.

Originally committed as revision 6577 to svn://svn.ffmpeg.org/ffmpeg/trunk

876031a7 08/11/2006 02:56 AM Luca Barbato

keep in sync with dsputil, makes --disable-decoder=vorbis build

Originally committed as revision 5979 to svn://svn.ffmpeg.org/ffmpeg/trunk

bf29ed5d 08/06/2006 11:15 PM Luca Barbato

Cosmetics: 2->4 spaces and some braces

Originally committed as revision 5940 to svn://svn.ffmpeg.org/ffmpeg/trunk

c489d907 08/04/2006 07:11 PM Luca Barbato

Yet another typo

Originally committed as revision 5933 to svn://svn.ffmpeg.org/ffmpeg/trunk

53287789 08/04/2006 07:03 PM Luca Barbato

Fix a stupid typo and another error, thanks to Emanuele Giaquinta <> for pointing out the issue and the patch

Originally committed as revision 5932 to svn://svn.ffmpeg.org/ffmpeg/trunk

73e4ff9d 08/03/2006 04:13 PM Luca Barbato

Almost cosmetic changes in dsputil_init_ppc and vorbis_inverse_coupling_altivec:
- 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]...

7c2a270b 08/03/2006 02:37 PM Luca Barbato

Minor fix

Originally committed as revision 5916 to svn://svn.ffmpeg.org/ffmpeg/trunk

3b0df525 08/03/2006 01:19 PM Luca Barbato

vorbis_inverse_coupling_altivec

Originally committed as revision 5914 to svn://svn.ffmpeg.org/ffmpeg/trunk

832e6e90 08/02/2006 09:37 PM Luca Barbato

avoid possible segfault situations

Originally committed as revision 5895 to svn://svn.ffmpeg.org/ffmpeg/trunk

e8772eec 06/17/2006 06:46 PM Luca Barbato

Cosmetics: should not hurt performance, scream if are

Originally committed as revision 5493 to svn://svn.ffmpeg.org/ffmpeg/trunk

a01e08ee 04/07/2006 12:40 PM Luca Barbato

hadamard8_diff* enabled on linux/ppc

Originally committed as revision 5272 to svn://svn.ffmpeg.org/ffmpeg/trunk

5509bffa 01/12/2006 10:43 PM Diego Biurrun

Update licensing information: The FSF changed postal address.

Originally committed as revision 4842 to svn://svn.ffmpeg.org/ffmpeg/trunk

bb270c08 12/22/2005 01:10 AM Diego Biurrun

COSMETICS: tabs --> spaces, some prettyprinting

Originally committed as revision 4764 to svn://svn.ffmpeg.org/ffmpeg/trunk

115329f1 12/17/2005 06:14 PM Diego Biurrun

COSMETICS: Remove all trailing whitespace.

Originally committed as revision 4749 to svn://svn.ffmpeg.org/ffmpeg/trunk

69339009 10/05/2004 06:36 PM Chip

Altivec test on AmigaOS4 patch by (Chip <szarlada at freemail dot hu>)

Originally committed as revision 3561 to svn://svn.ffmpeg.org/ffmpeg/trunk

78421be1 06/08/2004 02:41 AM Michael Niedermayer

hadamard/AltiVec: fix to compiler fix, again by (Romain Dolbeau <dolbeau at irisa dot fr>)

Originally committed as revision 3207 to svn://svn.ffmpeg.org/ffmpeg/trunk

2a5a1bda 06/05/2004 10:29 PM Michael Niedermayer

avg_pixels8_xy2_altivec in AltiVec, enabling avg_pixels8_altivec, hadamard fix by (Romain Dolbeau <dolbeau at irisa dot fr>)

Originally committed as revision 3196 to svn://svn.ffmpeg.org/ffmpeg/trunk

3cf1e291 06/05/2004 10:26 PM Michael Niedermayer

hadamard/AltiVec: fix to compiler fix by (Romain Dolbeau <dolbeau at irisa dot fr>)

Originally committed as revision 3195 to svn://svn.ffmpeg.org/ffmpeg/trunk

d890d4ae 04/26/2004 08:51 AM Alex Beregszaszi

disable hadamard for gcc below 3.3 - better fix awaited

Originally committed as revision 3075 to svn://svn.ffmpeg.org/ffmpeg/trunk

16f5ef9c 04/26/2004 08:48 AM Alex Beregszaszi

use the AVV macro from gcc_fixes.h instead ifdefs

Originally committed as revision 3074 to svn://svn.ffmpeg.org/ffmpeg/trunk

d65f20b1 04/26/2004 08:30 AM Alex Beregszaszi

100l, and another one because it boils out with ICE under gcc 3.2.3

Originally committed as revision 3073 to svn://svn.ffmpeg.org/ffmpeg/trunk

9007f514 04/22/2004 01:21 PM Romain Dolbeau

better hadamard8_diff16 in AltiVec, and more patch by (Romain Dolbeau <dolbeau at irisa dot fr>)

Originally committed as revision 3038 to svn://svn.ffmpeg.org/ffmpeg/trunk

c4a17148 04/20/2004 05:05 PM Michael Niedermayer

hadamard8_diff8x8 in AltiVec, the 16bits edition by (Romain Dolbeau <dolbeau at irisa dot fr>)

Originally committed as revision 3036 to svn://svn.ffmpeg.org/ffmpeg/trunk

aab34ca0 02/28/2004 03:03 PM Michael Niedermayer

Metrowerks CodeWarrior patches by (John Dalgliesh <johnd at defyne dot org>)

Originally committed as revision 2823 to svn://svn.ffmpeg.org/ffmpeg/trunk

bb198e19 12/30/2003 04:07 PM Michael Niedermayer

interlaced motion estimation
interlaced mpeg2 encoding
P & B frames
rate distored interlaced mb decission
alternate scantable support
4mv encoding fixes (thats also why the regression tests change)
passing height to most dsp functions
interlaced mpeg4 encoding (no direct mode MBs yet)...

e45a2872 07/09/2003 08:18 PM Romain Dolbeau

1) remove TBL support in PPC performance. It's much more useful to use the
PMCs, and with Apple's CHUD it's fairly easy too. No reason to keep useless
code around
2) make the PPC perf stuff a configure option
3) make put_pixels16_altivec a bit faster by unrolling the loop by 4...

3efd4952 07/04/2003 09:39 AM Romain Dolbeau

PPC fixes & clean-up patch by (Romain Dolbeau <dolbeau at irisa dot fr>)

Originally committed as revision 2008 to svn://svn.ffmpeg.org/ffmpeg/trunk

a9a07762 05/21/2003 05:50 PM Michael Niedermayer

altivec gcc-3 fixes by (Magnus Damm <damm at opensource dot se>)

Originally committed as revision 1896 to svn://svn.ffmpeg.org/ffmpeg/trunk

0c1a9eda 02/11/2003 04:35 PM Zdenek Kabelac
  • UINTX -> uintx_t INTX -> intx_t

Originally committed as revision 1578 to svn://svn.ffmpeg.org/ffmpeg/trunk

3b991c54 01/26/2003 10:29 PM Romain Dolbeau

Altivec on non darwin systems patch by Romain Dolbeau

Originally committed as revision 1509 to svn://svn.ffmpeg.org/ffmpeg/trunk

fe50f385 01/20/2003 10:50 PM Romain Dolbeau

More AltiVec MC functions patch by (Romain Dolbeau <dolbeau at irisa dot fr>)

Originally committed as revision 1485 to svn://svn.ffmpeg.org/ffmpeg/trunk

35e5fb06 01/19/2003 07:00 PM Romain Dolbeau

PPC perf, PPC clear_block, AltiVec put_pixels8_xy2 patch by (Romain Dolbeau <dolbeau at irisa dot fr>)

Originally committed as revision 1476 to svn://svn.ffmpeg.org/ffmpeg/trunk

db40a39a 01/16/2003 09:54 PM Michael Niedermayer

AltiVec perf (take 2), plus a couple AltiVec functions by (Romain Dolbeau <dolbeau at irisa dot fr>)

Originally committed as revision 1464 to svn://svn.ffmpeg.org/ffmpeg/trunk

e629ab68 01/11/2003 08:51 PM Romain Dolbeau

altivec jumbo patch by (Romain Dolbeau <dolbeaur at club-internet dot fr>)

Originally committed as revision 1448 to svn://svn.ffmpeg.org/ffmpeg/trunk

4013fcf4 01/08/2003 06:47 PM Fabrice Bellard

altivec patches by Romain Dolbeau

Originally committed as revision 1423 to svn://svn.ffmpeg.org/ffmpeg/trunk

0fe67fa7 01/07/2003 10:51 PM Fabrice Bellard

suppressed pix_norm_altivec

Originally committed as revision 1420 to svn://svn.ffmpeg.org/ffmpeg/trunk

9c76bd48 11/22/2002 07:53 AM Brian Foley
  • altivec and pix_norm patch by Brian Foley

Originally committed as revision 1269 to svn://svn.ffmpeg.org/ffmpeg/trunk

f2677d6b 11/19/2002 11:22 PM Brian Foley

altivec optimizations patch by (Brian Foley <bfoley at compsoc dot nuigalway dot ie>)

Originally committed as revision 1240 to svn://svn.ffmpeg.org/ffmpeg/trunk

05c4072b 11/02/2002 11:28 AM Michael Niedermayer

Altivec Patch (Mark III) by (Dieter Shirley <dieters at schemasoft dot com>)

Originally committed as revision 1147 to svn://svn.ffmpeg.org/ffmpeg/trunk

ab6c65f6 09/02/2002 08:48 AM Brian Foley

altivec build tidyup patch by (Brian Foley <bfoley at compsoc dot nuigalway dot ie>)

Originally committed as revision 898 to svn://svn.ffmpeg.org/ffmpeg/trunk

59925ef2 08/28/2002 01:14 PM Brian Foley

first cut at altivec support on darwin patch by (Brian Foley <bfoley at compsoc dot nuigalway dot ie>)

Originally committed as revision 875 to svn://svn.ffmpeg.org/ffmpeg/trunk