summaryrefslogtreecommitdiff
path: root/libswscale/swscale.c
Commit message (Collapse)AuthorAge
* 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
* Make the pal2rgbWrapper set and use the converter in pal2rgbWrapperStefano Sabatini2010-01-17
| | | | | | | | only if the input format is paletted. Fix potential crashes/weirdness if the input format is non-paletted. Originally committed as revision 30358 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Remove double constMåns Rullgård2010-01-17
| | | | Originally committed as revision 30357 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Factorize error message logging in rgb2rgbWrapper().Stefano Sabatini2010-01-17
| | | | Originally committed as revision 30356 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* ReindentMåns Rullgård2010-01-17
| | | | Originally committed as revision 30350 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Remove inline from initFilter()Måns Rullgård2010-01-17
| | | | | | It makes no sense having that function inlined. Originally committed as revision 30349 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Add a const qualifier in a cast, fix the gcc warning:Stefano Sabatini2010-01-17
| | | | | | | swscale.c: In function ‘sws_scale’: swscale.c:2968: warning: cast discards qualifiers from pointer target type Originally committed as revision 30341 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Add a const qualifier in a cast, fix the gcc warning:Stefano Sabatini2010-01-17
| | | | | | | swscale.c: In function ‘planarCopy’: swscale.c:2256: warning: cast discards qualifiers from pointer target type Originally committed as revision 30340 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Fix typo, "get rid off" -> "get rid of".Stefano Sabatini2010-01-16
| | | | Originally committed as revision 30338 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Revert r30331, which broke compilation.Stefano Sabatini2010-01-16
| | | | | | | swScale_C is not templated if any optimization is to be used and !runtime_cpudetect. Originally committed as revision 30334 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Factorize the code which calls the non optimized C functions inStefano Sabatini2010-01-16
| | | | | | getSwsFunc(). Originally committed as revision 30331 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Prefer "to %s%s" over "to%s %s", slightly more readable.Stefano Sabatini2010-01-16
| | | | Originally committed as revision 30330 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Simplify code in sws_getContext() which logs if the destination formatStefano Sabatini2010-01-16
| | | | | | | support dithering, remove the const char *dither variable and use a literal string instead. Originally committed as revision 30329 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Reuse h{lum,chr}Filter{,Pos} variables for MMX2 fast_bilinear horizontal scaler.Ramiro Polla2010-01-16
| | | | Originally committed as revision 30327 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Factorize code which logs the source and destination formats inStefano Sabatini2010-01-16
| | | | | | sws_getContext(). Originally committed as revision 30326 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Simplify reset_ptr(): employ usePal() macro rather than enumeratingStefano Sabatini2010-01-16
| | | | | | all the paletted formats. Originally committed as revision 30317 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Don't initialize normal horizontal filter if MMX2 filter is used.Ramiro Polla2010-01-15
| | | | Originally committed as revision 30313 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
* Fix typo.Stefano Sabatini2010-01-15
| | | | Originally committed as revision 30304 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Remove unused clip_table code.Ramiro Polla2010-01-14
| | | | Originally committed as revision 30303 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Add const qualifier to rgb48 to YV12 functions' src.Ramiro Polla2010-01-14
| | | | Originally committed as revision 30301 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Add missing parameter to rgb48 to YV12 functions.Ramiro Polla2010-01-14
| | | | Originally committed as revision 30300 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Ignore 0-height slice in sws_scale, otherwise a final 0-height slice willReimar Döffinger2010-01-08
| | | | | | | cause libswscale to assume the incorrect slice order and complain about slices starting in the middle. Originally committed as revision 30246 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Implement sws_isSupportedInput() and sws_isSupportedOutput().Stefano Sabatini2010-01-07
| | | | Originally committed as revision 30236 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Prefer enum PixelFormat over int for the type of the format parameterStefano Sabatini2010-01-03
| | | | | | of getSubSampleFactors(). Originally committed as revision 30184 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Prefer "*FUNC_NAME(" over "* FUNC_NAME(" for theStefano Sabatini2010-01-03
| | | | | | | swscale_configuration() and swscale_license() functions, consistent with the rest of FFmpeg. Originally committed as revision 30180 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale