Michael Niedermayer
fb1b70c1ed
libavcodec/sh4: add note about the removial
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Diego Biurrun
d6096a6742
Remove all SH4 architecture optimizations
...
SH4 has been end-of-lifed and no more test machines are available.
11 years ago
Diego Biurrun
0c15a9aa7e
sh4: Remove dubious aligned dsputil code
...
The code represents a considerable maintenance burden and it is not
clear that it gives a noticeable benefit to outweigh this after 10
years of improvements in compiler technology since its creation.
12 years ago
Michael Niedermayer
278bd2054c
sh4: hpeldsp: Move half-pel assembly from dsputil to hpeldsp
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Martin Storsjö
9e0f14f16c
lavc: Make pointers to ff_cropTbl const
...
There's no point in these pointers not being const.
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Michael Niedermayer
a0565a2b65
Move sh4 half-pel assembly from dsputil to hpeldsp.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Diego Biurrun
c242bbd8b6
Remove unnecessary dsputil.h #includes
12 years ago
Diego Biurrun
bf6b3ec924
dsputil: Move rnd_avg inline functions to a separate header
12 years ago
Diego Biurrun
b9ba5253dd
dsputil: Move copy_block functions to a separate header
12 years ago
Diego Biurrun
79dad2a932
dsputil: Separate h264chroma
12 years ago
Luca Barbato
b2a722a87e
sh4: drop unused functions
...
{avg,put}_pixels4_c are not used.
12 years ago
Diego Biurrun
620289a20e
sh4: Fix silly type vs. variable name search and replace typo
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
Mans Rullgard
e9d817351b
dsputil: Separate h264 qpel
...
The sh4 optimizations are removed, because the code is
100% identical to the C code, so it is unlikely to
provide any real practical benefit.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
12 years ago
Ronald S. Bultje
baf35bb4bc
dsputil: remove one array dimension from avg_no_rnd_pixels_tab.
12 years ago
Ronald S. Bultje
32ff643228
dsputil: remove avg_no_rnd_pixels8.
...
This is never used.
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
Diego Biurrun
523c7bd23c
misc typo, style and wording fixes
12 years ago
Mans Rullgard
f9e493c6f5
sh4: dsputil: remove duplicate of ff_gmc_c()
...
This function is an exact duplicate of the generic one.
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago
Mans Rullgard
25dc79bc14
sh4: add required #include, fix build
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago
Diego Biurrun
ad0e31f134
build: prettyprinting cosmetics
13 years ago
Martin Storsjö
f73673a770
sh4: Add ff_ prefix to nonstatic symbols
...
Signed-off-by: Martin Storsjö <martin@martin.st>
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
Diego Biurrun
153382e1b6
multiple inclusion guard cleanup
...
Add missing multiple inclusion guards; clean up #endif comments;
add missing library prefixes; keep guard names consistent.
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
Diego Biurrun
a734fa575f
Remove disabled non-optimized code variants.
14 years ago
Diego Biurrun
e6ff064845
Eliminate pointless '#if 1' statements without matching '#else'.
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
Janne Grunau
2c3589bfda
consolidate .gitignore patters into a single file
...
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
14 years ago
Janne Grunau
348b8218f7
convert svn:ignore properties to .gitignore files
...
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
14 years ago
Måns Rullgård
3bd74e9243
Simplify arch-specific object file lists
...
Originally committed as revision 22570 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
43f60eba19
Move arch-specific makefile parts into $arch/Makefile
...
Originally committed as revision 22569 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
dd14a04e4a
Add missing includes in bfin and sh4 files
...
Originally committed as revision 22342 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
b903fe9137
sh4: move dsputil prototypes to header file
...
Originally committed as revision 22312 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
67e19a9e4b
sh4: fix about 1000 warnings
...
Originally committed as revision 22311 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
6dde9f8c20
SH4: fix typo in asm constraint
...
Originally committed as revision 16503 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
Måns Rullgård
516566a8ec
SH4: fix IDCT
...
Originally committed as revision 15897 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Måns Rullgård
c260b59603
SH4: fix memzero_align8()
...
Originally committed as revision 15888 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Måns Rullgård
1a9e9a2fbd
SH4: add macros for setting and restoring FPSCR.PR bit
...
Originally committed as revision 15887 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Måns Rullgård
6f14b19e48
SH4: remove some commented out blocks of code
...
Originally committed as revision 15886 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Måns Rullgård
df69be0c13
SH4: fix IDCT
...
Originally committed as revision 15882 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Måns Rullgård
6f15dd8d14
SH4: do not mix code and declarations
...
Originally committed as revision 15881 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Måns Rullgård
c136ece9b3
SH4: fix compilation of memzero_align8()
...
Originally committed as revision 15880 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Måns Rullgård
b42019c130
SH4: remove unused functions
...
Originally committed as revision 15879 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Måns Rullgård
d7e0f8dda6
SH4: replace missed rnd_avg2 -> rnd_avg32
...
Originally committed as revision 15878 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago