Ivo van Poorten
9d9de37d81
cosmetics; one test per line for all isXXX(x) macros
...
Originally committed as revision 23296 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
18 years ago
Ivo van Poorten
fa88429489
remove the need of one extra shift in rgb16ToUV
...
Originally committed as revision 23281 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
18 years ago
Ivo van Poorten
f96829d2d0
Fix rgb15ToUV. Correct order of components and use one shift less.
...
Originally committed as revision 23279 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
18 years ago
Benoit Fouet
c4ca31d0a8
cosmetics: indentation after previous patch
...
Originally committed as revision 23207 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
18 years ago
Benoit Fouet
068b0f4f29
test if color conv fonction exists prior to using it
...
Originally committed as revision 23206 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
18 years ago
Diego Biurrun
2da0d70d5e
cosmetics attack, part IV: Remove all tabs and prettyprint/reindent the code.
...
Originally committed as revision 23179 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
ce505b8523
cosmetics: Fix stray wrongly indented line.
...
Originally committed as revision 23174 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
18 years ago
Diego Biurrun
221b804f34
cosmetics attack, part II: Remove all tabs and prettyprint/reindent the code.
...
Originally committed as revision 23173 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
18 years ago
Diego Biurrun
6e42e6c4b4
cosmetics attack, part I: Remove all tabs and prettyprint/reindent the code.
...
Originally committed as revision 23158 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
18 years ago
Diego Biurrun
1da87823db
cosmetics: Replace manual tab indentation by \n\t as in the rest of the file.
...
Originally committed as revision 23157 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
Diego Biurrun
c36bd2866a
Don't declare -lm as a dependency of swscale-example.
...
Originally committed as revision 23140 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
18 years ago
Marc Hoffman
26cdb9a2aa
Remove large automatics from stack.
...
patch by Marc Hoffman, mmh pleasantst com
Originally committed as revision 23117 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
18 years ago
Ivo van Poorten
3052ddb2a8
preserve alpha channel when converting rgb32 to bgr32 in plain C
...
Originally committed as revision 23022 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
18 years ago
Ivo van Poorten
19b202f9d1
fix red_15mask and green_15mask. the previous values were wrong and caused
...
some SIMD functions to output wrong data.
Originally committed as revision 23021 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
18 years ago
Ivo van Poorten
0c4c70e5ef
test widths all down to one. this tests whether the scalers correctly switch
...
to plain C when width < unit size of assembly code.
Originally committed as revision 23018 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
18 years ago
Ivo van Poorten
35a9994977
skip MMX code in rgb24tobgr24 if the size of the input is smaller than the
...
size of the units the MMX code processes
Originally committed as revision 23015 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
18 years ago
Ivo van Poorten
3983057065
skip MMX code in rgb32to16 if the size of the input is smaller than the
...
size of the units the MMX code processes
Originally committed as revision 23014 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
18 years ago
Ivo van Poorten
b2117ceed0
skip MMX code in rgb32to15 if the size of the input is smaller than the
...
size of the units the MMX code processes
Originally committed as revision 23013 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
18 years ago
Ivo van Poorten
935f50c82c
slightly faster rgb32tobgr32; avoid one add and one cmp
...
Originally committed as revision 23012 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
18 years ago
Ivo van Poorten
b38d487466
New implementation of rgb32tobgr32
...
The previous implementation segfaulted with MMX enabled when fed an image
smaller than the size of the units the MMX code processed. The new code:
- is faster for MMX, MMX2 and plain C
- processes small images correctly
- is LGPL
Originally committed as revision 23009 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
18 years ago
Michael Niedermayer
fa65e2f63a
improve horizontal chroma resolution with pal
...
Originally committed as revision 22994 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
18 years ago
Michael Niedermayer
21c08a3f1c
convert palette to yuv instead of converting each pixel after pal->rgb
...
Originally committed as revision 22993 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
18 years ago
Ivo van Poorten
3a74415d59
cosmetics, expand all tabs to four spaces.
...
Originally committed as revision 22983 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
18 years ago
Ivo van Poorten
2a80b21d38
Replace huge switch statement by a lookup table.
...
Add newline to final report.
Originally committed as revision 22982 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
18 years ago
Ivo van Poorten
ea70817379
cosmetics after last commit; remove superfluous braces
...
Originally committed as revision 22979 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
18 years ago
Ivo van Poorten
df170b81d9
Remove code duplication in sws_rgb2rgb_init.
...
The lists of assignments of all rgbxtoy variants are removed from
sws_rgb2rgb_init and replaced by a single list inside the template file.
This way, multiple lists are generated by the preprocessor and each list
gets its own initialization function. Those are called from the main
sws_rgb2rgb_init function, if applicable.
Originally committed as revision 22978 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
18 years ago
Diego Biurrun
911406f2c4
typo
...
Originally committed as revision 22932 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
18 years ago
Carl Eugen Hoyos
94bd08b069
Fix crash when trying to convert from or to RGBi (i<15) as in bgr8torgb24
...
Originally committed as revision 22910 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
18 years ago
Marc Hoffman
8ec491e3fd
Handle proper compilation on Mac OS X.
...
Fix data alignment bug (the original purpose of the code is unclear, though).
patch by Marc Hoffman, mmh pleasantst com
Originally committed as revision 22847 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
18 years ago
Michael Niedermayer
edf97a75f9
fix full range (jpeg yuv) chroma
...
Originally committed as revision 22713 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
18 years ago
Karl H. Beckers
6cbac7ed3a
Add PIX_FMT_PAL8 to isPacked().
...
patch by "Karl H. Beckers", karl.h.beckers gmx net
Originally committed as revision 22487 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
18 years ago
Michael Niedermayer
dd9bdeb9f3
a small step toward 4 plane support
...
Originally committed as revision 22411 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
18 years ago
Michael Niedermayer
0c84001325
copy src to prevent the user supplied argumet from being changed
...
Originally committed as revision 22410 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
18 years ago
Reimar Döffinger
9340a99588
Fix a possible crash on 64 bit systems when the lumSrcPtr or chrSrcPtr
...
does not fit in 32 bits. The SWS_ACCURATE_RND is still broken though.
Originally committed as revision 22401 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
18 years ago
Diego Biurrun
2bfdde2435
Remove useless conditional.
...
Originally committed as revision 22355 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
18 years ago
Reimar Döffinger
adcec46a83
Add av_ prefix to clip functions
...
Originally committed as revision 22339 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
18 years ago
Diego Biurrun
606f68bd10
cosmetics: typo fixes, usefuLL --> useful and aswell --> as well
...
Originally committed as revision 22307 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
18 years ago
Michael Niedermayer
20da77449d
negative stride and h_size-=8 fix
...
Originally committed as revision 22247 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
18 years ago
Michael Niedermayer
18064f5cf3
BGR/RGB4 byte formats as input
...
fixing isRGB/BGR() for the byte formats
Originally committed as revision 22244 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
18 years ago
Michael Niedermayer
e28630fc70
pal8 input
...
this is not optimized or anything (that is easy to add just use the existing unscaled converters if possible ...)
Originally committed as revision 22236 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
18 years ago
Luca Barbato
94d122e96e
stray fflush spotted by Aurel
...
Originally committed as revision 22051 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
18 years ago
Luca Barbato
66e9de3891
Make example and test build and link correctly
...
Originally committed as revision 22048 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
18 years ago
Luca Barbato
da095a23a1
av_logify
...
Originally committed as revision 22047 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
18 years ago
Diego Biurrun
91f2de5e18
Simplify conditional compilation handling.
...
Originally committed as revision 22009 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
2c86a5786a
Fix license headers and FSF postal address.
...
Originally committed as revision 21994 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
18 years ago
Diego Biurrun
10ef990d96
cosmetics: typo pallete --> palette
...
Originally committed as revision 21892 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
18 years ago
Luca Abeni
d28ef27031
deprecate sws_scale_ordered(), as it now is a duplicate of sws_scale()
...
Originally committed as revision 21888 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
18 years ago