Statistics
| Branch: | Revision:

ffmpeg / libswscale / swscale_template.c @ 95c8bb03

History | View | Annotate | Download (139 KB)

# Date Author Comment
3e2523db 03/26/2011 02:24 AM Peter Ross

libswcale: PIX_FMT_BGR48LE and PIX_FMT_BGR48BE scaler implementation

4064d770 02/14/2011 10:58 PM Mans Rullgard

Fix MMX rgb24 to yuv conversion with gcc 4.6

When built with gcc 4.6, the MMX rgb24 to yuv conversion gives
wrong output. The compiler produces this warning:

libswscale/swscale_template.c:1885:5: warning: use of memory input without lvalue in asm operand 4 is deprecated...

ef4a6514 01/18/2011 08:48 PM Mans Rullgard

Replace ASMALIGN with .p2align

This macro has unconditionally used .p2align for a long time and
serves no useful purpose.

df0743e0 09/27/2010 10:24 PM Baptiste Coudurier

Y400A (gray alpha) input support in libswscale

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

66842fe8 08/23/2010 09:22 PM Måns Rullgård

swscale: fix unaligned accesses in (RGB|BGR)32_1 to YUV conversion

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

c85007d5 07/18/2010 09:39 PM Anton Mitrofanov

Another try at fixing swscale on win64, as per r31153.

Don't change paramater passing, but instead use casts.
Shouldn't affect asm output on anything other than win64.
libswscale should work on win64 now.
The rest of ffmpeg still isn't win64 compatible due to the issue of xmm...

c3ab0004 05/12/2010 08:47 PM Ramiro Polla

Revert r31153. It failed to build on:
x86_64 / Mac OS X gcc 4.0.1
x86_64 / Linux icc (all)
x86_64 / Linux gcc 4.0.4
x86_64 / OpenBSD gcc 3.3.5
x86_64 / Linux suncc 5.10
and there are some reports of crashes.

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

d9d14dc6 05/11/2010 12:36 AM Ramiro Polla

Use int instead of long to pass width parameters in non-public functions.
long was being incorrectly used as an x86-sized register, both for 32 and 64
bits, but this is not the case in win64.

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

819ee683 03/27/2010 11:31 AM Diego Biurrun

libswscale: Relicense almost all x86 assembler optimizations as LGPL.

This is of course done with permissions from the authors. The only GPL
component left are MMX optimizations for YUV to RGB conversion.

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

f5af8f16 03/19/2010 09:58 AM Diego Biurrun

Replace wrong condition name in #endif comment by correct instance.

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

e5a1c207 03/05/2010 09:39 PM Michael Niedermayer

try to avoid returning odd slices.

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

f1d5a1f2 02/23/2010 04:46 PM Ramiro Polla

Reorder buffer debug. Also print out if slice was buffered.

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

60222557 01/26/2010 08:03 AM Michael Niedermayer

Use isAnyRGB() where possible

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

3b1ee703 01/26/2010 07:40 AM Michael Niedermayer

Rename isRGB() and isBGR() as their meaning is confusing.

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

bc45751f 01/16/2010 07:22 PM Stefano Sabatini

Declare with av_unused the variable alpMmxFilter, fix the gcc warning:
swscale_template.c: In function ‘swScale_C’:
swscale_template.c:2580: warning: unused variable ‘alpMmxFilter’
swscale_template.c: In function ‘sws_init_swScale_C’:

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

0cc854e3 01/16/2010 06:39 PM Ramiro Polla

Reuse h{lum,chr}Filter{,Pos} variables for MMX2 fast_bilinear horizontal scaler.

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

a959e247 01/15/2010 08:51 AM Zuxy Meng

Const correctness for src pointer. Remove all constness related warnings in
libswscale.

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

996de2fe 01/11/2010 07:30 AM Ramiro Polla

cosmetics: {} placement.

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

4b190455 01/09/2010 02:44 PM Zuxy Meng

Remove unused PREFETCHW macro

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

f514b4f9 01/01/2010 09:46 AM Reimar Döffinger

Do not needlessly use the BP register in x86_64-specific code, there are
enough other registers available that are less likely to cause issues.

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

c887b30d 12/28/2009 12:05 PM Diego Biurrun

Remove unused variable, fixes the warning:
libswscale/swscale_template.c:2575: warning: unused variable ‘srcFormat’

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

aaba7e6c 12/21/2009 01:59 AM Ramiro Polla

Remove parameters no longer used in h[yc]scale().

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

a1f4b4bb 12/21/2009 01:54 AM Ramiro Polla

Move fast bilinear scaler code to the existing h[yc]scale_fast() functions.

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

bb53e1d1 12/21/2009 01:41 AM Ramiro Polla

Rename function pointers used to convert from the input pixel format to the
intermediate YV12 to a more descriptive name.

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

e7a47515 12/21/2009 01:34 AM Ramiro Polla

Check if chroma horizontal scaler is needed in sws_init_swScale().

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

e77ddfa2 12/20/2009 05:15 PM Ramiro Polla

Indent.

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

