00001 #ifndef MNT_MPEG1_PIC_H 00002 #define MNT_MPEG1_PIC_H 00003 00004 #include "mnt_bit_parser.h" 00005 #include "mnt_mpeg1.h" 00006 00011 class MntMPEG1PicHdr { 00012 00013 public: 00014 00021 short temporal_reference_; 00022 00027 char type_; 00028 00029 unsigned short vbv_delay_; 00035 char full_pel_forward_vector_; 00041 char full_pel_backward_vector_; 00042 00044 00049 char forward_r_size_, forward_f_; 00050 char backward_r_size_, backward_f_; 00052 00053 00054 int parse(BitParser *bp); 00055 int find(BitParser *bp); 00056 int dump(BitParser *inbp, BitParser *outbp); 00057 int skip(BitParser *bp); 00058 int encode(BitParser *bp); 00059 }; 00060 00061 00062 #endif