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
ramiro
72e3d88202
Do not assume long is same width as x86 register.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28992 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-18 17:07:30 +00:00
diego
a186cc5523
Consistently use ff_ prefixes for internal symbols.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28988 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-18 08:06:08 +00:00
sdrik
0ddee949da
Add a fillPlane function to fill a plane with one constant value
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28986 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-17 19:53:36 +00:00
sdrik
baf5ee6d67
Don't write outside of the picture buffer in planarCopy in the gray case
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28985 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-17 19:51:52 +00:00
diego
972614cb38
Fix ff_bfin_yuv2rgb_get_func_ptr() vs. sws_ff_bfin_yuv2rgb_get_func_ptr() name
...
mismatch. The function is now called sws_yuv2rgb_get_func_ptr_bfin().
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28982 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-17 12:05:56 +00:00
diego
2e7a366dd9
whitespace cosmetics: Consistently format function calls without space
...
between name and parentheses; shorten some overly long lines.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28981 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-17 11:52:39 +00:00
sdrik
6be0336c0d
Add an alpha parameter to the YUV2RGBFUNC macro to ease the upcoming yuva2rgb patch
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28978 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-16 20:04:32 +00:00
sdrik
c77884b8ed
Split YUV2RGB operands declaration into a separate macro
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28972 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-16 08:29:40 +00:00
sdrik
4acac0faf5
Make the source buffer operands parametrized in the YSCALEYUV2RGB_YA macro
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28943 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-14 08:11:03 +00:00
sdrik
437ee8cc61
Make MMX registers parametrized in the YSCALEYUV2PACKEDX_YA macro
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28934 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-11 14:44:22 +00:00
sdrik
7fee9f0101
In initMMX2HScaler, when chrDstW is not divisible by 4, the last filterPos element is initialized on the wrong index (not evenly aligned). This fixes it
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28933 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-11 14:22:53 +00:00
kostya
72304af23b
Mask all unused bits for packed pixel format instead of green and alpha mask only.
...
That fixes the case when converting 15-bit RGB/BGR to YUV and high bit is set
for input value(s).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28916 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-09 17:25:43 +00:00
sdrik
052223b195
Let the 4th plane reach the swScale function
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28868 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-07 09:39:48 +00:00
sdrik
b099db94af
YUVA420P is a planar YUV format
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28867 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-07 09:37:25 +00:00
sdrik
71cc30d9d5
Fix bug introduced by me in r28756
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28825 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-05 21:02:33 +00:00
sdrik
a0b901212b
Rewrite of rgb15to32 and rgb16to32 using fewer asm instructions and setting alpha channel to 0xFF
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28808 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-04 19:12:49 +00:00
henry
db234369ff
remove the rest of x86 asm from LGPL build
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28804 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-03 19:47:23 +00:00
rathann
014b0d3f51
Fix typo in comments.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28777 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-01 11:43:56 +00:00
reimar
824077b987
Add warnings to yuv2rgb_vis.c because alpha is set wrong (0 instead of 255).
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28776 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-01 11:38:46 +00:00
reimar
fb888843d8
Make AltiVec code write alpha as 255 instead of 0 when converting to RGBA
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28774 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-01 11:35:00 +00:00
reimar
25a27fd17a
Fix braindead and broken way to calculate abase, fixes regression tests on
...
big-endian systems.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28773 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-01 11:33:10 +00:00
sdrik
3a81bf82a0
When converting from a non alpha format to an alpha format, defaults to all ones rather than all zeroes
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28756 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-28 08:01:52 +00:00
sdrik
f3ea1ffd7b
Add an isALPHA macro to check if pixel format has alpha channel
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28747 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-27 22:23:20 +00:00
sdrik
255c11b745
Use YUV420P code path for YUVA420P where appropriate
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28746 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-27 22:13:55 +00:00
cehoyos
f9d981ad92
Refactor code for upcoming alpha patches.
...
Patch by Cédric Schieli, cschieli A gmail
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28741 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-27 20:44:59 +00:00
diego
e1724e3000
Rename yuv2rgb2.c --> yuv2rgb.c.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28723 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-24 22:40:20 +00:00
diego
b699efe1a6
Relicense AltiVec optimizations as LGPL with the permission of Marc Hoffman
...
and Reza Jelveh, the original authors.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28717 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-24 15:27:14 +00:00
diego
9e540cc708
Remove GPL version of yuv2rgb.c that has been replaced by an LGPL substitute.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28716 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-24 14:50:28 +00:00
kostya
c548a42f3c
New LGPLed YUV2RGB table generator for SwScaler
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28700 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-22 09:22:05 +00:00
cehoyos
a9abd00be4
Factorize some code in yuv2rgb_template.c to ease further yuva2rgb patch.
...
Patch by Cédric Schieli, cschieli gmail
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28690 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-21 14:51:01 +00:00
stefang
d7c0bde0e1
move zeroing of alpha channel register out of YSCALEYUV2xxx macros,
...
patch by Cédric Schieli (cschieli at gmail youknowwhat)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28687 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-21 10:54:29 +00:00
stefang
3d263a0ae5
splits various YSCALEYUV2xxx macros into YSCALEYUV2xxx_UV,
...
YSCALEYUV2xxx_YA and YSCALEYUV2xxx_COEFF,
patch by Cédric Schieli (cschieli at gmail youknowwhat)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28686 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-21 10:52:59 +00:00
stefang
52e18fdc4f
make MMX registers parametrized in the WRITEBGR32 macro,
...
patch by Cédric Schieli (cschieli at gmail youknowwhat)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28685 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-21 10:49:52 +00:00
stefano
908286b437
Rename the "src" parameter in the sws_scale() declaration to
...
"srcSlice" to stress the fact that it references a slice rather than an
image.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28655 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-18 23:16:31 +00:00
stefano
ddd68248fe
Document sws_scale().
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28654 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-18 23:11:47 +00:00
stefano
e45206dc2e
Use sws_printVec2() instead of the deprecated sws_printVec().
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28567 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-14 20:18:50 +00:00
stefano
0137ac7075
Implement sws_printVec2() and deprecate sws_printVec().
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28566 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-14 20:14:28 +00:00
stefano
bf1bcca299
Document sws_normalizeVec().
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28565 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-14 19:37:13 +00:00
kostya
0605488897
Make hScale_altivec_real() trim its output like other implementations do
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28556 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-14 16:39:15 +00:00
kostya
919b7aef26
Some AltiVec functions in SwScaler produce different output than their
...
counterparts in pure C, so don't invoke them in bitexact mode.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28555 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-14 16:37:39 +00:00
stefano
379b176f25
Apply misc fixes for sws_getCachedContext() documentation.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28537 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-12 00:12:10 +00:00
stefano
7342791ae6
Bump micro version, related to r28491.
...
See the thread:
"[FFmpeg-devel] [PATCH] Explicitely declare {dst, src}Format sws_get*Context() params as enum PixelFormat".
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28536 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-12 00:07:44 +00:00
stefano
6185600f50
Document sws_getContext().
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28535 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-11 23:42:29 +00:00
stefano
f9e26397b7
Document sws_getIdentityVec().
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28533 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-11 21:34:44 +00:00
stefano
22131f75ee
Move sws_getGaussianVec() documentation from swscale.c to swscale.h.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28528 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-10 23:45:50 +00:00
stefano
87befb386e
Document sws_cloneVec().
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28527 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-10 23:43:08 +00:00
stefano
11827cc89f
Fix typo: lenght -> length.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28526 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-10 23:40:58 +00:00
stefano
bea91aaf7b
Document sws_scaleVec().
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28525 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-10 23:38:01 +00:00
stefano
6ea82ed46c
Document sws_getConstVec().
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28524 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-10 23:32:16 +00:00
stefano
2bf95acee3
Move documentation of sws_getCachedContext() from swscale.c to
...
swscale.h.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28523 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-10 23:26:56 +00:00
stefano
796ecba6bc
Remove pointless comment regarding sws_scale_ordered().
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28522 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-10 23:25:09 +00:00
stefano
5bc2baa01e
Add a @deprecated notice to swscale_get_ordered().
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28521 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-10 23:22:07 +00:00
diego
373df2e9e5
Remove unnecessary emms Assembler instructions.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28518 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-10 02:00:45 +00:00
stefano
832dbfeaa3
Document coeff and length fields in SwsVector.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28512 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-09 23:42:16 +00:00
diego
71c200b0cb
Revert #undefining system functions, it is not necessary.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28502 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-09 20:31:35 +00:00
diego
cd6eb04525
Add config.h #include for ARCH_X86 definition.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28500 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-09 18:04:19 +00:00
diego
cfb5bf7d3e
Add #undefs to reenable system functions that are normally forbidden in other
...
parts of FFmpeg but OK in this test program. Fixes the build.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28499 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-09 18:01:36 +00:00
diego
60ae9c5895
Drop DECLARE_ALIGNED from extern declarations. It creates trouble when
...
swscale_internal.h is #included without HAVE_AV_CONFIG_H defined.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28498 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-09 17:53:33 +00:00
kostya
ab3f56987f
Prefix visible YUV2RGB functions with sws_
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28496 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-09 14:31:53 +00:00
kostya
c5bf12666b
Give better name to Inverse_Table_6_9
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28495 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-09 14:17:30 +00:00
diego
ce1a533059
Remove file name from file headers.
...
It provides no useful information and breaks on renames.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28494 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-09 11:19:19 +00:00
stefano
45a1edd1df
Drop the deprecated sws_scale_ordered() at the next major version
...
bump.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28492 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-08 23:06:05 +00:00
stefano
f6ff53adcc
Replace int type with enum PixelFormat for the dstFormat/srcFormat
...
params of the sws_getContext() and sws_getCachedContext()
declarations, consistent with the implementation.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28491 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-08 23:02:06 +00:00
stefano
78a33f99f4
Fix a typo: lumaSarpen -> lumaSharpen.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28490 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-08 22:50:57 +00:00
diego
71e641a4c3
cosmetics: Remove period after copyright statement non-sentence.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28444 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-01 15:51:48 +00:00
diego
5e63efb850
Use full internal pathname in doxygen @file directives.
...
Otherwise doxygen complains about ambiguous filenames when files exist
under the same name in different subdirectories.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28414 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-01 02:01:31 +00:00
diego
cecfbf85db
HAVE_3DNOW --> HAVE_AMD3DNOW to sync with latest configure changes.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28358 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-25 19:58:33 +00:00
diego
9e48ce48d4
Declare struct SwsContext before using it, fixes the checkheaders warning:
...
libswscale/swscale_internal.h:58: warning: `struct SwsContext' declared inside parameter list
libswscale/swscale_internal.h:58: warning: its scope is only this definition or declaration, which is probably not what you want
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28353 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-25 12:03:28 +00:00
diego
1a1bdca3e4
Disable C code when compiling AltiVec code, fixes the warning:
...
swscale_template.c:2623: warning: `swScale_C' defined but not used
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28352 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-25 11:59:22 +00:00
diego
51acb7b7ab
spelling/grammar cosmetics
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28351 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-25 11:57:17 +00:00
diego
2eefcf233a
Fix #endif comments.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28350 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-25 11:33:35 +00:00