Stefano Sabatini
c6c98d0897
Move mm_support() from libavcodec to libavutil, make it a public
...
function and rename it to av_get_cpu_flags().
Originally committed as revision 25076 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
ccf22d3ed1
Merge has_altivec() function into mm_support(), remove it and use
...
mm_support() instead.
Reduce complexity and simplify pending move to libavutil.
Originally committed as revision 25074 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Måns Rullgård
c0ec9918b0
Remove global mm_flags variable
...
Originally committed as revision 24909 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Måns Rullgård
2829ce4b40
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
15 years ago
Måns Rullgård
ddb8c2c0f1
PPC: move prototypes to headers and make some functions static
...
Originally committed as revision 22267 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
84dc2d8afa
Remove DECLARE_ALIGNED_{8,16} macros
...
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
15 years ago
Måns Rullgård
b662e8395b
PPC: simplify loading some values into altivec registers
...
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
15 years ago
Diego Biurrun
5137235e0c
Remove gcc_fixes.h. It only contains workarounds for unsupported gcc versions.
...
Originally committed as revision 18476 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
9686df2be5
Delete unnecessary 'extern' keywords.
...
Originally committed as revision 15990 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Dominik Mierzejewski
82d1605fe7
Remove duplicated MM_* macros for CPU capabilities from dsputil.h.
...
Add missing one for FF_MM_ALTIVEC to avcodec.h.
Rename all the occurences of MM_* to the corresponding FF_MM_*.
Originally committed as revision 15770 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
80a61f08d2
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
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
17 years ago
Diego Biurrun
e3905ce0af
cosmetics: Reformat PPC code in libavcodec according to style guidelines.
...
This includes indentation changes, comment reformatting, consistent brace
placement and some prettyprinting.
Originally committed as revision 14316 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
1384e27054
consistency cosmetics: indices --> indexes in variable names
...
Originally committed as revision 13446 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
245976da2a
Use full path for #includes from another directory.
...
Originally committed as revision 13098 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
7ce6892373
misc spelling fixes
...
Originally committed as revision 12410 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Guillaume Poirier
c367d0c653
arg 10000l. Fix wrong fix committed in r12141
...
Originally committed as revision 12143 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Guillaume Poirier
d6267d027b
fix broken indentation
...
Originally committed as revision 12142 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Guillaume Poirier
9d8109ad0f
10l: fix always false test: Binary & has lower precedence than ==
...
Originally committed as revision 12141 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
35c27389c0
Refactor the FOUROF macro using the AVV macro.
...
Originally committed as revision 12139 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
b0e21a3b47
Remove stray #undef.
...
Originally committed as revision 12138 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Alexander Strange
3518c5a96b
fix crash on non-AltiVec powered machines: MPV_common_init_altivec doesn't check mm_flags
...
Patch by Alexander Strange %astrange A ithinksw PP com %
Originally committed as revision 12137 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
52b541ad79
spelling
...
Originally committed as revision 11122 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
f62a9a46e1
Rename MPV_common_init_ppc to MPV_common_init_altivec, the function is
...
AltiVec-specific now.
Originally committed as revision 10652 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
6c05bab46d
Merge mpegvideo AltiVec code into mpegvideo_altivec.c where it belongs.
...
Originally committed as revision 10641 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Luca Barbato
89523beea4
Sanitize altivec code so it can be built with runtime check properly
...
Originally committed as revision 10640 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
7fd7259a3f
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
17 years ago
Diego Biurrun
08f87a9c99
Replace SYS_DARWIN by the more correct __APPLE_CC__, these preprocessor
...
directives are aimed at idiosyncracies of Apple's gcc version.
Originally committed as revision 10206 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
9d16f87ffd
Rename CONFIG_DARWIN to SYS_DARWIN, it is not configurable (in FFmpeg).
...
Originally committed as revision 10190 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Guillaume Poirier
88bcb6c23f
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
18 years ago
Ronald S. Bultje
b550bfaa61
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
18 years ago
Diego Biurrun
e42dba481f
typos/grammar
...
Originally committed as revision 8641 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Guillaume Poirier
ab5a1435ec
Move TRANSPOSE8 macro to dsputil_altivec.h.
...
(was duplicated in libavcodec/ppc/vc1dsp_altivec.c
nd libavcodec/ppc/mpegvideo_altivec.c, and will be
used in upcoming routines for h264_altivec.c)
Originally committed as revision 6621 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Luca Barbato
b420448e38
removing ALTIVEC_USE_REFERENCE_C_CODE, since has no use anymore
...
Originally committed as revision 6606 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
b78e7197a8
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
18 years ago
Diego Biurrun
5509bffa88
Update licensing information: The FSF changed postal address.
...
Originally committed as revision 4842 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Diego Biurrun
bb270c0896
COSMETICS: tabs --> spaces, some prettyprinting
...
Originally committed as revision 4764 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Diego Biurrun
115329f160
COSMETICS: Remove all trailing whitespace.
...
Originally committed as revision 4749 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Romain Dolbeau
a194762450
forgotten copyright & dct_quantize_altivec disabled patch by (Romain Dolbeau <dolbeau at irisa dot fr>)
...
Originally committed as revision 3023 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Michael Niedermayer
aab34ca0c5
Metrowerks CodeWarrior patches by (John Dalgliesh <johnd at defyne dot org>)
...
Originally committed as revision 2823 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Romain Dolbeau
e45a2872fa
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
patch by (Romain Dolbeau <dolbeau at irisa dot fr>)
Originally committed as revision 2022 to svn://svn.ffmpeg.org/ffmpeg/trunk
22 years ago
Michael Niedermayer
a9a07762b8
altivec gcc-3 fixes by (Magnus Damm <damm at opensource dot se>)
...
Originally committed as revision 1896 to svn://svn.ffmpeg.org/ffmpeg/trunk
22 years ago
Michael Niedermayer
105645219a
altivec compilation fixes by (Magnus Damm <damm at opensource dot se>)
...
Originally committed as revision 1635 to svn://svn.ffmpeg.org/ffmpeg/trunk
22 years ago
Michael Niedermayer
b0368839ac
MpegEncContext.(i)dct_* -> DspContext.(i)dct_*
...
bitexact cleanup
Originally committed as revision 1617 to svn://svn.ffmpeg.org/ffmpeg/trunk
22 years ago
Romain Dolbeau
3b991c54eb
Altivec on non darwin systems patch by Romain Dolbeau
...
Originally committed as revision 1509 to svn://svn.ffmpeg.org/ffmpeg/trunk
22 years ago
Romain Dolbeau
35e5fb067e
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
22 years ago
Michael Niedermayer
db40a39aba
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
22 years ago
Michael Niedermayer
744ac4be05
dct_unquantize_h263_altivec by (Romain Dolbeau <dolbeaur at club-internet dot fr>)
...
Originally committed as revision 1455 to svn://svn.ffmpeg.org/ffmpeg/trunk
22 years ago
Romain Dolbeau
e629ab68a7
altivec jumbo patch by (Romain Dolbeau <dolbeaur at club-internet dot fr>)
...
Originally committed as revision 1448 to svn://svn.ffmpeg.org/ffmpeg/trunk
22 years ago
Fabrice Bellard
4013fcf4af
altivec patches by Romain Dolbeau
...
Originally committed as revision 1423 to svn://svn.ffmpeg.org/ffmpeg/trunk
22 years ago
Michael Niedermayer
05c4072b45
Altivec Patch (Mark III) by (Dieter Shirley <dieters at schemasoft dot com>)
...
Originally committed as revision 1147 to svn://svn.ffmpeg.org/ffmpeg/trunk
22 years ago