Files
scrcpy/app/src/decoder.h
Romain Vimont d972a88c1a Optimize includes
Only include SDL_stdinc.h for SDL_bool, not the whole SDL.h.
2017-12-18 11:07:42 +01:00

21 lines
358 B
C

#ifndef DECODER_H
#define DECODER_H
#include <SDL2/SDL_stdinc.h>
#include <SDL2/SDL_net.h>
struct frames;
struct decoder {
struct frames *frames;
TCPsocket video_socket;
SDL_Thread *thread;
SDL_mutex *mutex;
SDL_bool skip_frames;
};
SDL_bool decoder_start(struct decoder *decoder);
void decoder_join(struct decoder *decoder);
#endif