Statistics
| Branch: | Revision:

ffmpeg / libswscale / swscale.c @ 3164d25e

History | View | Annotate | Download (115 KB)

# Date Author Comment
6268f55b 03/20/2009 02:16 PM Cédric Schieli

YUVA420P is now supported as output format

Originally committed as revision 29012 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

6858492e 03/20/2009 02:15 PM Cédric Schieli

Add alpha channel scaling

Originally committed as revision 29011 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

f6cf4ed0 03/20/2009 02:01 PM Cédric Schieli

Use a simpler and more general check for the gray case in the planarCopy function

Originally committed as revision 29009 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

dd35beb2 03/19/2009 09:52 PM Ramiro Polla

Allocate executable memory with VirtualAlloc() in Windows.

Originally committed as revision 29006 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

16a3717f 03/19/2009 09:50 PM Ramiro Polla

Drop unnecessary cast and cosmetically align.

Originally committed as revision 29005 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

72ef3dd7 03/19/2009 02:04 PM Michael Niedermayer

Fix 10l typo.

Originally committed as revision 29002 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

0411072e 03/19/2009 03:45 AM Michael Niedermayer

Unscaled converters for
YUYV->YUV420P
YUYV->YUV422P
UYVY->YUV420P
UYVY->YUV422P

Originally committed as revision 28997 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

d0ce212a 03/18/2009 05:07 PM Ramiro Polla

Do not assume long is same width as x86 register.

Originally committed as revision 28992 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

780daf2b 03/18/2009 08:06 AM Diego Biurrun

Consistently use ff_ prefixes for internal symbols.

Originally committed as revision 28988 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

d4da3e47 03/17/2009 07:53 PM Cédric Schieli

Add a fillPlane function to fill a plane with one constant value

Originally committed as revision 28986 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

4c01b868 03/17/2009 07:51 PM Cédric Schieli

Don't write outside of the picture buffer in planarCopy in the gray case

Originally committed as revision 28985 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

c662e788 03/11/2009 02:22 PM Cédric Schieli

In initMMX2HScaler, when chrDstW is not divisible by 4, the last filterPos element is initialized on the wrong index (not evenly aligned). This fixes it

Originally committed as revision 28933 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

6208d676 03/07/2009 09:39 AM Cédric Schieli

Let the 4th plane reach the swScale function

Originally committed as revision 28868 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

a3398feb 03/05/2009 09:02 PM Cédric Schieli

Fix bug introduced by me in r28756

Originally committed as revision 28825 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

f8a138be 02/28/2009 08:01 AM Cédric Schieli

When converting from a non alpha format to an alpha format, defaults

Originally committed as revision 28756 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

2c897342 02/27/2009 10:13 PM Cédric Schieli

Use YUV420P code path for YUVA420P where appropriate

Originally committed as revision 28746 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

e76709d8 02/22/2009 09:22 AM Kostya Shishkov

New LGPLed YUV2RGB table generator for SwScaler

Originally committed as revision 28700 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

e14ff1e6 02/14/2009 08:18 PM Stefano Sabatini

Use sws_printVec2() instead of the deprecated sws_printVec().

Originally committed as revision 28567 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

26b40a65 02/14/2009 08:14 PM Stefano Sabatini

Implement sws_printVec2() and deprecate sws_printVec().

Originally committed as revision 28566 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

12794f73 02/14/2009 04:37 PM Kostya Shishkov

Some AltiVec functions in SwScaler produce different output than their
counterparts in pure C, so don't invoke them in bitexact mode.

Originally committed as revision 28555 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

6d3cf67c 02/10/2009 11:45 PM Stefano Sabatini

Move sws_getGaussianVec() documentation from swscale.c to swscale.h.

Originally committed as revision 28528 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

b954b34a 02/10/2009 11:26 PM Stefano Sabatini

Move documentation of sws_getCachedContext() from swscale.c to
swscale.h.

Originally committed as revision 28523 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

9ea5e6f6 02/10/2009 11:25 PM Stefano Sabatini

Remove pointless comment regarding sws_scale_ordered().

Originally committed as revision 28522 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

e2a004ad 02/09/2009 02:31 PM Kostya Shishkov

Prefix visible YUV2RGB functions with sws_

Originally committed as revision 28496 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

fa58ba15 02/09/2009 02:17 PM Kostya Shishkov

Give better name to Inverse_Table_6_9

Originally committed as revision 28495 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

c099766f 02/08/2009 11:06 PM Stefano Sabatini

Drop the deprecated sws_scale_ordered() at the next major version
bump.

Originally committed as revision 28492 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

