Cédric Schieli
39e5f87b1a
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
2009-04-14 14:11:57 +00:00
Diego Biurrun
457eed7204
whitespace cosmetics: Reindent a few lines and break a few excessively long lines.
...
Originally committed as revision 29174 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-04-12 22:43:03 +00:00
Ramiro Polla
40fa514033
swscale: Use function pointers for swScale functions.
...
Originally committed as revision 29145 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-04-04 22:45:02 +00:00
Ramiro Polla
d5e9bc0636
Move bfin specific code to its subdir.
...
Originally committed as revision 29079 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-03-27 22:56:56 +00:00
Ramiro Polla
befa8e665c
Move yuv2rgb code to subdirs.
...
Originally committed as revision 29063 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-03-26 01:30:10 +00:00
Cédric Schieli
6858492e6c
Add alpha channel scaling
...
Originally committed as revision 29011 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-03-20 14:15:14 +00:00
Diego Biurrun
780daf2b09
Consistently use ff_ prefixes for internal symbols.
...
Originally committed as revision 28988 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-03-18 08:06:08 +00:00
Cédric Schieli
9621f2f540
YUVA420P is a planar YUV format
...
Originally committed as revision 28867 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-03-07 09:37:25 +00:00
Cédric Schieli
c27516003f
Add an isALPHA macro to check if pixel format has alpha channel
...
Originally committed as revision 28747 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-02-27 22:23:20 +00:00
Diego Biurrun
43175f5010
Drop DECLARE_ALIGNED from extern declarations. It creates trouble when
...
swscale_internal.h is #included without HAVE_AV_CONFIG_H defined.
Originally committed as revision 28498 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-02-09 17:53:33 +00:00
Kostya Shishkov
e2a004ad4e
Prefix visible YUV2RGB functions with sws_
...
Originally committed as revision 28496 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-02-09 14:31:53 +00:00
Diego Biurrun
1615fb91a1
Declare struct SwsContext before using it, fixes the checkheaders warning:
...
libswscale/swscale_internal.h:58: warning: `struct SwsContext' declared inside parameter list
libswscale/swscale_internal.h:58: warning: its scope is only this definition or declaration, which is probably not what you want
Originally committed as revision 28353 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-01-25 12:03:28 +00:00
Aurelien Jacobs
b63f641e9b
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
2009-01-14 00:13:56 +00:00
Vitor Sessak
4900461742
Add a new unscaled PAL8 -> RGB converter.
...
Originally committed as revision 27730 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-10-08 17:46:22 +00:00
Carl Eugen Hoyos
58e4b706c5
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
2008-10-07 19:44:39 +00:00
Michael Niedermayer
43c164788c
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
2008-09-13 11:52:03 +00:00
Michael Niedermayer
ec1bca2a0f
Add support for PIX_FMT_MONOWHITE as output format.
...
Originally committed as revision 27586 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-09-12 16:01:17 +00:00
Michael Niedermayer
fd5c57b813
100000000000000l, forgot to commit header change for r27580.
...
Originally committed as revision 27583 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-09-11 22:02:15 +00:00
Michael Niedermayer
59ded10ca2
Fix typo in comment.
...
Originally committed as revision 27546 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-09-08 00:52:22 +00:00
Michael Niedermayer
1625216eaa
Fix accurate rounding mode on x86_64.
...
Fixes issue222.
Originally committed as revision 27545 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-09-07 21:06:21 +00:00
Michael Niedermayer
9990e4269c
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
2008-09-04 21:59:15 +00:00
Michael Niedermayer
d52337af70
Remove workaround for rgb/bgr mess.
...
Originally committed as revision 27520 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-09-04 20:16:41 +00:00
Stefano Sabatini
0eaf523548
Change headers' guardnames consistently with r15120.
...
Originally committed as revision 27499 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-08-31 07:42:11 +00:00
Luca Barbato
e40b183d3a
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
2008-07-09 22:43:08 +00:00
Diego Biurrun
8a3227968c
spelling/grammar/wording overhaul
...
Originally committed as revision 27190 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-07-04 13:49:45 +00:00
Diego Biurrun
83da2c6f26
Use full path for #includes from another directory.
...
Originally committed as revision 26702 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-05-09 12:00:25 +00:00
Panagiotis Issaris
635a8cd27d
Make av_class a pointer to const.
...
Patch by Takis.
Originally committed as revision 26210 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-03-10 14:30:49 +00:00
Benoit Fouet
710af50e0c
define VOF as double of VOFW.
...
Originally committed as revision 26209 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-03-10 14:28:25 +00:00
Baptiste Coudurier
8055ede6c7
change sws_format_name to return const char*, supress many warnings
...
Originally committed as revision 26183 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-03-06 11:32:25 +00:00
Michael Niedermayer
8b2fce0d3f
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
2008-03-05 03:00:25 +00:00
Carl Eugen Hoyos
0cb2559445
Discard two symbols from libswscale.
...
Originally committed as revision 26060 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-02-22 08:08:19 +00:00
Diego Biurrun
56b69633dd
comment typo fixes
...
Originally committed as revision 25485 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-12-21 11:47:09 +00:00
Diego Biurrun
c95a3a9fbf
Add missing declarations for AltiVec functions, fixes the warnings:
...
swscale_template.c:1171: warning: implicit declaration of function ‘altivec_yuv2packedX’
swscale.c:1982: warning: implicit declaration of function ‘yuv2rgb_altivec_init_tables’
yuv2rgb.c:652: warning: implicit declaration of function ‘yuv2rgb_init_altivec’
Originally committed as revision 25319 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-12-08 04:29:11 +00:00
Diego Biurrun
4706949c6d
Fix 'make checkheaders' on AltiVec-enabled systems.
...
Originally committed as revision 25316 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-12-07 15:30:12 +00:00
Diego Biurrun
39c70be189
Add FFMPEG_ prefix to all multiple inclusion guards.
...
Originally committed as revision 24800 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-10-18 09:30:33 +00:00
Diego Biurrun
721d5e3b95
Revert wrong ARCH_BFIN --> HAVE_BFIN change.
...
Originally committed as revision 24627 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-09-27 08:00:22 +00:00
Marc Hoffman
49488d12bf
renaming ARCH_BFIN to HAVE_BFIN
...
Originally committed as revision 24309 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-08-31 14:57:50 +00:00
Diego Biurrun
6465c977b7
Move Apple gcc AltiVec vector declaration syntax to libavutil.
...
Originally committed as revision 24143 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-08-24 15:04:14 +00:00
Diego Biurrun
d8e84202c7
Rename CONFIG_DARWIN to SYS_DARWIN, it is not configurable (in FFmpeg).
...
Originally committed as revision 24121 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-08-22 22:46:55 +00:00
Denes Balatoni
90c1d7b400
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
2007-07-19 07:24:43 +00:00
Andreas Öman
9ba7fe6dcb
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
2007-07-18 08:12:40 +00:00
Diego Biurrun
b19bcbaa78
license header consistency cosmetics
...
Originally committed as revision 23722 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-07-05 10:18:58 +00:00
Diego Biurrun
86bdf3fd3d
misc spelling fixes
...
Originally committed as revision 23556 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-06-13 17:48:15 +00:00
Marc Hoffman
d3f3eea92d
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
Subject: [FFmpeg-devel] PATCH BlackFin yuv2rgb color space conversion
Originally committed as revision 23307 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-05-13 19:22:32 +00:00
Ivo van Poorten
9d9de37d81
cosmetics; one test per line for all isXXX(x) macros
...
Originally committed as revision 23296 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-05-11 11:24:06 +00:00
Diego Biurrun
221b804f34
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
2007-04-29 13:39:27 +00:00
Diego Biurrun
911406f2c4
typo
...
Originally committed as revision 22932 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-04-07 14:07:51 +00:00
Diego Biurrun
606f68bd10
cosmetics: typo fixes, usefuLL --> useful and aswell --> as well
...
Originally committed as revision 22307 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-02-22 00:18:10 +00:00
Michael Niedermayer
18064f5cf3
BGR/RGB4 byte formats as input
...
fixing isRGB/BGR() for the byte formats
Originally committed as revision 22244 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-02-17 11:36:02 +00:00
Luca Abeni
2d529db50f
Pass a context to av_log(), when possible
...
Originally committed as revision 21999 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-01-23 13:41:45 +00:00