Rev 2415 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2415 | Rev 2427 | ||
---|---|---|---|
Line 36... | Line 36... | ||
36 | rect_t rcbottom; |
36 | rect_t rcbottom; |
37 | 37 | ||
Line 38... | Line 38... | ||
38 | uint32_t layout; |
38 | uint32_t layout; |
39 | bitmap_t bitmap[4]; |
39 | bitmap_t bitmap[4]; |
- | 40 | bitmap_t *last_bitmap; |
|
- | 41 | ||
40 | uint32_t ctx_format; |
42 | uint32_t ctx_format; |
41 | int target; |
43 | int target; |
Line 42... | Line 44... | ||
42 | 44 | ||
43 | window_t *win; |
45 | window_t *win; |
Line 47... | Line 49... | ||
47 | 49 | ||
Line 48... | Line 50... | ||
48 | void (*draw)(render_t *render, AVPicture *picture); |
50 | void (*draw)(render_t *render, AVPicture *picture); |
49 | }; |
51 | }; |
Line -... | Line 52... | ||
- | 52 | ||
- | 53 | enum player_state |
|
- | 54 | { CLOSED=0, STOP, PLAY_RESTART, PLAY, PAUSE, REWIND }; |
|
- | 55 | ||
- | 56 | #define ID_PLAY 100 |
|
50 | 57 | ||
51 | typedef struct |
58 | typedef struct |
52 | { |
59 | { |
53 | volatile uint32_t lock; |
60 | volatile uint32_t lock; |
54 | char *buffer; |
61 | char *buffer; |
Line 107... | Line 114... | ||
107 | 114 | ||
Line 108... | Line 115... | ||
108 | int decode_video(AVCodecContext *ctx, queue_t *qv); |
115 | int decode_video(AVCodecContext *ctx, queue_t *qv); |
109 | int decode_audio(AVCodecContext *ctx, queue_t *qa); |
116 | int decode_audio(AVCodecContext *ctx, queue_t *qa); |
Line 110... | Line 117... | ||
110 | 117 | ||
Line 111... | Line 118... | ||
111 | double get_master_clock(); |
118 | double get_master_clock(void); |
Line 112... | Line 119... | ||
112 | 119 |