[cvs] / xvidcore / src / bitstream / bitstream.c Repository:
ViewVC logotype

Diff of /xvidcore/src/bitstream/bitstream.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.28.2.17, Sat Jan 11 20:37:13 2003 UTC revision 1.28.2.19, Tue Jan 14 10:30:39 2003 UTC
# Line 1131  Line 1131 
1131                  profile = 0xf3; /* advanced simple profile/level 2 */                  profile = 0xf3; /* advanced simple profile/level 2 */
1132    
1133          // visual_object_sequence_start_code          // visual_object_sequence_start_code
1134          BitstreamPad(bs);  //      BitstreamPad(bs);
1135    /* no padding here, anymore. You have to make sure that you are
1136       byte aligned, and that always 1-8 padding bits have been written */
1137    
1138          BitstreamPutBits(bs, VISOBJSEQ_START_CODE, 32);          BitstreamPutBits(bs, VISOBJSEQ_START_CODE, 32);
1139          BitstreamPutBits(bs, profile, 8);          BitstreamPutBits(bs, profile, 8);
1140    
# Line 1146  Line 1149 
1149          BitstreamPutBits(bs, VIDOBJ_START_CODE|(vo_id&0x5), 32);          BitstreamPutBits(bs, VIDOBJ_START_CODE|(vo_id&0x5), 32);
1150    
1151          // video_object_layer_start_code & vol_id          // video_object_layer_start_code & vol_id
1152            BitstreamPad(bs);
1153          BitstreamPutBits(bs, VIDOBJLAY_START_CODE|(vol_id&0x4), 32);          BitstreamPutBits(bs, VIDOBJLAY_START_CODE|(vol_id&0x4), 32);
1154    
1155          BitstreamPutBit(bs, 0);         // random_accessible_vol          BitstreamPutBit(bs, 0);         // random_accessible_vol
# Line 1279  Line 1283 
1283  {  {
1284          uint32_t i;          uint32_t i;
1285    
1286          BitstreamPad(bs);  //      BitstreamPad(bs);
1287    /* no padding here, anymore. You have to make sure that you are
1288       byte aligned, and that always 1-8 padding bits have been written */
1289    
1290          BitstreamPutBits(bs, VOP_START_CODE, 32);          BitstreamPutBits(bs, VOP_START_CODE, 32);
1291    
1292          BitstreamPutBits(bs, frame->coding_type, 2);          BitstreamPutBits(bs, frame->coding_type, 2);

Legend:
Removed from v.1.28.2.17  
changed lines
  Added in v.1.28.2.19

No admin address has been configured
ViewVC Help
Powered by ViewVC 1.0.4