summaryrefslogtreecommitdiffstats
path: root/libswscale
Commit message (Collapse)AuthorAgeFilesLines
* 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 target for libswscale test programs.diego2008-11-031-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27888 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove forgotten ASM_OBJS in libswscalemru2008-11-031-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27887 b3059339-0415-0410-9bf9-f77b7e298cf2
* Silence GCC warnings:vitor2008-10-271-1/+2
| | | | | | | | | | | | | 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 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27837 b3059339-0415-0410-9bf9-f77b7e298cf2
* rgb2rgb.h was not really intended to be a public header, thus remove it.michael2008-10-271-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27836 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove rgb2rgb.h dependancy.michael2008-10-271-6/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27835 b3059339-0415-0410-9bf9-f77b7e298cf2
* Silence the following GCC warning:vitor2008-10-261-1/+1
| | | | | | | | | | libswscale/swscale.c: In function ‘pal2rgbWrapper’: libswscale/swscale.c:1744: warning: passing argument 4 of ‘conv’ from incompatible pointer type git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27834 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unused code that can't be compiled without svn archive.cehoyos2008-10-251-269/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27827 b3059339-0415-0410-9bf9-f77b7e298cf2
* Do not attempt to use the unscaled yuv2rgb converter when height is odd becausemichael2008-10-251-1/+1
| | | | | | | it will overflow the buffer by 1 line. This might have been exploitable. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27826 b3059339-0415-0410-9bf9-f77b7e298cf2
* Cosmetics: alignmentvitor2008-10-231-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27818 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix broken palette8to*.vitor2008-10-233-75/+43
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27817 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: typo fixdiego2008-10-233-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27816 b3059339-0415-0410-9bf9-f77b7e298cf2
* Convert typeof keyword into __typeof__conrad2008-10-191-10/+10
| | | | | | | | | typeof is a gcc extension and the former is not accepted in C99 without GNU extensions enabled (e.g. via -fasm). This fixes compilation on PPC. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27805 b3059339-0415-0410-9bf9-f77b7e298cf2
* Convert asm keyword into __asm__.flameeyes2008-10-166-180/+180
| | | | | | | | | | | | | | Neither the asm() nor the __asm__() keyword is 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 syntax. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27778 b3059339-0415-0410-9bf9-f77b7e298cf2
* Mark some symbols in swscale.c as constant.flameeyes2008-10-091-7/+7
| | | | | | | | | These are only used in swscale_template.c (and thus don't need to be made extern), and can be declared as ASM constants. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27737 b3059339-0415-0410-9bf9-f77b7e298cf2
* Mark dither_2x2_{8,4} static to swscale.cflameeyes2008-10-092-4/+2
| | | | | | | | | These two tables are not used outside swscale.c even though they are declared also in yuv2rgb.c. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27736 b3059339-0415-0410-9bf9-f77b7e298cf2
* Mark variation-specific interleaveBytes static.flameeyes2008-10-091-1/+1
| | | | | | | | | These functions are never called by themselves, the alias interleaveBytes is used instead. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27735 b3059339-0415-0410-9bf9-f77b7e298cf2
* Invert logic for the single-pass in swScale() functions.flameeyes2008-10-091-3/+3
| | | | | | | | | | | | | | | | Instead of having a firstTime variable defaulting to 1, have a warnedAlready defaulting to 0. While this should make no difference in code speed at runtime, it allows to aggregate the four bytes of that variable with clip_table in .bss section, rather than issuing a .data section just for that. As it is, libswscale require no .data section but .data.rel.ro (that can be mitigated by prelinking), so the change might actually save one page of memory at runtime (per process). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27734 b3059339-0415-0410-9bf9-f77b7e298cf2
* Change variable types from int to enum PixelFormat.cehoyos2008-10-091-2/+2
| | | | | | | Fixes icc warning #188: enumerated type mixed with another type git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27733 b3059339-0415-0410-9bf9-f77b7e298cf2
* Do not set src[1] to the palette, it is now in the contextvitor2008-10-082-3/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27731 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add a new unscaled PAL8 -> RGB converter.vitor2008-10-082-10/+55
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27730 b3059339-0415-0410-9bf9-f77b7e298cf2
* Change one more variable type from int to enum PixelFormat.aurel2008-10-081-1/+1
| | | | | | | This one was missing from r27727. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27728 b3059339-0415-0410-9bf9-f77b7e298cf2
* Change variable types from int to enum PixelFormat.cehoyos2008-10-072-6/+6
| | | | | | | Fixes icc warning #188: enumerated type mixed with another type git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27727 b3059339-0415-0410-9bf9-f77b7e298cf2
* gcc-apple specific fallback not necessary anymorelu_zero2008-10-051-5/+0
| | | |