Michael Niedermayer
d616c8ae3d
Fix segfault with rgb24 and full_internal_chrome due to non existing alpha
...
byte being written after the array.
Originally committed as revision 27628 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Michael Niedermayer
a64a062fb9
Avoid using floating point for calculating filter coefficients.
...
Originally committed as revision 27612 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Michael Niedermayer
8588e1484e
Avoid some explicit types in sizeof().
...
Originally committed as revision 27611 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Michael Niedermayer
22129c78d7
Use av_mallocz() instead of for() =0;
...
Originally committed as revision 27610 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Michael Niedermayer
45e18be87d
Move dither tables from yuv2rgb to swscale, they have been written by me and
...
can be used under LGPL.
Originally committed as revision 27609 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Michael Niedermayer
43c164788c
Rename yuv2rgb variables to avoid name clashes with the ones used by bfin asm.
...
Originally committed as revision 27599 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Michael Niedermayer
88bc5a64f6
Ensure that additional filter coeffs that exist due to alignment
...
are 0 if bitexact mode is requested.
Originally committed as revision 27595 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Michael Niedermayer
84c1253513
yvu9toyv12Wrapper is not bitexact so disable it when the user wants
...
bitexactness to C.
Originally committed as revision 27594 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Michael Niedermayer
b82ecd6258
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.
Originally committed as revision 27591 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Michael Niedermayer
6c80eb1626
Add support for PIX_FMT_YUV440P.
...
Originally committed as revision 27589 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Michael Niedermayer
3d05e078ee
Support mono as input format.
...
Originally committed as revision 27587 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Michael Niedermayer
ec1bca2a0f
Add support for PIX_FMT_MONOWHITE as output format.
...
Originally committed as revision 27586 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Michael Niedermayer
0885770455
rgb24toyv12 isnt accuratly rounding, so disable it as well when the
...
user asks for accurate rounding.
Originally committed as revision 27585 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Michael Niedermayer
4155ece530
Do not use the unscaled yuv->rgb converters if SWS_ACCURATE_RND is set,
...
because they do not accurately round.
Originally committed as revision 27584 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Michael Niedermayer
8e7ba004ed
Remove mistakely commited code i used for testing.
...
Originally committed as revision 27581 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Michael Niedermayer
f0faee4c63
Implement full horizontal chroma for rgb/bgr24/32 output.
...
Originally committed as revision 27580 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Michael Niedermayer
bdf397ba4b
Do not do unneeded cliping in YSCALE_YUV_2_PACKEDX_C.
...
Originally committed as revision 27579 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Michael Niedermayer
e69bd29425
Factorize yuv2packedXinC().
...
Originally committed as revision 27578 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Michael Niedermayer
7b5d7b9e85
Set rgb2yuv constants more accurately, makes no real difference though.
...
Originally committed as revision 27577 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Michael Niedermayer
5fe4aad711
Correct normalization constant for the vertical filter, iam not
...
completely sure why this was at such incorrect value, but i could
not find any problems when it was set correctly.
Originally committed as revision 27575 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Michael Niedermayer
6b79dbce0c
Change RGB2YUV_SHIFT from 16 to 15 to make it able to work
...
with 16bit signed constants (like SIMD might use).
Originally committed as revision 27568 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Michael Niedermayer
2f60f6297c
Make SWS_FULL_CHR_H_INP work.
...
Originally committed as revision 27564 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Michael Niedermayer
cbcb408ff6
More accurate rounding for 8bit inputs.
...
Originally committed as revision 27562 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Michael Niedermayer
dfb09bd1d4
Rewrite bgr24->yuv mmx code, the new code is cleaner, more accurate,
...
and does not throw half the chroma away.
Originally committed as revision 27561 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Michael Niedermayer
0f5d4aa83b
Add table of rgb->yuv convertion coefficients.
...
Originally committed as revision 27558 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Michael Niedermayer
6bc0c7928a
Fix jpeg yuv.
...
Fixes issue504.
Originally committed as revision 27547 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Michael Niedermayer
1625216eaa
Fix accurate rounding mode on x86_64.
...
Fixes issue222.
Originally committed as revision 27545 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Michael Niedermayer
d63a2cb103
Make fast bilinear scaler work again.
...
Originally committed as revision 27543 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Baptiste Coudurier
3b38f1c60b
simplify function selection code
...
Originally committed as revision 27528 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Baptiste Coudurier
a6100f39a1
enable yuv422p to uyvy converter
...
Originally committed as revision 27527 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Michael Niedermayer
b0880d5da4
Make 16bit grayscale output work.
...
Originally committed as revision 27524 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Michael Niedermayer
736143c8d9
Fix SWS_FAST_BILINEAR and SWS_POINT with some unscaled rgb<->bgr converters.
...
Originally committed as revision 27523 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Michael Niedermayer
9990e4269c
Support PIX_FMT_RGB32_1 and PIX_FMT_BGR32_1.
...
Fixes issue248.
Originally committed as revision 27522 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Michael Niedermayer
1462302027
Fix 4 and 8 bit RGB/BGR input.
...
Originally committed as revision 27521 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Stefano Sabatini
b3e03fa7b0
Implement swscale_version().
...
Originally committed as revision 27492 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Michael Niedermayer
091d3bdc73
fix memleak
...
Originally committed as revision 27332 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
Michael Niedermayer
47b7382d29
Cleanup, use av_freep() instead of av_free(x); x=NULL
...
Originally committed as revision 27331 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
Michael Niedermayer
6afc7c19f0
10l forgot SWS_BILINEAR
...
Originally committed as revision 27318 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
Michael Niedermayer
010c00bc81
Ensure that exactly one scaler algo is used.
...
Originally committed as revision 27317 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
Luca Barbato
e40b183d3a
Split AVOption/AVClass in a separate file. SoC Patch from Keiji Costantini
...
Originally committed as revision 27244 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
Luca Barbato
fcc402b1c9
Remove ASSERT() macro. SoC Patch from Keiji Costantini
...
Originally committed as revision 27214 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
Luca Barbato
bc5a04440b
Reindent. SoC Patch from Keiji Costantini
...
Originally committed as revision 27213 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
Luca Barbato
2d35ae567f
Split simpleCopy into packedCopy and planarCopy. SoC Patch from Keiji Costantini
...
Originally committed as revision 27212 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
Baptiste Coudurier
b8b015f483
cast to correct type, suppress warnings
...
Originally committed as revision 26949 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
Baptiste Coudurier
74498eb44b
cast to correct type, suppress warnings
...
Originally committed as revision 26948 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
Baptiste Coudurier
73d046e21f
add const, suppress warnings
...
Originally committed as revision 26947 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
Baptiste Coudurier
3e62b7e34c
add const, suppress warnings
...
Originally committed as revision 26945 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
Keiji Costantini
49f2339cbf
Remove in_asm_used_var_warning_killer()
...
Patch by Keiji Costantini ( strites gmail com )
Originally committed as revision 26706 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 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
Alexander Strange
86593486b4
Fix 64 bit shared library compilation with MMX2 by properly using PIC mangling.
...
patch by Alexander Strange, astrange ithinksw com
Originally committed as revision 26270 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago