Mercurial > mplayer.hg
annotate libmpdemux/parse_es.h @ 25996:dcb28cc9ca2c
Refactor AltiVec macros as done for FFmpeg.
author | diego |
---|---|
date | Mon, 18 Feb 2008 23:33:14 +0000 |
parents | 6ac1ece1f9fe |
children | 4129c8cfa742 |
rev | line source |
---|---|
25553
6ac1ece1f9fe
Add multiple inclusion guards to all header files that lack them.
diego
parents:
2310
diff
changeset
|
1 #ifndef PARSE_ES_H |
6ac1ece1f9fe
Add multiple inclusion guards to all header files that lack them.
diego
parents:
2310
diff
changeset
|
2 #define PARSE_ES_H |
1376
d1fb303707d3
parse_es moved out from mplayer.c (it was included as .c file)
arpi
parents:
diff
changeset
|
3 |
d1fb303707d3
parse_es moved out from mplayer.c (it was included as .c file)
arpi
parents:
diff
changeset
|
4 #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
|
5 #define VIDEOBUFFER_SIZE 0x100000 |
d1fb303707d3
parse_es moved out from mplayer.c (it was included as .c file)
arpi
parents:
diff
changeset
|
6 |
d1fb303707d3
parse_es moved out from mplayer.c (it was included as .c file)
arpi
parents:
diff
changeset
|
7 extern unsigned char* videobuffer; |
d1fb303707d3
parse_es moved out from mplayer.c (it was included as .c file)
arpi
parents:
diff
changeset
|
8 extern int videobuf_len; |
d1fb303707d3
parse_es moved out from mplayer.c (it was included as .c file)
arpi
parents:
diff
changeset
|
9 extern unsigned char videobuf_code[4]; |
d1fb303707d3
parse_es moved out from mplayer.c (it was included as .c file)
arpi
parents:
diff
changeset
|
10 extern int videobuf_code_len; |
d1fb303707d3
parse_es moved out from mplayer.c (it was included as .c file)
arpi
parents:
diff
changeset
|
11 |
d1fb303707d3
parse_es moved out from mplayer.c (it was included as .c file)
arpi
parents:
diff
changeset
|
12 // 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
|
13 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
|
14 |
d1fb303707d3
parse_es moved out from mplayer.c (it was included as .c file)
arpi
parents:
diff
changeset
|
15 // return: packet length |
d1fb303707d3
parse_es moved out from mplayer.c (it was included as .c file)
arpi
parents:
diff
changeset
|
16 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
|
17 |
d1fb303707d3
parse_es moved out from mplayer.c (it was included as .c file)
arpi
parents:
diff
changeset
|
18 // return: next packet code |
d1fb303707d3
parse_es moved out from mplayer.c (it was included as .c file)
arpi
parents:
diff
changeset
|
19 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
|
20 |
25553
6ac1ece1f9fe
Add multiple inclusion guards to all header files that lack them.
diego
parents:
2310
diff
changeset
|
21 #endif /* PARSE_ES_H */ |