Reimar Döffinger
5802683a97
Make some assembler constants global instead of declaring them multiple times.
...
Originally committed as revision 25910 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
Benoit Fouet
1b0a4572f4
Change (a == NULL) condition to (!a) and (a != NULL) condition to (a).
...
Originally committed as revision 25780 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
Benoit Fouet
e5091488a5
Remove non cosmetic spaces inside parentheses.
...
Originally committed as revision 25777 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
Diego Biurrun
bc279024c2
Comment some #endif directives.
...
Originally committed as revision 25211 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
Diego Biurrun
a680708d2d
The function names of [rgb|bgr]1[56]to[UV|Y] had rgb<->bgr flipped.
...
Rename them to match the actual implementation. Fixes issue 162.
Originally committed as revision 24965 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
Diego Biurrun
b19bcbaa78
license header consistency cosmetics
...
Originally committed as revision 23722 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
18 years ago
Diego Biurrun
ddda6fcddc
comment grammar fixes
...
Originally committed as revision 23685 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
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
6a4970abd1
cosmetics: Remove trailing whitespace.
...
Originally committed as revision 23147 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
Diego Biurrun
911406f2c4
typo
...
Originally committed as revision 22932 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
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
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
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
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
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
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
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
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
Diego Biurrun
f8d6112850
Fix unused variable warning when compiling with MMX disabled.
...
Originally committed as revision 20021 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
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
Uoti Urpala
91d0bda26d
Fix compilation with -no-PIC and without -fomit-frame-pointer (used by
...
--enable-debug).
Fix from Jason Tackaberry for his previous -fPIC patch.
Originally committed as revision 19406 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
19 years ago
Jason Tackaberry
83c89c7885
-fPIC support for libswscale
...
patch by Jason Tackaberry, tack /at/ urandom /dot/ ca
Originally committed as revision 19402 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
19 years ago
Diego Biurrun
4bff9ef9d0
Replace asmalign.h hack by ASMALIGN cpp macros from config.h.
...
Originally committed as revision 19378 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
8422aa888b
a tiny bit of cleanup
...
Originally committed as revision 19178 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
73435f006b
Move postproc ---> libswscale
...
Originally committed as revision 18866 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
19 years ago
Reimar Döffinger
065ee1ec32
fix variable type used via "m" asm constraint to match size used in asm.
...
fixes crashes on AMD64.
Originally committed as revision 18576 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
19 years ago
Michael Niedermayer
46fe31a019
removing esp usage
...
this is certainly not the most beautifull but it should work without -fomit-frame-pointer and PIC and gcc-4 vomits when ebp is given in a constraint directly even with -fomi-frame-pointer so theres not that much choice ...
if anyone knows a simpler/cleaner solution, dont hesitate to suggest it ...
Originally committed as revision 18393 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
19 years ago
Nicolas Plourde
fac8012c3f
add support for intel mac. mp3lib is not fixed yet.
...
Originally committed as revision 18105 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
19 years ago
Alan Curry
b9a6fae930
don't call altivec_yuv2packedX() with a dstFormat that it doesn't support;
...
instead fall back on yuv2packedXinC
Originally committed as revision 17642 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
Reimar Döffinger
7f526efd17
Change unsigned->signed and int->long, this fits the asm code better on 64
...
bit systems.
Also fixes several crashes because (long)-i is incorrect if i is unsigned.
Originally committed as revision 16740 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
19 years ago
Guillaume Poirier
dc77ef7fea
Re-enables the GCC-4 fix for AMD-64 only. Patch by cartman and poirierg
...
Originally committed as revision 15973 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
20 years ago
Guillaume Poirier
9cc768f64c
Reverts GCC-4.0 "fixe" which broke GCC-3.3 and maybe others
...
Originally committed as revision 15859 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
20 years ago
Reimar Döffinger
c35afa2f57
Another REG_d -> REG_D fix.
...
Originally committed as revision 15846 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
20 years ago