Graham Booker
22fa38f0c8
part 2/2 of fixing Altivec-accelerated H264 luma inloop filter
...
In h264_deblock_q1, the result of the deblock needs to be kept to
be used in future deblocks, so return this value now.
Also change the sign of tc0 vector: It is really a signed value, so
treat it as such until after the >=0 check;
then, at that point, after being masked, it can be treated as unsigned.
Patch by Graham Booker % gbooker A tamu P edu%
Originally committed as revision 9349 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Guillaume Poirier
963eca226e
convert h264_deblock_q1 to an inline function.
...
part 1/2 of fixing Altivec-accelerated H264 luma inloop filter
Originally committed as revision 9348 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Måns Rullgård
699b3f99d0
add multiple inclusion guards to headers
...
Originally committed as revision 9345 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Graham Booker
f4a02f6e9b
Use a faster way to compute 255-val: Instead of creating a vector of
...
all 255s, and then doing the subtraction, nor of the vector with itself: saves
one instruction and a register.
Patch by Graham Booker % gbooker A tamu P edu%
Originally committed as revision 9340 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Guillaume Poirier
fbb578e90d
some samples aren't decoded correctly such as
...
( http://www.pennfans.net/files/videos/Penn&Teller.on.The.View.mp4 )
with current Altivec implementation of loopfilter, while others are fine.
Let's disable it until we iron this bug out.
Originally committed as revision 9317 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Guillaume Poirier
da1fce3921
cosmetics
...
Originally committed as revision 9298 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Sigbjorn Skjaeret
0aec30c58d
kill one vector constant value load by the right combination of vec_splatX/vec_sl
...
patch by Sigbjorn Skjaeret %sskjer-1 A broadpark P no%
Originally committed as revision 9296 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Sigbjorn Skjaeret
525751c053
restore GCC2/3 support, patch by Sigbjorn Skjaeret %sskjer-1 A broadpark P no%
...
Originally committed as revision 9295 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Guillaume Poirier
c01d444b3e
one step closer to restoring GCC-3.3 support: kills 12 errors, just 2 to go
...
Originally committed as revision 9280 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Guillaume Poirier
5ce27e8c92
minor GCC3 compile fix
...
(there's still 2 more, but there's burried into several levels of macros, so it's hard to narrow them down)
Originally committed as revision 9265 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Graham Booker
f057cc0399
Altivec version of h264_(h|v)_loop_filter_luma
...
patch by Graham Booker % perian A cod3r P com% with some minor fixes by me.
historic of the patch: http://trac.perian.org/ticket/113
Original thread:
Date: May 11, 2007 9:45 PM
Subject: [FFmpeg-devel] [PATCH] Altivec version of-altivec h264_h-v_loop_filter_luma
Originally committed as revision 9264 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Luca Barbato
5dda253943
h264_idct_add_altivec, based on an old patch from Mauricio Alvarez <alvarezATac.upc.edu>, polished by David Conrad <umovimusATgmail.com>
...
Originally committed as revision 9182 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 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
Luca Barbato
1f1aadc37c
ssd_int8_vs_int16_altivec, not completely benchmarkedwith svq1
...
Originally committed as revision 8706 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
Måns Rullgård
35f9736988
rename POWERPC_PERFORMANCE_REPORT to CONFIG_POWERPC_PERF
...
Originally committed as revision 7968 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Luca Barbato
fe70f25c58
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
18 years ago
Luca Barbato
6847e61af3
10l, there is a corner case afterall...
...
Originally committed as revision 7660 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Guillaume Poirier
ec4e0056ef
GCC 3.3 compile fix
...
Originally committed as revision 7277 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Guillaume Poirier
3813dcc9bf
Add IDCT8 routine in Altivec. Patch by yours truely with Linux fixes by Luca Barbato
...
Originally committed as revision 7210 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Luca Barbato
4b47d258f6
Unused variable removed
...
Originally committed as revision 7203 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
8cff89be43
Conditionally compile some of the AltiVec optimizations.
...
Originally committed as revision 7154 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Guillaume Poirier
00f636a04f
Add useful Altivec types, taken from with permission from x264 authors
...
Originally committed as revision 7125 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Måns Rullgård
486497e07b
revert bad checkin
...
Originally committed as revision 7044 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Måns Rullgård
be6ed6fff4
move some CFLAGS settings away from config.* writing section
...
Originally committed as revision 7043 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
Steve L'Homme
949b1a13bf
Replace most of the %lld and %llx by their (cleaner) PRI*64 counterparts.
...
patch by Steve Lhomme, slhomme divxcorp com
Originally committed as revision 6868 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Luca Barbato
a5db5bda07
ppc generic prefetch
...
Originally committed as revision 6669 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
Luca Barbato
441e8fe9c9
add_bytes passes tests
...
Originally committed as revision 6600 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Luca Barbato
75336fc885
Non Altivec optimizations already present at the top
...
Originally committed as revision 6588 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Luca Barbato
87ea51e0b5
fix the dcbz check and move it in configure
...
Originally committed as revision 6580 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
Luca Barbato
d4165a8190
fix a warning
...
Originally committed as revision 6575 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Luca Barbato
99aed7c8fc
New single instruction math operation header
...
Originally committed as revision 6291 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
04d7f60143
Add official LGPL license headers to the files that were missing them.
...
Originally committed as revision 6219 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Kostya Shishkov
60aae27ad9
AltiVec version of put_no_rnd_h264_chroma_pixels_tab[0] (slightly changed version of put_h264_chroma_pixels_tab[0])
...
Originally committed as revision 6154 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
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
18 years ago
Luca Barbato
7e82145755
Revert previous commit
...
Originally committed as revision 6142 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
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
18 years ago
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
19 years ago
Luca Barbato
241807f32d
altivec float optimizations
...
Originally committed as revision 5999 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Luca Barbato
b5f7e6eb95
Clean up:make dsputil subfile names consistent
...
Originally committed as revision 5993 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
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
19 years ago
Luca Barbato
bf29ed5dbc
Cosmetics: 2->4 spaces and some braces
...
Originally committed as revision 5940 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Luca Barbato
c489d907e1
Yet another typo
...
Originally committed as revision 5933 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
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
19 years ago
Luca Barbato
7f624e80ef
standalone snow dsputil init
...
Originally committed as revision 5919 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago