4 int mpeg1
; // 0=mpeg2 1=mpeg1
5 int display_picture_width
;
6 int display_picture_height
;
7 int aspect_ratio_information
;
10 int bitrate
; // 0x3FFFF==VBR
12 int picture_structure
;
13 int progressive_sequence
;
14 int repeat_first_field
;
15 int progressive_frame
;
17 int display_time
; // secs*100
18 //the following are for mpeg4
19 unsigned int timeinc_resolution
, timeinc_bits
, timeinc_unit
;
23 int mp_header_process_sequence_header (mp_mpeg_header_t
* picture
, const unsigned char * buffer
);
24 int mp_header_process_extension (mp_mpeg_header_t
* picture
, unsigned char * buffer
);
25 float mpeg12_aspect_info(mp_mpeg_header_t
*picture
);
26 int mp4_header_process_vol(mp_mpeg_header_t
* picture
, unsigned char * buffer
);
27 void mp4_header_process_vop(mp_mpeg_header_t
* picture
, unsigned char * buffer
);
28 int h264_parse_sps(mp_mpeg_header_t
* picture
, unsigned char * buf
, int len
);
29 int mp_vc1_decode_sequence_header(mp_mpeg_header_t
* picture
, unsigned char * buf
, int len
);