Luca Barbato
c49e23e2a4
Make strict altivec parsers happy (gcc-4.3 and others)
...
Originally committed as revision 11231 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Kostya Shishkov
98f48ce157
Reindent after last commit
...
Originally committed as revision 11191 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Kostya Shishkov
51ece6842f
Update Altivec variant of vc1_inv_trans_8x4
...
Originally committed as revision 11190 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Kostya Shishkov
d2e45f33a4
Switch VC-1 decoder to output decoded residual immediately.
...
Originally committed as revision 11188 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
f87d2632b3
Fix alignment broke by my last patch
...
Originally committed as revision 11123 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
Michael Niedermayer
90901860c2
stupid code (casting of void*) found by checktree.sh
...
Originally committed as revision 11117 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
095c22ac45
Remove unused variable, fixes the warning:
...
ppc/vc1dsp_altivec.c: In function ‘vc1_inv_trans_8x8_altivec’:
ppc/vc1dsp_altivec.c:141: warning: unused variable ‘vec_5’
Originally committed as revision 11006 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
5b21bdabe4
Add FFMPEG_ prefix to all multiple inclusion guards.
...
Originally committed as revision 10765 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
Reimar Döffinger
d9a5dab2da
Remove uses of SIGILL for CPU extension detection, that method is not acceptable
...
in a library.
Should not change anything for PPC, the autodetection is currently pointless due
to other code being compiled with -maltivec as well (and detection for OSX and
AmigaOS remains in place).
SPARC binaries built with VIS support can now only run on systems with VIS.
Originally committed as revision 10648 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
1f3a990b3a
cosmetics: Fix indentation after last commit.
...
Originally committed as revision 10643 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
eee947487b
Replace CONFIG_VORBIS_DECODER #ifdef by if (ENABLE_VORBIS_DECODER).
...
Blessed by Luca Barbato on IRC.
Originally committed as revision 10642 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
a1d0b6a277
cosmetics: Fix AltiVec spelling.
...
Originally committed as revision 10639 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
6006a68989
cosmetics: Fix indentation after last commit.
...
Originally committed as revision 10638 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
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