b501a1f5 12/20/2009 05:09 PM Ramiro Polla

Set fast_bilinear functions in sws_init_swScale().

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

bae76dc3 12/20/2009 04:32 PM Ramiro Polla

Set horizontal scaler's range conversion in context in sws_init_swScale().

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

84011f10 12/20/2009 04:21 PM Ramiro Polla

Set horizontal scaler's src offsets in context in sws_init_swScale().

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

75084e47 12/06/2009 10:01 PM Ramiro Polla

Start using intermediate buffers at index 0.
These index variables are incremented before each use, so they should be
initialized to -1.

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

e470691a 12/05/2009 09:44 AM Ramiro Polla

Fix compilation with runtime cpu detection.
All functions in swscale_template.c should be declared with the RENAME macro.

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

f415be68 12/03/2009 06:18 PM Ramiro Polla

Add support for nv12/nv21 input.

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

b411dfff 11/08/2009 11:31 PM Carl Eugen Hoyos

Use enum PixelFormat instead of int for srcFormat and dstFormat.

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

53e54620 09/22/2009 02:38 PM Diego Biurrun

Replace manual gcc version check by AV_GCC_VERSION_AT_LEAST macro.

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

c866c7d0 09/16/2009 10:34 PM Ramiro Polla

Cleanup buffer debugs in swScale().

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

953c821f 09/16/2009 10:31 PM Ramiro Polla

Use correct buffers in vertical scaler in unscaled YV12 case.

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

991e579c 09/05/2009 11:33 PM Lars Täuber

Make 16bit YUV formats compatible with NE avcodec_get_pix_fmt().
Patch by Lars Täuber <lars <dot> taeuber <at> gmx <dot> net>.

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

c255994b 08/16/2009 09:37 PM Ramiro Polla

More indentation changes leftover from r29522:
- Align asm code to the column 4 spaces after the call to asm();
- Align cases in switch statements to the same column as "switch".

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

dd68318c 08/16/2009 09:11 PM Ramiro Polla

Cosmetics:
- Place curly brackets in the same line as while/for/if/switch/else/do;
- Place curly brackets at column 0 in the next line starting a function.

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

9b734d44 08/16/2009 12:32 AM Ramiro Polla

Indent libswscale:
- Use 4 spaces throughout for indentation;
- Fix inconsistent indentation;
- Indent function calls and declarations aligning arguments on multiple lines
to the column after the opening parentheses;
- Align asm code to the column 4 spaces after the call to asm();...

ebe5dec2 08/15/2009 02:35 AM Ramiro Polla

Indent.

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

52154148 08/14/2009 03:52 PM Ramiro Polla

Vertical yuv -> yuv16 scaler.

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

b0e1343b 08/13/2009 06:28 PM Ramiro Polla

Remove duplicate define (it is the same in the lum code).

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

bcdedf67 08/13/2009 06:28 PM Ramiro Polla

Rename "funny" code to "mmx2 filter" code.

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

0bf18ed3 08/08/2009 03:18 PM Diego Biurrun

Remove disabled crufty code.

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

cbdc08d5 07/28/2009 05:14 AM Ramiro Polla

Indent.

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

fb91df39 07/28/2009 05:13 AM Ramiro Polla

Remove duplicate horizontal scaling when there aren't enough lines in a slice
to output the dstY line.

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

94daf2e9 07/27/2009 06:47 AM Ramiro Polla

Do not misuse HAVE_ defines. Introduce COMPILE_TEMPLATE_ defines and use them
instead.

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

18c61752 07/27/2009 06:22 AM Ramiro Polla

Factorize x86 fast_bilinear assembly.

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

6d08d7f3 07/27/2009 06:20 AM Ramiro Polla

Fix assembly comments for x86 fast_bilinear so they match the C code.

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

fdf70cc5 06/11/2009 05:10 PM Ramiro Polla

Kill warnings of possibly unused variables by using av_unused.

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

934626a9 06/04/2009 10:10 PM Ramiro Polla

Replace more uses of attribute((aligned)) by DECLARE_ALIGNED.

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

e8417235 06/02/2009 12:28 PM Kostya Shishkov

Partial (low bits ignored, no direct transcoding into other RGB formats) support
for inputting RGB48BE/LE.

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

80704c47 05/25/2009 04:42 PM Kostya Shishkov

Move colorspace conversion functions implemented in pure C from template
into swscale.c

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

f2671197 05/02/2009 08:40 AM Cédric Schieli

Fix chroma shift when scaling from ARGB on LE and BGRA on BE

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

de1275d5 04/21/2009 01:08 AM Michael Niedermayer

Planar 16bit 420 422 444 YUV support (output is only supported in some
unscaled convertions).
This, like gray16 converts down to 8bit, which is a big FIXME & patch welcome,
we should preserve more bits.

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

39e5f87b 04/14/2009 02:11 PM Cédric Schieli

Do not use abgrToA for both luma and alpha channel in hyscale.
This fixes RGB32 (et al.) scaling.

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

40fa5140 04/04/2009 10:45 PM Ramiro Polla

