Stefano Sabatini
82e5f86bd5
Implement shuffle_bytes_abcd() functions and use them for shuffling
...
bytes when converting between RGB32 variants.
In particular fix the argb -> rgba and abgr -> bgra conversions.
See the thread:
Subject: [FFmpeg-devel] [RFC] RGB32 / BGR32 ethernal bug
Date: Tue, 26 Jan 2010 01:06:18 +0100
Originally committed as revision 30501 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
Ramiro Polla
7d73d1c336
Indent.
...
Originally committed as revision 29654 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 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
16 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
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
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
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
Diego Biurrun
1599c47ce3
Remove commented-out duplicate declarations.
...
Originally committed as revision 28058 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Diego Biurrun
2ef8819c9a
Remove unused declarations.
...
Originally committed as revision 28057 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Vitor Sessak
522ce95786
Fix broken palette8to*.
...
Originally committed as revision 27817 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
17 years ago
Michael Niedermayer
7372e9bbe5
Fix 4 of the unscaled rgb15/16 converters, each of these contained
...
2-3 bugs each of which made it fail completely, this code clearly
has never been tested and been written by somone who knows the
difference between a potato and a computer is that the first is round.
Originally committed as revision 27519 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 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
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
Baptiste Coudurier
72d6b61074
remove useless casts
...
Originally committed as revision 26944 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
Baptiste Coudurier
774c386a10
add const, suppress warnings
...
Originally committed as revision 26943 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
Reimar Döffinger
5802683a97
Make some assembler constants global instead of declaring them multiple times.
...
Originally committed as revision 25910 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
Reimar Döffinger
d334c7c237
Use DECLARE_ASM_CONST where possible in libswscale code
...
Originally committed as revision 25903 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
Benoit Fouet
30c48a0af4
Cosmetics: whitespaces
...
Originally committed as revision 25778 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
Diego Biurrun
b19bcbaa78
license header consistency cosmetics
...
Originally committed as revision 23722 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
18 years ago
Diego Biurrun
4d7b302c0d
Remove redundant fastmemcpy.h #include, it is indirectly #included by avutil.h.
...
Originally committed as revision 23400 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
18 years ago
Diego Biurrun
6e42e6c4b4
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
18 years ago
Diego Biurrun
6a4970abd1
cosmetics: Remove trailing whitespace.
...
Originally committed as revision 23147 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
18 years ago
Ivo van Poorten
19b202f9d1
fix red_15mask and green_15mask. the previous values were wrong and caused
...
some SIMD functions to output wrong data.
Originally committed as revision 23021 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
18 years ago
Ivo van Poorten
ea70817379
cosmetics after last commit; remove superfluous braces
...
Originally committed as revision 22979 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
18 years ago
Ivo van Poorten
df170b81d9
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
gets its own initialization function. Those are called from the main
sws_rgb2rgb_init function, if applicable.
Originally committed as revision 22978 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
18 years ago
Diego Biurrun
10ef990d96
cosmetics: typo pallete --> palette
...
Originally committed as revision 21892 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
18 years ago
Luca Abeni
9bde778e73
Allow to compile swscale's non-SIMD code under the LGPL license.
...
Since mplayer always define CONFIG_GPL, this commit should not change
anything for mplayer.
Originally committed as revision 21699 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
18 years ago
Luca Abeni
807e0c6645
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
18 years ago
Diego Biurrun
3d6a30d948
Use common define for x86_32 and x86_64.
...
Originally committed as revision 20592 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
18 years ago
Diego Biurrun
d026b45e73
Change license headers to say 'FFmpeg' instead of 'this program'.
...
Originally committed as revision 20100 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
18 years ago
Diego Biurrun
4fadc2b4f1
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
19 years ago
Diego Biurrun
49a0122c99
Fix compilation with MMX disabled, the mmx_null and mmx_one constants don't need to
...
be protected by HAVE_MMX.
Originally committed as revision 19367 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
19 years ago
Diego Biurrun
dbdae6ec54
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
19 years ago
Diego Biurrun
6979600818
Comment some #endif lines.
...
Originally committed as revision 19211 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
19 years ago
Luca Abeni
94c4def23c
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
19 years ago
Luca Abeni
73435f006b
Move postproc ---> libswscale
...
Originally committed as revision 18866 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
19 years ago
Diego Biurrun
c9fa86df9d
cosmetics: indentation fixes
...
Originally committed as revision 17588 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
19 years ago
Alan Curry
f688668c3c
Fix big-endian color permutation problems.
...
patch by Alan Curry, pacman_at_TheWorld_dot_com
Originally committed as revision 17587 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
19 years ago
Diego Biurrun
b2d374c958
Unify include paths, -I.. is in CFLAGS.
...
Originally committed as revision 16986 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
19 years ago
Reimar Döffinger
7f526efd17
Change unsigned->signed and int->long, this fits the asm code better on 64
...
bit systems.
Also fixes several crashes because (long)-i is incorrect if i is unsigned.
Originally committed as revision 16740 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
19 years ago
Nicolas Plourde
f8c1d62d74
fix palette8tobgr32/palette8torgb32 on big endian
...
Originally committed as revision 15278 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
20 years ago
Aurelien Jacobs
6e1c66bc06
adapting existing mmx/mmx2/sse/3dnow optimizations so they work on x86_64
...
Originally committed as revision 13721 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
20 years ago
Matthieu Castet
db7a2e0d17
attribute_used patch by (matthieu castet <castet.matthieu at free dot fr>)
...
Originally committed as revision 12302 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
21 years ago
Michael Niedermayer
abdcd3379a
1E10l
...
#undef ARCH_X86
...
#ifdef ARCH_X86
...
#define ARCH_X86
...
#endif
Originally committed as revision 11072 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
22 years ago
Alex Beregszaszi
caeaabe7d0
uyvy output support in swscaler
...
Originally committed as revision 11069 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
22 years ago