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
Guillaume Poirier
69cf0be2c3
Fixes GCC4 fix by using "g" instead of "mp" as some compilers misscompile
...
that code othewisei (leading to segfaults).
Originally committed as revision 15814 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
20 years ago
Guillaume Poirier
1a2f549126
10l. Previous GCC4 commit broke compilation with gcc-3.4 and maybe others ia-32
...
tested with gcc-2.95, 3.3, 3.4, 4.0 on ia-32 and 3.4, 4.0, 3.3 on amd64
Originally committed as revision 15763 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
20 years ago
Guillaume Poirier
bf0c1b62f8
GCC-4 fix for AMD-64
...
Warning: high cola-affinity here)
Originally committed as revision 15750 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
20 years ago
Michael Niedermayer
20ffdcf9c0
one bugfix and a few gcc4 bug workaorunds by (Gianluigi Tiesi: mplayer, netfarm it)
...
Originally committed as revision 15618 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
20 years ago
Alex Beregszaszi
b7782b47c9
unused define
...
Originally committed as revision 15296 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
20 years ago
Ville Syrjälä
6118e52ea6
Improved NV12/NV21 support.
...
- Fixed PlanarToNV12Wrapper() and made it handle NV21.
- Added yuv2nv12XinC() to handle software scaling.
- Added NV12/NV21 handling to various places.
- Removed NV12 from vf_hue and vf_spp as they don't look like they can
actually handle it.
Originally committed as revision 14716 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
20 years ago
Aurelien Jacobs
6d606c4f5b
fix few x86_64 registers handling
...
Originally committed as revision 14557 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
20 years ago
Reimar Döffinger
b6663a5573
100l, fix broken AMD64 patch. To whoever applied it: Did you actually _try_
...
to check if it's correct??
Originally committed as revision 14537 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
20 years ago
Aurelien Jacobs
a7b42d28da
10000l : fix a crash on x86 due to an horrible mistake in my x86_64 patch
...
Originally committed as revision 13734 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
20 years ago
Aurelien Jacobs
6e1c66bc06
adapting existing mmx/mmx2/sse/3dnow optimizations so they work on x86_64
...
Originally committed as revision 13721 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
20 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
Romain Dolbeau
8c266f0cb7
AltiVec hScale, all size patch by (Romain Dolbeau <dolbeaur at club-internet dot fr>)
...
Originally committed as revision 12131 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
21 years ago
Romain Dolbeau
a2faa40192
AltiVec support in postproc/ + altivec optimizations for yuv2yuvX patch by (Romain Dolbeau <dolbeau at irisa dot fr>)
...
Originally committed as revision 12018 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
21 years ago