Ramiro Polla
10a7d21672
Rename RUNTIME_CPUDETECT to CONFIG_RUNTIME_CPUDETECT and always define it.
...
Originally committed as revision 29154 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Ramiro Polla
dd4090256c
swscale: Remove X86 commented out code.
...
Originally committed as revision 29149 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
14d5c18c98
swscale: {}-related cosmetics.
...
Originally committed as revision 29144 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Ramiro Polla
7ac4032784
swscale: Add const to some swScale functions' parameters.
...
Originally committed as revision 29143 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Ramiro Polla
95b5770bc7
swscale: Remove mmx2 params from h[yc]scale().
...
Originally committed as revision 29129 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Ramiro Polla
392b656764
swscale: Split h[yc]scale_fast() into their own functions.
...
Originally committed as revision 29128 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Ramiro Polla
5b7c7dd329
swscale: Execute sfence and emms depending on runtime flags.
...
Originally committed as revision 29127 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Måns Rullgård
99cc563f26
Make examples and test progs depend on libraries
...
Originally committed as revision 29119 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Diego Biurrun
e7f98e4e94
Add missing $(EXESUF) to example/test program dependency declaration.
...
Originally committed as revision 29114 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
Diego Biurrun
4b086e7f21
Generalize example target rule in common.mak so that it sets a -example$(EXESUF)
...
suffix for all example files instead of doing this in individual Makefiles.
Originally committed as revision 29100 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Diego Biurrun
009d2d74c2
Move swscale AltiVec template code to ppc subdirectory.
...
Originally committed as revision 29099 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Diego Biurrun
4d02387f74
Relicense file to LGPL with the permission of Romain Dolbeau, the author.
...
Originally committed as revision 29097 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
Diego Biurrun
66e6aec589
Rename cs_test.c --> colorspace-test.c. This is more consistent with the names
...
of other test programs and more descriptive of what the program does.
Originally committed as revision 29067 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
Diego Biurrun
e43f34bd44
swscale-example is an API example, not a test program.
...
Originally committed as revision 29056 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Cédric Schieli
4626ee1a8c
Adds "YUYV422 to YUVA420P" and "UYVY422 to YUVA420P" unscaled convertion
...
Originally committed as revision 29048 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Cédric Schieli
08218e6d83
Fix some places where "non-alpha to YUVA420P" do not fill the alpha plane
...
Originally committed as revision 29047 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Cédric Schieli
0928f1eb53
Simpler and more elegant fix to the x86_32/OSX+PIC build failure
...
Originally committed as revision 29046 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Diego Biurrun
9e12268c57
Rename 'tests' target to 'testprogs'. It is too easily confused with the
...
'test' target and a directory named tests exists.
Originally committed as revision 29039 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Diego Biurrun
f1c5438fbb
Remove unnecessary CLEANFILES declaration. Test programs do not require it.
...
Originally committed as revision 29038 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Michael Niedermayer
ff8084cf1c
Enable unscaled packed422 -> planar 420 converters by default as the
...
imgconvert inherited quality issues should be fixed.
Originally committed as revision 29031 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
Cédric Schieli
986b6f8f73
Fix build failure on x86_32 Mac OS X with PIC enabled
...
Originally committed as revision 29022 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Reimar Döffinger
6f34808691
Fix planarCopy to ignore the GRAY8 "pseudo"-palette, fixes libavtest regression test.
...
Originally committed as revision 29021 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Reimar Döffinger
20ddf5a8e4
Avoid crash on planarCopy to a destination without alpha.
...
Makes regression tests run again, though the results are still wrong.
Originally committed as revision 29018 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
Reimar Döffinger
04ef1d3f7b
Do _not_ use rbx on x86_64, it will fail to compile with PIC, besides it
...
added completely pointless code.
Originally committed as revision 29016 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Reimar Döffinger
d55ef6362f
Fix swscale compilation with Altivec enabled.
...
Originally committed as revision 29015 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Cédric Schieli
3164d25e19
Reindent after last commit
...
Originally committed as revision 29014 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
Cédric Schieli
6268f55be5
YUVA420P is now supported as output format
...
Originally committed as revision 29012 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
Cédric Schieli
3acd545f0c
Add YUVA420P -> RGBA/BGRA/ARGB/ABGR unscaled converters
...
Originally committed as revision 29010 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Cédric Schieli
f6cf4ed08a
Use a simpler and more general check for the gray case in the planarCopy function
...
Originally committed as revision 29009 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
Matthieu Castet
e29c3f934f
Remove useless casting in asm "m" operand.
...
Patch by Matthieu Castet, castet D matthieu A free D fr
Originally committed as revision 29007 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Ramiro Polla
dd35beb29b
Allocate executable memory with VirtualAlloc() in Windows.
...
Originally committed as revision 29006 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Ramiro Polla
16a3717f8d
Drop unnecessary cast and cosmetically align.
...
Originally committed as revision 29005 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
72ef3dd72e
Fix 10l typo.
...
Originally committed as revision 29002 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
9a034dde8b
swscale-example: use LFG instead of random()
...
Originally committed as revision 28993 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
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
d4da3e4790
Add a fillPlane function to fill a plane with one constant value
...
Originally committed as revision 28986 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago