summaryrefslogtreecommitdiffstats
path: root/libswscale/yuv2rgb.c
Commit message (Collapse)AuthorAgeFilesLines
...
| * Remove Sun medialib glue code.Diego Biurrun2012-02-081-2/+0
| | | | | | | | | | It is obscure, most likely unused and not bit-exact compared to libavcodec due to a different IDCT transform algorithm.
* | yuv2rgb: better check if source format have alphaPaul B Mahol2012-01-281-2/+2
| | | | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | sws: Move yuv2rgb clipping into the tables.Michael Niedermayer2012-01-111-12/+10
| | | | | | | | | | | | | | | | 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-181-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-10-221-2/+2
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-211-2/+2
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* | swscale: remove sws_format_name()Stefano Sabatini2011-05-301-1/+3
| | | | | | | | Use av_get_pix_fmt_name() instead.
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-05-301-74/+0
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | * 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-291-74/+0
| |
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-05-251-17/+11
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-241-17/+11
| |
| * libswcale: PIX_FMT_BGR48LE and PIX_FMT_BGR48BE scaler implementationPeter Ross2011-04-281-0/+38
| | | | | | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
| * Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-191-4/+4
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* | libswcale: PIX_FMT_BGR48LE and PIX_FMT_BGR48BE scaler implementationPeter Ross2011-03-261-0/+38
|/
* Change the type of Y table to pointer to void in fill_table().Benoit Fouet2010-07-121-1/+2
| | | | | | | | | 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-101-2/+2
| | | | Originally committed as revision 31679 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Move internal scale context fields initialization fromStefano Sabatini2010-06-011-0/+24
| | | | | | | | 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-041-1/+1
| | | | | | 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-261-1/+1
| | | | 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-061-2/+8
| | | | | | 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-051-2/+2
| | | | 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-051-0/+49
| | | | | | | 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-041-2/+12
| | | | | | | | 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-251-1/+1
| | | | Originally committed as revision 30729 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Add function to translate SWS_CS_* to coefficient arrayDavid Conrad2010-02-051-0/+7
| | | | 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-241-1/+1
| | | | | | | | 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-191-1/+1
| | | | Originally committed as revision 30370 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Define out currently unused static functions.Zuxy Meng2010-01-181-1/+6
| | | | 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-151-6/+6
| | | | | | libswscale. Originally committed as revision 30306 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Cosmetics:Ramiro Polla2009-08-161-2/+3
| | | | | | | - 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-091-66/+66
| | | | | | 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-051-1/+1
| | | | | | 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-021-0/+39
| | | | 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-271-9/+0
| | | | Originally committed as revision 29240 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Move yuv2rgb code to subdirs.Ramiro Polla2009-03-261-52/+1
| | | | 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-241-8/+2
| | | | 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-211-2/+10
| | | | Originally committed as revision 29022 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Add YUVA420P -> RGBA/BGRA/ARGB/ABGR unscaled convertersCédric Schieli2009-03-201-10/+91
| | | | 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-181-0/+1
| | | | Originally committed as revision 28992 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Consistently use ff_ prefixes for internal symbols.Diego Biurrun2009-03-181-7/+7
| | | | 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-171-1/+1
| | | | | | 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-161-12/+12
| | | | | | 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-011-1/+1
| | | | | | 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-281-2/+3
| | | | Originally committed as revision 28756 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Rename yuv2rgb2.c --> yuv2rgb.c.Diego Biurrun2009-02-241-0/+683
| | | | 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-241-780/+0
| | | | Originally committed as revision 28716 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Prefix visible YUV2RGB functions with sws_Kostya Shishkov2009-02-091-5/+5
| | | | Originally committed as revision 28496 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Give better name to Inverse_Table_6_9Kostya Shishkov2009-02-091-1/+1
| | | | Originally committed as revision 28495 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Remove file name from file headers.Diego Biurrun2009-02-091-1/+1
| | | | | | 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-251-2/+2
| | | | Originally committed as revision 28358 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
OpenPOWER on IntegriCloud