summaryrefslogtreecommitdiff
path: root/libswscale/yuv2rgb.c
Commit message (Collapse)AuthorAge
...
* | sws: Move yuv2rgb clipping into the tables.Michael Niedermayer2012-01-11
| | | | | | | | | | | | | | | | This fixes some cases where the clipping was entirely missing. Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Thanks (for the comments and review) -to: Reimar, beastd, Ronald
* | sws: Fix warning: ‘abase’ may be used uninitialized in this functionMichael Niedermayer2011-11-18
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-10-22
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: (35 commits) flvdec: Do not call parse_keyframes_index with a NULL stream libspeexdec: include system headers before local headers libspeexdec: return meaningful error codes libspeexdec: cosmetics: reindent libspeexdec: decode one frame at a time. swscale: fix signed shift overflows in ff_yuv2rgb_c_init_tables() Move timefilter code from lavf to lavd. mov: add support for hdvd and pgapmetadata atoms mov: rename function _stik, some indentation cosmetics mov: rename function _int8 to remove ambiguity, some indentation cosmetics mov: parse the gnre atom mp3on4: check for allocation failures in decode_init_mp3on4() mp3on4: create a separate flush function for MP3onMP4. mp3on4: ensure that the frame channel count does not exceed the codec channel count. mp3on4: set channel layout mp3on4: fix the output channel order mp3on4: allocate temp buffer with av_malloc() instead of on the stack. mp3on4: copy MPADSPContext from first context to all contexts. fmtconvert: port float_to_int16_interleave() 2-channel x86 inline asm to yasm fmtconvert: port int32_to_float_fmul_scalar() x86 inline asm to yasm ... Conflicts: libavcodec/arm/h264dsp_init_arm.c libavcodec/h264.c libavcodec/h264.h libavcodec/h264_cabac.c libavcodec/h264_cavlc.c libavcodec/h264_ps.c libavcodec/h264dsp_template.c libavcodec/h264idct_template.c libavcodec/h264pred.c libavcodec/h264pred_template.c libavcodec/x86/h264dsp_mmx.c libavdevice/Makefile libavdevice/jack_audio.c libavformat/Makefile libavformat/flvdec.c libavformat/flvenc.c libavutil/pixfmt.h libswscale/utils.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * 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 sws_format_name()Stefano Sabatini2011-05-30
| | | | | | | | Use av_get_pix_fmt_name() instead.
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-05-30
|\| | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: ARM: enable UAL syntax in asm.S v4l2: don't leak video standard string on error. swscale: Remove disabled code. avfilter: Surround function only used in debug mode by appropriate #ifdef. vf_crop: Replace #ifdef DEBUG + av_log() by av_dlog(). build: remove BUILD_ROOT variable vp8: use av_clip_uintp2() where possible Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * swscale: Remove disabled code.Diego Biurrun2011-05-29
| |
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-05-25
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: (22 commits) configure: enable memalign_hack automatically when needed swscale: unbreak the build on non-x86 systems. swscale: remove if(bitexact) branch from functions. swscale: remove if(canMMX2BeUsed) conditional. swscale: remove swScale_{c,MMX,MMX2} duplication. swscale: use emms_c(). Move emms_c() from libavcodec to libavutil. tiff: set palette in the context when specified in TIFF_PAL tag rtsp: use strtoul to parse rtptime and seq values. pgssubdec: fix incorrect colors. dvdsubdec: fix incorrect colors. ape: Allow demuxing of files with metadata tags. swscale: remove dead macro WRITEBGR24OLD. swscale: remove AMD3DNOW "optimizations". swscale: remove duplicate code in ppc/ subdirectory. swscale: remove duplicated x86/ functions. swscale: force --enable-runtime-cpudetect and remove SWS_CPU_CAPS_*. vsrc_buffer.h: add file doxy vsrc_buffer: tweak error message in init() msmpeg4: reindent. ... Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * 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>
* | libswcale: PIX_FMT_BGR48LE and PIX_FMT_BGR48BE scaler implementationPeter Ross2011-03-26
|/
* 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
* When converting from a non alpha format to an alpha format, defaultsCédric Schieli2009-02-28
| | | | Originally committed as revision 28756 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Rename yuv2rgb2.c --> yuv2rgb.c.Diego Biurrun2009-02-24
| | | | Originally committed as revision 28723 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Remove GPL version of yuv2rgb.c that has been replaced by an LGPL substitute.Diego Biurrun2009-02-24
| | | | Originally committed as revision 28716 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Prefix visible YUV2RGB functions with sws_Kostya Shishkov2009-02-09
| | | | Originally committed as revision 28496 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Give better name to Inverse_Table_6_9Kostya Shishkov2009-02-09
| | | | Originally committed as revision 28495 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Remove file name from file headers.Diego Biurrun2009-02-09
| | | | | | It provides no useful information and breaks on renames. Originally committed as revision 28494 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* HAVE_3DNOW --> HAVE_AMD3DNOW to sync with latest configure changes.Diego Biurrun2009-01-25
| | | | Originally committed as revision 28358 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Change semantic of CONFIG_*, HAVE_* and ARCH_*.Aurelien Jacobs2009-01-14
| | | | | | They are now always defined to either 0 or 1. Originally committed as revision 28311 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Mark dither_2x2_{8,4} static to swscale.cDiego Pettenò2008-10-09
| | | | | | | These two tables are not used outside swscale.c even though they are declared also in yuv2rgb.c. Originally committed as revision 27736 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale