summaryrefslogtreecommitdiff
path: root/libswscale
Commit message (Collapse)AuthorAge
...
* 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
* Fix randomness of the swscale-test output.Stefano Sabatini2010-01-30
| | | | | | | | See the thread: Subject: [FFmpeg-devel] [RFC] Make swscale-test perform only one convertion Date: Fri, 29 Jan 2010 01:52:23 +0100 Originally committed as revision 30457 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Rename swscale-example to swscale-test, to better reflect the intendedStefano Sabatini2010-01-27
| | | | | | use of the program. Originally committed as revision 30439 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
* Add 3 more RGB makros that allow specifying RGB in bytes and any rgb/bgr.Michael Niedermayer2010-01-26
| | | | Originally committed as revision 30434 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
* 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
* 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
* Indent.Ramiro Polla2010-01-24
| | | | Originally committed as revision 30413 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
* 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
* Document some more of SwsContext.Ramiro Polla2010-01-20
| | | | Originally committed as revision 30380 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Avoid more pointless tests, the input and output formats need to beStefano Sabatini2010-01-20
| | | | | | | supported both as input and as output, as the conversion performed is: yuva420p -> src -> dst -> yuva420p. Originally committed as revision 30379 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 selfTest() perform tests where both the input and output formatsStefano Sabatini2010-01-19
| | | | | | are supported, avoid pointless loops. Originally committed as revision 30377 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
* swscale-example: Add comment about the use of av_{malloc,free}.Ramiro Polla2010-01-19
| | | | Originally committed as revision 30373 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
* 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
* swscale-example: use av_malloc()Måns Rullgård2010-01-19
| | | | | | | Image buffers require 16-byte alignment, so av_malloc() should be used. Fixes crash on PPC. Originally committed as revision 30369 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Split long line.Stefano Sabatini2010-01-18
| | | | Originally committed as revision 30368 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Convert int -> enum PixelFormat in doTest().Stefano Sabatini2010-01-18
| | | | Originally committed as revision 30367 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
* 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
* Prefer enum PixelFormat to int as the parameter type ofStefano Sabatini2010-01-16
| | | | | | fmt_depth(fmt). Originally committed as revision 30333 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Declare with av_unused the variable alpMmxFilter, fix the gcc warning:Stefano Sabatini2010-01-16
| | | | | | | | swscale_template.c: In function ‘swScale_C’: swscale_template.c:2580: warning: unused variable ‘alpMmxFilter’ swscale_template.c: In function ‘sws_init_swScale_C’: Originally committed as revision 30332 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
* Document some of SwsContext.Ramiro Polla2010-01-16
| | | | Originally committed as revision 30328 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