summaryrefslogtreecommitdiffstats
path: root/image_writer.c
Commit message (Collapse)AuthorAgeFilesLines
* image_writer: make JPG default and increase quality (for screenshots)wm42012-08-161-2/+2
| | | | | | | | | The assumption is that JPG screenshots are more useful in general. Lossless screenshots made from lossy videos are just a waste of space. Increase JPEG quality a bit. There's a tradeoff between quality and size, and since JPEG is the default now, attempt to balance the JPEG settings to provide sane defaults for general use cases.
* image_writer: rename "filetype" option to "format"wm42012-08-061-3/+3
| | | | | | | 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-1/+27
| | | | | | 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.
* image_writer: add TGA image formatwm42012-08-061-0/+5
| | | | | | For getting rid of vo_tga. This makes use of the libavcodec TGA encoder.
* image_writer: add some PNM family image formatswm42012-08-061-9/+20
| | | | | | | | | | While the PNM formats are not that useful, supporting them helps getting rid of vo_pnm. This makes use of the libavcodec PNM encoder. Compared to vo_pnm, at least PNM ASCII mode is not supported. It doesn't look like libavcodec supports this mode for encoding.
* image_writer: add option parsingwm42012-08-061-0/+14
| | | | | image_writer now provides its own option parsing, and screenshot.c and the mplayer frontend use it.
* image_writer: allow specifying pixel formats for image writerswm42012-08-061-2/+13
|
* image_writer: never pass anamorphic images to image writerwm42012-08-061-1/+2
|
* screenshot: move image writer code into new file image_writer.cwm42012-08-061-0/+262