Statistics
| Branch: | Revision:

ffmpeg / libswscale / yuv2rgb.c @ 95c8bb03

History | View | Annotate | Download (26.4 KB)

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

libswcale: PIX_FMT_BGR48LE and PIX_FMT_BGR48BE scaler implementation

453d28af 07/12/2010 08:35 AM Benoit Fouet

Change the type of Y table to pointer to void in fill_table().
This fixes warnings about wrong type being used, e.g.:
libswscale/yuv2rgb.c: In function ‘ff_yuv2rgb_c_init_tables’:
libswscale/yuv2rgb.c:778: warning: passing argument 4 of ‘fill_table’ from incompatible pointer type...

6a01eab7 07/10/2010 10:12 PM Måns Rullgård

Add av_ prefix to bswap macros

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

0093ac5b 06/01/2010 11:30 AM Stefano Sabatini

Move internal scale context fields initialization from
sws_setColorspaceDetails() to ff_yuv2rgb_c_init_tables().

Allow to factorize duplicated code.

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

f4ea7c89 05/04/2010 09:11 AM Diego Biurrun

alternative LGPL-licensed, MMX-optimized YUV to RGB conversion routines
written by Kostya Shishkov

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

f25b1c4b 03/26/2010 07:57 AM Diego Biurrun

HAVE_MMX2 implies HAVE_MMX, so checking the latter is enough.

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

a4e44130 03/06/2010 11:27 AM Janusz Krzysztofik

Add support to BGR444/RGB444 foreign endian output in libswscale.

Patch by Janusz Krzysztofik |jkrzyszt ^ tis icnet pl|.

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

124cb451 03/05/2010 08:41 AM Benoit Fouet

Cosmetics: fix vertical alignment.

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

601949b8 03/05/2010 08:32 AM Janusz Krzysztofik

libswscale: Extend the unaccelerated path of the unscaled yuv2rgb special
converter with support for rgb444 output format.
Patch by Janusz Krzysztofik jkrzyszt chez tis icnet pl

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

1379b584 03/04/2010 04:57 PM Alexis Ballier

Support BGR555, BGR565, RGB555 and RGB565 foreign endian output in
libswscale.

Patch by Alexis Ballier, alexis D ballier A gmail

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

8ebed38e 02/25/2010 09:12 PM Stefano Sabatini

Apply consistency nit.

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

3f3dc76c 02/05/2010 04:09 PM David Conrad

Add function to translate SWS_CS_* to coefficient array

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

30b61475 01/24/2010 12:55 PM Stefano Sabatini

Use av_get_bits_per_pixel() for computing the bits per pixel of the
source and destination format, cache those values in the newly added
SwsContext:srcFormatBpp and SwsContext:dstFormatBpp fields, and remove
the fmt_depth() function.

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

d5206d3d 01/19/2010 05:21 AM Zuxy Meng

User friendly warning message that gives out names of source and target formats

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

3c52d484 01/18/2010 08:42 AM Zuxy Meng

Define out currently unused static functions.

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

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

df226e63 08/09/2009 03:04 PM Kostya Shishkov

Remove 'offset' argument from PUTRGB* macros since it's unneeded and caused
pixel swapping during some YUV2RGB conversions.

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

29ce0433 07/05/2009 08:10 PM Diego Biurrun

The AltiVec code in libswscale no longer is under GPL.
Remove one erroneous preprocessor check for CONFIG_GPL in the AltiVec code.

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

68e7f482 06/02/2009 12:30 PM Kostya Shishkov

YUV into RGB48 BE/LE conversion support

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

b78c8e21 04/27/2009 02:25 PM Cédric Schieli

Remove useless duplicated code in yuv2rgb_c_32, yuva2rgba_c and yuva2argb_c

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

befa8e66 03/26/2009 01:30 AM Ramiro Polla

Move yuv2rgb code to subdirs.

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

0928f1eb 03/24/2009 07:09 AM Cédric Schieli

Simpler and more elegant fix to the x86_32/OSX+PIC build failure

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

986b6f8f 03/21/2009 12:16 PM Cédric Schieli

Fix build failure on x86_32 Mac OS X with PIC enabled

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

3acd545f 03/20/2009 02:14 PM Cédric Schieli

Add YUVA420P -> RGBA/BGRA/ARGB/ABGR unscaled converters

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

852ca0e5 03/17/2009 12:05 PM Diego Biurrun

Fix ff_bfin_yuv2rgb_get_func_ptr() vs. sws_ff_bfin_yuv2rgb_get_func_ptr() name
mismatch. The function is now called sws_yuv2rgb_get_func_ptr_bfin().

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

9a10a076 03/16/2009 08:04 PM Cédric Schieli

Add an alpha parameter to the YUV2RGBFUNC macro to ease the upcoming yuva2rgb patch

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

f78b9c06 03/01/2009 11:33 AM Reimar Döffinger

Fix braindead and broken way to calculate abase, fixes regression tests on
big-endian systems.

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

1e5304c6 02/24/2009 10:40 PM Diego Biurrun

Rename yuv2rgb2.c --> yuv2rgb.c.

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

876a4dc0 02/24/2009 02:50 PM Diego Biurrun

Remove GPL version of yuv2rgb.c that has been replaced by an LGPL substitute.

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

2907deed 02/09/2009 11:19 AM Diego Biurrun

Remove file name from file headers.
It provides no useful information and breaks on renames.

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

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

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

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

85a51e6b 09/11/2008 12:09 AM Michael Niedermayer

Fix chroma yuv->rgb tables for jpeg style yuv, this was missed as it
only affects the C code while mmx uses different tables.

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

688b5e80 09/04/2008 06:14 PM Michael Niedermayer

Fix rgb15/16 vs. bgr part1.

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

5478959b 05/04/2008 08:19 PM Luca Barbato

Build sparc arch specific code using the Makefile

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

5202ed31 03/29/2008 03:51 PM Diego Biurrun

Fix wrong #endif comment.

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

bfffdb81 03/25/2008 09:30 PM Diego Biurrun

Classify mlib as a configurable option, not as a hardware feature.

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

a04e3240 03/11/2008 09:01 AM Diego Biurrun

Mark Y variable in EPILOG macro as av_unused to avoid unused variable warnings.

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

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

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

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

90c1d7b4 07/19/2007 07:24 AM Denes Balatoni

UltraSPARC VIS yuv2rgb
patch by Denes Balatoni: [dbalatoni interware hu]
original thread: [FFmpeg-devel] [PATCH] UltraSPARC VIS yuv2rgb third try
date: 07/17/2007 08:35 PM

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

fc69cc61 07/16/2007 05:48 PM Diego Biurrun

Remove redundant "all rights reserved" statement, OKed by Walken.

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

cabc90c2 07/14/2007 02:39 PM Diego Biurrun

typo

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

7ed8ccb5 07/09/2007 06:55 PM Diego Biurrun

ISO8859-1 --> UTF-8

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

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

Group all copyright and author notices together.

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

1a18eaf7 06/08/2007 07:49 AM Reimar Döffinger

Fix yuv2rgb C functions to work for widths divisible by 4 but not by 8

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

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

42809816 04/29/2007 09:36 PM Diego Biurrun

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

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

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

2d529db5 01/23/2007 01:41 PM Luca Abeni

Pass a context to av_log(), when possible

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

2c86a578 01/22/2007 01:21 AM Diego Biurrun

Fix license headers and FSF postal address.

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

789237ca 12/26/2006 05:59 PM Luca Abeni

Mark some variables as possibly unused to avoid warnings

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

628bc5e8 12/26/2006 05:41 PM Luca Abeni

Add some explicit casts to avoid "assignment from incompatible pointer type"
warnings

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

44060a73 12/26/2006 04:28 PM Luca Abeni

Add some other casts, to remove void pointers arithmetic

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

3d6a30d9 11/01/2006 06:36 PM Diego Biurrun

Use common define for x86_32 and x86_64.

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

a90ce386 10/03/2006 11:51 PM Aurelien Jacobs

make some global var static (fix a build failure with shared lib on x86_64)

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

e9e12f0e 09/17/2006 03:15 PM Luca Abeni

Remove the dependency of libswscale on img_format.h

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

db3924f1 08/18/2006 01:58 PM Diego Biurrun

Explicitly include libmpcodecs/img_format.h and libvo/fastmemcpy.h.

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

dbdae6ec 08/05/2006 10:00 AM Diego Biurrun

Do not assemble MMX, MMX2 or 3DNOW code unconditionally on X86 and X86_64.

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

69796008 07/28/2006 09:07 AM Diego Biurrun

Comment some #endif lines.

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

94c4def2 07/20/2006 12:13 PM Luca Abeni

Use libavutil in libswscale, and allow it to be built out of the mplayer tree

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