f4406ec1 01/25/2009 07:58 PM Diego Biurrun

HAVE_3DNOW --> HAVE_AMD3DNOW to sync with latest configure changes.

Originally committed as revision 28358 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

dfe44a85 01/25/2009 11:59 AM Diego Biurrun

Disable C code when compiling AltiVec code, fixes the warning:
swscale_template.c:2623: warning: `swScale_C' defined but not used

Originally committed as revision 28352 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

f40c7dbb 01/25/2009 11:57 AM Diego Biurrun

spelling/grammar cosmetics

Originally committed as revision 28351 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

7a24ec50 01/25/2009 11:33 AM Diego Biurrun

Fix #endif comments.

Originally committed as revision 28350 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

0ab80395 01/20/2009 09:31 AM Carl Eugen Hoyos

Add PIX_FMT_VDPAU_WMV3 and PIX_FMT_VDPAU_VC1.

Originally committed as revision 28344 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

4e2b4876 01/16/2009 02:14 AM NVIDIA Corporation

Add VDPAU hardware accelerated decoding for MPEG1 and MPEG2 which will
be used by MPlayer.

Original patch by NVIDIA corporation.

Originally committed as revision 28322 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

b63f641e 01/14/2009 12:13 AM Aurelien Jacobs

Change semantic of CONFIG_*, HAVE_* and ARCH_*.
They are now always defined to either 0 or 1.

Originally committed as revision 28311 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

420169e5 01/08/2009 07:54 PM Carl Eugen Hoyos

Add PIX_FMT_VDPAU_H264.

Originally committed as revision 28281 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

cb82a073 12/27/2008 11:33 AM Diego Biurrun

consistency cosmetics: Rename POWERPC identifiers to PPC.

Originally committed as revision 28194 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

75add6fb 10/27/2008 07:59 PM Vitor Sessak

Silence GCC warnings:

ibswscale/swscale.c: In function ‘sws_scale’:
libswscale/swscale.c:2678: warning: ‘b’ may be used uninitialized in
this function
libswscale/swscale.c:2678: warning: ‘g’ may be used uninitialized in
this function
libswscale/swscale.c:2678: warning: ‘r’ may be used uninitialized in...

65f65c30 10/26/2008 03:41 PM Vitor Sessak

Silence GCC warning

Originally committed as revision 27834 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

9b0d44ef 10/25/2008 03:00 PM Michael Niedermayer

Do not attempt to use the unscaled yuv2rgb converter when height is odd because
it will overflow the buffer by 1 line. This might have been exploitable.

Originally committed as revision 27826 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

76e9fd01 10/23/2008 07:20 PM Vitor Sessak

Cosmetics: alignment

Originally committed as revision 27818 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

522ce957 10/23/2008 07:13 PM Vitor Sessak

Fix broken palette8to*.

Originally committed as revision 27817 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

7ad6469e 10/16/2008 01:34 PM Diego Pettenò

Convert asm keyword into asm.

Neither the asm() nor the asm() keyword is not part of the C99
standard, but while GCC accepts the former in C89 syntax, it is not
accepted in C99 unless GNU extensions are turned on (with -fasm). The
latter form is accepted in any syntax as an extension (without...

b5c44b1a 10/09/2008 11:13 AM Diego Pettenò

Mark some symbols in swscale.c as constant.

These are only used in swscale_template.c (and thus don't need to be
made extern), and can be declared as ASM constants.

Originally committed as revision 27737 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

d0b69b28 10/09/2008 11:12 AM Diego Pettenò

Mark dither_2x2_{8,4} static to swscale.c

These two tables are not used outside swscale.c even though they are
declared also in yuv2rgb.c.

Originally committed as revision 27736 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

f5a2c981 10/09/2008 08:36 AM Carl Eugen Hoyos

Change variable types from int to enum PixelFormat.
Fixes icc warning #188: enumerated type mixed with another type

Originally committed as revision 27733 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

e150ef8d 10/08/2008 05:48 PM Vitor Sessak

Do not set src1 to the palette, it is now in the context

Originally committed as revision 27731 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

49004617 10/08/2008 05:46 PM Vitor Sessak

Add a new unscaled PAL8 -> RGB converter.

Originally committed as revision 27730 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

13394e8c 10/08/2008 11:59 AM Aurelien Jacobs

Change one more variable type from int to enum PixelFormat.
This one was missing from r27727.

Originally committed as revision 27728 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

58e4b706 10/07/2008 07:44 PM Carl Eugen Hoyos

Change variable types from int to enum PixelFormat.
Fixes icc warning #188: enumerated type mixed with another type

Originally committed as revision 27727 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

88e2a9ae 10/04/2008 06:50 PM Carl Eugen Hoyos

Remove b5Dither, g5Dither and r5Dither from libswscale.

Originally committed as revision 27718 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

92c7b471 10/04/2008 04:40 PM Carl Eugen Hoyos

Remove g6Dither from libswscale.

Originally committed as revision 27715 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

f830d824 09/29/2008 01:08 AM Michael Niedermayer

Fix infinite loop with spline, bug was introduced in r27612 by me.

Originally committed as revision 27669 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

d616c8ae 09/16/2008 03:49 AM Michael Niedermayer

Fix segfault with rgb24 and full_internal_chrome due to non existing alpha
byte being written after the array.

Originally committed as revision 27628 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

a64a062f 09/15/2008 03:33 AM Michael Niedermayer

Avoid using floating point for calculating filter coefficients.

Originally committed as revision 27612 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

8588e148 09/14/2008 07:29 PM Michael Niedermayer

Avoid some explicit types in sizeof().

Originally committed as revision 27611 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

22129c78 09/14/2008 07:25 PM Michael Niedermayer

Use av_mallocz() instead of for() =0;

Originally committed as revision 27610 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

45e18be8 09/14/2008 06:00 PM Michael Niedermayer

Move dither tables from yuv2rgb to swscale, they have been written by me and
can be used under LGPL.

Originally committed as revision 27609 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

43c16478 09/13/2008 11:52 AM Michael Niedermayer

Rename yuv2rgb variables to avoid name clashes with the ones used by bfin asm.

Originally committed as revision 27599 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

88bc5a64 09/13/2008 02:04 AM Michael Niedermayer

Ensure that additional filter coeffs that exist due to alignment
are 0 if bitexact mode is requested.

Originally committed as revision 27595 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

84c12535 09/12/2008 11:52 PM Michael Niedermayer

yvu9toyv12Wrapper is not bitexact so disable it when the user wants
bitexactness to C.

Originally committed as revision 27594 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

b82ecd62 09/12/2008 09:25 PM Michael Niedermayer

The yuv->rgb tables are too small for cliping to be avoidable,
thus revert the respective optimization. The table generator code
has to be rewritten anyway one day by some volunteer because its
not LGPL, fixing the GPL table generator thus seems like wasted time....

6c80eb16 09/12/2008 05:51 PM Michael Niedermayer

Add support for PIX_FMT_YUV440P.

Originally committed as revision 27589 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

3d05e078 09/12/2008 04:46 PM Michael Niedermayer

Support mono as input format.

Originally committed as revision 27587 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

ec1bca2a 09/12/2008 04:01 PM Michael Niedermayer

Add support for PIX_FMT_MONOWHITE as output format.

Originally committed as revision 27586 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

08857704 09/12/2008 04:40 AM Michael Niedermayer

rgb24toyv12 isnt accuratly rounding, so disable it as well when the
user asks for accurate rounding.

Originally committed as revision 27585 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

4155ece5 09/12/2008 02:05 AM Michael Niedermayer

Do not use the unscaled yuv->rgb converters if SWS_ACCURATE_RND is set,
because they do not accurately round.

Originally committed as revision 27584 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

8e7ba004 09/11/2008 02:40 PM Michael Niedermayer

Remove mistakely commited code i used for testing.

Originally committed as revision 27581 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

f0faee4c 09/11/2008 02:39 PM Michael Niedermayer

Implement full horizontal chroma for rgb/bgr24/32 output.

Originally committed as revision 27580 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

bdf397ba 09/11/2008 03:22 AM Michael Niedermayer

Do not do unneeded cliping in YSCALE_YUV_2_PACKEDX_C.

Originally committed as revision 27579 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

e69bd294 09/11/2008 02:36 AM Michael Niedermayer

Factorize yuv2packedXinC().

Originally committed as revision 27578 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

7b5d7b9e 09/11/2008 01:49 AM Michael Niedermayer

Set rgb2yuv constants more accurately, makes no real difference though.

Originally committed as revision 27577 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

5fe4aad7 09/10/2008 11:23 PM Michael Niedermayer

Correct normalization constant for the vertical filter, iam not
completely sure why this was at such incorrect value, but i could
not find any problems when it was set correctly.

Originally committed as revision 27575 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

6b79dbce 09/10/2008 04:39 PM Michael Niedermayer

Change RGB2YUV_SHIFT from 16 to 15 to make it able to work
with 16bit signed constants (like SIMD might use).

Originally committed as revision 27568 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

2f60f629 09/10/2008 02:28 AM Michael Niedermayer

Make SWS_FULL_CHR_H_INP work.

Originally committed as revision 27564 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

cbcb408f 09/09/2008 11:39 PM Michael Niedermayer

More accurate rounding for 8bit inputs.

Originally committed as revision 27562 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

dfb09bd1 09/09/2008 11:30 PM Michael Niedermayer

Rewrite bgr24->yuv mmx code, the new code is cleaner, more accurate,
and does not throw half the chroma away.

Originally committed as revision 27561 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

0f5d4aa8 09/09/2008 06:01 PM Michael Niedermayer

Add table of rgb->yuv convertion coefficients.

Originally committed as revision 27558 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

6bc0c792 09/08/2008 12:36 PM Michael Niedermayer

Fix jpeg yuv.
Fixes issue504.

Originally committed as revision 27547 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

1625216e 09/07/2008 09:06 PM Michael Niedermayer

Fix accurate rounding mode on x86_64.
Fixes issue222.

Originally committed as revision 27545 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

d63a2cb1 09/07/2008 04:59 PM Michael Niedermayer

Make fast bilinear scaler work again.

Originally committed as revision 27543 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

3b38f1c6 09/05/2008 01:44 AM Baptiste Coudurier

simplify function selection code

Originally committed as revision 27528 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

a6100f39 09/05/2008 12:25 AM Baptiste Coudurier

enable yuv422p to uyvy converter

Originally committed as revision 27527 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

b0880d5d 09/04/2008 10:58 PM Michael Niedermayer

Make 16bit grayscale output work.

Originally committed as revision 27524 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

736143c8 09/04/2008 10:31 PM Michael Niedermayer

Fix SWS_FAST_BILINEAR and SWS_POINT with some unscaled rgb<->bgr converters.

Originally committed as revision 27523 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

9990e426 09/04/2008 09:59 PM Michael Niedermayer

Support PIX_FMT_RGB32_1 and PIX_FMT_BGR32_1.
Fixes issue248.

Originally committed as revision 27522 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

14623020 09/04/2008 08:46 PM Michael Niedermayer

Fix 4 and 8 bit RGB/BGR input.

Originally committed as revision 27521 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

b3e03fa7 08/29/2008 06:23 PM Stefano Sabatini

Implement swscale_version().

Originally committed as revision 27492 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

091d3bdc 07/21/2008 11:41 AM Michael Niedermayer

fix memleak

Originally committed as revision 27332 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

47b7382d 07/21/2008 11:18 AM Michael Niedermayer

Cleanup, use av_freep() instead of av_free(x); x=NULL

Originally committed as revision 27331 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

6afc7c19 07/17/2008 10:30 PM Michael Niedermayer

10l forgot SWS_BILINEAR

Originally committed as revision 27318 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

010c00bc 07/17/2008 10:01 PM Michael Niedermayer

Ensure that exactly one scaler algo is used.

Originally committed as revision 27317 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

e40b183d 07/09/2008 10:43 PM Luca Barbato

Split AVOption/AVClass in a separate file. SoC Patch from Keiji Costantini

Originally committed as revision 27244 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

fcc402b1 07/06/2008 03:32 AM Luca Barbato

Remove ASSERT macro. SoC Patch from Keiji Costantini

Originally committed as revision 27214 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

bc5a0444 07/06/2008 03:27 AM Luca Barbato

Reindent. SoC Patch from Keiji Costantini

Originally committed as revision 27213 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

2d35ae56 07/06/2008 03:26 AM Luca Barbato

Split simpleCopy into packedCopy and planarCopy. SoC Patch from Keiji Costantini

Originally committed as revision 27212 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

b8b015f4 06/01/2008 03:36 AM Baptiste Coudurier

cast to correct type, suppress warnings

Originally committed as revision 26949 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

74498eb4 06/01/2008 03:35 AM Baptiste Coudurier

cast to correct type, suppress warnings

Originally committed as revision 26948 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

73d046e2 06/01/2008 03:34 AM Baptiste Coudurier

add const, suppress warnings

Originally committed as revision 26947 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

3e62b7e3 06/01/2008 03:27 AM Baptiste Coudurier

add const, suppress warnings

Originally committed as revision 26945 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

49f2339c 05/09/2008 12:47 PM Keiji Costantini

Remove in_asm_used_var_warning_killer()

Patch by Keiji Costantini ( strites gmail com )

Originally committed as revision 26706 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

83da2c6f 05/09/2008 12:00 PM Diego Biurrun

Use full path for #includes from another directory.

Originally committed as revision 26702 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale