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
2007-03-02 13:32:10 +00:00
Reimar Döffinger
adcec46a83
Add av_ prefix to clip functions
...
Originally committed as revision 22339 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-02-25 10:27:43 +00:00
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
2007-02-17 11:36:02 +00:00
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
2007-02-16 21:17:15 +00:00
Luca Abeni
2d529db50f
Pass a context to av_log(), when possible
...
Originally committed as revision 21999 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-01-23 13:41:45 +00:00
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
2007-01-12 15:40:08 +00:00
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
2007-01-06 12:11:25 +00:00
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
2006-12-26 18:08:40 +00:00
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
2006-12-26 17:59:28 +00:00
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
2006-12-26 17:41:38 +00:00
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
2006-12-22 11:22:49 +00:00
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
2006-12-20 13:09:29 +00:00
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
2006-11-19 10:38:12 +00:00
Diego Biurrun
4cedbe5c8a
Remove stray newline.
...
Originally committed as revision 20959 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-11-16 12:49:27 +00:00
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
2006-11-02 09:01:01 +00:00
Diego Biurrun
3d6a30d948
Use common define for x86_32 and x86_64.
...
Originally committed as revision 20592 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-11-01 18:36:20 +00:00
Kostya Shishkov
4884b9e50d
16-bit grayscale support
...
Originally committed as revision 20427 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-10-24 05:02:33 +00:00
Diego Biurrun
05749630e8
Rename ABS macro to FFABS.
...
Originally committed as revision 20169 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-10-11 23:18:34 +00:00
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
2006-10-07 15:33:14 +00:00
Luca Abeni
44cdb42386
Add support for YUVJ formats
...
Originally committed as revision 19993 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-09-27 11:41:36 +00:00
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
2006-09-17 15:15:13 +00:00
Luca Abeni
5784b620d2
Fix the PIX_FMT_* ---> IMGFMT_* conversion (PIX_FMT_RGB32 is IMGFMT_BGR32)
...
Originally committed as revision 19875 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-09-17 14:59:55 +00:00
Víctor Paesa
22e4695905
Add sws_getCachedContext(), which checks if context is valid or reallocs a new one instead.
...
Patch by Victor Paesa <wzrlpy@arsystel.com>
Original thread:
Date: Aug 31, 2006 7:15 PM
Subject: [Ffmpeg-devel] [PATCH] Add sws_getCachedContext() to swscale library
Originally committed as revision 19667 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-09-04 09:38:24 +00:00
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
2006-08-30 10:50:20 +00:00
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
2006-08-18 13:58:03 +00:00
Uoti Urpala
17c613ef34
Use COMPILE_MMX2 instead of HAVE_MMX2 to determine whether to compile
...
MMX2 code, because the HAVE_ defines do not have sane values here if
runtime cpudetection is used. Hopefully fixes runtime cpudetection
breakage from r19339.
Originally committed as revision 19374 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-08-12 17:46:40 +00:00
Luca Abeni
c792037176
Another PIX_FMT_ ---> IMGFMT_ conversion
...
Originally committed as revision 19342 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-08-05 13:14:34 +00:00
Diego Biurrun
dbdae6ec54
Do not assemble MMX, MMX2 or 3DNOW code unconditionally on X86 and X86_64.
...
Originally committed as revision 19339 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-08-05 10:00:54 +00:00
Luca Abeni
80d0ded2f7
Add support for ffmpeg's pixel format names in libswscale
...
Originally committed as revision 19276 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-07-31 12:35:04 +00:00
Diego Biurrun
6979600818
Comment some #endif lines.
...
Originally committed as revision 19211 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-07-28 09:07:09 +00:00
Luca Abeni
6f209cb549
Replace MIN() and MAX() with FFMIN() and FFMAX()
...
Originally committed as revision 19186 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-07-26 13:19:02 +00:00
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
2006-07-24 10:36:06 +00:00
Alan Curry
d8cfa5534a
Fix typo introduced in the memalign->av_malloc conversion (there is no
...
mv_malloc)
Originally committed as revision 19174 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-07-23 21:16:11 +00:00
Reimar Döffinger
8dfe90941a
Missing part of the malloc -> av_malloc patch: memalign must be replaced as well!
...
Originally committed as revision 19173 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-07-23 18:07:26 +00:00
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
2006-07-20 12:13:57 +00:00
Luca Abeni
73435f006b
Move postproc ---> libswscale
...
Originally committed as revision 18866 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-06-30 12:00:31 +00:00