raspi: first implementation of PIG in AVDec

This commit is contained in:
Stefan Seyfried
2013-10-21 00:08:47 +02:00
parent 824c602fb6
commit e0f5184900
4 changed files with 44 additions and 8 deletions

View File

@@ -29,7 +29,7 @@ struct packet_t
#define MSG_STOP 3
#define MSG_PAUSE 4
#define MSG_NEW_CHANNEL 5
#define MSG_ZOOM 6
#define MSG_PIG 6
#define MSG_SET_ASPECT_4_3 7
#define MSG_SET_ASPECT_16_9 8
#define MSG_SET_VOLUME 9
@@ -64,6 +64,13 @@ struct codec_t
int first_packet;
};
struct pig_params_t{
int x;
int y;
int w;
int h;
};
struct codecs_t {
pthread_mutex_t playback_mutex; /* Locked by the thread with access to playback - htsp/avplay/etc */