mirror of
https://github.com/mpv-player/mpv
synced 2024-12-16 03:45:23 +00:00
9127939071
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.
10 lines
184 B
C
10 lines
184 B
C
#ifndef MP_IMAGE_LOADER_H_
|
|
#define MP_IMAGE_LOADER_H_
|
|
|
|
#include <stddef.h>
|
|
|
|
struct mp_image;
|
|
struct mp_image *load_image_png_buf(void *buffer, size_t buffer_size, int imgfmt);
|
|
|
|
#endif
|