38,6 → 38,8 |
|
uint32_t layout; |
bitmap_t bitmap[4]; |
bitmap_t *last_bitmap; |
|
uint32_t ctx_format; |
int target; |
|
49,6 → 51,11 |
void (*draw)(render_t *render, AVPicture *picture); |
}; |
|
enum player_state |
{ CLOSED=0, STOP, PLAY_RESTART, PLAY, PAUSE, REWIND }; |
|
#define ID_PLAY 100 |
|
typedef struct |
{ |
volatile uint32_t lock; |
109,7 → 116,7 |
int decode_video(AVCodecContext *ctx, queue_t *qv); |
int decode_audio(AVCodecContext *ctx, queue_t *qa); |
|
double get_master_clock(); |
double get_master_clock(void); |
|
|
int create_thread(int (*proc)(void *param), void *param, int stack_size); |