annotate libmpdemux/parse_es.h @ 28766:4725b3ebdba3

Add another hack to work-around the currently completely inconsistent way in which libavcodec sets AVCodecContext::pix_fmt.
author reimar
date Tue, 03 Mar 2009 13:38:33 +0000
parents 268ecf0e1ba4
children d643e4643313
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
26029
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25553
diff changeset
1 #ifndef MPLAYER_PARSE_ES_H
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25553
diff changeset
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
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25553
diff changeset
23 #endif /* MPLAYER_PARSE_ES_H */