summaryrefslogtreecommitdiffstats
path: root/libswscale/utils.c
Commit message (Collapse)AuthorAgeFilesLines
* Use isAnyRGB() where possiblemichael2010-01-261-5/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30435 b3059339-0415-0410-9bf9-f77b7e298cf2
* Rename isRGB() and isBGR() as their meaning is confusing.michael2010-01-261-5/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30433 b3059339-0415-0410-9bf9-f77b7e298cf2
* Merge two "if (flags & SWS_PRINT_INFO) { ... }" blocks, slightlystefano2010-01-251-2/+0
| | | | | | | simplify code. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30432 b3059339-0415-0410-9bf9-f77b7e298cf2
* Merge two "if (flags & SWS_PRINT_INFO) { ... }" blocks.stefano2010-01-241-2/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30425 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use av_get_bits_per_pixel() for computing the bits per pixel of thestefano2010-01-241-0/+2
| | | | | | | | | source and destination format, cache those values in the newly added SwsContext:srcFormatBpp and SwsContext:dstFormatBpp fields, and remove the fmt_depth() function. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30419 b3059339-0415-0410-9bf9-f77b7e298cf2
* Don't redefine M_PI. It is already defined from libavutil/mathematics.h.ramiro2010-01-241-10/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30412 b3059339-0415-0410-9bf9-f77b7e298cf2
* Split swscale.c into scaler code (swscale.c) and utility code (utils.c).ramiro2010-01-241-0/+1589
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30411 b3059339-0415-0410-9bf9-f77b7e298cf2