Ramiro Polla
dd68318cee
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
15 years ago
Ramiro Polla
48f4c61252
MMX2 horizontal scaler: Determine code size at runtime.
...
Originally committed as revision 29510 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Ramiro Polla
bcdedf675f
Rename "funny" code to "mmx2 filter" code.
...
Originally committed as revision 29507 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Måns Rullgård
a898cdc995
Replace WORDS_BIGENDIAN with HAVE_BIGENDIAN
...
Originally committed as revision 29439 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Ramiro Polla
804db4466d
Remove unused variables.
...
Originally committed as revision 29435 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Ramiro Polla
71ed6c8f06
Remove dependency from swscale_internal.h to lavu/internal.h, it is no longer
...
needed for DECLARE_ALIGNED.
Remove dependency from swscale-example.c to swscale_internal.h by duplicating
the necessary code. The duplicated code is a hack and should be removed once a
cleaner pixel format information system exists. swscale-example.c is example
code on how to use the library and therefore shouldn't rely on internal
headers.
Originally committed as revision 29415 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Måns Rullgård
b4b9170234
Use enum PixelFormat in sws_format_name() prototype
...
Originally committed as revision 29409 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Diego Biurrun
02163b799d
Add libavutil/internal.h #include, required for the DECLARE_ALIGNED macro.
...
This fixes swscale-example compilation.
Originally committed as revision 29353 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Pavel Pavlov
92db623584
Use DECLARE_ALIGNED macro instead of gcc __attribute__.
...
Patch by Pavel Pavlov <pavel at summit-tech dot ca>
Originally committed as revision 29348 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Kostya Shishkov
e8417235d0
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
16 years ago
Kostya Shishkov
5b21719ea2
Let SwScaler know that RGB48 BE/LE is 16-bits per component format.
...
Originally committed as revision 29317 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Kostya Shishkov
075ec82c54
Make SwScaler recognize RGB48 BE/LE colourspaces (not support though).
...
Originally committed as revision 29316 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Diego Biurrun
f1933e436c
Add missing const qualifiers to AltiVec function parameters where appropriate.
...
Fixes a couple of 'discards qualifiers from pointer target type' warnings.
Originally committed as revision 29281 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Michael Niedermayer
9507d91150
Change VOFW for x86 to 5120, it allows larger images to be scaled and was
...
not slower. Other archs are not changed as the larger VOFW was slower on PPC.
Originally committed as revision 29256 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Michael Niedermayer
de1275d5e8
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
16 years ago
Michael Niedermayer
714f32bf15
Add macro to check for 16bit per sample.
...
Originally committed as revision 29215 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Michael Niedermayer
c3dc6c5a6b
add isBE()
...
Originally committed as revision 29212 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
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
16 years ago
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
16 years ago
Ramiro Polla
40fa514033
swscale: Use function pointers for swScale functions.
...
Originally committed as revision 29145 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Ramiro Polla
d5e9bc0636
Move bfin specific code to its subdir.
...
Originally committed as revision 29079 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Ramiro Polla
befa8e665c
Move yuv2rgb code to subdirs.
...
Originally committed as revision 29063 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Cédric Schieli
6858492e6c
Add alpha channel scaling
...
Originally committed as revision 29011 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Diego Biurrun
780daf2b09
Consistently use ff_ prefixes for internal symbols.
...
Originally committed as revision 28988 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Cédric Schieli
9621f2f540
YUVA420P is a planar YUV format
...
Originally committed as revision 28867 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
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
16 years ago
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
16 years ago
Kostya Shishkov
e2a004ad4e
Prefix visible YUV2RGB functions with sws_
...
Originally committed as revision 28496 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
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
16 years ago
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
16 years ago
Vitor Sessak
4900461742
Add a new unscaled PAL8 -> RGB converter.
...
Originally committed as revision 27730 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
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
16 years ago
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
16 years ago
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
16 years ago
Michael Niedermayer
fd5c57b813
100000000000000l, forgot to commit header change for r27580.
...
Originally committed as revision 27583 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Michael Niedermayer
59ded10ca2
Fix typo in comment.
...
Originally committed as revision 27546 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
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
16 years ago
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
16 years ago
Michael Niedermayer
d52337af70
Remove workaround for rgb/bgr mess.
...
Originally committed as revision 27520 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Stefano Sabatini
0eaf523548
Change headers' guardnames consistently with r15120.
...
Originally committed as revision 27499 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
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
17 years ago
Diego Biurrun
8a3227968c
spelling/grammar/wording overhaul
...
Originally committed as revision 27190 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
Diego Biurrun
83da2c6f26
Use full path for #includes from another directory.
...
Originally committed as revision 26702 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
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
17 years ago
Benoit Fouet
710af50e0c
define VOF as double of VOFW.
...
Originally committed as revision 26209 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
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
17 years ago
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
17 years ago
Carl Eugen Hoyos
0cb2559445
Discard two symbols from libswscale.
...
Originally committed as revision 26060 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
Diego Biurrun
56b69633dd
comment typo fixes
...
Originally committed as revision 25485 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
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
17 years ago