summaryrefslogtreecommitdiffstats
path: root/image_writer.h
Commit message (Collapse)AuthorAgeFilesLines
* image_writer: add dump_png() function as debugging helperwm42012-11-011-0/+3
|
* screenshot: let VOs pass colorspace information via mp_imagewm42012-11-011-2/+2
| | | | | | | | | This removes the hack that screenshot_save() got the colorspace information from the decoder. Instead, require the VOs to set the colorspace information on the mp_images used to pass around the screenshot data. This is more correct, as the image may have been converted/modified in the video filter chain, although there's nothing yet in the video filter chain which does this correctly.
* image_writer: rename "filetype" option to "format"wm42012-08-061-1/+1
| | | | | | | Although slightly less precise, this sounds less clunky. This change also causes the --screenshot-filetype option to be renamed to --screenshot-format.
* image_writer: support all JPEG specific options vo_jpeg supportswm42012-08-061-0/+5
| | | | | | Most of these are useless or probably even dangerous. Support them anyway, because it's easy, and we want to replace vo_jpeg without any disadvantages.
* screenshot: move image writer code into new file image_writer.cwm42012-08-061-0/+45