Michael Niedermayer
9047491f8b
swscale: add nv12/nv21->yuv420 converter
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
11 years ago
Diego Biurrun
2b677ffca5
swscale: Add av_cold attributes to init functions missing them
12 years ago
Diego Biurrun
652f518594
x86: mmx2 ---> mmxext in comments and messages
12 years ago
Diego Biurrun
89d94b2182
swscale: K&R formatting cosmetics (part I)
13 years ago
Diego Biurrun
72b95764d0
swscale: variable declaration and placement cosmetics
13 years ago
Diego Biurrun
06b5facd4b
swscale: Remove disabled code.
14 years ago
Anton Khirnov
b8e893399f
sws: replace all long with int.
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Michael Niedermayer
7dc303a60e
swscale: Eliminate rgb24toyv12_c() duplication.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Diego Biurrun <diego@biurrun.de>
14 years ago
Ronald S. Bultje
e66149e714
swscale: force --enable-runtime-cpudetect and remove SWS_CPU_CAPS_*.
14 years ago
Luca Barbato
c003832883
swscale: move away x86 specific code from rgb2rgb
...
Keep only the plain C code in the main rgb2rgb.c and move the x86
specific optimizations to x86/rgb2rgb.c
Change the initialization pattern a little so some of it can be
factorized to behave more like dsputils.
14 years ago
Mans Rullgard
2912e87a6c
Replace FFmpeg with Libav in licence headers
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
ef4a65149d
Replace ASMALIGN() with .p2align
...
This macro has unconditionally used .p2align for a long time and
serves no useful purpose.
14 years ago
Ramiro Polla
c12f7b2d2c
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
14 years ago
Ramiro Polla
40b433b62b
swscale: indentation and emtpy line cosmetics
...
Originally committed as revision 32222 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
14 years ago
Ramiro Polla
6527e56131
swscale: avoid reading prior to the source buffer in planar2x() MMX2
...
Originally committed as revision 32221 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
14 years ago
Ramiro Polla
a51125b52f
rgb2rgb: replace shuffle_bytes_2103() by optimized rgb32tobgr32()
...
Originally committed as revision 32190 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
14 years ago
Ramiro Polla
4821b4456f
rgb2rgb: remove unused yvu9toyv12 function
...
Originally committed as revision 32155 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
14 years ago
Reimar Döffinger
5b03661fa7
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
15 years ago
Diego Biurrun
819ee683d8
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
15 years ago
Zuxy Meng
a959e24780
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
15 years ago
Zuxy Meng
4b19045566
Remove unused PREFETCHW macro
...
Originally committed as revision 30253 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Ramiro Polla
7d73d1c336
Indent.
...
Originally committed as revision 29654 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
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
9b734d44ab
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__();
- Align cases in switch statements to the same column as "switch".
Originally committed as revision 29522 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Diego Biurrun
0bf18ed32d
Remove disabled crufty code.
...
Originally committed as revision 29482 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 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
Michael Niedermayer
b36da2c215
Remove 2 useless += at the end of rgb16to15(), found by CSA.
...
Originally committed as revision 29189 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Michael Niedermayer
3d99e069e4
10l (C code was buggy and untested)
...
Originally committed as revision 29030 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Michael Niedermayer
870a4adbb7
Average chroma of 2 lines in packed 422 -> planar 420.
...
Originally committed as revision 29029 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Michael Niedermayer
9326d3f355
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.
Originally committed as revision 29003 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Michael Niedermayer
0411072ee3
Unscaled converters for
...
YUYV->YUV420P
YUYV->YUV422P
UYVY->YUV420P
UYVY->YUV422P
Originally committed as revision 28997 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Reimar Döffinger
62651fa729
Fix libswscale compilation on non-x86, hopefully without breaking MinGW64 again.
...
Originally committed as revision 28996 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Ramiro Polla
d0ce212a7a
Do not assume long is same width as x86 register.
...
Originally committed as revision 28992 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Cédric Schieli
a284d03093
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
16 years ago
Cédric Schieli
f8a138be52
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
16 years ago
Diego Biurrun
f4406ec177
HAVE_3DNOW --> HAVE_AMD3DNOW to sync with latest configure changes.
...
Originally committed as revision 28358 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
Reimar Döffinger
217d820253
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
16 years ago
Diego Biurrun
aeb87a49a7
cosmetics: typo fix
...
Originally committed as revision 27816 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Diego Pettenò
7ad6469eae
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
requiring further command-line options).
Sun Studio C99 compiler also does not accept asm() while accepting
__asm__(), albeit reporting warnings that it's not valid C99 synta.
Originally committed as revision 27778 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Diego Pettenò
faf6112e26
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
16 years ago
Luca Barbato
7cff2c7f44
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
16 years ago
Diego Biurrun
02a6a6eea4
Use HAVE_FAST_64BIT instead of nonstandard __WORDSIZE macro.
...
Originally committed as revision 27720 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Diego Biurrun
0d696d34ef
Remove MPlayer-specific MP_WORDSIZE hack.
...
Originally committed as revision 27698 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Baptiste Coudurier
a6100f39a1
enable yuv422p to uyvy converter
...
Originally committed as revision 27527 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Michael Niedermayer
6107059c2c
rgb vs bgr fix for the unscaled converters.
...
Originally committed as revision 27518 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 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
Baptiste Coudurier
ce3d365f2f
restore needed cast to correct type with const
...
Originally committed as revision 26957 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
Baptiste Coudurier
994c1ef014
add const, suppress warnings
...
Originally committed as revision 26942 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
Baptiste Coudurier
baf7f7c64a
remove useless casts
...
Originally committed as revision 26941 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago