summaryrefslogtreecommitdiffstats
path: root/libmpcodecs/sws_utils.c
Commit message (Collapse)AuthorAgeFilesLines
* screenshot, draw_bmp: use colorspace passed with mp_imagewm42012-11-011-17/+50
| | | | | Remove the explicit struct mp_csp_details parameters from all related functions, and use mp_image.colorspace/levels instead.
* draw_bmp: don't try to call swscale if image format not supportedwm42012-10-241-0/+8
| | | | If that happens, we silently fail.
* sub: add helper to draw sub-bitmaps into an imageRudolf Polzer2012-10-241-0/+24
| | | | | Merged by wm4 from commits 93978f17b76d..13211ef5fc20. Changed copyright header in draw_bmp.c to "mpv", and removed the one in draw_bmp.h.
* libmpcodecs: move vf_scale.c swscale helper functions to sws_utils.cRudolf Polzer2012-10-241-0/+134
Extracted/rebased by wm4 from commits 93978f17b76d..13211ef5fc20. Actual mp_image_swscale is added in a later commit.