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
Mans Rullgard
2912e87a6c
Replace FFmpeg with Libav in licence headers
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Ronald S. Bultje
12802ec060
dsputil: move VC1-specific stuff into VC1DSPContext.
14 years ago
Stefano Sabatini
c6c98d0897
Move mm_support() from libavcodec to libavutil, make it a public
...
function and rename it to av_get_cpu_flags().
Originally committed as revision 25076 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
ccf22d3ed1
Merge has_altivec() function into mm_support(), remove it and use
...
mm_support() instead.
Reduce complexity and simplify pending move to libavutil.
Originally committed as revision 25074 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
7160bb716b
Rename FF_MM_ symbols related to CPU features flags as AV_CPU_FLAG_
...
symbols, and move them from libavcodec/avcodec.h to libavutil/cpu.h.
Originally committed as revision 25040 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Måns Rullgård
c0ec9918b0
Remove global mm_flags variable
...
Originally committed as revision 24909 to svn://svn.ffmpeg.org/ffmpeg/trunk
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
Diego Biurrun
9be6f0d2f8
Do not check for both CONFIG_VC1_DECODER and CONFIG_WMV3_DECODER,
...
the former depends upon the latter.
Originally committed as revision 19533 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
99e5a9d1ea
Do not redundantly check for both CONFIG_THEORA_DECODER and CONFIG_VP3_DECODER.
...
The Theora decoder depends on the VP3 decoder.
Originally committed as revision 19492 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
David Conrad
454403ba55
Altivec VP3 IDCT
...
Originally committed as revision 18949 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
788cca4135
Remove AltiVec optimizations for Snow. They are hindering the development
...
of Snow, which is still in flux.
Originally committed as revision 18475 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
f5b96597bd
Remove pointless #if HAVE_ALTIVEC around internal header #include
...
and function declarations.
Originally committed as revision 16755 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
Aurelien Jacobs
b250f9c66d
Change semantic of CONFIG_*, HAVE_* and ARCH_*.
...
They are now always defined to either 0 or 1.
Originally committed as revision 16590 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
9686df2be5
Delete unnecessary 'extern' keywords.
...
Originally committed as revision 15990 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Dominik Mierzejewski
82d1605fe7
Remove duplicated MM_* macros for CPU capabilities from dsputil.h.
...
Add missing one for FF_MM_ALTIVEC to avcodec.h.
Rename all the occurences of MM_* to the corresponding FF_MM_*.
Originally committed as revision 15770 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Pettenò
be449fca79
Convert asm keyword into __asm__.
...
Neither the asm() nor the __asm__() keyword is part of the C99
standard, but while GCC accepts the former in C89 syntax, it is not
accepted in C99 unless GNU extensions are turned on (with -fasm). The
latter form is accepted in any syntax as an extension (without
requiring further command-line options).
Sun Studio C99 compiler also does not accept asm() while accepting
__asm__(), albeit reporting warnings that it's not valid C99 syntax.
Originally committed as revision 15627 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
b6934d7f9e
cosmetics: Reindent two misplaced braces.
...
Originally committed as revision 14317 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
e3905ce0af
cosmetics: Reformat PPC code in libavcodec according to style guidelines.
...
This includes indentation changes, comment reformatting, consistent brace
placement and some prettyprinting.
Originally committed as revision 14316 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
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
a1d0b6a277
cosmetics: Fix AltiVec spelling.
...
Originally committed as revision 10639 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
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
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
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
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
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
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
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
241807f32d
altivec float optimizations
...
Originally committed as revision 5999 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
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
90530cec20
Cleanup
...
Originally committed as revision 5913 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Kostya Shishkov
481fb636b1
Some AltiVec optimizations for VC-1
...
Originally committed as revision 5899 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Luca Barbato
50b35f7aa6
Cosmetics
...
Originally committed as revision 5890 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
Luca Barbato
22b48b85b6
altivec support for snow
...
Originally committed as revision 5228 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
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
20 years ago
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
20 years ago