Commit Graph

244 Commits

Author SHA1 Message Date
Ramiro Polla 10a7d21672 Rename RUNTIME_CPUDETECT to CONFIG_RUNTIME_CPUDETECT and always define it.
Originally committed as revision 29154 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-04-08 20:21:21 +00:00
Ramiro Polla dd4090256c swscale: Remove X86 commented out code.
Originally committed as revision 29149 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-04-05 19:17:53 +00:00
Ramiro Polla 40fa514033 swscale: Use function pointers for swScale functions.
Originally committed as revision 29145 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-04-04 22:45:02 +00:00
Ramiro Polla 14d5c18c98 swscale: {}-related cosmetics.
Originally committed as revision 29144 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-04-04 22:43:24 +00:00
Ramiro Polla 7ac4032784 swscale: Add const to some swScale functions' parameters.
Originally committed as revision 29143 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-04-04 22:41:46 +00:00
Cédric Schieli 4626ee1a8c Adds "YUYV422 to YUVA420P" and "UYVY422 to YUVA420P" unscaled convertion
Originally committed as revision 29048 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-03-24 07:11:35 +00:00
Cédric Schieli 08218e6d83 Fix some places where "non-alpha to YUVA420P" do not fill the alpha plane
Originally committed as revision 29047 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-03-24 07:10:19 +00:00
Michael Niedermayer ff8084cf1c Enable unscaled packed422 -> planar 420 converters by default as the
imgconvert inherited quality issues should be fixed.

Originally committed as revision 29031 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-03-21 23:59:02 +00:00
Reimar Döffinger 6f34808691 Fix planarCopy to ignore the GRAY8 "pseudo"-palette, fixes libavtest regression test.
Originally committed as revision 29021 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-03-21 10:20:16 +00:00
Reimar Döffinger 20ddf5a8e4 Avoid crash on planarCopy to a destination without alpha.
Makes regression tests run again, though the results are still wrong.

Originally committed as revision 29018 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-03-20 17:22:03 +00:00
Cédric Schieli 6268f55be5 YUVA420P is now supported as output format
Originally committed as revision 29012 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-03-20 14:16:24 +00:00
Cédric Schieli 6858492e6c Add alpha channel scaling
Originally committed as revision 29011 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-03-20 14:15:14 +00:00
Cédric Schieli f6cf4ed08a Use a simpler and more general check for the gray case in the planarCopy function
Originally committed as revision 29009 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-03-20 14:01:51 +00:00
Ramiro Polla dd35beb29b Allocate executable memory with VirtualAlloc() in Windows.
Originally committed as revision 29006 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-03-19 21:52:44 +00:00
Ramiro Polla 16a3717f8d Drop unnecessary cast and cosmetically align.
Originally committed as revision 29005 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-03-19 21:50:10 +00:00
Michael Niedermayer 72ef3dd72e Fix 10l typo.
Originally committed as revision 29002 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-03-19 14:04:14 +00:00
Michael Niedermayer 0411072ee3 Unscaled converters for
YUYV->YUV420P
YUYV->YUV422P
UYVY->YUV420P
UYVY->YUV422P

