Statistics
| Branch: | Revision:

ffmpeg / postproc / swscale_template.c @ 42225a30

History | View | Annotate | Download (91.2 KB)

# Date Author Comment
46fe31a0 05/06/2006 02:01 AM Michael Niedermayer

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 ......

fac8012c 04/15/2006 08:46 PM Nicolas Plourde

add support for intel mac. mp3lib is not fixed yet.

Originally committed as revision 18105 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc

b9a6fae9 02/18/2006 12:41 AM Alan Curry

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

660204c6 01/13/2006 12:23 AM Diego Biurrun

Update licensing information: The FSF changed postal address.

Originally committed as revision 17368 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc

7f526efd 10/12/2005 12:11 PM Reimar Döffinger

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

dc77ef7f 07/12/2005 07:16 PM Guillaume Poirier

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

9cc768f6 06/30/2005 05:35 AM Guillaume Poirier

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

c35afa2f 06/28/2005 10:54 PM Reimar Döffinger

Another REG_d -> REG_D fix.

Originally committed as revision 15846 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc

69cf0be2 06/24/2005 12:17 PM Guillaume Poirier

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

1a2f5491 06/19/2005 02:35 PM Guillaume Poirier

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

bf0c1b62 06/18/2005 08:16 PM Guillaume Poirier

GCC-4 fix for AMD-64
Warning: high cola-affinity here)

Originally committed as revision 15750 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc

20ffdcf9 06/02/2005 08:54 PM Michael Niedermayer

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

b7782b47 04/29/2005 06:32 PM Alex Beregszaszi

unused define

Originally committed as revision 15296 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc

6118e52e 02/16/2005 11:47 PM Ville Syrjälä

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....

6d606c4f 01/21/2005 04:48 PM Aurelien Jacobs

fix few x86_64 registers handling

Originally committed as revision 14557 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc

b6663a55 01/19/2005 12:56 PM Reimar Döffinger

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

a7b42d28 10/22/2004 12:21 AM Aurelien Jacobs

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

6e1c66bc 10/21/2004 11:55 AM Aurelien Jacobs

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

a31de956 06/27/2004 12:07 AM Michael Niedermayer

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...

8c266f0c 04/06/2004 12:25 AM Romain Dolbeau

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

a2faa401 03/11/2004 05:58 PM Romain Dolbeau

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

379a2036 10/15/2003 11:21 AM Michael Niedermayer

rounding fixes

Originally committed as revision 11123 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc

77a416e8 10/04/2003 05:29 PM Gabucino

many small typo and grammar fixes
Based on Bernard Leak's mail <bernard 4t brenda-arkle.demon.co.uk>

Originally committed as revision 11001 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc

3ec38777 04/21/2003 11:14 PM Alex Beregszaszi

killed an mp_msg occurance

Originally committed as revision 9971 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc

c9b99ea6 04/17/2003 07:32 PM Michael Niedermayer

mplayer idependant (not really yet) swscale example

Originally committed as revision 9922 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc

3e499f53 02/24/2003 12:12 AM Michael Niedermayer

cleanup

Originally committed as revision 9500 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc

d4e24275 02/23/2003 10:05 PM Michael Niedermayer

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

5427e242 02/21/2003 08:35 PM Michael Niedermayer

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

9902f4e2 02/15/2003 05:29 PM Michael Niedermayer

1000l

Originally committed as revision 9435 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc

4e61e21c 02/15/2003 03:07 PM Michael Niedermayer

bigendian bug (fixes?)

Originally committed as revision 9434 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc

e54d94ba 02/13/2003 09:38 PM Michael Niedermayer

cleanup

Originally committed as revision 9418 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc

6542b44e 02/13/2003 06:24 PM Michael Niedermayer

cleanup

Originally committed as revision 9415 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc

77a49659 02/13/2003 02:19 PM Michael Niedermayer

cleanup

Originally committed as revision 9414 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc

7322a67c 01/23/2003 09:35 AM Michael Niedermayer

UYVY input

Originally committed as revision 9072 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc

c9f99fef 11/23/2002 10:58 AM Dominik Mierzejewski

warning patch by (Dominik Mierzejewski <dominik at rangers dot eu dot org>)

Originally committed as revision 8255 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc

25593e29 10/13/2002 05:23 PM Michael Niedermayer

mmx yuy2 output

Originally committed as revision 7724 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc

46de8b73 10/13/2002 12:30 AM Michael Niedermayer

yuy2 output support

Originally committed as revision 7721 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc

df1b2c14 09/09/2002 10:48 PM Michael Niedermayer

fixing y422p output

Originally committed as revision 7352 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc

93768378 07/09/2002 05:01 PM Michael Niedermayer

fixing sinc filter (seems the problem was caused by rounding in pmulhw -> solution use shorter filter, its long and slow enough anyway)
some typos
some warning fixes

Originally committed as revision 6680 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc

f5b58629 06/30/2002 08:32 PM Michael Niedermayer

last line messed up in Y800 bugfix

Originally committed as revision 6616 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc

cf7d1c1a 06/27/2002 06:00 PM Michael Niedermayer

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

5ac80202 06/24/2002 08:05 PM Michael Niedermayer

killing globals

Originally committed as revision 6555 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc

5859233b 06/24/2002 12:18 AM Michael Niedermayer

100l (non mmx versions didnt compile)
some cleanup

Originally committed as revision 6541 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc

e616aa93 06/23/2002 06:51 PM Michael Niedermayer

yvu9 support (other planar yuv formats with other chroma subsamplings should be trivial to add, if they had a IMGFMT)
disabled broken (=new) converters (they cause random sig11)
various bugfixes

Originally committed as revision 6533 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc

3f7bb50c 06/23/2002 11:01 AM Michael Niedermayer

cleanup

Originally committed as revision 6521 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc

c7a810cc 06/23/2002 10:36 AM Michael Niedermayer

selftest support
bugfixes

Originally committed as revision 6518 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc

44c1035c 06/22/2002 08:37 PM Michael Niedermayer

cleanup & grayscale support

Originally committed as revision 6504 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc

0d9f3d85 06/22/2002 08:49 AM Arpi

sync with mplayer xp
- partial yvu9 support (copy only)
- rgb 15/16 > 24/32 converters
int->unsigned changes

Originally committed as revision 6493 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc

4a53a912 05/02/2002 11:00 AM Alban Bedel

printf to mp_msg

Originally committed as revision 5938 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc

b7dc6f66 04/01/2002 02:01 PM Michael Niedermayer

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

854288bb 03/03/2002 01:33 PM Felix Bünemann

add mangling

Originally committed as revision 4924 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc

2ba1bff0 02/21/2002 07:41 PM Michael Niedermayer

101++

Originally committed as revision 4795 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc

df3c183a 02/21/2002 05:48 PM Michael Niedermayer

fixing bgr32 output on big-endian systems

Originally committed as revision 4794 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc

332105e4 02/14/2002 04:38 PM Michael Niedermayer

minor dststride bugfix for i420 output
srcHeight %2 != 0 bugfix / chroma height = (luma height +1)>>1 in YV12

Originally committed as revision 4699 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc

4342fc14 02/09/2002 11:43 PM Michael Niedermayer

bgr24toUV in MMX

Originally committed as revision 4620 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc

ac6a2e45 02/09/2002 05:03 PM Michael Niedermayer

bgr24toY in MMX

Originally committed as revision 4613 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc

b72034dd 02/08/2002 03:09 AM Michael Niedermayer

bgr15 input support

Originally committed as revision 4581 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc

5bb9d9d8 02/08/2002 01:24 AM Michael Niedermayer

faster bgr16 input

Originally committed as revision 4580 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc

6af250ea 02/08/2002 12:42 AM Michael Niedermayer

bgr16 input support

Originally committed as revision 4579 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc

a861d4d7 02/06/2002 10:55 PM Michael Niedermayer

rgb32 & rgb24 input support
squished a endianness bug in the 15/16bgr output

Originally committed as revision 4559 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc

37079906 02/06/2002 08:52 PM Michael Niedermayer

swScale internally uses yuv2rgb now if possible

Originally committed as revision 4555 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc

6ff0ad6b 02/02/2002 06:18 PM Michael Niedermayer

MMX optimized YUY2 input
avoid duplicate checks for formats by changeing them (Y8->Y800, IYUV->I420)

Originally committed as revision 4482 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc

1e621b18 02/01/2002 07:25 PM Michael Niedermayer

YUY2, BGR24, BGR32 input support (no mmx yet)

Originally committed as revision 4468 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc

6c7506de 01/30/2002 03:21 PM Michael Niedermayer

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

5521b193 01/21/2002 10:11 PM Michael Niedermayer

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>)...

fe8054c0 01/21/2002 06:32 PM Michael Niedermayer

copyright(swscaler) = GPL

Originally committed as revision 4296 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc

c7f822d9 01/21/2002 03:56 AM Michael Niedermayer

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

28bf81c9 01/20/2002 05:30 AM Michael Niedermayer

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...

9b464428 01/19/2002 05:14 AM Felix Bünemann

mangle for win32 in postproc

Originally committed as revision 4249 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc

c0903414 12/30/2001 12:57 AM Michael Niedermayer

only print last line warning if verbose is on

Originally committed as revision 3884 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc

f15afacd 12/27/2001 12:57 AM Michael Niedermayer

output shifted by a few pixels on extreem scalings bugfix
filterPos was wrong by 0.5 pixels on downscale with -sws 1 and 2 bugfix

Originally committed as revision 3783 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc

51fdf2de 12/25/2001 03:03 PM Johannes Feigl

looks better

Originally committed as revision 3731 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc

627690b5 12/21/2001 02:09 AM Michael Niedermayer

minor bugfixes (noone noticed them)
a few more asserts

Originally committed as revision 3642 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc

e3d2500f 12/06/2001 07:07 PM Michael Niedermayer

print more info if -v
use new horizontal mmx scaler instead of old x86asm if mmx2 cant be used (FAST_BILINEAR only)
fixed overflow in init function ... using double precission fp now :)
using C scaler for the last 1-2 lines if there is a chance to write over the end of the dst array...

f014740a 12/06/2001 01:23 AM Michael Niedermayer

dithering info wasnt displayed

Originally committed as revision 3346 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc

c1b0bfb4 12/06/2001 12:10 AM Michael Niedermayer

vertical cubic/linear scaling
prints some info (MMX, dstbpp, ...)
mainloop rewritten

Originally committed as revision 3345 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc

e2f5a2a9 12/03/2001 10:24 PM Michael Niedermayer

typo

Originally committed as revision 3300 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc

077ea8a7 12/02/2001 08:03 PM Michael Niedermayer

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

af91b8b3 11/29/2001 10:19 PM Michael Niedermayer

sliced scaleing bugfix

Originally committed as revision 3216 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc

d1fac6cf 11/29/2001 08:19 PM Michael Niedermayer

swscaler cleanup
green line at bottom bugfix
green lines in yuv2yuv scaler bugfix

Originally committed as revision 3210 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc

48a05cec 11/26/2001 02:20 AM Michael Niedermayer

oops

Originally committed as revision 3137 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc

7630f2e0 11/26/2001 12:31 AM Michael Niedermayer

runtime cpu detection

Originally committed as revision 3127 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc

cff6ecd7 11/10/2001 08:39 PM Michael Niedermayer

.balign or we´ll align by 64kb on some architectures

Originally committed as revision 2801 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc

6e3bba72 11/10/2001 07:46 PM Michael Niedermayer

.align 16

Originally committed as revision 2800 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc

3fe8e8f0 11/06/2001 07:26 PM Michael Niedermayer

gcc does optimize writes to non volatile variables away if it didnt know that they were read in between

Originally committed as revision 2751 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc

d8fa3c54 11/06/2001 06:42 PM Michael Niedermayer

better dithering

Originally committed as revision 2749 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc

99d2cb72 11/06/2001 04:06 AM Michael Niedermayer

faster bgr24 output

Originally committed as revision 2731 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc

bdc2eb9a 11/05/2001 11:49 PM Michael Niedermayer

only 6 registers used

Originally committed as revision 2729 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc

7d7f78b5 11/04/2001 01:50 PM Michael Niedermayer

green line fix for dstw%8!=0

Originally committed as revision 2681 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc

96034638 11/04/2001 03:07 AM Michael Niedermayer

fixed warnings

Originally committed as revision 2672 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc

f62255fb 11/04/2001 02:28 AM Michael Niedermayer

faster bgr15/16

Originally committed as revision 2670 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc

162caf68 11/02/2001 07:21 PM Michael Niedermayer

right green line bugfix for width not %8==0 (untested -vo vesa doesnt work)

Originally committed as revision 2639 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc

02a0a992 10/31/2001 01:30 AM Michael Niedermayer

c speedup

Originally committed as revision 2586 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc

b18ea156 10/31/2001 12:26 AM Michael Niedermayer

15/16bit in C speedup

Originally committed as revision 2585 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc

397c035e 10/30/2001 10:24 PM Michael Niedermayer

c optimizations
bugfix

Originally committed as revision 2577 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc

d9fc1cfe 10/30/2001 10:03 PM Michael Niedermayer

c optimizations

Originally committed as revision 2576 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc

d022ce5c 10/30/2001 09:33 PM Michael Niedermayer

c optimizations (array is faster than pointer) (16bpp variants tested and 2% faster)

Originally committed as revision 2573 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc

497d4f99 10/30/2001 09:04 PM Michael Niedermayer

interpolate chrominance for every second line in the 1:1 vertical scale function

Originally committed as revision 2570 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc

1faf0867 10/30/2001 08:30 PM Michael Niedermayer

bugfixes
small speedup for the non x86 stuff

Originally committed as revision 2567 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc

541c4eb9 10/29/2001 07:54 PM Michael Niedermayer

fixed a warning

Originally committed as revision 2541 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc