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
Alan Curry
cd92221a8d
Just a comment update, replacing a FIXME to reflect the new expectation of
...
how altivec_yuv2packedX is supposed to be used
Originally committed as revision 17643 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
19 years ago
Alan Curry
cbddd5dfc6
Fix vec_clip for gcc's that don't handle (vector signed short){16} according
...
to spec; also convert a few vec_splat's to vec_splat_{s,u}*
Originally committed as revision 17639 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
19 years ago
Alan Curry
d33d485e83
Move the v{Y,C}CoeffsBank vectors into the SwsContext, filling them in just
...
once when the scaler is initialized, instead of building them and freeing
them over and over. This gives massive performance improvements.
patch by Alan Curry, pacman*at*TheWorld*dot*com
Originally committed as revision 17589 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
19 years ago
Alan Curry
7d20ebffdf
Correct RGB vs. BGR confusion, the macros vec_mstrgb24 and vec_mstbgr24 each
...
do the opposite of what they say.
The vec_mstrgb24 and vec_mstbgr24 macros should be opposites and not perform
the same things.
patch by Alan Curry, pacman_at_world_dot_std_dot_com
Originally committed as revision 17564 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
19 years ago
Alan Curry
3845b56dd1
altivec_yuv2packedX() ignores the requested output format and unconditionally
...
outputs RGBA. This patch supports 6 output formats and prints an error message
if it is asked to provide an output format it is not capable of.
patch by Alan Curry, pacman_at_world_dot_std_dot_com
Originally committed as revision 17561 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
19 years ago
Alan Curry
5edb653bca
AltiVec operations need to have memory aligned on 16-byte boundaries.
...
patch by Alan Curry, pacman at world dot std dot com
Originally committed as revision 17559 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
19 years ago
Alan Curry
be9d060d0c
vYCoeffsBank and vCCoeffsBank are allocated and initialized using incorrect
...
sizes based on the image width instead of height.
patch by Alan Curry, pacman at world dot std dot com
Originally committed as revision 17558 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
19 years ago
Diego Biurrun
b2d374c958
Unify include paths, -I.. is in CFLAGS.
...
Originally committed as revision 16986 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
19 years ago