summaryrefslogtreecommitdiff
path: root/libswscale/swscale.c
Commit message (Collapse)AuthorAge
* 100l fix if conditionBaptiste Coudurier2010-09-27
| | | | Originally committed as revision 32395 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Y400A (gray alpha) input support in libswscaleBaptiste Coudurier2010-09-27
| | | | Originally committed as revision 32394 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* swscale: remove useless temporary variableRamiro Polla2010-09-16
| | | | Originally committed as revision 32258 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* swscale: factorize plane copying code out of 2 functionsRamiro Polla2010-09-16
| | | | Originally committed as revision 32257 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* indentRamiro Polla2010-09-11
| | | | Originally committed as revision 32157 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* swscale: remove unused codeRamiro Polla2010-09-11
| | | | | | | yvu9ToYv12Wrapper() used to support yv12 with the chroma planes either in the uv order or the vu order. FFmpeg no longer has a pixel format in vu order. Originally committed as revision 32156 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* swscale: fix internal rgb->yv12 chroma conversion used by the main scaler pathRamiro Polla2010-09-06
| | | | | | The shift must be applied before the masking. Originally committed as revision 32051 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* swscale: simplify selection of optimizations to compile.Ramiro Polla2010-08-25
| | | | Originally committed as revision 32013 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* swscale: Always define COMPILE_xxx to either 0 or 1.Ramiro Polla2010-08-25
| | | | Originally committed as revision 32012 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* swscale: fix unaligned accesses in (RGB|BGR)32_1 to YUV conversionMåns Rullgård2010-08-23
| | | | Originally committed as revision 32011 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* swscale: remove unused macro parameter in BGR2UV templateMåns Rullgård2010-08-23
| | | | Originally committed as revision 32010 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* validate input data and linesizesRamiro Polla2010-08-18
| | | | Originally committed as revision 31976 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Add missing comma, fix rgb2yuv_table[SWS_CS_SMPTE240M] coefficients.Stefano Sabatini2010-07-24
| | | | Originally committed as revision 31779 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Add some comments to the rgb2yuv_table, clarifying the standard whereStefano Sabatini2010-07-24
| | | | | | are defined. Originally committed as revision 31778 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Cosmetics: reindent and unify whitespaceMartin Storsjö2010-07-19
| | | | Originally committed as revision 31757 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Do planar copy with a single memcpy only if the stride is equal to the lengthMartin Storsjö2010-07-19
| | | | | | This avoids writing outside of the designated rectangle. Originally committed as revision 31756 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* In planarCopyWrapper, Only copy length, not stride of the last line in the planeMartin Storsjö2010-07-16
| | | | | | | | If the destination planes are offset within the destination buffer, writing the extra bytes at the end may write outside of the destination buffer. Originally committed as revision 31746 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
* Fix 'assignment from incompatible pointer type' warning.Eli Friedman2010-07-03
| | | | | | Patch by Eli Friedman, eli d friedman a gmail Originally committed as revision 31628 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* deprecate palette8topacked32 in favor of public API functions ↵Reinhard Tartler2010-06-01
| | | | | | | | | | | sws_convertPalette8ToPacked32 and -24 additionallym deprecate palette8torgb16 and its bgr variant without replacement. These functions are not meant to be used by applications. Discussed at: http://comments.gmane.org/gmane.comp.video.ffmpeg.devel/109340 Originally committed as revision 31301 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
* 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
* 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
* Check whether COMPILE_ALTIVEC is defined, not if it is set to a 0/1 value.Diego Biurrun2010-03-19
| | | | | | COMPILE_ALTIVEC is never set to 1, it is just #defined. Originally committed as revision 30937 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
* Fix compilation on powerpc with --disable-altivecReinhard Tartler2010-03-09
| | | | | | | in case altivec is disabled, even compilation of code using altivec keywords or asm must be avoided. Originally committed as revision 30869 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
* 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
* Fill the r, g, b values used for computing the c->pal_yuv table in theStefano Sabatini2010-03-04
| | | | | | | | | case where the source format is PIX_FMT_GRAY8. This is required as PIX_FMT_GRAY8 has been declared as a paletted format in FFmpeg r22191, fix GRAY8 -> RGB conversion. Originally committed as revision 30826 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Implement shuffle_bytes_abcd() functions and use them for shufflingStefano Sabatini2010-02-03
| | | | | | | | | | | | bytes when converting between RGB32 variants. In particular fix the argb -> rgba and abgr -> bgra conversions. See the thread: Subject: [FFmpeg-devel] [RFC] RGB32 / BGR32 ethernal bug Date: Tue, 26 Jan 2010 01:06:18 +0100 Originally committed as revision 30501 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Reindent.Stefano Sabatini2010-01-30
| | | | Originally committed as revision 30467 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Use a consistent convention for the names of the internal wrapperStefano Sabatini2010-01-30
| | | | | | | | | functions. Improve readability. -This line, and those below, will be ignored-- swscale.c Originally committed as revision 30466 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
* Fix mis-computation of the needsDither variable erroneously introducedStefano Sabatini2010-01-24
| | | | | | | | in r30419, which was causing a swscale-example regression. Also increase my liter count by 20.0 units. Originally committed as revision 30431 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
* Indent.Ramiro Polla2010-01-24
| | | | Originally committed as revision 30413 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
* More const-correctness for sws_scaleDavid Conrad2010-01-21
| | | | Originally committed as revision 30381 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Split overly long line.Stefano Sabatini2010-01-19
| | | | Originally committed as revision 30378 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Make const prototypes for input sources of sws_scale_* stricter.Alexis Ballier2010-01-19
| | | | | | Patch by Alexis Ballier gmailify($firstname, $familyname) Originally committed as revision 30374 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Remove useless forward declaration.Ramiro Polla2010-01-19
| | | | Originally committed as revision 30371 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Remove stray '\' at the end of macro definitions.Stefano Sabatini2010-01-17
| | | | Originally committed as revision 30362 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Remove duplicated or pointless newlines.Stefano Sabatini2010-01-17
| | | | Originally committed as revision 30361 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Factorize error message logging, log it if the converter cannot beStefano Sabatini2010-01-17
| | | | | | set. Originally committed as revision 30360 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Reindent after the last commit.Stefano Sabatini2010-01-17
| | | | Originally committed as revision 30359 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale