Michael Niedermayer
35ab2b6445
More correct rounding for the rgb/bgr->yuv converters.
...
Originally committed as revision 27557 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
Michael Niedermayer
aa13b0fc55
Prevent overflows during mpeg->jpeg yuv.
...
Originally committed as revision 27552 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
Michael Niedermayer
6bc0c7928a
Fix jpeg yuv.
...
Fixes issue504.
Originally committed as revision 27547 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
Michael Niedermayer
59ded10ca2
Fix typo in comment.
...
Originally committed as revision 27546 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 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
17 years ago
Luca Barbato
97b93389af
Make ToY and ToUV family of function consistent part I
...
Convert width argument from int to long (note: srcW is still an int).
Originally committed as revision 27544 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
Michael Niedermayer
d63a2cb103
Make fast bilinear scaler work again.
...
Originally committed as revision 27543 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
Baptiste Coudurier
3b38f1c60b
simplify function selection code
...
Originally committed as revision 27528 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
Baptiste Coudurier
a6100f39a1
enable yuv422p to uyvy converter
...
Originally committed as revision 27527 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
Michael Niedermayer
b0880d5da4
Make 16bit grayscale output work.
...
Originally committed as revision 27524 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 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
17 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
17 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
17 years ago
Michael Niedermayer
d52337af70
Remove workaround for rgb/bgr mess.
...
Originally committed as revision 27520 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
Michael Niedermayer
7372e9bbe5
Fix 4 of the unscaled rgb15/16 converters, each of these contained
...
2-3 bugs each of which made it fail completely, this code clearly
has never been tested and been written by somone who knows the
difference between a potato and a computer is that the first is round.
Originally committed as revision 27519 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
Michael Niedermayer
6107059c2c
rgb vs bgr fix for the unscaled converters.
...
Originally committed as revision 27518 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
Michael Niedermayer
27a90b0450
Fix rgb15/16 vs. bgr part2.
...
Originally committed as revision 27517 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
Michael Niedermayer
688b5e8020
Fix rgb15/16 vs. bgr part1.
...
Originally committed as revision 27516 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
Michael Niedermayer
ae9e0e8391
Add fflush to prevent stdout & stderr from being mixed.
...
Originally committed as revision 27515 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
Stefano Sabatini
0eaf523548
Change headers' guardnames consistently with r15120.
...
Originally committed as revision 27499 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
Stefano Sabatini
b3e03fa7b0
Implement swscale_version().
...
Originally committed as revision 27492 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
Guillaume Poirier
14b83f9a3d
compilation fix with GCC 4.0.1 on MacOSX tiger, broken by the removal of AVV() macro
...
Originally committed as revision 27349 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
Diego Biurrun
6b83bb1ee8
Fix indentation after last commit.
...
Originally committed as revision 27345 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
Diego Biurrun
f22e5e22ef
Remove AltiVec vector declaration compiler compatibility macros.
...
The original problem was that FSF and Apple gcc used a different syntax
for vector declarations, i.e. {} vs. (). Nowadays Apple gcc versions support
the standard {} syntax and versions that support {} are available on all
relevant Mac OS X versions. Thus the greater compatibility is no longer
worth cluttering the code with macros.
Originally committed as revision 27344 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 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
a1f3ffa3ce
Make C code in yuv2yuv1() do accurate rounding, this could be split
...
depending on SWS_ACCURATE as well if someone wants.
Originally committed as revision 27323 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
Michael Niedermayer
d78c1ea16f
indent
...
Originally committed as revision 27322 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
Michael Niedermayer
bf2bdde67a
Forgotten accurate rounding function YSCALEYUV2YV121_ACCURATE.
...
Originally committed as revision 27321 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
Michael Niedermayer
7bae01c62c
simplify yuv2yuv1()
...
Originally committed as revision 27320 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
Alexander Strange
88c5cadc2a
Cosmetics: reindent.
...
Originally committed as revision 27279 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
Alexander Strange
2ac6ff2ecb
Remove const vector casts.
...
Fixes compilation with altivec and -std=gnu99.
Originally committed as revision 27278 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
Luca Barbato
1619f426b9
100L, avoption splited code added, I should double check with svn status...
...
Originally committed as revision 27245 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
Diego Biurrun
8a3227968c
spelling/grammar/wording overhaul
...
Originally committed as revision 27190 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
Diego Biurrun
4bdc44c7fe
whitespace cosmetics
...
Originally committed as revision 27188 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
Diego Biurrun
7a4d5e174c
Place license header at the top of the file for consistency.
...
Originally committed as revision 27187 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
Diego Biurrun
b146e17df5
OBJS should end in .o, not .c.
...
Originally committed as revision 27035 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
Jan Knutar
862ae1d6a2
VIS OBJS should end in .o, not .c; patch by Jan Knutar, jknutar nic fi.
...
Originally committed as revision 27034 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
Jan Knutar
f3bbfe785e
Add missing #include, patch by Jan Knutar, jknutar nic fi.
...
Originally committed as revision 27033 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
Baptiste Coudurier
ce3d365f2f
restore needed cast to correct type with const
...
Originally committed as revision 26957 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
87cf861c7d
cast to correct type, suppress warnings
...
Originally committed as revision 26946 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago