Mercurial > mplayer.hg
annotate libmpdemux/parse_es.h @ 26550:8a26190978a6
Force to uint64_t first to avoid direct conversion from double to unsigned int.
author | ulion |
---|---|
date | Mon, 28 Apr 2008 15:57:31 +0000 |
parents | 268ecf0e1ba4 |
children | d643e4643313 |
rev | line source |
---|---|
26029 | 1 #ifndef MPLAYER_PARSE_ES_H |
2 #define MPLAYER_PARSE_ES_H | |
1376
d1fb303707d3
parse_es moved out from mplayer.c (it was included as .c file)
arpi
parents:
diff
changeset
|
3 |
26143
268ecf0e1ba4
Add missing header #includes to fix 'make checkheaders'.
diego
parents:
26029
diff
changeset
|
4 #include "demuxer.h" |
268ecf0e1ba4
Add missing header #includes to fix 'make checkheaders'.
diego
parents:
26029
diff
changeset
|
5 |
1376
d1fb303707d3
parse_es moved out from mplayer.c (it was included as .c file)
arpi
parents:
diff
changeset
|
6 #define MAX_VIDEO_PACKET_SIZE (224*1024+4) |
d1fb303707d3
parse_es moved out from mplayer.c (it was included as .c file)
arpi
parents:
diff
changeset
|
7 #define VIDEOBUFFER_SIZE 0x100000 |
d1fb303707d3
parse_es moved out from mplayer.c (it was included as .c file)
arpi
parents:
diff
changeset
|
8 |
d1fb303707d3
parse_es moved out from mplayer.c (it was included as .c file)
arpi
parents:
diff
changeset
|
9 extern unsigned char* videobuffer; |
d1fb303707d3
parse_es moved out from mplayer.c (it was included as .c file)
arpi
parents:
diff
changeset
|
10 extern int videobuf_len; |
d1fb303707d3
parse_es moved out from mplayer.c (it was included as .c file)
arpi
parents:
diff
changeset
|
11 extern unsigned char videobuf_code[4]; |
d1fb303707d3
parse_es moved out from mplayer.c (it was included as .c file)
arpi
parents:
diff
changeset
|
12 extern int videobuf_code_len; |
d1fb303707d3
parse_es moved out from mplayer.c (it was included as .c file)
arpi
parents:
diff
changeset
|
13 |
d1fb303707d3
parse_es moved out from mplayer.c (it was included as .c file)
arpi
parents:
diff
changeset
|
14 // sync video stream, and returns next packet code |
d1fb303707d3
parse_es moved out from mplayer.c (it was included as .c file)
arpi
parents:
diff
changeset
|
15 int sync_video_packet(demux_stream_t *ds); |
d1fb303707d3
parse_es moved out from mplayer.c (it was included as .c file)
arpi
parents:
diff
changeset
|
16 |
d1fb303707d3
parse_es moved out from mplayer.c (it was included as .c file)
arpi
parents:
diff
changeset
|
17 // return: packet length |
d1fb303707d3
parse_es moved out from mplayer.c (it was included as .c file)
arpi
parents:
diff
changeset
|
18 int read_video_packet(demux_stream_t *ds); |
d1fb303707d3
parse_es moved out from mplayer.c (it was included as .c file)
arpi
parents:
diff
changeset
|
19 |
d1fb303707d3
parse_es moved out from mplayer.c (it was included as .c file)
arpi
parents:
diff
changeset
|
20 // return: next packet code |
d1fb303707d3
parse_es moved out from mplayer.c (it was included as .c file)
arpi
parents:
diff
changeset
|
21 int skip_video_packet(demux_stream_t *ds); |
d1fb303707d3
parse_es moved out from mplayer.c (it was included as .c file)
arpi
parents:
diff
changeset
|
22 |
26029 | 23 #endif /* MPLAYER_PARSE_ES_H */ |