Alex Converse
187a537904
Convert some undefined 1<<31 shifts into 1U<<31.
...
According to ISO 9899:1999 S 6.5.7/4:
The result of E1 << E2 is E1 left-shifted E2 bit positions; vacated bits
are filled with zeros. If E1 has an unsigned type, the value of the
result is E1× 2^E2, reduced modulo one more than the maximum value
representable in the result type. If E1 has a signed type and
nonnegative value, and E1× 2^E2 is representable in the result type, then
that is the resulting value; otherwise, the behavior is undefined.
14 years ago
Mans Rullgard
2912e87a6c
Replace FFmpeg with Libav in licence headers
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Måns Rullgård
a46b84d120
PPC: convert Altivec FFT to pure assembler
...
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
15 years ago
Måns Rullgård
a075902f3d
PPC: add _interleave versions of fft{4,6,16}_altivec
...
This removes the need for a post-swizzle with the small FFTs.
Originally committed as revision 24025 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
9bbb50648d
PPC: fix build on OSX without gas-preprocessor
...
Originally committed as revision 23962 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Loren Merritt
cf61994a17
PPC: Altivec IMDCT
...
Patch by Loren Merritt
Originally committed as revision 23959 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
588d28ac08
Remove vestiges of radix-2 FFT
...
Patch (mostly) by Loren Merritt
Originally committed as revision 23957 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
bf7ba15372
PPC: Altivec split-radix FFT
...
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
15 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
1429224b04
Move FFT parts from dsputil.h to fft.h
...
Originally committed as revision 22235 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
f486321395
Move per-arch fft init bits into the corresponding subdirs
...
Originally committed as revision 19864 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Biurrun
7a709548a7
Remove unnecessary gcc_fixes.h #include.
...
Originally committed as revision 18384 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
406792e7b0
cosmetics: Remove pointless period after copyright statement non-sentences.
...
Originally committed as revision 16684 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Luca Barbato
d89eae6f1a
Remove stray code
...
Originally committed as revision 16358 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 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
245976da2a
Use full path for #includes from another directory.
...
Originally committed as revision 13098 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
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
Luca Barbato
d9d2f88def
Simplify
...
Originally committed as revision 6932 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
Gildas Bazin
68951ecf0c
fft_*() renamed into ff_fft_*() patch by (Gildas Bazin <gbazin at altern dot org>)
...
Originally committed as revision 2882 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
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
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
Fabrice Bellard
8d268a7d4c
fft altivec by Romain Dolbeau - simplified patch, test it on PPC with fft-test and wma decoding
...
Originally committed as revision 1417 to svn://svn.ffmpeg.org/ffmpeg/trunk
22 years ago