summaryrefslogtreecommitdiffstats
path: root/libswscale
Commit message (Collapse)AuthorAgeFilesLines
* Make the source buffer operands parametrized in the YSCALEYUV2RGB_YA macrosdrik2009-03-141-7/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28943 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make MMX registers parametrized in the YSCALEYUV2PACKEDX_YA macrosdrik2009-03-111-11/+11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28934 b3059339-0415-0410-9bf9-f77b7e298cf2
* In initMMX2HScaler, when chrDstW is not divisible by 4, the last filterPos ↵sdrik2009-03-111-1/+1
| | | | | | 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
* Mask all unused bits for packed pixel format instead of green and alpha mask ↵kostya2009-03-091-1/+1
| | | | | | | | | | | 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
* Let the 4th plane reach the swScale functionsdrik2009-03-071-6/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28868 b3059339-0415-0410-9bf9-f77b7e298cf2
* YUVA420P is a planar YUV formatsdrik2009-03-071-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28867 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix bug introduced by me in r28756sdrik2009-03-051-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28825 b3059339-0415-0410-9bf9-f77b7e298cf2
* Rewrite of rgb15to32 and rgb16to32 using fewer asm instructions and setting ↵sdrik2009-03-041-38/+23
| | | | | | alpha channel to 0xFF git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28808 b3059339-0415-0410-9bf9-f77b7e298cf2
* remove the rest of x86 asm from LGPL buildhenry2009-03-031-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28804 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix typo in comments.rathann2009-03-011-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28777 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add warnings to yuv2rgb_vis.c because alpha is set wrong (0 instead of 255).reimar2009-03-011-2/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28776 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make AltiVec code write alpha as 255 instead of 0 when converting to RGBAreimar2009-03-011-5/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28774 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix braindead and broken way to calculate abase, fixes regression tests onreimar2009-03-011-1/+1
| | | | | | | big-endian systems. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28773 b3059339-0415-0410-9bf9-f77b7e298cf2
* When converting from a non alpha format to an alpha format, defaults to all ↵sdrik2009-02-286-37/+40
| | | | | | ones rather than all zeroes git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28756 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add an isALPHA macro to check if pixel format has alpha channelsdrik2009-02-271-0/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28747 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use YUV420P code path for YUVA420P where appropriatesdrik2009-02-271-3/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28746 b3059339-0415-0410-9bf9-f77b7e298cf2
* Refactor code for upcoming alpha patches.cehoyos2009-02-271-40/+42
| | | | | | | Patch by Cédric Schieli, cschieli A gmail git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28741 b3059339-0415-0410-9bf9-f77b7e298cf2
* Rename yuv2rgb2.c --> yuv2rgb.c.diego2009-02-242-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28723 b3059339-0415-0410-9bf9-f77b7e298cf2
* Relicense AltiVec optimizations as LGPL with the permission of Marc Hoffmandiego2009-02-241-8/+8
| | | | | | | and Reza Jelveh, the original authors. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28717 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove GPL version of yuv2rgb.c that has been replaced by an LGPL substitute.diego2009-02-241-780/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28716 b3059339-0415-0410-9bf9-f77b7e298cf2
* New LGPLed YUV2RGB table generator for SwScalerkostya2009-02-224-5/+685
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28700 b3059339-0415-0410-9bf9-f77b7e298cf2
* Factorize some code in yuv2rgb_template.c to ease further yuva2rgb patch.cehoyos2009-02-211-158/+73
| | | | | | | Patch by Cédric Schieli, cschieli gmail git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28690 b3059339-0415-0410-9bf9-f77b7e298cf2
* move zeroing of alpha channel register out of YSCALEYUV2xxx macros,stefang2009-02-211-4/+23
| | | | | | | patch by Cédric Schieli (cschieli at gmail youknowwhat) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28687 b3059339-0415-0410-9bf9-f77b7e298cf2
* splits various YSCALEYUV2xxx macros into YSCALEYUV2xxx_UV,stefang2009-02-211-8/+27
| | | | | | | | 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
* make MMX registers parametrized in the WRITEBGR32 macro,stefang2009-02-211-24/+23
| | | | | | | patch by Cédric Schieli (cschieli at gmail youknowwhat) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28685 b3059339-0415-0410-9bf9-f77b7e298cf2
* Rename the "src" parameter in the sws_scale() declaration tostefano2009-02-181-3/+3
| | | | | | | | "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
* Document sws_scale().stefano2009-02-181-0/+23
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28654 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use sws_printVec2() instead of the deprecated sws_printVec(). stefano2009-02-141-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28567 b3059339-0415-0410-9bf9-f77b7e298cf2
* Implement sws_printVec2() and deprecate sws_printVec().stefano2009-02-142-7/+25
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28566 b3059339-0415-0410-9bf9-f77b7e298cf2
* Document sws_normalizeVec().stefano2009-02-141-0/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28565 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make hScale_altivec_real() trim its output like other implementations dokostya2009-02-141-5/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28556 b3059339-0415-0410-9bf9-f77b7e298cf2
* Some AltiVec functions in SwScaler produce different output than theirkostya2009-02-142-2/+4
| | | | | | | | 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
* Apply misc fixes for sws_getCachedContext() documentation.stefano2009-02-121-7/+10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28537 b3059339-0415-0410-9bf9-f77b7e298cf2
* Bump micro version, related to r28491.stefano2009-02-121-1/+1
| | | | | | | | 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
* Document sws_getContext().stefano2009-02-111-0/+13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28535 b3059339-0415-0410-9bf9-f77b7e298cf2
* Document sws_getIdentityVec().stefano2009-02-111-0/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28533 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move sws_getGaussianVec() documentation from swscale.c to swscale.h.stefano2009-02-102-4/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28528 b3059339-0415-0410-9bf9-f77b7e298cf2
* Document sws_cloneVec().stefano2009-02-101-0/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28527 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix typo: lenght -> length.stefano2009-02-101-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28526 b3059339-0415-0410-9bf9-f77b7e298cf2
* Document sws_scaleVec().stefano2009-02-101-0/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28525 b3059339-0415-0410-9bf9-f77b7e298cf2
* Document sws_getConstVec().stefano2009-02-101-0/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28524 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move documentation of sws_getCachedContext() from swscale.c tostefano2009-02-102-10/+10
| | | | | | | swscale.h. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28523 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove pointless comment regarding sws_scale_ordered().stefano2009-02-101-3/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28522 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add a @deprecated notice to swscale_get_ordered().stefano2009-02-101-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28521 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unnecessary emms Assembler instructions.diego2009-02-101-9/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28518 b3059339-0415-0410-9bf9-f77b7e298cf2
* Document coeff and length fields in SwsVector.stefano2009-02-091-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28512 b3059339-0415-0410-9bf9-f77b7e298cf2
* Revert #undefining system functions, it is not necessary.diego2009-02-091-7/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28502 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add config.h #include for ARCH_X86 definition.diego2009-02-091-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28500 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add #undefs to reenable system functions that are normally forbidden in otherdiego2009-02-091-0/+7
| | | | | | | 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
* Drop DECLARE_ALIGNED from extern declarations. It creates trouble whendiego2009-02-091-2/+2
| | | | | | | 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
* Prefix visible YUV2RGB functions with sws_kostya2009-02-096-16/+16
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28496 b3059339-0415-0410-9bf9-f77b7e298cf2
* Give better name to Inverse_Table_6_9kostya2009-02-092-4/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28495 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove file name from file headers.diego2009-02-091-1/+1
| | | | | | | It provides no useful information and breaks on renames. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28494 b3059339-0415-0410-9bf9-f77b7e298cf2
* Drop the deprecated sws_scale_ordered() at the next major versionstefano2009-02-082-0/+4
| | | | | | | bump. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28492 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace int type with enum PixelFormat for the dstFormat/srcFormatstefano2009-02-081-3/+3
| | | | | | | | 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
* Fix a typo: lumaSarpen -> lumaSharpen.stefano2009-02-081-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28490 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: Remove period after copyright statement non-sentence.diego2009-02-011-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28444 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use full internal pathname in doxygen @file directives.diego2009-02-011-1/+1
| | | | | | | | 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
* HAVE_3DNOW --> HAVE_AMD3DNOW to sync with latest configure changes.diego2009-01-256-31/+31
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28358 b3059339-0415-0410-9bf9-f77b7e298cf2
* Declare struct SwsContext before using it, fixes the checkheaders warning:diego2009-01-251-0/+2
| | | | | | | | 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
* Disable C code when compiling AltiVec code, fixes the warning:diego2009-01-251-0/+1
| | | | | | | 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
* spelling/grammar cosmeticsdiego2009-01-251-48/+48
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28351 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix #endif comments.diego2009-01-251-5/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28350 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add PIX_FMT_VDPAU_WMV3 and PIX_FMT_VDPAU_VC1.cehoyos2009-01-201-0/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28344 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add VDPAU hardware accelerated decoding for MPEG1 and MPEG2 which willcehoyos2009-01-161-0/+4
| | | | | | | | | be used by MPlayer. Original patch by NVIDIA corporation. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28322 b3059339-0415-0410-9bf9-f77b7e298cf2
* Change semantic of CONFIG_*, HAVE_* and ARCH_*.aurel2009-01-148-186/+195
| | | | | | | They are now always defined to either 0 or 1. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28311 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add PIX_FMT_VDPAU_H264.cehoyos2009-01-081-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28281 b3059339-0415-0410-9bf9-f77b7e298cf2
* Avoid POSIX-reserved _t namespace.diego2008-12-271-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28195 b3059339-0415-0410-9bf9-f77b7e298cf2
* consistency cosmetics: Rename POWERPC identifiers to PPC.diego2008-12-271-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28194 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove pointless malloc.h #include.diego2008-12-193-9/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28164 b3059339-0415-0410-9bf9-f77b7e298cf2
* Some forgotten eax -> REG_a changes.reimar2008-12-121-24/+24
| | | | | | | It seems that binutils >= 2.18 just treat eax as rax but older versions fail. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28136 b3059339-0415-0410-9bf9-f77b7e298cf2
* Delete unnecessary 'extern' keywords.diego2008-12-033-31/+31
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28082 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove commented-out duplicate declarations.diego2008-12-021-2/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28058 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unused declarations.diego2008-12-021-15/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28057 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: Consistently place HEADERS before OBJS in all Makefiles.diego2008-11-201-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27970 b3059339-0415-0410-9bf9-f77b7e298cf2
* Put variable declaration inside an #ifdef to avoid an unused variable warning.diego2008-11-171-2/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27945 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add some const specifiers to function name variables; fixes a bunch ofdiego2008-11-041-2/+2
| | | | | | | "initialization discards qualifiers from pointer target type" warnings. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27894 b3059339-0415-0410-9bf9-f77b7e298cf2
* Merge ARCH_BFIN lines.diego2008-11-031-3/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27889 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add tests