Mercurial > mplayer.hg
annotate libmpdemux/parse_es.h @ 27509:d97a607821f1
Replace casual GPL notices by proper license headers.
author | diego |
---|---|
date | Sun, 07 Sep 2008 14:09:51 +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 */ |