Statistics
| Branch: | Revision:

ffmpeg / libswscale / swscale.c @ ed2164f3

History | View | Annotate | Download (104 KB)

# Date Author Comment
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

86593486 03/22/2008 06:22 PM Alexander Strange

Fix 64 bit shared library compilation with MMX2 by properly using PIC mangling.
patch by Alexander Strange, astrange ithinksw com

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

c5fec7d7 03/18/2008 10:14 PM Diego Biurrun

Remove redundant ARCH_POWERPC #ifdef around HAVE_ALTIVEC.

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

5a352b14 03/17/2008 06:01 AM Zuxy Meng

Fix a typo that causes an assertion to always fail.
Reported by Alexander Bokovikov (openworld AT uralweb DOT ru)

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

a6f6b237 03/12/2008 11:50 PM Diego Biurrun

typos

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

06de58d2 03/10/2008 06:38 PM Diego Biurrun

typo

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

635a8cd2 03/10/2008 02:30 PM Panagiotis Issaris

Make av_class a pointer to const.
Patch by Takis.

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

3f0bc115 03/10/2008 07:30 AM Diego Biurrun

Remove redundant swScaler: output from places where av_log()
properly prints the context anyway.

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

8055ede6 03/06/2008 11:32 AM Baptiste Coudurier

change sws_format_name to return const char*, supress many warnings

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

4b0c30b7 03/06/2008 09:51 AM Baptiste Coudurier

remove redundant SwScaler text since av_log uses AVClass context

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

56adc695 03/05/2008 04:03 AM Michael Niedermayer

One more (forgotten) fix for fixing sws_flags.

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

8b2fce0d 03/05/2008 03:00 AM Michael Niedermayer

Turn ancient V offset numerical constants into named ones.
Add a check that checks that the width is within the choosen constant.
This might have been exploitable.

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

0cb25594 02/22/2008 08:08 AM Carl Eugen Hoyos

Discard two symbols from libswscale.

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

0d6fd5ec 02/15/2008 07:50 AM Stefano Sabatini

More explicit unsupported pixel format error messages.
Patch by Stefano Sabatini: stefano sabatini (minus) lala % poste it

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

ae797914 02/09/2008 10:57 PM Carl Eugen Hoyos

Make dither4 & dither8 const.

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

5802683a 01/29/2008 02:58 PM Reimar Döffinger

Make some assembler constants global instead of declaring them multiple times.

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

d334c7c2 01/28/2008 02:38 PM Reimar Döffinger

Use DECLARE_ASM_CONST where possible in libswscale code

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

c14731d8 01/21/2008 08:46 PM Reimar Döffinger

Fix typo in comment

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

1b0a4572 01/17/2008 03:49 PM Benoit Fouet

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

30c48a0a 01/17/2008 10:24 AM Benoit Fouet

Cosmetics: whitespaces

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

e5091488 01/17/2008 08:57 AM Benoit Fouet

Remove non cosmetic spaces inside parentheses.

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

b8db4e22 01/17/2008 08:12 AM Benoit Fouet

Description: remove superfluous parentheses.

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

337a2a45 01/17/2008 08:06 AM KO Myung-Hun

Check param in sws_getCachedContext().
Patch by KO Myung-Hun komh chollian net
Original thread: [FFmpeg-devel] [PATCH] param check in sws_getCachedContext()
Date: Wed Jan 9 11:15:19 CET 2008

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

56b69633 12/21/2007 11:47 AM Diego Biurrun

comment typo fixes

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

5efaf000 12/20/2007 10:08 AM Peter Schlaile

Make sure strides have positive values before converting.
Patch by Peter Schlaile: peter schlaile de

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

721d5e3b 09/27/2007 08:00 AM Diego Biurrun

Revert wrong ARCH_BFIN --> HAVE_BFIN change.

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

79973335 09/24/2007 03:11 PM Aurelien Jacobs

add support for yuva420p colorspace (yuv420p + alpha)

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

49488d12 08/31/2007 02:57 PM Marc Hoffman

renaming ARCH_BFIN to HAVE_BFIN

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

bd7c6fd5 07/28/2007 02:17 PM Diego Biurrun

typo

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

9ba7fe6d 07/18/2007 08:12 AM Andreas Öman

use YUV440P in swscale
patch by Andreas Öman: \andreas olebyn nu/
original thread: [FFmpeg-devel] half vertical chroma resolution from JPEGs..
date: 07/03/2007 01:29 PM

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

b19bcbaa 07/05/2007 10:18 AM Diego Biurrun

license header consistency cosmetics

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

1ebbfe15 06/22/2007 01:03 PM Marc Hoffman

integrating ff_bfin_get_unscaled_swscale into the system

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

86bdf3fd 06/13/2007 05:48 PM Diego Biurrun

misc spelling fixes

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

2db27aad 05/30/2007 09:33 AM Carl Eugen Hoyos

rename attribute_unused to av_unused as it is declared in common.h
patch by Carl Eugen Hoyos cehoyos chez ag or at
original thread: [FFmpeg-devel] [PATCH] attribute_unused -> av_unused
date: 05/29/2007 01:23 PM

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

4d7b302c 05/28/2007 09:30 AM Diego Biurrun

Remove redundant fastmemcpy.h #include, it is indirectly #included by avutil.h.

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

d61845e8 05/23/2007 06:35 PM Ivo van Poorten

ffmpeg -sws_flags command line option to set swscaler flags

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

d3f3eea9 05/13/2007 07:22 PM Marc Hoffman

Blackfin optimized YUV420 to RGB CSC Color Space Converters.
YUV2 -> RGB BGR for 565, 555 and 888 a.k.a. 24bit color.
Speed-up compared to C version compiled with -O3 187.28%
Patch by Marc Hoffman mmh A pleasantst P com
Original thread:
Date: May 9, 2007 2:46 AM...

9d9de37d 05/11/2007 11:24 AM Ivo van Poorten

cosmetics; one test per line for all isXXX(x) macros

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

c4ca31d0 05/02/2007 07:02 AM Benoit Fouet

cosmetics: indentation after previous patch

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

068b0f4f 05/02/2007 07:00 AM Benoit Fouet

test if color conv fonction exists prior to using it

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

221b804f 04/29/2007 01:39 PM Diego Biurrun

cosmetics attack, part II: Remove all tabs and prettyprint/reindent the code.

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

6a4970ab 04/26/2007 11:07 PM Diego Biurrun

cosmetics: Remove trailing whitespace.

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

fa65e2f6 04/15/2007 01:27 AM Michael Niedermayer

improve horizontal chroma resolution with pal

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

21c08a3f 04/15/2007 12:53 AM Michael Niedermayer

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

911406f2 04/07/2007 02:07 PM Diego Biurrun

typo

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

94bd08b0 04/03/2007 04:22 PM Carl Eugen Hoyos

Fix crash when trying to convert from or to RGBi (i<15) as in bgr8torgb24

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

edf97a75 03/18/2007 12:31 PM Michael Niedermayer

fix full range (jpeg yuv) chroma

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

6cbac7ed 03/08/2007 10:02 AM Karl H. Beckers

Add PIX_FMT_PAL8 to isPacked().
patch by "Karl H. Beckers", karl.h.beckers gmx net

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

dd9bdeb9 03/02/2007 01:33 PM Michael Niedermayer

a small step toward 4 plane support

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

0c840013 03/02/2007 01:32 PM Michael Niedermayer

copy src to prevent the user supplied argumet from being changed

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

adcec46a 02/25/2007 10:27 AM Reimar Döffinger

Add av_ prefix to clip functions

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