Luca Barbato
27303c8abc
Proper fix for the corner case that would have been corrected before, praise&blame to me and exg in equal shares
...
Originally committed as revision 6143 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-31 15:44:37 +00:00
Luca Barbato
7e82145755
Revert previous commit
...
Originally committed as revision 6142 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-31 15:27:26 +00:00
Luca Barbato
99d239b3e7
Fix float_to_int16, unaligned case, broken by the previous commit
...
Originally committed as revision 6141 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-31 15:15:14 +00:00
Luca Barbato
cb243ea220
10l, thanks to Emanuele Giaquinta <exg@gentoo.org> for testing and finding the issue
...
Originally committed as revision 6002 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-15 20:36:05 +00:00
Luca Barbato
241807f32d
altivec float optimizations
...
Originally committed as revision 5999 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-14 22:55:11 +00:00
Luca Barbato
b5f7e6eb95
Clean up:make dsputil subfile names consistent
...
Originally committed as revision 5993 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-13 08:26:43 +00:00
Luca Barbato
876031a74e
keep in sync with dsputil, makes --disable-decoder=vorbis build
...
Originally committed as revision 5979 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-11 02:56:32 +00:00
Luca Barbato
bf29ed5dbc
Cosmetics: 2->4 spaces and some braces
...
Originally committed as revision 5940 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-06 23:15:32 +00:00
Luca Barbato
c489d907e1
Yet another typo
...
Originally committed as revision 5933 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-04 19:11:12 +00:00
Luca Barbato
532877894b
Fix a stupid typo and another error, thanks to Emanuele Giaquinta <exg@gentoo.org> for pointing out the issue and the patch
...
Originally committed as revision 5932 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-04 19:03:01 +00:00
Luca Barbato
7f624e80ef
standalone snow dsputil init
...
Originally committed as revision 5919 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-03 16:19:13 +00:00
Luca Barbato
73e4ff9de9
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]
Originally committed as revision 5918 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-03 16:13:50 +00:00
Luca Barbato
7c2a270b70
Minor fix
...
Originally committed as revision 5916 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-03 14:37:58 +00:00
Luca Barbato
8047fe72a9
avoid alignment hacks, luckly gcc does the right thing on arches different from x86
...
Originally committed as revision 5915 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-03 13:21:13 +00:00
Luca Barbato
3b0df5254e
vorbis_inverse_coupling_altivec
...
Originally committed as revision 5914 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-03 13:19:32 +00:00
Luca Barbato
90530cec20
Cleanup
...
Originally committed as revision 5913 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-03 13:00:37 +00:00
Kostya Shishkov
481fb636b1
Some AltiVec optimizations for VC-1
...
Originally committed as revision 5899 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-03 05:02:31 +00:00
Luca Barbato
832e6e9071
avoid possible segfault situations
...
Originally committed as revision 5895 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-02 21:37:38 +00:00
Luca Barbato
50b35f7aa6
Cosmetics
...
Originally committed as revision 5890 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-02 11:18:10 +00:00
Luca Barbato
4726111362
Make gcc-3 happy again, thanks to Olivier Castan <castan.o@free.fr> for pointing the issue
...
Originally committed as revision 5504 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-20 10:35:30 +00:00
Luca Barbato
e8772eecdc
Cosmetics: should not hurt performance, scream if are
...
Originally committed as revision 5493 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-17 18:46:06 +00:00
Luca Barbato
0d18f79860
put_pixels16_l2_altivec and avg_pixels16_l2_altivec
...
Originally committed as revision 5452 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-03 22:18:03 +00:00
Luca Barbato
a487e0f654
Macosx fix
...
Originally committed as revision 5342 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-02 18:45:04 +00:00
Luca Barbato
5f22aa3cc0
13% faster inner_add_yblock
...
Originally committed as revision 5316 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-25 19:54:02 +00:00
Luca Barbato
f420826c35
40% faster decode
...
Originally committed as revision 5315 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-25 17:29:31 +00:00
Luca Barbato
fd925db3c8
typo in the gcc handmade regalloc trigger
...
Originally committed as revision 5297 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-16 03:40:04 +00:00
Luca Barbato
a01e08ee5c
hadamard8_diff* enabled on linux/ppc
...
Originally committed as revision 5272 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-07 12:40:28 +00:00
Luca Barbato
46641a135c
Proper typecast for vector bool
...
Originally committed as revision 5250 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-31 09:59:53 +00:00
Luca Barbato
085065f0fd
Cast cruft in order to support Apple gcc
...
Originally committed as revision 5242 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-29 18:42:50 +00:00
Luca Barbato
22b48b85b6
altivec support for snow
...
Originally committed as revision 5228 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-27 12:51:19 +00:00
Luca Barbato
e62c29bf57
altivec support for snow
...
Originally committed as revision 5227 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-27 12:45:27 +00:00
Likai Liu
11c19637d2
use vec_splat_u32 to initialise a v16ui (patch by Likai Liu < liulk _at_ cs.bu.edu >)
...
Originally committed as revision 5079 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-28 21:55:18 +00:00
Luca Barbato
5cb9fda4b0
Fix AltiVec H.264 decoding on FSF gcc.
...
patch by Luca Barbato, lu_zero aatt gentoo ddoott org
Originally committed as revision 5046 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-21 22:24:19 +00:00
Steve L'Homme
68b51e58ce
MSVC-compatible __align8/__align16 declaration
...
patch by Steve Lhomme, steve .dot. lhomme .at. free .dot. fr
Originally committed as revision 4942 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-05 13:35:17 +00:00
Diego Biurrun
5509bffa88
Update licensing information: The FSF changed postal address.
...
Originally committed as revision 4842 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-12 22:43:26 +00:00
Diego Biurrun
bb270c0896
COSMETICS: tabs --> spaces, some prettyprinting
...
Originally committed as revision 4764 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-22 01:10:11 +00:00
Diego Biurrun
115329f160
COSMETICS: Remove all trailing whitespace.
...
Originally committed as revision 4749 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-17 18:14:38 +00:00
Alex Beregszaszi
23972d5a6c
10l
...
Originally committed as revision 4493 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-05 19:15:34 +00:00
Sigbjørn Skjæret
4af5b6cdb0
Disable AltiVec IDCT for lowres decoding in lavc patch by (Sigbjørn Skjæret: cisc, broadpark no)
...
Originally committed as revision 4413 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-01 09:37:35 +00:00
Bret Hughes
6c618a263d
gcc 4 compilation fix
...
patch by Bret Hughes <bhughes at elevating dot com>
Originally committed as revision 4134 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-17 21:41:16 +00:00
Roine Gustafsson
b1d041c15c
missaliged clear_blocks() and h264 not complied but referenced fix patch by (Roine Gustafsson <roine at users dot sourceforge dot net>) and me
...
Originally committed as revision 3584 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-11 22:47:09 +00:00
Chip
6933900993
Altivec test on AmigaOS4 patch by (Chip <szarlada at freemail dot hu>)
...
Originally committed as revision 3561 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-05 18:36:15 +00:00
Romain Dolbeau
a6a12a8a5c
h264 qpel mc, size 16 patch by (Romain Dolbeau <dolbeau at caps-entreprise dot com>)
...
Originally committed as revision 3472 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-16 19:05:22 +00:00
Michael Niedermayer
78421be13d
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
2004-06-08 02:41:41 +00:00
Michael Niedermayer
2a5a1bdac9
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
2004-06-05 22:29:37 +00:00
Michael Niedermayer
3cf1e291f8
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
2004-06-05 22:26:03 +00:00
Alex Beregszaszi
d890d4aed1
disable hadamard for gcc below 3.3 - better fix awaited
...
Originally committed as revision 3075 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-26 08:51:56 +00:00
Alex Beregszaszi
16f5ef9c70
use the AVV macro from gcc_fixes.h instead ifdefs
...
Originally committed as revision 3074 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-26 08:48:28 +00:00
Alex Beregszaszi
d65f20b1ea
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
2004-04-26 08:30:56 +00:00
Romain Dolbeau
9007f51460
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
2004-04-22 13:21:59 +00:00
Michael Niedermayer
c4a1714826
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
2004-04-20 17:05:12 +00:00
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
2004-04-16 12:47:37 +00:00
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
2004-03-13 21:43:24 +00:00
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
2004-02-28 15:03:53 +00:00
Steven M. Schultz
ed7b99bbe2
av_log() patch by ("Steven M. Schultz" <sms at 2BSD dot COM>)
...
Originally committed as revision 2811 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-23 21:18:29 +00:00
Michael Niedermayer
bb198e198a
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)
various related cleanups
disabled old motion estimaton algorithms (log, full, ...) they will either be fixed or removed
Originally committed as revision 2638 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-30 16:07:57 +00:00
Michael Niedermayer
2393e65431
100l (forgot alpha & ppc)
...
Originally committed as revision 2611 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-15 09:21:28 +00:00
James Klicman
14cabd4068
AltiVec optimized fdct patch by (James Klicman <james at klicman dot org>)
...
Originally committed as revision 2439 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-26 10:14:05 +00:00
Steven M. Schultz
3bbd2123d6
recommit (of patch, as cvslog msg didnt apply cleanly)
...
libavcodec/ppc compile errors patch by ("Steven M. Schultz" <sms at 2BSD dot COM>)
Originally committed as revision 2354 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-11 08:25:23 +00:00
Michael Niedermayer
782b80d9dd
namespace fix (triggered by gcc-alivec-bugfix + gentoo or so) by (Magnus Damm <damm at opensource dot se>)
...
Originally committed as revision 2096 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-29 10:26:34 +00:00
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
2003-07-09 20:18:13 +00:00
Romain Dolbeau
3efd4952df
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
2003-07-04 09:39:05 +00:00
Michael Niedermayer
a4adb60858
PPC970 patch + cpu-specific tuning support by (Romain Dolbeau <dolbeau at irisa dot fr>)
...
Originally committed as revision 1997 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-06-29 00:39:57 +00:00
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
2003-05-21 17:50:57 +00:00
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
2003-03-06 12:06:00 +00:00
Michael Niedermayer
b0368839ac
MpegEncContext.(i)dct_* -> DspContext.(i)dct_*
...
bitexact cleanup
Originally committed as revision 1617 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-03 14:54:00 +00:00
Zdenek Kabelac
0c1a9edad4
* UINTX -> uintx_t INTX -> intx_t
...
Originally committed as revision 1578 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-11 16:35:48 +00:00
Michael Niedermayer
475b46dad6
fix for ppc compile broken by (Romain Dolbeau <dolbeau at irisa dot fr> and Colin Leroy <colin at colino dot net>)
...
Originally committed as revision 1526 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-01 00:18:50 +00:00
Romain Dolbeau
3b991c54eb
Altivec on non darwin systems patch by Romain Dolbeau
...
Originally committed as revision 1509 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-26 22:29:47 +00:00
Romain Dolbeau
fe50f38577
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
2003-01-20 22:50:14 +00:00
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
2003-01-19 19:00:45 +00:00
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
2003-01-16 21:54:55 +00:00
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
2003-01-12 13:29:24 +00:00
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
2003-01-11 20:51:03 +00:00
Fabrice Bellard
4013fcf4af
altivec patches by Romain Dolbeau
...
Originally committed as revision 1423 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-08 18:47:49 +00:00
Fabrice Bellard
0fe67fa74b
suppressed pix_norm_altivec
...
Originally committed as revision 1420 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-07 22:51:32 +00:00
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
2003-01-07 18:15:48 +00:00
Fabrice Bellard
15e35d0d42
removed redundant includes
...
Originally committed as revision 1416 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-07 18:15:14 +00:00
Brian Foley
404d2241ec
altivec accelerated v-resample patch by (Brian Foley <bfoley at compsoc dot nuigalway dot ie>)
...
Originally committed as revision 1283 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-26 09:21:01 +00:00
Brian Foley
9c76bd48aa
* altivec and pix_norm patch by Brian Foley
...
Originally committed as revision 1269 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-22 07:53:06 +00:00
Brian Foley
f2677d6b26
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
2002-11-19 23:22:29 +00:00
Zdenek Kabelac
af19f78f2f
* using DSPContext - so each codec could use its local (sub)set of CPU extension
...
* these are untested - users/developers please check
Originally committed as revision 1197 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-11 10:04:45 +00:00
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
2002-11-02 11:28:08 +00:00
Fabrice Bellard
4f891f53b3
removed invalid header include
...
Originally committed as revision 1037 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-14 18:01:32 +00:00
Brian Foley
ab6c65f693
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
2002-09-02 08:48:12 +00:00
Brian Foley
59925ef204
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
2002-08-28 13:14:36 +00:00