summaryrefslogtreecommitdiff
path: root/libswscale/swscale_internal.h
Commit message (Collapse)AuthorAge
* libswcale: PIX_FMT_BGR48LE and PIX_FMT_BGR48BE scaler implementationPeter Ross2011-04-28
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* swscale: Factorize FAST_BGR2YV12 definition.Luca Barbato2011-04-13
| | | | | It is used only for x86 so it will eventually be moved with that code into the x86 arch subdirectory.
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-19
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Y400A (gray alpha) input support in libswscaleBaptiste Coudurier2010-09-27
| | | | Originally committed as revision 32394 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* More const-correctness fixes to avoid warnings.Reimar Döffinger2010-07-24
| | | | Originally committed as revision 31781 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Restore vertical alignment in some definesRamiro Polla2010-07-20
| | | | Originally committed as revision 31758 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Revert r31153. It failed to build on:Ramiro Polla2010-05-12
| | | | | | | | | | | x86_64 / Mac OS X gcc 4.0.1 x86_64 / Linux icc (all) x86_64 / Linux gcc 4.0.4 x86_64 / OpenBSD gcc 3.3.5 x86_64 / Linux suncc 5.10 and there are some reports of crashes. Originally committed as revision 31170 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Use int instead of long to pass width parameters in non-public functions.Ramiro Polla2010-05-11
| | | | | | | long was being incorrectly used as an x86-sized register, both for 32 and 64 bits, but this is not the case in win64. Originally committed as revision 31153 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Avoid duplication of usePal() macro.Stefano Sabatini2010-03-06
| | | | Originally committed as revision 30856 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Add support to BGR444/RGB444 foreign endian output in libswscale.Janusz Krzysztofik2010-03-06
| | | | | | Patch by Janusz Krzysztofik |jkrzyszt ^ tis icnet pl|. Originally committed as revision 30855 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* libswscale: Extend the unaccelerated path of the unscaled yuv2rgb specialJanusz Krzysztofik2010-03-05
| | | | | | | converter with support for rgb444 output format. Patch by Janusz Krzysztofik jkrzyszt chez tis icnet pl Originally committed as revision 30841 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Support BGR555, BGR565, RGB555 and RGB565 foreign endian output inAlexis Ballier2010-03-04
| | | | | | | | libswscale. Patch by Alexis Ballier, alexis D ballier A gmail Originally committed as revision 30840 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Add 3 more RGB makros that allow specifying RGB in bytes and any rgb/bgr.Michael Niedermayer2010-01-26
| | | | Originally committed as revision 30434 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Rename isRGB() and isBGR() as their meaning is confusing.Michael Niedermayer2010-01-26
| | | | Originally committed as revision 30433 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Use av_get_bits_per_pixel() for computing the bits per pixel of theStefano Sabatini2010-01-24
| | | | | | | | source and destination format, cache those values in the newly added SwsContext:srcFormatBpp and SwsContext:dstFormatBpp fields, and remove the fmt_depth() function. Originally committed as revision 30419 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Split swscale.c into scaler code (swscale.c) and utility code (utils.c).Ramiro Polla2010-01-24
| | | | Originally committed as revision 30411 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Move array specifiers outside DECLARE_ALIGNED() invocationsMåns Rullgård2010-01-22
| | | | Originally committed as revision 30385 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Document some more of SwsContext.Ramiro Polla2010-01-20
| | | | Originally committed as revision 30380 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Prefer enum PixelFormat to int as the parameter type ofStefano Sabatini2010-01-16
| | | | | | fmt_depth(fmt). Originally committed as revision 30333 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Document some of SwsContext.Ramiro Polla2010-01-16
| | | | Originally committed as revision 30328 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Reuse h{lum,chr}Filter{,Pos} variables for MMX2 fast_bilinear horizontal scaler.Ramiro Polla2010-01-16
| | | | Originally committed as revision 30327 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Const correctness for src pointer. Remove all constness related warnings inZuxy Meng2010-01-15
| | | | | | libswscale. Originally committed as revision 30306 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Move fast bilinear scaler code to the existing h[yc]scale_fast() functions.Ramiro Polla2009-12-21
| | | | Originally committed as revision 30098 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Rename function pointers used to convert from the input pixel format to theRamiro Polla2009-12-21
| | | | | | intermediate YV12 to a more descriptive name. Originally committed as revision 30097 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Check if chroma horizontal scaler is needed in sws_init_swScale().Ramiro Polla2009-12-21
| | | | Originally committed as revision 30096 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Remove unused fields from SwsContext.Ramiro Polla2009-12-21
| | | | Originally committed as revision 30095 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Indentation.Ramiro Polla2009-12-20
| | | | Originally committed as revision 30087 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Set horizontal scaler's range conversion in context in sws_init_swScale().Ramiro Polla2009-12-20
| | | | Originally committed as revision 30082 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Set horizontal scaler's src offsets in context in sws_init_swScale().Ramiro Polla2009-12-20
| | | | Originally committed as revision 30081 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Make 16bit YUV formats compatible with NE avcodec_get_pix_fmt().Lars Täuber2009-09-05
| | | | | | Patch by Lars Täuber <lars <dot> taeuber <at> gmx <dot> net>. Originally committed as revision 29650 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* More indentation changes leftover from r29522:Ramiro Polla2009-08-16
| | | | | | | - Align asm code to the column 4 spaces after the call to __asm__(); - Align cases in switch statements to the same column as "switch". Originally committed as revision 29524 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Cosmetics:Ramiro Polla2009-08-16
| | | | | | | - 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. Originally committed as revision 29523 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* MMX2 horizontal scaler: Determine code size at runtime.Ramiro Polla2009-08-13
| | | | Originally committed as revision 29510 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Rename "funny" code to "mmx2 filter" code.Ramiro Polla2009-08-13
| | | | Originally committed as revision 29507 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Replace WORDS_BIGENDIAN with HAVE_BIGENDIANMåns Rullgård2009-07-26
| | | | Originally committed as revision 29439 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Remove unused variables.Ramiro Polla2009-07-21
| | | | Originally committed as revision 29435 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Remove dependency from swscale_internal.h to lavu/internal.h, it is no longerRamiro Polla2009-07-09
| | | | | | | | | | | 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. Originally committed as revision 29415 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Use enum PixelFormat in sws_format_name() prototypeMåns Rullgård2009-07-01
| | | | Originally committed as revision 29409 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Add libavutil/internal.h #include, required for the DECLARE_ALIGNED macro.Diego Biurrun2009-06-11
| | | | | | This fixes swscale-example compilation. Originally committed as revision 29353 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Use DECLARE_ALIGNED macro instead of gcc __attribute__.Pavel Pavlov2009-06-04
| | | | | | Patch by Pavel Pavlov <pavel at summit-tech dot ca> Originally committed as revision 29348 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Partial (low bits ignored, no direct transcoding into other RGB formats) supportKostya Shishkov2009-06-02
| | | | | | for inputting RGB48BE/LE. Originally committed as revision 29341 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Let SwScaler know that RGB48 BE/LE is 16-bits per component format.Kostya Shishkov2009-05-19
| | | | Originally committed as revision 29317 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Make SwScaler recognize RGB48 BE/LE colourspaces (not support though).Kostya Shishkov2009-05-19
| | | | Originally committed as revision 29316 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Add missing const qualifiers to AltiVec function parameters where appropriate.Diego Biurrun2009-05-09
| | | | | | Fixes a couple of 'discards qualifiers from pointer target type' warnings. Originally committed as revision 29281 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Change VOFW for x86 to 5120, it allows larger images to be scaled and wasMichael Niedermayer2009-05-05
| | | | | | not slower. Other archs are not changed as the larger VOFW was slower on PPC. Originally committed as revision 29256 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Planar 16bit 420 422 444 YUV support (output is only supported in someMichael Niedermayer2009-04-21
| | | | | | | | unscaled convertions). This, like gray16 converts down to 8bit, which is a big FIXME & patch welcome, we should preserve more bits. Originally committed as revision 29217 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Add macro to check for 16bit per sample.Michael Niedermayer2009-04-21
| | | | Originally committed as revision 29215 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* add isBE()Michael Niedermayer2009-04-20
| | | | Originally committed as revision 29212 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Do not use abgrToA for both luma and alpha channel in hyscale.Cédric Schieli2009-04-14
| | | | | | This fixes RGB32 (et al.) scaling. Originally committed as revision 29179 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* whitespace cosmetics: Reindent a few lines and break a few excessively long ↵Diego Biurrun2009-04-12
| | | | | | lines. Originally committed as revision 29174 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale