Mans Rullgard
a617c6aaa3
dsputil: update per-arch init funcs for non-h264 high bit depth
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
874f1a901d
dsputil: template get_pixels() for different bit depths
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Diego Biurrun
21aed0ed92
ppc: remove disabled code
14 years ago
Oskar Arvidsson
19a0729b4c
Adds 8-, 9- and 10-bit versions of some of the functions used by the h264 decoder.
...
This patch lets e.g. dsputil_init chose dsp functions with respect to
the bit depth to decode. The naming scheme of bit depth dependent
functions is <base name>_<bit depth>[_<prefix>] (i.e. the old
clear_blocks_c is now named clear_blocks_8_c).
Note: Some of the functions for high bit depth is not dependent on the
bit depth, but only on the pixel size. This leaves some room for
optimizing binary size.
Preparatory patch for high bit depth h264 decoding support.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Oskar Arvidsson
8dbe585641
Adds 8-, 9- and 10-bit versions of some of the functions used by the h264 decoder.
...
This patch lets e.g. dsputil_init chose dsp functions with respect to
the bit depth to decode. The naming scheme of bit depth dependent
functions is <base name>_<bit depth>[_<prefix>] (i.e. the old
clear_blocks_c is now named clear_blocks_8_c).
Note: Some of the functions for high bit depth is not dependent on the
bit depth, but only on the pixel size. This leaves some room for
optimizing binary size.
Preparatory patch for high bit depth h264 decoding support.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Mans Rullgard
2912e87a6c
Replace FFmpeg with Libav in licence headers
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Vitor Sessak
bc0a603c78
Fix overread in altivec DSP function sad16
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit 3af1fe829e
)
14 years ago
Vitor Sessak
3af1fe829e
Fix overread in altivec DSP function sad16
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 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
afe08a728a
PPC: remove unnecessary alignment on local variables
...
Storing a single element from a vector where all elements have the same
value does not require an aligned destination. Which element is stored
depends on the alignment of the destination address, but since they all
have the same value, the result is the same regardless of the alignment.
Originally committed as revision 19696 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Biurrun
76499b9ff1
Remove useless casts of vec_ld() parameters.
...
Gets rid of 'cast discards qualifiers from pointer target type' warnings.
Originally committed as revision 18867 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
5137235e0c
Remove gcc_fixes.h. It only contains workarounds for unsupported gcc versions.
...
Originally committed as revision 18476 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Aurelien Jacobs
49fb20cb8a
replace all occurrence of ENABLE_ by the corresponding CONFIG_, HAVE_ or ARCH_
...
and remove all ENABLE_ definitions.
Originally committed as revision 16600 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Guillaume Poirier
64adf4f28d
add Altivec implementation of clear_block
...
Originally committed as revision 16078 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
80a61f08d2
Remove AltiVec vector declaration compiler compatibility macros.
...
The original problem was that FSF and Apple gcc used a different syntax
for vector declarations, i.e. {} vs. (). Nowadays Apple gcc versions support
the standard {} syntax and versions that support {} are available on all
relevant Mac OS X versions. Thus the greater compatibility is no longer
worth cluttering the code with macros.
Originally committed as revision 14366 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
86255db9b9
cosmetics: Make libavcodec/ppc/dsputil_altivec.c conform to style guidelines.
...
This includes indentation changes, comment reformatting, consistent brace
placement and some prettyprinting.
Originally committed as revision 14318 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
Diego Biurrun
0c89322463
Change some files to only include the necessary headers.
...
Originally committed as revision 11394 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
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
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
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
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
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
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
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
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
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
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
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
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
19 years ago
Luca Barbato
7c2a270b70
Minor fix
...
Originally committed as revision 5916 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Luca Barbato
3b0df5254e
vorbis_inverse_coupling_altivec
...
Originally committed as revision 5914 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Luca Barbato
832e6e9071
avoid possible segfault situations
...
Originally committed as revision 5895 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Luca Barbato
e8772eecdc
Cosmetics: should not hurt performance, scream if are
...
Originally committed as revision 5493 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Luca Barbato
a01e08ee5c
hadamard8_diff* enabled on linux/ppc
...
Originally committed as revision 5272 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 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