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
adcec46a83
Add av_ prefix to clip functions
...
Originally committed as revision 22339 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 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
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
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
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
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
Diego Biurrun
4cedbe5c8a
Remove stray newline.
...
Originally committed as revision 20959 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
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
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
05749630e8
Rename ABS macro to FFABS.
...
Originally committed as revision 20169 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
44cdb42386
Add support for YUVJ formats
...
Originally committed as revision 19993 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
18 years ago
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
18 years ago
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
18 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
18 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
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
19 years ago
Luca Abeni
c792037176
Another PIX_FMT_ ---> IMGFMT_ conversion
...
Originally committed as revision 19342 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
19 years ago
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
19 years ago
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
19 years ago
Diego Biurrun
6979600818
Comment some #endif lines.
...
Originally committed as revision 19211 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
19 years ago
Luca Abeni
6f209cb549
Replace MIN() and MAX() with FFMIN() and FFMAX()
...
Originally committed as revision 19186 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
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
19 years ago
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
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
247d2c9699
ng the fix for vCCoeffsBank patch by (Alan Curry <pacman TheWorld com>)
...
Originally committed as revision 17633 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
Stefan Huehner
9b2283cc33
Patch by Stefan Huehner / stefan % huehner ! org \
...
patch replaces '()' for the correct '(void)' in function
declarations/prototypes which have no parameters. The '()' syntax tell
thats there is a variable list of arguments, so that the compiler cannot
check this. The extra CFLAG '-Wstrict-declarations' shows those cases.
Comments about a similar patch applied to ffmpeg:
That in C++ these mean the same, but in ANSI C the semantics are
different; function() is an (obsolete) K&R C style forward declaration,
it basically means that the function can have any number and any types
of parameters, effectively completely preventing the compiler from doing
any sort of type checking. -- Erik Slagter
Defining functions with unspecified arguments is allowed but bad.
With arguments unspecified the compiler can't report an error/warning
if the function is called with incorrect arguments. -- Måns Rullgård
Originally committed as revision 17567 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
Michael Niedermayer
2e728364d3
change sws sharpen filter a little
...
Originally committed as revision 17531 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
D Richard Felker III
73cbfb1c59
100l -- mismatched type after changing sizes to type long!
...
Originally committed as revision 16784 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
19 years ago
Diego Biurrun
b40e353aa4
Reduce unnecessary swscaler verbosity.
...
Originally committed as revision 16405 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
19 years ago
Nicolas Plourde
6634d0ef1d
Should fix altivec detection for g3 system.
...
Originally committed as revision 15524 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
20 years ago
Jindřich Makovička
12e1166234
check for negative strides before memcpy
...
Originally committed as revision 15250 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
20 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
Reimar Döffinger
0ce5275d78
100l, forgot to change an ifdef on last commit
...
Originally committed as revision 14784 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
20 years ago