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
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
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
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
Kostya Shishkov
4884b9e50d
16-bit grayscale support
...
Originally committed as revision 20427 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
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
Michael Niedermayer
d1a7ae1a37
make the C code of the swscaler which i wrote LGPL
...
Originally committed as revision 19600 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
19 years ago
Michael Niedermayer
bca11e75fb
vertical scaler with accurate rounding, some people on doom9 can see +-1 errors
...
the +-1 issue is limited to >2tap vertical filters, so bilinear upscale was unaffected
the new code is sometime faster sometimes slower but the difference is significant (~20%) so its optional and enabled with arnd=1
Originally committed as revision 19177 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
Reimar Döffinger
902c748ce5
change the type of esp in SwsContext to uint64_t so it can hold a full register
...
also on 64 bit systems.
Originally committed as revision 18401 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
Diego Biurrun
660204c65c
Update licensing information: The FSF changed postal address.
...
Originally committed as revision 17368 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
Jindřich Makovička
e63ac25d05
support for both orderings of the slices (top->down / bottom->up)
...
Originally committed as revision 15249 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
20 years ago
Aurelien Jacobs
38d5c282cd
makes funnyCode pages executable (for CPU with NX bit)
...
Originally committed as revision 14626 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
20 years ago
Luca Barbato
582552fb56
postproc/yuv2rgb_altivec.c compile fix
...
yuv2rgb_altivec_init_tables does initialize the SwsContext vectors.
missing vec_splat.
patch by (Luca Barbato <lu_zero at gentoo dot org>) and (Romain Dolbeau <dolbeau at irisa dot fr>)
Originally committed as revision 13565 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
21 years ago
Michael Niedermayer
66d1cdb672
passing an array or double precission parameters for the scaling function, instead of missusing a few bits of the flags
...
fixing the naming of the scaling functions a little
Originally committed as revision 13374 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
21 years ago
Alex Beregszaszi
f2015f0c50
fix altivec.h inclusion (vector keyword in structure)
...
Originally committed as revision 12839 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
21 years ago
Michael Niedermayer
a31de95620
altivec yuv->rgb converter
...
orginal patch by (Marc Hoffman <mmh at pleasantst dot com>)
critical fixes by (Reza Jelveh <reza.jelveh at tu-harburg dot de>)
known bugs/issues, which should be fixed ASAP by someone who has a ppc:
0..255 vs. 16..235
unneeded recalculation of tables
general cleaup, like removing double initalizing of variables
Originally committed as revision 12699 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
21 years ago
Michael Niedermayer
8bae9ddc91
10l (forgot that the dstW offset is hardcoded in the asm)
...
Originally committed as revision 11369 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
21 years ago
Michael Niedermayer
379a20360c
rounding fixes
...
Originally committed as revision 11123 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
22 years ago
Alex Beregszaszi
b706b007a4
removed the last mp_msg :)
...
Originally committed as revision 10047 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
22 years ago
Michael Niedermayer
fccb9b2b80
10000l (YUV vs. YVU swscale fix/cleanup)
...
Originally committed as revision 9698 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
22 years ago
Michael Niedermayer
3e499f531a
cleanup
...
Originally committed as revision 9500 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
22 years ago
Michael Niedermayer
d4e242755f
sws_ prefix, more seperation between internal & external swscaler API
...
sws_scale() returns the number of outputed lines
Originally committed as revision 9495 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
22 years ago
Michael Niedermayer
5427e24291
yuv2rgb brightness/contrast/saturation/different colorspaces support finished
...
yuv2rgb deglobalize
yuv2rgb optimizations / cleanup
bugs?
Originally committed as revision 9477 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
22 years ago
Michael Niedermayer
0481412aba
brightness / saturation / contrast / different yuv colorspace support for some yuv2rgb converters (many converters still ignore it)
...
Originally committed as revision 9417 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
22 years ago
Michael Niedermayer
6542b44e2a
cleanup
...
Originally committed as revision 9415 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
22 years ago
Michael Niedermayer
77a4965980
cleanup
...
Originally committed as revision 9414 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
22 years ago
Michael Niedermayer
a86c461c6b
more scaling algos
...
Originally committed as revision 6638 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
23 years ago
Michael Niedermayer
81a571a8b3
-sws 6 (luma bicubic & chroma bilinear)
...
Originally committed as revision 6581 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
23 years ago
Michael Niedermayer
cf7d1c1a73
use unified yuv2rgb init
...
{RGB,BGR}{1,4,8,15,16,24,32} output supported
Originally committed as revision 6579 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
23 years ago
Michael Niedermayer
985c513355
10l
...
Originally committed as revision 6542 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
23 years ago
Michael Niedermayer
5859233b70
100l (non mmx versions didnt compile)
...
some cleanup
Originally committed as revision 6541 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
23 years ago
Michael Niedermayer
c7a810cc25
selftest support
...
bugfixes
Originally committed as revision 6518 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
23 years ago
Michael Niedermayer
b7dc6f6628
overread in the mmx2 horizontal scaler fixed
...
2% faster horizontal mmx2 scaler
Originally committed as revision 5453 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
23 years ago
Michael Niedermayer
370799068d
swScale internally uses yuv2rgb now if possible
...
Originally committed as revision 4555 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
23 years ago
Michael Niedermayer
1e621b18b2
YUY2, BGR24, BGR32 input support (no mmx yet)
...
Originally committed as revision 4468 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
23 years ago
Michael Niedermayer
6c7506de1c
YV12 like formats support (I420/IYUV)
...
bugfixes related to vo_x11 resizeing
Originally committed as revision 4420 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
23 years ago
Michael Niedermayer
d8863d37e2
area averageing scaling support (-sws 5) (is identical to bilinear for upscale)
...
Originally committed as revision 4403 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
23 years ago
Michael Niedermayer
ff7ba85694
nearest neighbor / sdl emulation ;) scaling (-sws 4)
...
Originally committed as revision 4402 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
23 years ago
Michael Niedermayer
5521b193d6
15/16 bit dithering in C (5% slower, can be disabled by comenting #define DITHER1XBPP out)
...
x/yInc bugfix (bug was introduced during the global var removial)
more emms & no messing with ARCH_X86 (=workaround against not cleared mmx state somewhere)
sharpening filter (-ssf cs=<int> & -ssf ls=<int>)
Originally committed as revision 4298 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
23 years ago
Michael Niedermayer
fe8054c0ff
copyright(swscaler) = GPL
...
Originally committed as revision 4296 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
23 years ago
Michael Niedermayer
5cebb24be0
a few filters (should be removed/merged when arpis videofilter stuff is finished)
...
-ssf cgb=<float> -> chrominance gaussian blur (nice to improve picture quality)
-ssf lgb=<float> -> luminance gaussian blur (dunno what its good for)
-ssf chs=<int> -> shift chrominance horizontally
-ssf cvs=<int> -> shift chrominance vertically
these will only work if the swscaler is used at all
Originally committed as revision 4295 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
23 years ago
Michael Niedermayer
c7f822d95e
general convolution filtering of the source picture
...
dynamic memory allocation for the buffers (needed for the filter stuff)
Originally committed as revision 4291 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
23 years ago
Michael Niedermayer
28bf81c90d
removed global vars so that multiple swscalers can be used
...
experimental upscaling mode (-sws 3)
general convolution filters support (unfinished)
bugfix for bicubic upscaling
assertion checking if defined MP_DEBUG
checking of the input/output size instead of segfault if its very large
Originally committed as revision 4277 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
23 years ago
Michael Niedermayer
c1b0bfb477
vertical cubic/linear scaling
...
prints some info (MMX, dstbpp, ...)
mainloop rewritten
Originally committed as revision 3345 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
23 years ago
Michael Niedermayer
077ea8a7f4
horizontal up/downscale linear & cubic
...
-sws command line option (0 -> fast_bilinear, 1->bilinear, 2->bicubic)
Originally committed as revision 3273 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
23 years ago