James Almer
c99a882814
avcodec/idctdsp: change {put,add}_pixels_clamped to ptrdiff_t line_size
...
Reviewed-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: James Almer <jamrial@gmail.com>
10 years ago
Michael Niedermayer
b051a1bbb9
avcodec/arm/idctdsp_init_arm*: Only select non bitexact IDCTs by default when bitexact is not set
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Diego Biurrun
4de8b60684
idct: Move arm-specific declarations to a header in the arm directory
10 years ago
Diego Biurrun
8b0dd4942a
idctdsp: prettyprinting cosmetics
10 years ago
Diego Biurrun
b4987f7219
idct: Convert IDCT permutation #defines to an enum
...
Also rename the enum values to be consistent with other DCT permutations.
10 years ago
Diego Biurrun
e3fcb14347
dsputil: Split off IDCT bits into their own context
11 years ago
Diego Biurrun
82bb304801
dsputil: Use correct type in me_cmp_func function pointer
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
36b822b8be
arm: dsputil: Drop restrict keyword from add_pixels_clamped_armv6 prototype
...
The function is assigned to a function pointer that does not have the
restrict keyword for that parameter.
This fixes compilation for MSVC builds that don't recognize "restrict",
broken since ed9625eb62
.
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
Ronald S. Bultje
de99545f46
Move arm half-pel assembly from dsputil to hpeldsp.
12 years ago
Diego Biurrun
c242bbd8b6
Remove unnecessary dsputil.h #includes
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
Derek Buitenhuis
e62e455f7b
dsputil/me/pixels: Actually use av_restrict
...
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
70d54392f5
lowres2 support.
...
The new lowres support is limited to decoders where lowres decoding
is possible in high quality.
I was not able to measure any speed difference, but if one is found
the 2-3 lines that might affect speed can be made compile time conditional
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
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
Diego Biurrun
3dde147ff9
cosmetics: Consistently place static, inline and av_cold attributes/keywords.
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
874f1a901d
dsputil: template get_pixels() for different bit depths
...
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
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
Måns Rullgård
41c2bd0a26
ARMv6 optimised pix_sum
...
Originally committed as revision 21705 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
66ec243d95
ARMv6 optimised pix_norm1
...
Originally committed as revision 21704 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
0c28474c92
ARMv6 optimised sse16
...
Originally committed as revision 21703 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
3132614305
ARMv6 optimised diff_pixels
...
Originally committed as revision 21702 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
f73a626ae4
ARMv6 optimised get_pixels
...
Originally committed as revision 21701 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
d2578ff9f1
ARMv6 optimised pix_abs8
...
Originally committed as revision 21700 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
74cc33c235
ARMv6 optimised pix_abs16_y2
...
Originally committed as revision 21699 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
39a760f678
ARMv6 optimised pix_abs16_x2
...
Originally committed as revision 21698 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
e6056a9008
ARMv6 optimised pix_abs16
...
Originally committed as revision 21697 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
38e016a7c9
ARMv6 optimised put_pixels functions except xy2 variants
...
Originally committed as revision 21696 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
153f49570f
ARM: ARMv6 optimised add_pixels_clamped()
...
Originally committed as revision 20184 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
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
60c703ac4b
ARM: START/STOP_TIMER support for ARMv7
...
Originally committed as revision 18305 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Måns Rullgård
439ccc4e0e
Split libavutil/timer.h per architecture
...
Originally committed as revision 18304 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
987903826b
Globally rename the header inclusion guard names.
...
Consistently apply this rule: the guard name is obtained from the
filename by stripping the leading "lib", converting '/' and '.' to
'_' and uppercasing the resulting name. Guard names in the root
directory have to be prefixed by "FFMPEG_".
Originally committed as revision 15120 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 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
Måns Rullgård
99545457bf
include all prerequisites in header files
...
Originally committed as revision 9344 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
Diego Biurrun
04d7f60143
Add official LGPL license headers to the files that were missing them.
...
Originally committed as revision 6219 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Måns Rullgård
4dddc5e10c
kill warnings
...
Originally committed as revision 5585 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Ivo van Poorten
93d6aeb0a4
add missing declaration for av_md5_sum
...
Originally committed as revision 5583 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michael Niedermayer
94d85eaf34
md5 support
...
depending on CONFIG_SMALL this can either be compiled to a fully unrolled kernel / rfc reference style md5 routine
or a single loop similar to what mplayer uses
Originally committed as revision 5565 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago