Diego Biurrun
c166148409
dsputil: Move pix_sum, pix_norm1, shrink function pointers to mpegvideoenc
11 years ago
Diego Biurrun
e3fcb14347
dsputil: Split off IDCT bits into their own context
11 years ago
Diego Biurrun
5169e68895
dsputil: Propagate bit depth information to all (sub)init functions
...
This avoids recalculating the value over and over again.
11 years ago
Diego Biurrun
cf7a216757
arm: dsputil: K&R formatting cosmetics
11 years ago
Diego Biurrun
d1184b8110
arm: dsputil: Add a bunch of missing #includes
11 years ago
Ronald S. Bultje
7384b7a713
arm: hpeldsp: Move half-pel assembly from dsputil to hpeldsp
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Diego Biurrun
c242bbd8b6
Remove unnecessary dsputil.h #includes
12 years ago
Diego Biurrun
c9f933b5b6
Add av_cold attributes to arch-specific init functions
12 years ago
Diego Biurrun
25841dfe80
Use ptrdiff_t instead of int for {avg, put}_pixels line_size parameter.
...
This avoids SIMD-optimized functions having to sign-extend their
line size argument manually to be able to do pointer arithmetic.
12 years ago
Diego Biurrun
88bd7fdc82
Drop DCTELEM typedef
...
It does not help as an abstraction and adds dsputil dependencies.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
12 years ago
Ronald S. Bultje
42d3246948
floatdsp: move vector_fmul_reverse from dsputil to avfloatdsp.
...
Now, nellymoserenc and aacenc no longer depends on dsputil. Independent
of this patch, wmaprodec also does not depend on dsputil, so I removed
it from there also.
12 years ago
Mans Rullgard
d526c5338d
ARM: allow runtime masking of CPU features
...
This allows masking CPU features with the -cpuflags avconv option
which is useful for testing different optimisations without rebuilding.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Mans Rullgard
2bcbd98459
Remove lowres video decoding
...
This feature is complex, of questionable utility, and slows down
normal decoding.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Janne Grunau
363bd1c62c
remove iwmmxt optimizations
...
The were broken since August of 2010 without anyone noticing until
three weeks ago. Nobody cares about it anymore and hopefully Marvell
will support NEON like in the PXA978 from now on.
13 years ago
Martin Storsjö
9cf0841ef3
dsputil: Add ff_ prefix to the dsputil*_init* functions
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
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
e7a972e113
simple_idct: add 10-bit version
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
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
Mans Rullgard
2912e87a6c
Replace FFmpeg with Libav in licence headers
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
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
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
2ad4c241c8
ARM: make function names all-lowercase
...
Originally committed as revision 20186 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
cf57bea6fb
ARM: enable ARMv4 add_pixels_clamped
...
Somehow this function was never used.
Originally committed as revision 20185 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
55c0e1e6d2
ARM: add ff_ prefix to lots of functions
...
Originally committed as revision 20167 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
9abcc9a6f4
ARM: cosmetics
...
Originally committed as revision 20166 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
f67e0b824f
ARM: replace some #if with if()
...
Originally committed as revision 20165 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
701c618f7d
ARM: clean up file/function naming conventions
...
Originally committed as revision 20164 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
84d430f85a
ARM: clean up dsputil initialisation
...
- Move v5 and v6 initialisation to separate files.
- Move NEON IDCT selection to ff_dsputil_init_neon()
Originally committed as revision 20163 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
3572b281c8
ARM: remove broken IPP support
...
Originally committed as revision 19935 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 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
2483298ae2
ARM: NEON VP3 IDCT
...
15% faster VP3/Theora, 10% faster VP6
Originally committed as revision 19345 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
406792e7b0
cosmetics: Remove pointless period after copyright statement non-sentences.
...
Originally committed as revision 16684 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
Måns Rullgård
a2fc0f6a6d
ARM: replace "armv4l" with "arm"
...
Originally committed as revision 16179 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Måns Rullgård
7eec43289a
ARM: NEON optimised simple_idct
...
Originally committed as revision 16146 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Måns Rullgård
569f5a756a
ARM: NEON optimised put_pixels functions
...
Originally committed as revision 16145 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Måns Rullgård
d8b66635e0
ARM: remove some useless comments
...
Originally committed as revision 16014 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
Måns Rullgård
d2d398590d
ARM: move add_pixels_clamped_ARM() to dsputil_arm_s.S
...
Originally committed as revision 15728 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Måns Rullgård
a648516b95
ARM: move prefetch_arm to dsputil_arm_s.S
...
Originally committed as revision 15726 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
Måns Rullgård
94cdcece91
ARM: add prefetch function using ARMv5 PLD instruction
...
Originally committed as revision 14962 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Benoit Fouet
0abf0c5398
Simplify mm_support() for ARM (by Måns).
...
Originally committed as revision 14033 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Matthieu Castet
37dcd091da
Define mm_support() for ARM.
...
Patch by Matthieu Castet <castet matthieu free fr>
Originally committed as revision 14032 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Siarhei Siamashka
e6303192c7
Add some initial optimizations for ARM VFP (floating
...
point coprocessor available in some ARM11 cores).
Patch by Siarhei Siamashka % siarhei.siamashka@gmail.com %
Original thread:
date: Apr 20, 2008 5:41 PM
subject: [FFmpeg-devel] [PATCH] Some ARM VFP optimizations (vector_fmul, vector_fmul_reverse, float_to_int16)
Originally committed as revision 13128 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
81f46d5ac9
ipp.h is a system header, use <> when #including it.
...
Originally committed as revision 13093 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Guillaume Poirier
d761f08987
fix indentation that was messed up by r11628
...
Originally committed as revision 11629 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago