michael
07fd651300
Ensure that additional filter coeffs that exist due to alignment
...
are 0 if bitexact mode is requested.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27595 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-13 02:04:10 +00:00
michael
57db6892cf
yvu9toyv12Wrapper is not bitexact so disable it when the user wants
...
bitexactness to C.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27594 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-12 23:52:37 +00:00
michael
e5f0ead24f
The yuv->rgb tables are too small for cliping to be avoidable,
...
thus revert the respective optimization. The table generator code
has to be rewritten anyway one day by some volunteer because its
not LGPL, fixing the GPL table generator thus seems like wasted time.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27591 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-12 21:25:42 +00:00
michael
02da3e1bf9
Add support for PIX_FMT_YUV440P.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27589 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-12 17:51:13 +00:00
michael
296ccc70ea
Support mono as input format.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27587 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-12 16:46:38 +00:00
michael
fc855e63d2
Add support for PIX_FMT_MONOWHITE as output format.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27586 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-12 16:01:17 +00:00
michael
229dec600d
rgb24toyv12 is not accurately rounding, so disable it as well when the
...
user asks for accurate rounding.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27585 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-12 04:40:51 +00:00
michael
cc3ec5b4f2
Do not use the unscaled yuv->rgb converters if SWS_ACCURATE_RND is set,
...
because they do not accurately round.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27584 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-12 02:05:37 +00:00
michael
42643629cd
Remove mistakely commited code i used for testing.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27581 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-11 14:40:29 +00:00
michael
6009a04a23
Implement full horizontal chroma for rgb/bgr24/32 output.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27580 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-11 14:39:12 +00:00
michael
3ea1657e65
Do not do unneeded clipping in YSCALE_YUV_2_PACKEDX_C.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27579 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-11 03:22:39 +00:00
michael
9c49671d8b
Factorize yuv2packedXinC().
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27578 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-11 02:36:51 +00:00
michael
4abaf837d9
Set rgb2yuv constants more accurately, makes no real difference though.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27577 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-11 01:49:35 +00:00
michael
d351b78abd
Correct normalization constant for the vertical filter.
...
I am not completely sure why this was at such an incorrect value,
but I could not find any problems when it was set correctly.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27575 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-10 23:23:47 +00:00
michael
a92e68d5a8
Change RGB2YUV_SHIFT from 16 to 15 to make it able to work
...
with 16bit signed constants (like SIMD might use).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27568 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-10 16:39:56 +00:00
michael
50e3ffeacb
Make SWS_FULL_CHR_H_INP work.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27564 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-10 02:28:38 +00:00
michael
0382fdf50a
More accurate rounding for 8bit inputs.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27562 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-09 23:39:32 +00:00
michael
0c6d92bfda
Rewrite bgr24->yuv mmx code, the new code is cleaner, more accurate,
...
and does not throw half the chroma away.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27561 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-09 23:30:06 +00:00
michael
c3c284f8d2
Add table of rgb->yuv conversion coefficients.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27558 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-09 18:01:25 +00:00
michael
b128f3e558
Fix jpeg yuv.
...
Fixes issue504.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27547 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-08 12:36:38 +00:00
michael
7dd7068c7a
Fix accurate rounding mode on x86_64.
...
Fixes issue222.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27545 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-07 21:06:21 +00:00
michael
1333189983
Make fast bilinear scaler work again.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27543 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-07 16:59:04 +00:00
bcoudurier
244d3d1622
simplify function selection code
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27528 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-05 01:44:33 +00:00
bcoudurier
3178a5606a
enable yuv422p to uyvy converter
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27527 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-05 00:25:39 +00:00
michael
a0d85f9301
Make 16bit grayscale output work.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27524 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-04 22:58:16 +00:00
michael
c1fa10dc7e
Fix SWS_FAST_BILINEAR and SWS_POINT with some unscaled rgb<->bgr converters.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27523 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-04 22:31:22 +00:00
michael
172a4bfaea
Support PIX_FMT_RGB32_1 and PIX_FMT_BGR32_1.
...
Fixes issue248.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27522 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-04 21:59:15 +00:00
michael
1a636fc7f9
Fix 4 and 8 bit RGB/BGR input.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27521 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-04 20:46:36 +00:00
stefano
6c30638aa1
Implement swscale_version().
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27492 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-29 18:23:54 +00:00
michael
4993d0c46a
fix memleak
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27332 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-21 11:41:13 +00:00
michael
76affcd2cb
Cleanup, use av_freep() instead of av_free(x); x=NULL
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27331 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-21 11:18:24 +00:00
michael
8d04d0c285
10l forgot SWS_BILINEAR
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27318 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-17 22:30:02 +00:00
michael
fb9c400ac2
Ensure that exactly one scaler algo is used.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27317 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-17 22:01:18 +00:00
lu_zero
afbb3b8a16
Split AVOption/AVClass in a separate file. SoC Patch from Keiji Costantini
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27244 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-09 22:43:08 +00:00
lu_zero
d34eccfec3
Remove ASSERT() macro. SoC Patch from Keiji Costantini
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27214 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-06 03:32:47 +00:00
lu_zero
4e3106460f
Reindent. SoC Patch from Keiji Costantini
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27213 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-06 03:27:31 +00:00
lu_zero
ba7100e51c
Split simpleCopy into packedCopy and planarCopy. SoC Patch from Keiji Costantini
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27212 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-06 03:26:32 +00:00
bcoudurier
3b5904ef9a
cast to correct type, suppress warnings
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26949 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-01 03:36:23 +00:00
bcoudurier
f8ac253ab4
cast to correct type, suppress warnings
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26948 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-01 03:35:27 +00:00
bcoudurier
cdd5253352
cast to correct type, suppress warning
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26947 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-01 03:34:39 +00:00
bcoudurier
1a38d2aaea
add const, suppress warnings
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26945 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-01 03:27:45 +00:00
superdump
429e8afc84
Remove in_asm_used_var_warning_killer()
...
Patch by Keiji Costantini ( strites gmail com )
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26706 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-09 12:47:55 +00:00
diego
e6f301c8ae
Use full path for #includes from another directory.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26702 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-09 12:00:25 +00:00
diego
b090190936
Fix 64 bit shared library compilation with MMX2 by properly using PIC mangling.
...
patch by Alexander Strange, astrange ithinksw com
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26270 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-22 18:22:53 +00:00
diego
a5a71b8a5f
Remove redundant ARCH_POWERPC #ifdef around HAVE_ALTIVEC.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26264 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-18 22:14:57 +00:00
zuxy
f59d66a7c0
Fix a typo that causes an assertion to always fail.
...
Reported by Alexander Bokovikov (openworld AT uralweb DOT ru)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26257 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-17 06:01:58 +00:00
diego
c1f4b20925
typos
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26228 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-12 23:50:48 +00:00
diego
26ad83476f
typo
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26212 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-10 18:38:46 +00:00
benoit
7f97108f0f
Make av_class a pointer to const.
...
Patch by Takis.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26210 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-10 14:30:49 +00:00
diego
e0879ad8d3
Remove redundant swScaler: output from places where av_log()
...
properly prints the context anyway.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26207 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-10 07:30:24 +00:00