1 #ifndef MPLAYER_MPEG_HDR_H
2 #define MPLAYER_MPEG_HDR_H
6 int mpeg1
; // 0=mpeg2 1=mpeg1
7 int display_picture_width
;
8 int display_picture_height
;
9 int aspect_ratio_information
;
12 int bitrate
; // 0x3FFFF==VBR
14 int picture_structure
;
15 int progressive_sequence
;
16 int repeat_first_field
;
17 int progressive_frame
;
19 int display_time
; // secs*100
20 //the following are for mpeg4
21 unsigned int timeinc_resolution
, timeinc_bits
, timeinc_unit
;
25 int mp_header_process_sequence_header (mp_mpeg_header_t
* picture
, const unsigned char * buffer
);
26 int mp_header_process_extension (mp_mpeg_header_t
* picture
, unsigned char * buffer
);
27 float mpeg12_aspect_info(mp_mpeg_header_t
*picture
);
28 int mp4_header_process_vol(mp_mpeg_header_t
* picture
, unsigned char * buffer
);
29 void mp4_header_process_vop(mp_mpeg_header_t
* picture
, unsigned char * buffer
);
30 int h264_parse_sps(mp_mpeg_header_t
* picture
, unsigned char * buf
, int len
);
31 int mp_vc1_decode_sequence_header(mp_mpeg_header_t
* picture
, unsigned char * buf
, int len
);
33 #endif /* MPLAYER_MPEG_HDR_H */