Ronald S. Bultje
dc179ec819
swscale: split yuv2packedX_altivec in smaller functions.
...
This will likely lead to a considerable performance boost,
since it removes a branch from the inner loop. Part of the
Great Evil Plan to simplify swscale.
14 years ago
Ronald S. Bultje
67d80a5421
swscale: split out ppc _template.c files from main swscale.c.
14 years ago
Ronald S. Bultje
a3e9bb5dee
swscale: remove indirections in ppc/swscale_template.c.
14 years ago
Diego Biurrun
06b5facd4b
swscale: Remove disabled code.
14 years ago
Anton Khirnov
b8e893399f
sws: replace all long with int.
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Ronald S. Bultje
93681fbd50
swscale: fix compile on ppc.
14 years ago
Ronald S. Bultje
e66149e714
swscale: force --enable-runtime-cpudetect and remove SWS_CPU_CAPS_*.
14 years ago
Mans Rullgard
2912e87a6c
Replace FFmpeg with Libav in licence headers
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Reimar Döffinger
6cce7cabdb
Fix compilation, forgot to add const also to the
...
definition of ff_yuv2packedX_altivec
Originally committed as revision 31782 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Reimar Döffinger
a4eef68f53
Add some "const" to avoid incompatible pointer type warnings
...
Originally committed as revision 31780 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Måns Rullgård
4a88852623
Move array specifiers outside DECLARE_ALIGNED() invocations
...
Originally committed as revision 30385 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Ramiro Polla
9451b59fc6
Remove ; after while(0) in macros.
...
Originally committed as revision 29674 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Ramiro Polla
dd68318cee
Cosmetics:
...
- Place curly brackets in the same line as while/for/if/switch/else/do;
- Place curly brackets at column 0 in the next line starting a function.
Originally committed as revision 29523 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Ramiro Polla
9b734d44ab
Indent libswscale:
...
- Use 4 spaces throughout for indentation;
- Fix inconsistent indentation;
- Indent function calls and declarations aligning arguments on multiple lines
to the column after the opening parentheses;
- Align asm code to the column 4 spaces after the call to __asm__();
- Align cases in switch statements to the same column as "switch".
Originally committed as revision 29522 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Diego Biurrun
9bb3f3edfe
Remove disabled debug code.
...
Originally committed as revision 29485 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Ramiro Polla
c0cf20a24a
Use DECLARE_ALIGNED macro instead of __attribute__((aligned)) for ppc code.
...
Originally committed as revision 29350 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Diego Biurrun
f1933e436c
Add missing const qualifiers to AltiVec function parameters where appropriate.
...
Fixes a couple of 'discards qualifiers from pointer target type' warnings.
Originally committed as revision 29281 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Ramiro Polla
befa8e665c
Move yuv2rgb code to subdirs.
...
Originally committed as revision 29063 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Diego Biurrun
780daf2b09
Consistently use ff_ prefixes for internal symbols.
...
Originally committed as revision 28988 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Reimar Döffinger
68363b6989
Make AltiVec code write alpha as 255 instead of 0 when converting to RGBA
...
Originally committed as revision 28774 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Diego Biurrun
ee8ee340a1
Relicense AltiVec optimizations as LGPL with the permission of Marc Hoffman
...
and Reza Jelveh, the original authors.
Originally committed as revision 28717 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Kostya Shishkov
e2a004ad4e
Prefix visible YUV2RGB functions with sws_
...
Originally committed as revision 28496 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Diego Biurrun
b9263c945f
Remove pointless malloc.h #include.
...
Originally committed as revision 28164 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
David Conrad
9655ffb59e
Convert typeof keyword into __typeof__; this is a gcc extension and the former is not accepted in C99 without GNU extensions enabled (e.g. via -fasm). This fixes compilation on PPC.
...
Originally committed as revision 27805 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Guillaume Poirier
14b83f9a3d
compilation fix with GCC 4.0.1 on MacOSX tiger, broken by the removal of AVV() macro
...
Originally committed as revision 27349 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
Diego Biurrun
6b83bb1ee8
Fix indentation after last commit.
...
Originally committed as revision 27345 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
Diego Biurrun
f22e5e22ef
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 27344 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
Alexander Strange
88c5cadc2a
Cosmetics: reindent.
...
Originally committed as revision 27279 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
Alexander Strange
2ac6ff2ecb
Remove const vector casts.
...
Fixes compilation with altivec and -std=gnu99.
Originally committed as revision 27278 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
Diego Biurrun
8a3227968c
spelling/grammar/wording overhaul
...
Originally committed as revision 27190 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
Diego Biurrun
4bdc44c7fe
whitespace cosmetics
...
Originally committed as revision 27188 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
Diego Biurrun
7a4d5e174c
Place license header at the top of the file for consistency.
...
Originally committed as revision 27187 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
Diego Biurrun
bee972eead
typo
...
Originally committed as revision 26251 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
Diego Biurrun
e982d4d39f
Remove the unused function roundToInt16. It is a duplicate of the same function
...
in swscale.c. Fixes the warning:
yuv2rgb_altivec.c:751: 'roundToInt16' defined but not used
Originally committed as revision 26247 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
Diego Biurrun
a6f6b237e2
typos
...
Originally committed as revision 26228 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
Benoit Fouet
e5091488a5
Remove non cosmetic spaces inside parentheses.
...
Originally committed as revision 25777 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
Diego Biurrun
298726ba55
cosmetics: Fix AltiVec spelling.
...
Originally committed as revision 24685 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
Diego Biurrun
b19bcbaa78
license header consistency cosmetics
...
Originally committed as revision 23722 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
18 years ago
Diego Biurrun
428098165d
cosmetics attack, part III: Remove all tabs and prettyprint/reindent the code.
...
Originally committed as revision 23175 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
18 years ago
Diego Biurrun
6a4970abd1
cosmetics: Remove trailing whitespace.
...
Originally committed as revision 23147 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
18 years ago
Luca Abeni
2d529db50f
Pass a context to av_log(), when possible
...
Originally committed as revision 21999 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
18 years ago
Diego Biurrun
d026b45e73
Change license headers to say 'FFmpeg' instead of 'this program'.
...
Originally committed as revision 20100 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
18 years ago
Diego Biurrun
0fe89aca42
Remove unused variables.
...
Originally committed as revision 20012 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
19 years ago
Luca Abeni
e9e12f0e11
Remove the dependency of libswscale on img_format.h
...
Originally committed as revision 19878 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
19 years ago
Diego Biurrun
2111440ae9
Add proper GPL headers.
...
Originally committed as revision 19772 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
19 years ago
Diego Biurrun
db3924f1fd
Explicitly include libmpcodecs/img_format.h and libvo/fastmemcpy.h.
...
Originally committed as revision 19437 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
19 years ago
Luca Abeni
94c4def23c
Use libavutil in libswscale, and allow it to be built out of the mplayer tree
...
Originally committed as revision 19148 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
19 years ago
Luca Abeni
73435f006b
Move postproc ---> libswscale
...
Originally committed as revision 18866 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
19 years ago
Alan Curry
9c445fbe7a
Fix some bugs handling input that is not aligned at 16 bytes or has
...
stride!=width.
Originally committed as revision 18323 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
19 years ago
Alan Curry
340ea251c9
Support all 4 of ARGB/RGBA/BGRA/ABGR unscaled conversions, with more
...
consistent naming of functions
Originally committed as revision 17845 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
19 years ago