summaryrefslogtreecommitdiff
path: root/libswscale/utils.c
Commit message (Collapse)AuthorAge
* 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
* Cosmetics: make more compact the code for handle_jpeg(), this also allowsStefano Sabatini2010-05-19
| | | | | | vertical alignment. Improve readability. Originally committed as revision 31186 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Remove PI definition and use M_PI instead.Stefano Sabatini2010-05-19
| | | | | | M_PI is defined by the included file libavutil/mathematics.h. Originally committed as revision 31185 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* libswscale: Relicense almost all x86 assembler optimizations as LGPL.Diego Biurrun2010-03-27
| | | | | | | This is of course done with permissions from the authors. The only GPL component left are MMX optimizations for YUV to RGB conversion. Originally committed as revision 30965 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* AltiVec implies a PPC CPU, so there is no need to check for both.Diego Biurrun2010-03-23
| | | | Originally committed as revision 30954 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Do not compile AltiVec code when AltiVec is not available; not even inDiego Biurrun2010-03-23
| | | | | | | runtime cpudetection mode. Fixes compilation with '--enable-runtime-cpudetect --disable-altivec'. Originally committed as revision 30952 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Extend the generic path of the yuv2rgb converter with support for rgb444Janusz Krzysztofik2010-03-18
| | | | | | | | output format. Patch by Janusz Krzysztofik, jkrzyszt A tis D icnet D pl Originally committed as revision 30934 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Check for allocation failure for c->lumMmx2FilterCode and c->chrMmx2FilterCode.Reimar Döffinger2010-03-08
| | | | Originally committed as revision 30864 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Fix memleak due to incorrect VirtualFree arguments: size must be 0 for ↵Reimar Döffinger2010-03-08
| | | | | | MEM_RELEASE. Originally committed as revision 30863 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
* Make sws_dcVec static: It is only used inside libswscale/utils.c.Carl Eugen Hoyos2010-02-28
| | | | Originally committed as revision 30787 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Remove pointless empty line.Stefano Sabatini2010-02-25
| | | | Originally committed as revision 30730 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Reindent and fix brace placement.Stefano Sabatini2010-02-18
| | | | Originally committed as revision 30643 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Vertically align a list of comparisons in sws_getCachedContext().Stefano Sabatini2010-02-18
| | | | Originally committed as revision 30642 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Merge two if conditions, allow to decrese the level of indentation ofStefano Sabatini2010-02-18
| | | | | | the block. Originally committed as revision 30641 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Simplify how usesVFilter and usesHFilter are set.Stefano Sabatini2010-02-05
| | | | Originally committed as revision 30520 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Declare support for the pixel formats:Stefano Sabatini2010-01-31
| | | | | | | | | | | | | | | | | | | | PIX_FMT_YUVJ420P PIX_FMT_YUVJ422P PIX_FMT_YUVJ440P PIX_FMT_YUVJ444P in the isSupported{In,Out} macros. These pixel formats are not true pixel formats but hacks specific to JPEG in libavcodec. They are deprecated and should be removed (that is from libavcodec first and libswscale second)... but they must be tested by swscale-test. See thread: Subject: [FFmpeg-devel] [PATCH] Extend show_pix_fmts() to make it print the input/output support Date: 2010-01-30 15:54:08 GMT Originally committed as revision 30474 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Use isAnyRGB() where possibleMichael Niedermayer2010-01-26
| | | | Originally committed as revision 30435 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
* Merge two "if (flags & SWS_PRINT_INFO) { ... }" blocks, slightlyStefano Sabatini2010-01-25
| | | | | | simplify code. Originally committed as revision 30432 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Merge two "if (flags & SWS_PRINT_INFO) { ... }" blocks.Stefano Sabatini2010-01-24
| | | | Originally committed as revision 30425 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
* Don't redefine M_PI. It is already defined from libavutil/mathematics.h.Ramiro Polla2010-01-24
| | | | Originally committed as revision 30412 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