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
Diego Biurrun
dc8229015c
Fix compilation: #undef standard library functions that are
...
forbidden within FFmpeg, but allowed in example code.
Originally committed as revision 29354 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Kostya Shishkov
5d5a8813fc
Testing RGB48 variants requires bigger stride in swscale-example.c
...
Originally committed as revision 29343 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Reimar Döffinger
4ed886430c
Use correct PRId64 instead of "lld" in printf string, fixes compiler warnings.
...
Originally committed as revision 29107 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Benoit Fouet
1cd98da820
Initialize pointer arrays which may be freed before being initialized.
...
Originally committed as revision 29017 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Cédric Schieli
110f147a85
Also test the alpha channel in swscale-example
...
Originally committed as revision 29013 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Diego Biurrun
54ea773614
Initialize *srcContext, *dstContext, *outContext to NULL, avoids the warnings:
...
libswscale/swscale-example.c:60: warning: 'outContext' may be used uninitialized in this function
libswscale/swscale-example.c:60: warning: 'dstContext' may be used uninitialized in this function
libswscale/swscale-example.c:60: warning: 'srcContext' may be used uninitialized in this function
Originally committed as revision 29008 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Ramiro Polla
9a034dde8b
swscale-example: use LFG instead of random()
...
Originally committed as revision 28993 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Diego Biurrun
3d021dd6eb
Remove unnecessary emms Assembler instructions.
...
Originally committed as revision 28518 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Diego Biurrun
945f7c6e92
Revert #undefining system functions, it is not necessary.
...
Originally committed as revision 28502 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Diego Biurrun
516c5f88a1
Add config.h #include for ARCH_X86 definition.
...
Originally committed as revision 28500 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Diego Biurrun
84205e0239
Add #undefs to reenable system functions that are normally forbidden in other
...
parts of FFmpeg but OK in this test program. Fixes the build.
Originally committed as revision 28499 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
Michael Niedermayer
b29e65513c
Remove rgb2rgb.h dependancy.
...
Originally committed as revision 27835 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 Biurrun
92ca910542
Remove unused function fast_memcpy.
...
Originally committed as revision 27673 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Diego Biurrun
ed2164f37e
cosmetics: indentation
...
Originally committed as revision 27672 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Michael Niedermayer
8335a9f0cb
Revert mistakely commited hunk.
...
Originally committed as revision 27671 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Michael Niedermayer
0473e31faa
Print all cases that are tested, not just the ones that are bad.
...
Originally committed as revision 27670 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Michael Niedermayer
ae9e0e8391
Add fflush to prevent stdout & stderr from being mixed.
...
Originally committed as revision 27515 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 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
Diego Biurrun
54e3ae2ea6
Relicense test/example files as LGPL with Michael's permission.
...
Originally committed as revision 26429 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
Benoit Fouet
1b0a4572f4
Change (a == NULL) condition to (!a) and (a != NULL) condition to (a).
...
Originally committed as revision 25780 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
Benoit Fouet
8916b4b55b
Remove some useless parentheses.
...
Originally committed as revision 25779 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
Benoit Fouet
e5091488a5
Remove non cosmetic spaces inside parentheses.
...
Originally committed as revision 25777 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
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
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
Marc Hoffman
26cdb9a2aa
Remove large automatics from stack.
...
patch by Marc Hoffman, mmh pleasantst com
Originally committed as revision 23117 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
632d873994
Fix warnings:
...
swscale-example.c:87: warning: implicit declaration of function 'sws_format_name'
swscale-example.c:214: warning: implicit declaration of function 'sws_rgb2rgb_init'
Originally committed as revision 20037 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
18 years ago
Luca Abeni
87656472f4
Improve swscale-example to test conversions between all the possible
...
pixel formats
Originally committed as revision 19965 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
18 years ago
Luca Abeni
e9e12f0e11
Remove the dependency of libswscale on img_format.h
...
Originally committed as revision 19878 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
18 years ago
Diego Biurrun
db3924f1fd
Explicitly include libmpcodecs/img_format.h and libvo/fastmemcpy.h.
...
Originally committed as revision 19437 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
Alan Curry
999bbe8367
make swscale-example compile patch by (Alan Curry <pacman TheWorld com>)
...
Originally committed as revision 17632 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
19 years ago
Diego Biurrun
660204c65c
Update licensing information: The FSF changed postal address.
...
Originally committed as revision 17368 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
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
Alex Beregszaszi
27161c0630
non-x86 support
...
Originally committed as revision 10173 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
22 years ago
Michael Niedermayer
700490a4d1
remove remaining cpudetect dependancy
...
Originally committed as revision 9988 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
22 years ago
Michael Niedermayer
516b1f82ac
removing sws - global verbose var dependancy
...
removing sws - cpudetect dependancy (note rgb2rgb still needs it)
moving mplayer specific stuff from swscale.c -> vf_scale.c
Originally committed as revision 9976 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
22 years ago
Michael Niedermayer
c9b99ea661
mplayer idependant (not really yet) swscale example
...
Originally committed as revision 9922 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
22 years ago