ramiro
878623ad28
MMX2 scaler: factorize initMMX2Scaler().
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29453 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-07-28 05:42:46 +00:00
ramiro
7b6fecc8b3
MMX2 scaler: add variable to ease factorization of initMMX2Scaler().
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29452 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-07-28 05:41:22 +00:00
ramiro
e0af29f2c3
Indent.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29451 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-07-28 05:14:47 +00:00
ramiro
ddbb0bc0db
Remove duplicate horizontal scaling when there aren't enough lines in a slice
...
to output the dstY line.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29450 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-07-28 05:13:36 +00:00
ramiro
deb168fc34
Remove useless code.
...
flags can never be any other kind of scaling algorithm inside this if().
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29449 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-07-28 04:46:39 +00:00
ramiro
53d5120152
Do not misuse HAVE_ defines. Introduce COMPILE_TEMPLATE_ defines and use them
...
instead.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29446 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-07-27 06:47:41 +00:00
ramiro
d7a50940f7
Factorize x86 fast_bilinear assembly.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29445 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-07-27 06:22:00 +00:00
ramiro
a7c8120418
Fix assembly comments for x86 fast_bilinear so they match the C code.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29444 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-07-27 06:20:17 +00:00
mru
b3186ed071
Replace WORDS_BIGENDIAN with HAVE_BIGENDIAN
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29439 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-07-26 12:26:32 +00:00
mru
623a2c32b9
Remove unnecessary #include <unistd.h>
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29437 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-07-23 15:23:03 +00:00
ramiro
3490d7cbfa
Remove unused variables.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29435 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-07-21 20:17:15 +00:00
ramiro
1351150b15
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.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29415 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-07-09 02:27:39 +00:00
diego
cd6a9ea77a
The AltiVec code in libswscale no longer is under GPL.
...
Remove one erroneous preprocessor check for CONFIG_GPL in the AltiVec code.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29412 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-07-05 20:10:59 +00:00
mru
ea03c9b95a
Use enum PixelFormat in sws_format_name() prototype
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29409 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-07-01 12:40:28 +00:00
diego
114b73816f
AltiVec code and runtime cpudetect do not require CONFIG_GPL.
...
Make sure the latter is only checked for x86 optimizations, which are GPL.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29390 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-06-25 20:06:03 +00:00
diego
e4ac99c4db
The AltiVec optimizations of libswscale are no longer under GPL.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29389 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-06-25 11:27:36 +00:00
diego
052fee1295
PPC: Make sure that COMPILE_C is not deactivated if RUNTIME_CPUDETECT is set.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29388 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-06-25 10:14:05 +00:00
vitor
990a1eb471
Do not call rgb2rgbWrapper() for rgb48*, there is no special converter
...
yet for those formats
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29371 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-06-17 18:40:19 +00:00
ramiro
79cbf2cc39
Kill warnings of possibly unused variables by using av_unused.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29355 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-06-11 17:10:54 +00:00
diego
3971067764
Fix compilation: #undef standard library functions that are
...
forbidden within FFmpeg, but allowed in example code.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29354 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-06-11 15:15:43 +00:00
diego
0fa66fd738
Add libavutil/internal.h #include, required for the DECLARE_ALIGNED macro.
...
This fixes swscale-example compilation.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29353 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-06-11 10:19:04 +00:00
stefano
825adf684d
Remove '\p' doxygen markup, as it should improve plain text doxy
...
readability.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29351 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-06-06 09:37:46 +00:00
ramiro
594de0a0dd
Use DECLARE_ALIGNED macro instead of __attribute__((aligned)) for ppc code.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29350 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-06-04 22:50:38 +00:00
ramiro
0318aa32cf
Replace more uses of __attribute__((aligned)) by DECLARE_ALIGNED.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29349 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-06-04 22:10:52 +00:00
ramiro
b12a88e01d
Use DECLARE_ALIGNED macro instead of gcc __attribute__.
...
Patch by Pavel Pavlov <pavel at summit-tech dot ca>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29348 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-06-04 21:55:52 +00:00
kostya
570d0b83bd
Testing RGB48 variants requires bigger stride in swscale-example.c
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29343 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-06-02 15:35:58 +00:00
kostya
615d3ead23
YUV into RGB48 BE/LE conversion support
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29342 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-06-02 12:30:11 +00:00
kostya
071cdc07aa
Partial (low bits ignored, no direct transcoding into other RGB formats) support
...
for inputting RGB48BE/LE.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29341 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-06-02 12:28:49 +00:00
kostya
f7d2053641
Move colorspace conversion functions implemented in pure C from template
...
into swscale.c
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29320 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-25 16:42:54 +00:00
kostya
5b29003e0c
Let SwScaler know that RGB48 BE/LE is 16-bits per component format.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29317 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-19 17:37:58 +00:00
kostya
3da99d2524
Make SwScaler recognize RGB48 BE/LE colourspaces (not support though).
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29316 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-19 17:26:22 +00:00
diego
f46dc0b514
Add const qualifier to param argument of sws_getContext() and
...
sws_getCachedContext(). Fixes the warning:
swscale.c:3408: warning: assignment discards qualifiers from pointer target type
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29288 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-10 14:00:00 +00:00
diego
859c7ee1e3
Move preprocessor condition before variable declaration, fixes the warning:
...
libswscale/swscale.c:1795: warning: unused variable 'flags'
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29287 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-10 11:37:04 +00:00
diego
e4c9161560
Add missing const qualifiers to AltiVec function parameters where appropriate.
...
Fixes a couple of 'discards qualifiers from pointer target type' warnings.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29281 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-09 10:56:37 +00:00
vitor
19c12794ad
Fix sliced yuv410 -> yuv420 conversion
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29272 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-07 20:41:04 +00:00
michael
271357149a
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.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29256 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-05 01:34:16 +00:00
sdrik
1a132a4acd
Fix chroma shift when scaling from ARGB on LE and BGRA on BE
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29242 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-02 08:40:53 +00:00
sdrik
c8509646d5
Remove useless duplicated code in yuv2rgb_c_32, yuva2rgba_c and yuva2argb_c
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29240 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-27 14:25:44 +00:00
cehoyos
ca205c9d8f
Make reset_ptr() void.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29229 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-23 22:19:53 +00:00
michael
7a07a0fcb0
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.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29217 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-21 01:08:03 +00:00
michael
b724d63b87
Merge gray->gray converters into planarCopy(), this should also make planarCopy()
...
useable for other 16bit formats once we support them.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29216 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-21 00:08:06 +00:00
michael
56702531e2
Add macro to check for 16bit per sample.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29215 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-21 00:03:00 +00:00
michael
9cdb6b4821
Make sure src/dst are NULL when they arent used, some code uses this to
...
simpify checks.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29214 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-21 00:01:59 +00:00
michael
1423dd2165
Use generic BE check instead of checking for gray16LE.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29213 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-20 21:05:32 +00:00
michael
36fd4baa05
add isBE()
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29212 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-20 21:04:55 +00:00
michael
abfb150159
Remove 2 useless += at the end of rgb16to15(), found by CSA.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29189 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-18 22:27:36 +00:00
stefano
9be7c4ad97
Rename swscale_avoption.c to options.c.
...
Consistent with lavc and lavf.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29188 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-18 13:52:00 +00:00
stefano
d5b3f76234
Make sws_setColorspaceDetails() return -1 if the destination format is
...
not supported.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29187 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-18 11:53:59 +00:00
stefano
685890259f
Move sws_[gs]etColorspaceDetails() documentation from swscale.c to
...
swscale.h.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29186 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-18 11:45:31 +00:00
diego
f97bdd7504
whitespace cosmetics: Break some overly long lines.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29180 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-14 14:39:04 +00:00
sdrik
d323bf6135
Do not use abgrToA for both luma and alpha channel in hyscale.
...
This fixes RGB32 (et al.) scaling.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29179 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-14 14:11:57 +00:00
diego
e72dc59c77
Move addition of MMX-OBJS to OBJS into common.mak instead of duplicating it.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29175 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-12 22:49:58 +00:00
diego
0160ed61b3
whitespace cosmetics: Reindent a few lines and break a few excessively long lines.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29174 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-12 22:43:03 +00:00
ramiro
ca242e5f73
Rename RUNTIME_CPUDETECT to CONFIG_RUNTIME_CPUDETECT and always define it.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29154 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-08 20:21:21 +00:00
ramiro
b2baebacd3
swscale: Remove X86 commented out code.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29149 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-05 19:17:53 +00:00
ramiro
9442096523
swscale: Use function pointers for swScale functions.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29145 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-04 22:45:02 +00:00
ramiro
f89e6c2334
swscale: {}-related cosmetics.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29144 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-04 22:43:24 +00:00
ramiro
8b6298459d
swscale: Add const to some swScale functions' parameters.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29143 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-04 22:41:46 +00:00
ramiro
96323d1d5d
swscale: Remove mmx2 params from h[yc]scale().
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29129 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-02 18:34:11 +00:00
ramiro
9574441a1c
swscale: Split h[yc]scale_fast() into their own functions.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29128 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-02 18:32:49 +00:00
ramiro
755c96e953
swscale: Execute sfence and emms depending on runtime flags.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29127 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-02 18:31:22 +00:00
mru
32739e5d34
Make examples and test progs depend on libraries
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29119 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-01 00:54:23 +00:00
diego
1967c9844f
Add missing $(EXESUF) to example/test program dependency declaration.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29114 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-31 16:52:24 +00:00
reimar
e0fb449076
Use correct PRId64 instead of "lld" in printf string, fixes compiler warnings.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29107 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-30 12:23:28 +00:00
diego
c3cf2ce654
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.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29100 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-29 14:35:38 +00:00
diego
04327ae83a
Move swscale AltiVec template code to ppc subdirectory.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29099 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-29 14:18:44 +00:00
diego
f9aefa045f
Relicense file to LGPL with the permission of Romain Dolbeau, the author.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29097 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-29 13:47:30 +00:00
ramiro
0fb8cdfd14
Move bfin specific code to its subdir.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29079 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-27 22:56:56 +00:00
diego
88240c7465
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.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29067 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-26 14:20:15 +00:00
ramiro
ab921d2cb6
Move yuv2rgb code to subdirs.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29063 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-26 01:30:10 +00:00
diego
46a7d5679b
swscale-example is an API example, not a test program.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29056 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-25 18:08:52 +00:00
sdrik
05698d8a5c
Adds "YUYV422 to YUVA420P" and "UYVY422 to YUVA420P" unscaled convertion
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29048 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-24 07:11:35 +00:00
sdrik
311a555a59
Fix some places where "non-alpha to YUVA420P" do not fill the alpha plane
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29047 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-24 07:10:19 +00:00
sdrik
e7d0a352fc
Simpler and more elegant fix to the x86_32/OSX+PIC build failure
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29046 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-24 07:09:19 +00:00
diego
f0f8ff29b4
Rename 'tests' target to 'testprogs'. It is too easily confused with the
...
'test' target and a directory named tests exists.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29039 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-22 23:15:54 +00:00
diego
f5accb8d0e
Remove unnecessary CLEANFILES declaration. Test programs do not require it.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29038 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-22 23:09:20 +00:00
michael
f5dbce7baa
Enable unscaled packed422 -> planar 420 converters by default as the
...
imgconvert inherited quality issues should be fixed.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29031 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-21 23:59:02 +00:00
michael
5c31b70263
10l (C code was buggy and untested)
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29030 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-21 23:52:34 +00:00
michael
855ea7b7b7
Average chroma of 2 lines in packed 422 -> planar 420.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29029 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-21 23:45:20 +00:00
sdrik
3349369dfa
Fix build failure on x86_32 Mac OS X with PIC enabled
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29022 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-21 12:16:32 +00:00
reimar
3a4d381663
Fix planarCopy to ignore the GRAY8 "pseudo"-palette, fixes libavtest regression test.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29021 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-21 10:20:16 +00:00
reimar
a0a1ec417c
Avoid crash on planarCopy to a destination without alpha.
...
Makes regression tests run again, though the results are still wrong.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29018 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-20 17:22:03 +00:00
benoit
664d12c7be
Initialize pointer arrays which may be freed before being initialized.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29017 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-20 16:29:47 +00:00
reimar
902bcf5fbd
Do _not_ use rbx on x86_64, it will fail to compile with PIC, besides it
...
added completely pointless code.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29016 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-20 16:23:48 +00:00
reimar
1c91e6157f
Fix swscale compilation with Altivec enabled.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29015 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-20 16:12:03 +00:00
sdrik
dbf1674a34
Reindent after last commit
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29014 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-20 14:44:26 +00:00
sdrik
3f89e7414e
Also test the alpha channel in swscale-example
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29013 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-20 14:17:20 +00:00
sdrik
751f5dcd87
YUVA420P is now supported as output format
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29012 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-20 14:16:24 +00:00
sdrik
57fda37dbb
Add alpha channel scaling
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29011 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-20 14:15:14 +00:00
sdrik
6667f198c2
Add YUVA420P -> RGBA/BGRA/ARGB/ABGR unscaled converters
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29010 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-20 14:14:28 +00:00
sdrik
218c79a44d
Use a simpler and more general check for the gray case in the planarCopy function
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29009 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-20 14:01:51 +00:00
diego
e7c09a0f2b
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
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29008 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-19 23:33:35 +00:00
cehoyos
6130d5c9b1
Remove useless casting in asm "m" operand.
...
Patch by Matthieu Castet, castet D matthieu A free D fr
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29007 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-19 23:29:19 +00:00
ramiro
bf1cf8da02
Allocate executable memory with VirtualAlloc() in Windows.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29006 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-19 21:52:44 +00:00
ramiro
2826ad5e40
Drop unnecessary cast and cosmetically align.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29005 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-19 21:50:10 +00:00
michael
69f8493034
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.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29003 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-19 15:02:44 +00:00
michael
3b59217d12
Fix 10l typo.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29002 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-19 14:04:14 +00:00
michael
1494e46fcf
Unscaled converters for
...
YUYV->YUV420P
YUYV->YUV422P
UYVY->YUV420P
UYVY->YUV422P
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28997 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-19 03:45:29 +00:00
reimar
2da9fd7640
Fix libswscale compilation on non-x86, hopefully without breaking MinGW64 again.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28996 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-18 22:11:50 +00:00
ramiro
7fcbe59d3f
swscale-example: use LFG instead of random()
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28993 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-18 17:12:44 +00:00