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
Luca Abeni
703b56fb5d
Add "support for both orderings of the slices (top->down / bottom->up)"
...
(r15249) to sws_scale() too (until now, it only was in sws_scale_ordered())
Originally committed as revision 21887 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
18 years ago
Luca Abeni
0dea6433fd
replace some av_malloc();memset(...,0,...) sequences with av_mallocz()
...
Originally committed as revision 21835 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
18 years ago
Luca Abeni
b2afecbe02
change all the occurrences of "FFMIN(FFMAX())" to clip_uint8() or clip()
...
Originally committed as revision 21776 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
18 years ago
Luca Abeni
789237cad0
Mark some variables as possibly unused to avoid warnings
...
Originally committed as revision 21775 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
18 years ago
Luca Abeni
628bc5e862
Add some explicit casts to avoid "assignment from incompatible pointer type"
...
warnings
Originally committed as revision 21774 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
18 years ago
Luca Abeni
44060a7391
Add some other casts, to remove void pointers arithmetic
...
Originally committed as revision 21773 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
18 years ago
Luca Abeni
7d19628b14
Add some explicit casts to avoid some warnings
...
Originally committed as revision 21772 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
18 years ago
Luca Abeni
9effd94abc
Remove some void pointers arithmetic
...
Originally committed as revision 21771 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
18 years ago
Luca Abeni
d32d303568
Clarify that yuv2rgb_init.c cannot be used under LGPL
...
Originally committed as revision 21730 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
18 years ago
Luca Abeni
19a6be3463
Remove useless include (not needed now that libswscale uses libavutil)
...
Originally committed as revision 21728 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
18 years ago
Luca Abeni
0683a5c558
Fix compilation of non-MMX code with gcc 2.95
...
Originally committed as revision 21702 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
18 years ago
Luca Abeni
9bde778e73
Allow to compile swscale's non-SIMD code under the LGPL license.
...
Since mplayer always define CONFIG_GPL, this commit should not change
anything for mplayer.
Originally committed as revision 21699 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
18 years ago
Reimar Döffinger
e96da13bc7
Change "p" asm constraints to "g", since "p" was a no longer necessary hack to
...
make AMD64 compilation work and ICC can not handle "p".
Originally committed as revision 21341 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
18 years ago
Luca Abeni
807e0c6645
Clarify that some of the non-SIMD code is now LGPLed.
...
All the authours of such code agreed.
Originally committed as revision 21045 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
18 years ago
Michael Niedermayer
6264a515d0
forgotten 2 converters (yeah svn up, svn di svn ci isnt enough i should actually look at the code after svn up not just the diff ...)
...
Originally committed as revision 20962 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
18 years ago
Michael Niedermayer
c2271987f8
fixing the lamest bug in swscale, all the rgb/bgr->* code did 2x2 downsampling for chroma, it should just be 2x1 (the rest of the code also belived its 2x1 ...)
...
Originally committed as revision 20961 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
18 years ago
Diego Biurrun
4cedbe5c8a
Remove stray newline.
...
Originally committed as revision 20959 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
18 years ago
Luca Abeni
7964ed71e9
Synch with ffmpeg's r6938 "allow spaces in source and build directory names..."
...
Originally committed as revision 20816 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
18 years ago
Nigel Pearson
d904b5fc66
Fix MacIntel build: "/nop" is illegal on Apple's older version of GAS
...
Patch by Nigel Pearson % nigel A ind P tansu P com P au %
Original thread:
Date: Nov 6, 2006 10:43 PM
Subject: [Ffmpeg-devel] [PATCH] swscale uses /nop, illegal for old versions of GAS
Originally committed as revision 20740 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
18 years ago
Luca Abeni
a43fb6b37e
Add support for conversions from the rgb565 and rgb555 formats
...
Originally committed as revision 20605 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
18 years ago