summaryrefslogtreecommitdiffstats
path: root/libswscale/swscale_internal.h
Commit message (Collapse)AuthorAgeFilesLines
* Remove libswscale directory in MPlayer sourcesUoti Urpala2009-07-261-423/+0
| | | | libswscale will be used through FFmpeg.
* Remove dependency from swscale_internal.h to lavu/internal.h, it is no longerramiro2009-07-091-1/+0
| | | | | | | | | | | | needed for DECLARE_ALIGNED. Remove dependency from swscale-example.c to swscale_internal.h by duplicating the necessary code. The duplicated code is a hack and should be removed once a cleaner pixel format information system exists. swscale-example.c is example code on how to use the library and therefore shouldn't rely on internal headers. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29415 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use enum PixelFormat in sws_format_name() prototypemru2009-07-011-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29409 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add libavutil/internal.h #include, required for the DECLARE_ALIGNED macro.diego2009-06-111-0/+1
| | | | | | | This fixes swscale-example compilation. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29353 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use DECLARE_ALIGNED macro instead of gcc __attribute__.ramiro2009-06-041-29/+29
| | | | | | Patch by Pavel Pavlov <pavel at summit-tech dot ca> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29348 b3059339-0415-0410-9bf9-f77b7e298cf2
* Partial (low bits ignored, no direct transcoding into other RGB formats) supportkostya2009-06-021-1/+3
| | | | | | | | for inputting RGB48BE/LE. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29341 b3059339-0415-0410-9bf9-f77b7e298cf2
* Let SwScaler know that RGB48 BE/LE is 16-bits per component format.kostya2009-05-191-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29317 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make SwScaler recognize RGB48 BE/LE colourspaces (not support though).kostya2009-05-191-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29316 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add missing const qualifiers to AltiVec function parameters where appropriate.diego2009-05-091-2/+2
| | | | | | | Fixes a couple of 'discards qualifiers from pointer target type' warnings. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29281 b3059339-0415-0410-9bf9-f77b7e298cf2
* Change VOFW for x86 to 5120, it allows larger images to be scaled and wasmichael2009-05-051-1/+6
| | | | | | | not slower. Other archs are not changed as the larger VOFW was slower on PPC. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29256 b3059339-0415-0410-9bf9-f77b7e298cf2
* Planar 16bit 420 422 444 YUV support (output is only supported in somemichael2009-04-211-1/+16
| | | | | | | | | unscaled convertions). This, like gray16 converts down to 8bit, which is a big FIXME & patch welcome, we should preserve more bits. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29217 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add macro to check for 16bit per sample.michael2009-04-211-0/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29215 b3059339-0415-0410-9bf9-f77b7e298cf2
* add isBE()michael2009-04-201-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29212 b3059339-0415-0410-9bf9-f77b7e298cf2
* Do not use abgrToA for both luma and alpha channel in hyscale.sdrik2009-04-141-0/+2
| | | | | | This fixes RGB32 (et al.) scaling. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29179 b3059339-0415-0410-9bf9-f77b7e298cf2
* whitespace cosmetics: Reindent a few lines and break a few excessively long ↵diego2009-04-121-12/+15
| | | | | | lines. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29174 b3059339-0415-0410-9bf9-f77b7e298cf2
* swscale: Use function pointers for swScale functions.ramiro2009-04-041-0/+51
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29145 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move bfin specific code to its subdir.ramiro2009-03-271-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29079 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move yuv2rgb code to subdirs.ramiro2009-03-261-0/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29063 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add alpha channel scalingsdrik2009-03-201-0/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29011 b3059339-0415-0410-9bf9-f77b7e298cf2
* Consistently use ff_ prefixes for internal symbols.diego2009-03-181-5/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28988 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
* 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
* 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-091-4/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28496 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
* Change semantic of CONFIG_*, HAVE_* and ARCH_*.aurel2009-01-141-5/+5
| | | | | | | 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 a new unscaled PAL8 -> RGB converter.vitor2008-10-081-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27730 b3059339-0415-0410-9bf9-f77b7e298cf2
* Change variable types from int to enum PixelFormat.cehoyos2008-10-071-1/+1
| | | | | | | 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
* Rename yuv2rgb variables to avoid name clashes with the ones used by bfin asm.michael2008-09-131-1/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27599 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add support for PIX_FMT_MONOWHITE as output format.michael2008-09-121-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27586 b3059339-0415-0410-9bf9-f77b7e298cf2
* 100000000000000l, forgot to commit header change for r27580.michael2008-09-111-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27583 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix typo in comment.michael2008-09-081-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27546 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix accurate rounding mode on x86_64.michael2008-09-071-0/+12
| | | | | | | Fixes issue222. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27545 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support PIX_FMT_RGB32_1 and PIX_FMT_BGR32_1.michael2008-09-041-0/+8
| | | | | | | Fixes issue248. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27522 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove workaround for rgb/bgr mess.michael2008-09-041-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27520 b3059339-0415-0410-9bf9-f77b7e298cf2
* Change header inclusion guard names in line with FFmpeg r15120.stefano2008-08-311-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27499 b3059339-0415-0410-9bf9-f77b7e298cf2
* Split AVOption/AVClass in a separate file. SoC Patch from Keiji Costantinilu_zero2008-07-091-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27244 b3059339-0415-0410-9bf9-f77b7e298cf2
* spelling/grammar/wording overhauldiego2008-07-041-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27190 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use full path for #includes from another directory.diego2008-05-091-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26702 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make av_class a pointer to const.benoit2008-03-101-1/+1
| | | | | | | Patch by Takis. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26210 b3059339-0415-0410-9bf9-f77b7e298cf2
* define VOF as double of VOFW.benoit2008-03-101-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26209 b3059339-0415-0410-9bf9-f77b7e298cf2
* change sws_format_name to return const char*, supress many warningsbcoudurier2008-03-061-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26183 b3059339-0415-0410-9bf9-f77b7e298cf2
* Turn ancient V offset numerical constants into named ones.michael2008-03-051-1/+4
| | | | | | | | Add a check that checks that the width is within the chosen constant. This might have been exploitable. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26165 b3059339-0415-0410-9bf9-f77b7e298cf2
* Discard two symbols from libswscale.cehoyos2008-02-221-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26060 b3059339-0415-0410-9bf9-f77b7e298cf2
* comment typo fixesdiego2007-12-211-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25485 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add missing declarations for AltiVec functions, fixes the warnings:diego2007-12-081-0/+7
| | | | | | | | | swscale_template.c:1171: warning: implicit declaration of function ‘altivec_yuv2packedX’ swscale.c:1982: warning: implicit declaration of function ‘yuv2rgb_altivec_init_tables’ yuv2rgb.c:652: warning: implicit declaration of function ‘yuv2rgb_init_altivec’ git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25319 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix 'make checkheaders' on AltiVec-enabled systems.diego2007-12-071-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25316 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add FFMPEG_ prefix to all multiple inclusion guards.diego2007-10-181-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24800 b3059339-0415-0410-9bf9-f77b7e298cf2
* Revert wrong ARCH_BFIN --> HAVE_BFIN change.diego2007-09-271-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24627 b3059339-0415-0410-9bf9-f77b7e298cf2
* renaming ARCH_BFIN to HAVE_BFINmhoffman2007-08-311-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24309 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move Apple gcc AltiVec vector declaration syntax to libavutil.diego2007-08-241-6/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24143 b3059339-0415-0410-9bf9-f77b7e298cf2
* Rename CONFIG_DARWIN to SYS_DARWIN, it is not configurable (in FFmpeg).diego2007-08-221-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24121 b3059339-0415-0410-9bf9-f77b7e298cf2
* UltraSPARC VIS yuv2rgbbenoit2007-07-191-0/+3
| | | | | | | | | patch by Denes Balatoni: [dbalatoni interware hu] original thread: [FFmpeg-devel] [PATCH] UltraSPARC VIS yuv2rgb third try date: 07/17/2007 08:35 PM git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23825 b3059339-0415-0410-9bf9-f77b7e298cf2
* use YUV440P in swscalebenoit2007-07-181-0/+1
| | | | | | | | | patch by Andreas Öman: \andreas olebyn nu/ original thread: [FFmpeg-devel] half vertical chroma resolution from JPEGs.. date: 07/03/2007 01:29 PM git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23811 b3059339-0415-0410-9bf9-f77b7e298cf2
* license header consistency cosmeticsdiego2007-07-051-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23722 b3059339-0415-0410-9bf9-f77b7e298cf2
* misc spelling fixesdiego2007-06-131-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23556 b3059339-0415-0410-9bf9-f77b7e298cf2
* Blackfin optimized YUV420 to RGB CSC Color Space Converters.gpoirier2007-05-131-0/+16
| | | | | | | | | | | | YUV2 -> RGB BGR for 565, 555 and 888 a.k.a. 24bit color. Speed-up compared to C version compiled with -O3 187.28% Patch by Marc Hoffman %mmh A pleasantst P com% Original thread: Date: May 9, 2007 2:46 AM Subject: [FFmpeg-devel] PATCH BlackFin yuv2rgb color space conversion git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23307 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics; one test per line for all isXXX(x) macrosivo2007-05-111-15/+43
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23296 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics attack, part II: Remove all tabs and prettyprint/reindent the code.diego2007-04-291-121/+121
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23173 b3059339-0415-0410-9bf9-f77b7e298cf2
* typodiego2007-04-071-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22932 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: typo fixes, usefuLL --> useful and aswell --> as welldiego2007-02-221-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22307 b3059339-0415-0410-9bf9-f77b7e298cf2
* BGR/RGB4 byte formats as inputmichael2007-02-171-2/+2
| | | | | | | fixing isRGB/BGR() for the byte formats git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22244 b3059339-0415-0410-9bf9-f77b7e298cf2
* Pass a context to av_log(), when possiblelucabe2007-01-231-7/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21999 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove some void pointers arithmeticlucabe2006-12-261-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21771 b3059339-0415-0410-9bf9-f77b7e298cf2
* Clarify that some of the non-SIMD code is now LGPLed.lucabe2006-11-191-11/+8
| | | | | | | All the authours of such code agreed. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21045 b3059339-0415-0410-9bf9-f77b7e298cf2
* 16-bit grayscale supportkostya2006-10-241-1/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20427 b3059339-0415-0410-9bf9-f77b7e298cf2
* Change license headers to say 'FFmpeg' instead of 'this program'.diego2006-10-071-19/+21
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20100 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove the dependency of libswscale on img_format.hlucabe2006-09-171-0/+48
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19878 b3059339-0415-0410-9bf9-f77b7e298cf2
* make the C code of the swscaler which i wrote LGPLmichael2006-08-301-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19600 b3059339-0415-0410-9bf9-f77b7e298cf2
* vertical scaler with accurate rounding, some people on doom9 can see +-1 errorsmichael2006-07-241-1/+5
| | | | | | | | the +-1 issue is limited to >2tap vertical filters, so bilinear upscale was unaffected the new code is sometime faster sometimes slower but the difference is significant (~20%) so its optional and enabled with arnd=1 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19177 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use libavutil in libswscale, and allow it to be built out of the mplayer treelucabe2006-07-201-8/+10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19148 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move postproc ---> libswscalelucabe2006-06-301-0/+167
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18866 b3059339-0415-0410-9bf9-f77b7e298cf2