swscale: Use function pointers for swScale functions.

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

7ac40327 04/04/2009 10:41 PM Ramiro Polla

swscale: Add const to some swScale functions' parameters.

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

95b5770b 04/02/2009 06:34 PM Ramiro Polla

swscale: Remove mmx2 params from h[yc]scale().

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

392b6567 04/02/2009 06:32 PM Ramiro Polla

swscale: Split h[yc]scale_fast() into their own functions.

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

5b7c7dd3 04/02/2009 06:31 PM Ramiro Polla

swscale: Execute sfence and emms depending on runtime flags.

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

009d2d74 03/29/2009 02:18 PM Diego Biurrun

Move swscale AltiVec template code to ppc subdirectory.

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

04ef1d3f 03/20/2009 04:23 PM Reimar Döffinger

Do not use rbx on x86_64, it will fail to compile with PIC, besides it
added completely pointless code.

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

d55ef636 03/20/2009 04:12 PM Reimar Döffinger

Fix swscale compilation with Altivec enabled.

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

3164d25e 03/20/2009 02:44 PM Cédric Schieli

Reindent after last commit

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

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

e29c3f93 03/19/2009 11:29 PM Matthieu Castet

Remove useless casting in asm "m" operand.

Patch by Matthieu Castet, castet D matthieu A free D fr

Originally committed as revision 29007 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

786dcfef 03/14/2009 08:11 AM Cédric Schieli

Make the source buffer operands parametrized in the YSCALEYUV2RGB_YA macro

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

fe91924d 03/11/2009 02:44 PM Cédric Schieli

Make MMX registers parametrized in the YSCALEYUV2PACKEDX_YA macro

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

bcff32d1 03/09/2009 05:25 PM Kostya Shishkov

Mask all unused bits for packed pixel format instead of green and alpha mask only.
That fixes the case when converting 15-bit RGB/BGR to YUV and high bit is set
for input value(s).

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

57f9a560 03/03/2009 07:47 PM Jindřich Makovička

remove the rest of x86 asm from LGPL build

Originally committed as revision 28804 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

40494418 02/21/2009 10:54 AM Cédric Schieli

move zeroing of alpha channel register out of YSCALEYUV2xxx macros,
patch by Cédric Schieli (cschieli at gmail youknowwhat)

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

df57ab14 02/21/2009 10:52 AM Cédric Schieli

splits various YSCALEYUV2xxx macros into YSCALEYUV2xxx_UV,
YSCALEYUV2xxx_YA and YSCALEYUV2xxx_COEFF,
patch by Cédric Schieli (cschieli at gmail youknowwhat)

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

9c77b26b 02/21/2009 10:49 AM Cédric Schieli

make MMX registers parametrized in the WRITEBGR32 macro,
patch by Cédric Schieli (cschieli at gmail youknowwhat)

Originally committed as revision 28685 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

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

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

5155b839 11/17/2008 10:33 AM Diego Biurrun

Put variable declaration inside an #ifdef to avoid an unused variable warning.

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

36e8de07 10/25/2008 08:41 PM Carl Eugen Hoyos

Remove unused code that can't be compiled without svn archive.

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

aeb87a49 10/23/2008 04:23 PM Diego Biurrun

cosmetics: typo fix

Originally committed as revision 27816 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...

6683a37f 10/09/2008 11:10 AM Diego Pettenò

Invert logic for the single-pass in swScale() functions.

Instead of having a firstTime variable defaulting to 1, have a
warnedAlready defaulting to 0. While this should make no difference in
code speed at runtime, it allows to aggregate the four bytes of that...

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

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

896a22b8 09/18/2008 12:26 AM Luca Barbato

Uniform *ToY and *ToUV function signatures

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

3a5ba0c3 09/18/2008 12:24 AM Luca Barbato

Split mono2Y in monowhite and monoblack

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

e48a79c9 09/18/2008 12:22 AM Luca Barbato

Factorize unit32_t* casts for palette pointer

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

a35acd7f 09/13/2008 04:13 PM Benjamin Zores

Fix libswscale build after r27561 if --enable-runtime-cpudetection is used.

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

14014d47 09/13/2008 01:41 PM Michael Niedermayer

Fix indention.

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

f433c8ab 09/13/2008 03:12 AM Michael Niedermayer

Disable mmx routines that are not bitexact when the user wants
bitexact ones.

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

ef423a66 09/13/2008 02:18 AM Michael Niedermayer

Make horizontal mmx scaling code match C code.

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

881c4294 09/12/2008 10:29 PM Michael Niedermayer

Make the horizontal C scaler code clip only against INT16_MAX not 0,
this decreases the difference between C and MMX, its also faster.

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

78454dfc 09/12/2008 06:05 PM Michael Niedermayer

Fix another 1000l bug in the mono input code.

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

4bb9adcf 09/12/2008 05:28 PM Michael Niedermayer

10000l PIX_FMT_MONOWHITE check was really a || 1.
Thats what happens when one does not do the full set of tests before each commit
and just quickly goes over the diff thinking, "hey its a trivial change".

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