You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
332 B
20 lines
332 B
#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 decoder_start(struct decoder *decoder);
|
|
void decoder_join(struct decoder *decoder);
|
|
|
|
#endif
|