Add icon loader

Add helper to load icons from image files via FFmpeg.
This commit is contained in:
Romain Vimont
2021-10-22 18:51:20 +02:00
parent 156d958e77
commit 0e4564da03
3 changed files with 264 additions and 0 deletions

16
app/src/icon.h Normal file
View File

@@ -0,0 +1,16 @@
#ifndef ICON_H
#define ICON_H
#include "common.h"
#include <stdbool.h>
#include <SDL2/SDL.h>
#include <libavformat/avformat.h>
SDL_Surface *
scrcpy_icon_load(void);
void
scrcpy_icon_destroy(SDL_Surface *icon);
#endif