summaryrefslogtreecommitdiff
path: root/libswscale/yuv2rgb.c
Commit message (Collapse)AuthorAge
* yuv2rgb: Document the color space coefficientsVittorio Giovara2016-01-20
| | | | | | Based on the original documentation found in mpeg2dec (1995). Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* swscale: check memory allocationsVittorio Giovara2015-01-05
| | | | | CC: libav-stable@libav.org Bug-Id: CID 1257779
* Remove all Blackfin architecture optimizationsDiego Biurrun2014-06-02
| | | | | | Blackfin is a painful platform to work with, no test machines are available and the range of multimedia applications is dubious. Thus it only represents a maintenance burden.
* Remove all SPARC architecture optimizationsDiego Biurrun2014-03-13
| | | | | SPARC is no longer being used in any multimedia-related fields and the VIS optimizations only represent a maintenance burden.
* cosmetics: Place arch initialization calls in alphabetical orderDiego Biurrun2013-08-29
|
* swscale: consistent names for arch-specific acceleration functionsDiego Biurrun2013-08-29
|
* swscale: ppc: Hide arch-specific initialization detailsDiego Biurrun2013-08-29
| | | | Also give consistent names to init functions.
* swscale: x86: Hide arch-specific initialization detailsDiego Biurrun2013-08-28
| | | | Also give consistent names to init functions.
* swscale: Move extern declarations for tables to swscale_internal.hDiego Biurrun2013-08-15
| | | | Also add missing ff_ prefixes where necessary.
* swscale: Use alpha from the right row in yuva2rgba_cMartin Storsjö2013-05-06
| | | | | | | | | | Every other pixel had the alpha channel taken from the wrong row. This fixes bug 504. CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
* swscale: Remove unnecessary backslashesMartin Storsjö2013-05-06
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* sws: disable yuv2rgb warning for planar rgb.Michael Niedermayer2013-02-09
| | | | | | | planar rgb formats do not use the table Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormatAnton Khirnov2012-10-08
|
* yuv2rgb: handle line widths that are not a multiple of 4.Ronald S. Bultje2012-08-28
| | | | | | | This introduces support for width%4==2 in addition to width%4==0. For odd widths, some more checks are needed, since the current code always handles two luma items in a row, thus there is a possibility of an overread by one.
* swscale: K&R formatting cosmetics (part I)Diego Biurrun2012-02-21
|
* Remove Sun medialib glue code.Diego Biurrun2012-02-08
| | | | | It is obscure, most likely unused and not bit-exact compared to libavcodec due to a different IDCT transform algorithm.
* swscale: fix signed shift overflows in ff_yuv2rgb_c_init_tables()Mans Rullgard2011-10-21
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* swscale: Remove disabled code.Diego Biurrun2011-05-29
|
* swscale: force --enable-runtime-cpudetect and remove SWS_CPU_CAPS_*.Ronald S. Bultje2011-05-24
|
* libswcale: PIX_FMT_BGR48LE and PIX_FMT_BGR48BE scaler implementationPeter Ross2011-04-28
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-19
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Change the type of Y table to pointer to void in fill_table().Benoit Fouet2010-07-12
| | | | | | | | | This fixes warnings about wrong type being used, e.g.: libswscale/yuv2rgb.c: In function ‘ff_yuv2rgb_c_init_tables’: libswscale/yuv2rgb.c:778: warning: passing argument 4 of ‘fill_table’ from incompatible pointer type libswscale/yuv2rgb.c:598: note: expected ‘uint8_t *’ but argument is of type ‘uint16_t *’ Originally committed as revision 31722 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Add av_ prefix to bswap macrosMåns Rullgård2010-07-10
| | | | Originally committed as revision 31679 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Move internal scale context fields initialization fromStefano Sabatini2010-06-01
| | | | | | | | sws_setColorspaceDetails() to ff_yuv2rgb_c_init_tables(). Allow to factorize duplicated code. Originally committed as revision 31300 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* alternative LGPL-licensed, MMX-optimized YUV to RGB conversion routinesDiego Biurrun2010-05-04
| | | | | | written by Kostya Shishkov Originally committed as revision 31135 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* HAVE_MMX2 implies HAVE_MMX, so checking the latter is enough.Diego Biurrun2010-03-26
| | | | Originally committed as revision 30961 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
* Cosmetics: fix vertical alignment.Benoit Fouet2010-03-05
| | | | Originally committed as revision 30842 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
* Apply consistency nit.Stefano Sabatini2010-02-25
| | | | Originally committed as revision 30729 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Add function to translate SWS_CS_* to coefficient arrayDavid Conrad2010-02-05
| | | | Originally committed as revision 30513 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
* User friendly warning message that gives out names of source and target formatsZuxy Meng2010-01-19
| | | | Originally committed as revision 30370 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Define out currently unused static functions.Zuxy Meng2010-01-18
| | | | Originally committed as revision 30365 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
* 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
* Remove 'offset' argument from PUTRGB* macros since it's unneeded and causedKostya Shishkov2009-08-09
| | | | | | pixel swapping during some YUV2RGB conversions. Originally committed as revision 29483 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* The AltiVec code in libswscale no longer is under GPL.Diego Biurrun2009-07-05
| | | | | | Remove one erroneous preprocessor check for CONFIG_GPL in the AltiVec code. Originally committed as revision 29412 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* YUV into RGB48 BE/LE conversion supportKostya Shishkov2009-06-02
| | | | Originally committed as revision 29342 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Remove useless duplicated code in yuv2rgb_c_32, yuva2rgba_c and yuva2argb_cCédric Schieli2009-04-27
| | | | Originally committed as revision 29240 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Move yuv2rgb code to subdirs.Ramiro Polla2009-03-26
| | | | Originally committed as revision 29063 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Simpler and more elegant fix to the x86_32/OSX+PIC build failureCédric Schieli2009-03-24
| | | | Originally committed as revision 29046 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Fix build failure on x86_32 Mac OS X with PIC enabledCédric Schieli2009-03-21
| | | | Originally committed as revision 29022 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Add YUVA420P -> RGBA/BGRA/ARGB/ABGR unscaled convertersCédric Schieli2009-03-20
| | | | Originally committed as revision 29010 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Do not assume long is same width as x86 register.Ramiro Polla2009-03-18
| | | | Originally committed as revision 28992 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Consistently use ff_ prefixes for internal symbols.Diego Biurrun2009-03-18
| | | | Originally committed as revision 28988 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Fix ff_bfin_yuv2rgb_get_func_ptr() vs. sws_ff_bfin_yuv2rgb_get_func_ptr() nameDiego Biurrun2009-03-17
| | | | | | mismatch. The function is now called sws_yuv2rgb_get_func_ptr_bfin(). Originally committed as revision 28982 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Add an alpha parameter to the YUV2RGBFUNC macro to ease the upcoming ↵Cédric Schieli2009-03-16
| | | | | | yuva2rgb patch Originally committed as revision 28978 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Fix braindead and broken way to calculate abase, fixes regression tests onReimar Döffinger2009-03-01
| | | | | | big-endian systems. Originally committed as revision 28773 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale