Diego Biurrun
465c9fdeeb
Remove pointless HAVE_ALTIVEC #ifdefs from a file that only contains AltiVec
...
optimizations and no general PPC optimizations. Instead make the file be
compiled conditional to HAVE_ALTIVEC.
Originally committed as revision 10637 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
cd195f14c6
Remove Metrowerks compiler workaround.
...
Originally committed as revision 10632 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
dead9db83a
Remove Metrowerks compiler workaround.
...
Originally committed as revision 10631 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Luca Barbato
55bf7fb613
snow altivec is broken
...
Originally committed as revision 10256 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
06b00c5f65
Simplify preprocessor directives.
...
Originally committed as revision 10249 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
c97f54020d
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
17 years ago
Guillaume Poirier
16dae5173b
remove alignment correction of the destination pointers in luma_16x6
...
interpolations, since they are always 16-bytes aligned in practice.
Add asserts to ease narrowing down potential image corructions on exotic plateforms
Based on a patch by Mauricio Alvarez % lokifo A gmail P com %
Original thread:
Date: Jun 26, 2007 1:07 PM
Subject: Re: [FFmpeg-devel] [PATCH] h264 luma interpolation 8x8 for altivec
Originally committed as revision 10238 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
830bf1f20d
whitespace/indentation cosmetics
...
Originally committed as revision 10217 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
2722c98128
Remove HAVE_ALTIVEC preprocessor directives that are only compiled
...
when AltiVec is enabled anyway.
Originally committed as revision 10216 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
f9edc2331d
Fix trivial mixed declarations and code warning caused by a double semicolon.
...
Originally committed as revision 10212 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
e4506f0c98
Remove SYS_DARWIN preprocessor directive that is just a duplicate of a
...
gcc-specific directive a few lines below.
Originally committed as revision 10211 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
4b180bbd73
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 10210 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
b1312aa24d
Merge __MWERKS__ preprocessor directives.
...
Originally committed as revision 10208 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
8008a04325
Move Apple gcc AltiVec vector declaration syntax to libavutil.
...
Originally committed as revision 10207 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
Diego Biurrun
d55388d028
Simplify preprocessor directives.
...
Originally committed as revision 10181 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
57b499c7da
Identifiers starting with underscores are reserved.
...
Originally committed as revision 10179 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Guillaume Poirier
3ca96802e2
use shorter types vec_"type" instead of the too long vector "type"
...
part 1 of h264 luma interpolation 8x8 for altivec contributed by
Mauricio Alvarez % lokifo A gmail P com %
Original thread:
Date: Jun 26, 2007 8:15 PM
Subject: Re: [FFmpeg-devel] [PATCH] h264 luma interpolation 8x8 for altivec
Originally committed as revision 10090 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
1903245071
Ahem, fix typos overlooked in last commit.
...
Originally committed as revision 9816 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
df3a80b50a
cosmetics: misc typo fixes
...
Originally committed as revision 9815 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Måns Rullgård
a00177a952
make arguments to ssd_int8_vs_int16() const
...
Originally committed as revision 9548 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
e5a389a1b7
license header consistency cosmetics
...
Originally committed as revision 9484 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Guillaume Poirier
efb775777f
add a comment to indicate which #endif belong to which #define
...
Originally committed as revision 9356 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Måns Rullgård
9cafbd6c49
simplify ppc64 handling
...
Originally committed as revision 9355 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Guillaume Poirier
e970d98c47
restore GCC3 support
...
Originally committed as revision 9353 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Guillaume Poirier
7d2bf29c88
re-enable use of h264_v_loop_filter_luma_altivec and h264_h_loop_filter_luma_altivec,
...
they work fine now
Originally committed as revision 9350 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
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