Originally committed as revision 28997 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-03-19 03:45:29 +00:00
Ramiro Polla d0ce212a7a Do not assume long is same width as x86 register.
Originally committed as revision 28992 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-03-18 17:07:30 +00:00
Diego Biurrun 780daf2b09 Consistently use ff_ prefixes for internal symbols.
Originally committed as revision 28988 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-03-18 08:06:08 +00:00
Cédric Schieli d4da3e4790 Add a fillPlane function to fill a plane with one constant value
Originally committed as revision 28986 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-03-17 19:53:36 +00:00
Cédric Schieli 4c01b868de Don't write outside of the picture buffer in planarCopy in the gray case
Originally committed as revision 28985 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-03-17 19:51:52 +00:00
Cédric Schieli c662e788ce 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
Originally committed as revision 28933 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-03-11 14:22:53 +00:00
Cédric Schieli 6208d67664 Let the 4th plane reach the swScale function
Originally committed as revision 28868 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-03-07 09:39:48 +00:00
Cédric Schieli a3398feb26 Fix bug introduced by me in r28756
Originally committed as revision 28825 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-03-05 21:02:33 +00:00
Cédric Schieli f8a138be52 When converting from a non alpha format to an alpha format, defaults
Originally committed as revision 28756 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-02-28 08:01:52 +00:00
Cédric Schieli 2c89734255 Use YUV420P code path for YUVA420P where appropriate
Originally committed as revision 28746 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-02-27 22:13:55 +00:00
Kostya Shishkov e76709d8a6 New LGPLed YUV2RGB table generator for SwScaler
Originally committed as revision 28700 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-02-22 09:22:05 +00:00
Stefano Sabatini e14ff1e628 Use sws_printVec2() instead of the deprecated sws_printVec().
Originally committed as revision 28567 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-02-14 20:18:50 +00:00
Stefano Sabatini 26b40a659d Implement sws_printVec2() and deprecate sws_printVec().
Originally committed as revision 28566 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-02-14 20:14:28 +00:00
Kostya Shishkov 12794f73eb Some AltiVec functions in SwScaler produce different output than their
counterparts in pure C, so don't invoke them in bitexact mode.

Originally committed as revision 28555 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-02-14 16:37:39 +00:00
Stefano Sabatini 6d3cf67c2a Move sws_getGaussianVec() documentation from swscale.c to swscale.h.
Originally committed as revision 28528 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-02-10 23:45:50 +00:00
Stefano Sabatini b954b34a6d Move documentation of sws_getCachedContext() from swscale.c to
swscale.h.

Originally committed as revision 28523 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-02-10 23:26:56 +00:00
Stefano Sabatini 9ea5e6f639 Remove pointless comment regarding sws_scale_ordered().
Originally committed as revision 28522 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-02-10 23:25:09 +00:00
Kostya Shishkov e2a004ad4e Prefix visible YUV2RGB functions with sws_
Originally committed as revision 28496 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-02-09 14:31:53 +00:00
Kostya Shishkov fa58ba15f8 Give better name to Inverse_Table_6_9
Originally committed as revision 28495 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-02-09 14:17:30 +00:00
Stefano Sabatini c099766fad Drop the deprecated sws_scale_ordered() at the next major version
bump.

Originally committed as revision 28492 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-02-08 23:06:05 +00:00
Diego Biurrun f4406ec177 HAVE_3DNOW --> HAVE_AMD3DNOW to sync with latest configure changes.
Originally committed as revision 28358 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-01-25 19:58:33 +00:00
Diego Biurrun dfe44a855d Disable C code when compiling AltiVec code, fixes the warning:
swscale_template.c:2623: warning: `swScale_C' defined but not used

Originally committed as revision 28352 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-01-25 11:59:22 +00:00
Diego Biurrun f40c7dbb7e spelling/grammar cosmetics
Originally committed as revision 28351 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-01-25 11:57:17 +00:00
Diego Biurrun 7a24ec506c Fix #endif comments.
Originally committed as revision 28350 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-01-25 11:33:35 +00:00
Carl Eugen Hoyos 0ab8039577 Add PIX_FMT_VDPAU_WMV3 and PIX_FMT_VDPAU_VC1.
Originally committed as revision 28344 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-01-20 09:31:07 +00:00
NVIDIA Corporation 4e2b48760b Add VDPAU hardware accelerated decoding for MPEG1 and MPEG2 which will
be used by MPlayer.

Original patch by NVIDIA corporation.

Originally committed as revision 28322 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-01-16 02:14:25 +00:00
Aurelien Jacobs b63f641e9b Change semantic of CONFIG_*, HAVE_* and ARCH_*.
They are now always defined to either 0 or 1.

Originally committed as revision 28311 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-01-14 00:13:56 +00:00
Carl Eugen Hoyos 420169e520 Add PIX_FMT_VDPAU_H264.
Originally committed as revision 28281 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-01-08 19:54:43 +00:00
Diego Biurrun cb82a0736d consistency cosmetics: Rename POWERPC identifiers to PPC.
Originally committed as revision 28194 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-12-27 11:33:54 +00:00
Vitor Sessak 75add6fbfc Silence GCC warnings:
ibswscale/swscale.c: In function ‘sws_scale’:
libswscale/swscale.c:2678: warning: ‘b’ may be used uninitialized in
this function
libswscale/swscale.c:2678: warning: ‘g’ may be used uninitialized in
this function
libswscale/swscale.c:2678: warning: ‘r’ may be used uninitialized in
this function

Originally committed as revision 27837 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-10-27 19:59:01 +00:00
Vitor Sessak 65f65c3021 Silence GCC warning
Originally committed as revision 27834 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-10-26 15:41:11 +00:00
Michael Niedermayer 9b0d44ef67 Do not attempt to use the unscaled yuv2rgb converter when height is odd because
it will overflow the buffer by 1 line. This might have been exploitable.

Originally committed as revision 27826 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-10-25 15:00:28 +00:00
Vitor Sessak 76e9fd01dd Cosmetics: alignment
Originally committed as revision 27818 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-10-23 19:20:14 +00:00
Vitor Sessak 522ce95786 Fix broken palette8to*.
Originally committed as revision 27817 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-10-23 19:13:11 +00:00
Diego Pettenò 7ad6469eae Convert asm keyword into __asm__.
Neither the asm() nor the __asm__() keyword is not part of the C99
standard, but while GCC accepts the former in C89 syntax, it is not
accepted in C99 unless GNU extensions are turned on (with -fasm). The
latter form is accepted in any syntax as an extension (without
requiring further command-line options).

Sun Studio C99 compiler also does not accept asm() while accepting
__asm__(), albeit reporting warnings that it's not valid C99 synta.

Originally committed as revision 27778 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-10-16 13:34:30 +00:00
Diego Pettenò b5c44b1ab6 Mark some symbols in swscale.c as constant.
These are only used in swscale_template.c (and thus don't need to be
made extern), and can be declared as ASM constants.

Originally committed as revision 27737 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-10-09 11:13:14 +00:00
Diego Pettenò d0b69b2855 Mark dither_2x2_{8,4} static to swscale.c
These two tables are not used outside swscale.c even though they are
declared also in yuv2rgb.c.

Originally committed as revision 27736 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-10-09 11:12:38 +00:00
Carl Eugen Hoyos f5a2c9816e Change variable types from int to enum PixelFormat.
Fixes icc warning #188: enumerated type mixed with another type

Originally committed as revision 27733 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-10-09 08:36:04 +00:00
Vitor Sessak e150ef8d34 Do not set src[1] to the palette, it is now in the context
Originally committed as revision 27731 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-10-08 17:48:23 +00:00
Vitor Sessak 4900461742 Add a new unscaled PAL8 -> RGB converter.
Originally committed as revision 27730 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-10-08 17:46:22 +00:00
Aurelien Jacobs 13394e8cbb Change one more variable type from int to enum PixelFormat.
This one was missing from r27727.

Originally committed as revision 27728 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-10-08 11:59:01 +00:00
Carl Eugen Hoyos 58e4b706c5 Change variable types from int to enum PixelFormat.
Fixes icc warning #188: enumerated type mixed with another type

Originally committed as revision 27727 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-10-07 19:44:39 +00:00
Carl Eugen Hoyos 88e2a9aebc Remove b5Dither, g5Dither and r5Dither from libswscale.
Originally committed as revision 27718 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-10-04 18:50:39 +00:00
Carl Eugen Hoyos 92c7b4713d Remove g6Dither from libswscale.
Originally committed as revision 27715 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-10-04 16:40:35 +00:00
Michael Niedermayer f830d8244a Fix infinite loop with spline, bug was introduced in r27612 by me.
Originally committed as revision 27669 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-09-29 01:08:01 +00:00
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
2008-09-16 03:49:54 +00:00
Michael Niedermayer a64a062fb9 Avoid using floating point for calculating filter coefficients.
Originally committed as revision 27612 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-09-15 03:33:09 +00:00
Michael Niedermayer 8588e1484e Avoid some explicit types in sizeof().
Originally committed as revision 27611 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-09-14 19:29:14 +00:00
Michael Niedermayer 22129c78d7 Use av_mallocz() instead of for() =0;
Originally committed as revision 27610 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-09-14 19:25:16 +00:00
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
2008-09-14 18:00:49 +00:00
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
2008-09-13 11:52:03 +00:00
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
2008-09-13 02:04:10 +00:00
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
2008-09-12 23:52:37 +00:00
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
2008-09-12 21:25:42 +00:00
Michael Niedermayer 6c80eb1626 Add support for PIX_FMT_YUV440P.
Originally committed as revision 27589 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-09-12 17:51:13 +00:00
Michael Niedermayer 3d05e078ee Support mono as input format.
Originally committed as revision 27587 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-09-12 16:46:38 +00:00
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
2008-09-12 16:01:17 +00:00
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
2008-09-12 04:40:51 +00:00
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
2008-09-12 02:05:37 +00:00
Michael Niedermayer 8e7ba004ed Remove mistakely commited code i used for testing.
Originally committed as revision 27581 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-09-11 14:40:29 +00:00
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
2008-09-11 14:39:12 +00:00
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
2008-09-11 03:22:39 +00:00
Michael Niedermayer e69bd29425 Factorize yuv2packedXinC().
Originally committed as revision 27578 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-09-11 02:36:51 +00:00
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
2008-09-11 01:49:35 +00:00
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
2008-09-10 23:23:47 +00:00
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
2008-09-10 16:39:56 +00:00
Michael Niedermayer 2f60f6297c Make SWS_FULL_CHR_H_INP work.
Originally committed as revision 27564 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-09-10 02:28:38 +00:00
Michael Niedermayer cbcb408ff6 More accurate rounding for 8bit inputs.
Originally committed as revision 27562 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-09-09 23:39:32 +00:00
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
2008-09-09 23:30:06 +00:00
Michael Niedermayer 0f5d4aa83b Add table of rgb->yuv convertion coefficients.
Originally committed as revision 27558 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-09-09 18:01:25 +00:00
Michael Niedermayer 6bc0c7928a Fix jpeg yuv.
Fixes issue504.

Originally committed as revision 27547 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-09-08 12:36:38 +00:00
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
2008-09-07 21:06:21 +00:00
Michael Niedermayer d63a2cb103 Make fast bilinear scaler work again.
Originally committed as revision 27543 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-09-07 16:59:04 +00:00
Baptiste Coudurier 3b38f1c60b simplify function selection code
Originally committed as revision 27528 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-09-05 01:44:33 +00:00
Baptiste Coudurier a6100f39a1 enable yuv422p to uyvy converter
Originally committed as revision 27527 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-09-05 00:25:39 +00:00
Michael Niedermayer b0880d5da4 Make 16bit grayscale output work.
Originally committed as revision 27524 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-09-04 22:58:16 +00:00
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
2008-09-04 22:31:22 +00:00
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
2008-09-04 21:59:15 +00:00
Michael Niedermayer 1462302027 Fix 4 and 8 bit RGB/BGR input.
Originally committed as revision 27521 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-09-04 20:46:36 +00:00
Stefano Sabatini b3e03fa7b0 Implement swscale_version().
Originally committed as revision 27492 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-08-29 18:23:54 +00:00
Michael Niedermayer 091d3bdc73 fix memleak
Originally committed as revision 27332 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-07-21 11:41:13 +00:00
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
2008-07-21 11:18:24 +00:00
Michael Niedermayer 6afc7c19f0 10l forgot SWS_BILINEAR
Originally committed as revision 27318 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-07-17 22:30:02 +00:00
Michael Niedermayer 010c00bc81 Ensure that exactly one scaler algo is used.
Originally committed as revision 27317 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-07-17 22:01:18 +00:00