summaryrefslogtreecommitdiffstats
path: root/libswscale/swscale_internal.h
Commit message (Collapse)AuthorAgeFilesLines
* Move fast bilinear scaler code to the existing h[yc]scale_fast() functions.ramiro2009-12-211-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30098 b3059339-0415-0410-9bf9-f77b7e298cf2
* Rename function pointers used to convert from the input pixel format to theramiro2009-12-211-7/+7
| | | | | | | intermediate YV12 to a more descriptive name. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30097 b3059339-0415-0410-9bf9-f77b7e298cf2
* Check if chroma horizontal scaler is needed in sws_init_swScale().ramiro2009-12-211-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30096 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unused fields from SwsContext.ramiro2009-12-211-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30095 b3059339-0415-0410-9bf9-f77b7e298cf2
* Indentation.ramiro2009-12-201-8/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30087 b3059339-0415-0410-9bf9-f77b7e298cf2
* Set horizontal scaler's range conversion in context in sws_init_swScale().ramiro2009-12-201-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30082 b3059339-0415-0410-9bf9-f77b7e298cf2
* Set horizontal scaler's src offsets in context in sws_init_swScale().ramiro2009-12-201-0/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30081 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make 16bit YUV formats compatible with NE avcodec_get_pix_fmt().ramiro2009-09-051-12/+12
| | | | | | Patch by Lars Täuber <lars <dot> taeuber <at> gmx <dot> net>. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29650 b3059339-0415-0410-9bf9-f77b7e298cf2
* More indentation changes leftover from r29522:ramiro2009-08-161-32/+32
| | | | | | | | - Align asm code to the column 4 spaces after the call to __asm__(); - Align cases in switch statements to the same column as "switch". git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29524 b3059339-0415-0410-9bf9-f77b7e298cf2
* Cosmetics:ramiro2009-08-161-1/+1
| | | | | | | - Place curly brackets in the same line as while/for/if/switch/else/do; - Place curly brackets at column 0 in the next line starting a function. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29523 b3059339-0415-0410-9bf9-f77b7e298cf2
* MMX2 horizontal scaler: Determine code size at runtime.ramiro2009-08-131-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29510 b3059339-0415-0410-9bf9-f77b7e298cf2
* Rename "funny" code to "mmx2 filter" code.ramiro2009-08-131-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29507 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace WORDS_BIGENDIAN with HAVE_BIGENDIANmru2009-07-261-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29439 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unused variables.ramiro2009-07-211-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29435 b3059339-0415-0410-9bf9-f77b7e298cf2
* 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
| | | |