summaryrefslogtreecommitdiffstats
path: root/video/image_loader.c
Commit message (Collapse)AuthorAgeFilesLines
* screenshot, vo_image: use global swscale/zimg parameterswm42019-10-311-1/+1
| | | | | | | | | | Lots of dumb crap to do... something. Instead of adding yet another dumb helper, just use the main" sws_utils API in both callers. (Which, unfortunately, has been duplicated for glorious webp screenshots, despite the fact that webp is crap.) Good part: can enable zimg for screenshots (as far as needed). Bad part: uses "default" swscale parameters instead of HQ now.
* image_writer: move convert_image() to player/screenshot.csfan52019-09-141-1/+1
|
* x11: load icon differentlywm42017-07-011-0/+48
Now it's sourced from the etc/ PNG files directly, instead of preprocessing them with imagemagick. Add some ad-hoc code to decode PNG files with libavcodec. At least we can drop the zlib code in exchange.