Statistics
| Branch: | Revision:

ffmpeg / libswscale / rgb2rgb_template.c @ db46be01

History | View | Annotate | Download (113 KB)

# Date Author Comment
2912e87a 03/19/2011 01:33 PM Mans Rullgard

Replace FFmpeg with Libav in licence headers

Signed-off-by: Mans Rullgard <>

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.

c12f7b2d 09/14/2010 01:12 PM Ramiro Polla

rgb2rgb: don't misuse HAVE_* defines

Introduce and use COMPILE_TEMPLATE_* instead.

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

40b433b6 09/13/2010 02:33 PM Ramiro Polla

swscale: indentation and emtpy line cosmetics

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

6527e561 09/13/2010 02:25 PM Ramiro Polla

swscale: avoid reading prior to the source buffer in planar2x() MMX2

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

a51125b5 09/12/2010 01:03 PM Ramiro Polla

rgb2rgb: replace shuffle_bytes_2103() by optimized rgb32tobgr32()

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

4821b445 09/11/2010 02:29 PM Ramiro Polla

rgb2rgb: remove unused yvu9toyv12 function

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

5b03661f 03/31/2010 05:00 PM Reimar Döffinger

Replace some "m" constraints by MANGLE to avoid issues with some compilers not
being able to compile it and deduplicate the code at the same time.

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

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

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

7d73d1c3 09/07/2009 04:29 PM Ramiro Polla

Indent.

Originally committed as revision 29654 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();...

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

a898cdc9 07/26/2009 12:26 PM Måns Rullgård

Replace WORDS_BIGENDIAN with HAVE_BIGENDIAN

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

b36da2c2 04/18/2009 10:27 PM Michael Niedermayer

Remove 2 useless += at the end of rgb16to15(), found by CSA.

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

3d99e069 03/21/2009 11:52 PM Michael Niedermayer

10l (C code was buggy and untested)

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

870a4adb 03/21/2009 11:45 PM Michael Niedermayer

Average chroma of 2 lines in packed 422 -> planar 420.

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

9326d3f3 03/19/2009 03:02 PM Michael Niedermayer

Revert
Date: Wed Mar 18 23:11:50 2009
New Revision: 28996

Log:
Fix libswscale compilation on non-x86, hopefully without breaking MinGW64 again.

This change was non optimal, correct would have been to revert the offending commits
if no time was available to find a clean fix....

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

62651fa7 03/18/2009 10:11 PM Reimar Döffinger

Fix libswscale compilation on non-x86, hopefully without breaking MinGW64 again.

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

a284d030 03/04/2009 07:12 PM Cédric Schieli

Rewrite of rgb15to32 and rgb16to32 using fewer asm instructions and setting alpha channel to 0xFF

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

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

217d8202 12/12/2008 04:46 PM Reimar Döffinger

Some forgotten eax -> REG_a changes.
It seems that binutils >= 2.18 just treat eax as rax but older versions fail.

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

faf6112e 10/09/2008 11:11 AM Diego Pettenò

Mark variation-specific interleaveBytes static.

These functions are never called by themselves, the alias
interleaveBytes is used instead.

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

7cff2c7f 10/05/2008 09:00 PM Luca Barbato

gcc-apple specific fallback not necessary anymore (btw no apple hardware is less than a Intel core, thus it won't come there w/out disabling all the optimizations)

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

02a6a6ee 10/05/2008 04:47 PM Diego Biurrun

Use HAVE_FAST_64BIT instead of nonstandard __WORDSIZE macro.

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

0d696d34 10/04/2008 09:52 AM Diego Biurrun

Remove MPlayer-specific MP_WORDSIZE hack.

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

6107059c 09/04/2008 07:11 PM Michael Niedermayer

rgb vs bgr fix for the unscaled converters.

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

8a322796 07/04/2008 01:49 PM Diego Biurrun

spelling/grammar/wording overhaul

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

ce3d365f 06/01/2008 07:08 PM Baptiste Coudurier

restore needed cast to correct type with const

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

994c1ef0 06/01/2008 03:21 AM Baptiste Coudurier

add const, suppress warnings

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

baf7f7c6 06/01/2008 03:17 AM Baptiste Coudurier

remove useless casts

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

f018bc10 02/24/2008 02:59 PM Reimar Döffinger

__asm __volatile -> asm volatile part 3

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

8916b4b5 01/17/2008 11:07 AM Benoit Fouet

Remove some useless parentheses.

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

594ff7cc 11/22/2007 10:27 AM Diego Biurrun

comment spelling/grammar fixes

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

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

ce505b85 04/29/2007 01:39 PM Diego Biurrun

cosmetics: Fix stray wrongly indented line.

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

6e42e6c4 04/28/2007 11:44 AM Diego Biurrun

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

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

1da87823 04/28/2007 11:41 AM Diego Biurrun

cosmetics: Replace manual tab indentation by \n\t as in the rest of the file.

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

3052ddb2 04/18/2007 04:40 PM Ivo van Poorten

preserve alpha channel when converting rgb32 to bgr32 in plain C

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

35a99949 04/18/2007 09:27 AM Ivo van Poorten

skip MMX code in rgb24tobgr24 if the size of the input is smaller than the
size of the units the MMX code processes

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

39830570 04/18/2007 09:26 AM Ivo van Poorten

skip MMX code in rgb32to16 if the size of the input is smaller than the
size of the units the MMX code processes

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

b2117cee 04/18/2007 09:24 AM Ivo van Poorten

skip MMX code in rgb32to15 if the size of the input is smaller than the
size of the units the MMX code processes

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

935f50c8 04/17/2007 08:38 PM Ivo van Poorten

slightly faster rgb32tobgr32; avoid one add and one cmp

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

b38d4874 04/16/2007 09:41 PM Ivo van Poorten

New implementation of rgb32tobgr32

The previous implementation segfaulted with MMX enabled when fed an image
smaller than the size of the units the MMX code processed. The new code:
- is faster for MMX, MMX2 and plain C
- processes small images correctly...

df170b81 04/11/2007 09:00 PM Ivo van Poorten

Remove code duplication in sws_rgb2rgb_init.

The lists of assignments of all rgbxtoy variants are removed from
sws_rgb2rgb_init and replaced by a single list inside the template file.
This way, multiple lists are generated by the preprocessor and each list...

807e0c66 11/19/2006 10:38 AM Luca Abeni

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

d904b5fc 11/07/2006 07:07 AM Nigel Pearson

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

d026b45e 10/07/2006 03:33 PM Diego Biurrun

Change license headers to say 'FFmpeg' instead of 'this program'.

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

4fadc2b4 09/06/2006 10:24 AM Diego Biurrun

Add official GPL header to make license explicit as discussed on ffmpeg-devel.

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

83c89c78 08/15/2006 08:47 AM Jason Tackaberry

-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

4bff9ef9 08/13/2006 12:21 AM Diego Biurrun

Replace asmalign.h hack by ASMALIGN cpp macros from config.h.

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

73435f00 06/30/2006 12:00 PM Luca Abeni

Move postproc ---> libswscale

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