[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.11, Sat Dec 14 09:39:42 2002 UTC revision 1.39.2.7, Mon May 12 12:30:13 2003 UTC
# Line 41  Line 41 
41    *                                                                            *    *                                                                            *
42    *  Revision history:                                                         *    *  Revision history:                                                         *
43    *                                                                            *    *                                                                            *
44    *  28.10.2002 GMC support - gruel                                                                                        *    *  05.01.2003 GMC support - gruel                                            *
45    *  04.10.2002 qpel support - Isibaar                                                                             *    *  04.10.2002 qpel support - Isibaar                                                                             *
46    *  11.07.2002 add VOP width & height return to dec when dec->width           *    *  11.07.2002 add VOP width & height return to dec when dec->width           *
47    *             or dec->height is 0  (for use in examples/ex1.c)               *    *             or dec->height is 0  (for use in examples/ex1.c)               *
# Line 173  Line 173 
173    
174          if (dec->shape != VIDOBJLAY_SHAPE_BINARY_ONLY)          if (dec->shape != VIDOBJLAY_SHAPE_BINARY_ONLY)
175          {          {
176                  *quant = BitstreamGetBits(bs, 5);       /* quant_scale */                  *quant = BitstreamGetBits(bs, dec->quant_bits); /* quant_scale */
177                  DPRINTF(DPRINTF_HEADER, "quant %i", *quant);                  DPRINTF(DPRINTF_HEADER, "quant %i", *quant);
178          }          }
179    
# Line 230  Line 230 
230                          if (coding_type == B_VOP && fcode_backward)                          if (coding_type == B_VOP && fcode_backward)
231                          {                          {
232                                  *fcode_backward = BitstreamGetBits(bs, 3);                                  *fcode_backward = BitstreamGetBits(bs, 3);
233                                  DPRINTF(DPRINTF_HEADER,"fcode_backward %i", fcode_backward);                                  DPRINTF(DPRINTF_HEADER,"fcode_backward %i", *fcode_backward);
234                          }                          }
235                  }                  }
236    
# Line 326  Line 326 
326  {  {
327          ESTIMATION * e = &dec->estimation;          ESTIMATION * e = &dec->estimation;
328    
329          if (e->method == 0)          if (e->method == 0 || e->method == 1)
330          {          {
331                  if (coding_type == I_VOP) {                  if (coding_type == I_VOP) {
332                          if (e->opaque)          BitstreamSkip(bs, 8);   /* dcecs_opaque */                          if (e->opaque)          BitstreamSkip(bs, 8);   /* dcecs_opaque */
# Line 432  Line 432 
432                                           uint32_t * fcode_forward,                                           uint32_t * fcode_forward,
433                                           uint32_t * fcode_backward,                                           uint32_t * fcode_backward,
434                                           uint32_t * intra_dc_threshold,                                           uint32_t * intra_dc_threshold,
435                                           VECTOR * gmc_mv)                                           WARPPOINTS *gmc_warp)
436  {  {
437          uint32_t vol_ver_id;          uint32_t vol_ver_id;
438          uint32_t coding_type;          uint32_t coding_type;
439          uint32_t start_code;          uint32_t start_code;
440          uint32_t time_incr = 0;          uint32_t time_incr = 0;
441          int32_t time_increment;          int32_t time_increment = 0;
442          int resize = 0;          int resize = 0;
443    
444          do {          do {
# Line 464  Line 464 
464                          DPRINTF(DPRINTF_STARTCODE, "</visual_object_sequence>");                          DPRINTF(DPRINTF_STARTCODE, "</visual_object_sequence>");
465    
466                  } else if (start_code == VISOBJ_START_CODE) {                  } else if (start_code == VISOBJ_START_CODE) {
467                            int visobj_ver_id;
468    
469                          DPRINTF(DPRINTF_STARTCODE, "<visual_object>");                          DPRINTF(DPRINTF_STARTCODE, "<visual_object>");
470    
471                          BitstreamSkip(bs, 32);  // visual_object_start_code                          BitstreamSkip(bs, 32);  // visual_object_start_code
472                          if (BitstreamGetBit(bs))        // is_visual_object_identified                          if (BitstreamGetBit(bs))        // is_visual_object_identified
473                          {                          {
474                                  vol_ver_id = BitstreamGetBits(bs, 4);   // visual_object_ver_id                                  visobj_ver_id = BitstreamGetBits(bs, 4);        // visual_object_ver_id
475                                  DPRINTF(DPRINTF_HEADER,"ver_id %i", vol_ver_id);                                  DPRINTF(DPRINTF_HEADER,"visobj_ver_id %i", visobj_ver_id);
476                                  BitstreamSkip(bs, 3);   // visual_object_priority                                  BitstreamSkip(bs, 3);   // visual_object_priority
477                          } else {                          } else {
478                                  vol_ver_id = 1;                                  visobj_ver_id = 1;
479                          }                          }
480    
481                          if (BitstreamShowBits(bs, 4) != VISOBJ_TYPE_VIDEO)      // visual_object_type                          if (BitstreamShowBits(bs, 4) != VISOBJ_TYPE_VIDEO)      // visual_object_type
# Line 512  Line 513 
513                          DPRINTF(DPRINTF_HEADER, "vol id %i", start_code & VIDOBJLAY_START_CODE_MASK);                          DPRINTF(DPRINTF_HEADER, "vol id %i", start_code & VIDOBJLAY_START_CODE_MASK);
514    
515                          BitstreamSkip(bs, 32);  // video_object_layer_start_code                          BitstreamSkip(bs, 32);  // video_object_layer_start_code
   
516                          BitstreamSkip(bs, 1);   // random_accessible_vol                          BitstreamSkip(bs, 1);   // random_accessible_vol
517    
518                          // video_object_type_indication              BitstreamSkip(bs, 8);   // video_object_type_indication
                         if (BitstreamShowBits(bs, 8) != VIDOBJLAY_TYPE_SIMPLE &&  
                                 BitstreamShowBits(bs, 8) != VIDOBJLAY_TYPE_CORE &&  
                                 BitstreamShowBits(bs, 8) != VIDOBJLAY_TYPE_MAIN &&  
                                 BitstreamShowBits(bs, 8) != VIDOBJLAY_TYPE_ACE &&  
                                 BitstreamShowBits(bs, 8) != VIDOBJLAY_TYPE_ART_SIMPLE &&  
                                 BitstreamShowBits(bs, 8) != 0)  // BUGGY DIVX  
                         {  
                                 DPRINTF(DPRINTF_ERROR,"video_object_type_indication %i not supported ",  
                                         BitstreamShowBits(bs, 8));  
                                 return -1;  
                         }  
                         BitstreamSkip(bs, 8);  
   
519    
520                          if (BitstreamGetBit(bs))        // is_object_layer_identifier                          if (BitstreamGetBit(bs))        // is_object_layer_identifier
521                          {                          {
# Line 557  Line 544 
544                                  DPRINTF(DPRINTF_HEADER, "low_delay %i", dec->low_delay);                                  DPRINTF(DPRINTF_HEADER, "low_delay %i", dec->low_delay);
545                                  if (BitstreamGetBit(bs))        // vbv_parameters                                  if (BitstreamGetBit(bs))        // vbv_parameters
546                                  {                                  {
547                                            unsigned int bitrate;
548                                            unsigned int buffer_size;
549                                            unsigned int occupancy;
550    
551                                          DPRINTF(DPRINTF_HEADER,"+ vbv_parameters");                                          DPRINTF(DPRINTF_HEADER,"+ vbv_parameters");
552                                          BitstreamSkip(bs, 15);  // first_half_bitrate  
553                                            bitrate = BitstreamGetBits(bs,15) << 15;        // first_half_bit_rate
554                                          READ_MARKER();                                          READ_MARKER();
555                                          BitstreamSkip(bs, 15);  // latter_half_bitrate                                          bitrate |= BitstreamGetBits(bs,15);             // latter_half_bit_rate
556                                          READ_MARKER();                                          READ_MARKER();
557                                          BitstreamSkip(bs, 15);  // first_half_vbv_buffer_size  
558                                            buffer_size = BitstreamGetBits(bs, 15) << 3;    // first_half_vbv_buffer_size
559                                          READ_MARKER();                                          READ_MARKER();
560                                          BitstreamSkip(bs, 3);   // latter_half_vbv_buffer_size                                          buffer_size |= BitstreamGetBits(bs, 3);         // latter_half_vbv_buffer_size
561                                          BitstreamSkip(bs, 11);  // first_half_vbv_occupancy  
562                                            occupancy = BitstreamGetBits(bs, 11) << 15;     // first_half_vbv_occupancy
563                                          READ_MARKER();                                          READ_MARKER();
564                                          BitstreamSkip(bs, 15);  // latter_half_vbv_occupancy                                          occupancy |= BitstreamGetBits(bs, 15);  // latter_half_vbv_occupancy
565                                          READ_MARKER();                                          READ_MARKER();
566    
567                                            DPRINTF(DPRINTF_HEADER,"bitrate %d (unit=400 bps)", bitrate);
568                                            DPRINTF(DPRINTF_HEADER,"buffer_size %d (unit=16384 bits)", buffer_size);
569                                            DPRINTF(DPRINTF_HEADER,"occupancy %d (unit=64 bits)", occupancy);
570                                  }                                  }
571                          }else{                          }else{
572                                  dec->low_delay = dec->low_delay_default;                                  dec->low_delay = dec->low_delay_default;
# Line 628  Line 626 
626                                          {                                          {
627                                                  if (dec->fixed_dimensions)                                                  if (dec->fixed_dimensions)
628                                                  {                                                  {
629                                                          DPRINTF(DPRINTF_ERROR, "XVID_DEC_PARAM width/height does not match bitstream");                                                          DPRINTF(DPRINTF_ERROR, "decoder width/height does not match bitstream");
630                                                          return -1;                                                          return -1;
631                                                  }                                                  }
632                                                  resize = 1;                                                  resize = 1;
# Line 826  Line 824 
824                                  READ_MARKER();                                  READ_MARKER();
825                                  seconds = BitstreamGetBits(bs, 6);                                  seconds = BitstreamGetBits(bs, 6);
826    
827                                  DPRINTF(DPRINTF_HEADER, "time %ih%im%is", hours);                                  DPRINTF(DPRINTF_HEADER, "time %ih%im%is", hours,minutes,seconds);
828                          }                          }
829                          BitstreamSkip(bs, 1);   // closed_gov                          BitstreamSkip(bs, 1);   // closed_gov
830                          BitstreamSkip(bs, 1);   // broken_link                          BitstreamSkip(bs, 1);   // broken_link
# Line 1000  Line 998 
998                                          }                                          }
999                                          READ_MARKER();                                          READ_MARKER();
1000    
1001                                          gmc_mv[i].x = x;                                          gmc_warp->duv[i].x = x;
1002                                          gmc_mv[i].y = y;                                          gmc_warp->duv[i].y = y;
1003    
1004                                          DPRINTF(DPRINTF_HEADER,"sprite_warping_point[%i] xy=(%i,%i)", i, x, y);                                          DPRINTF(DPRINTF_HEADER,"sprite_warping_point[%i] xy=(%i,%i)", i, x, y);
1005                                  }                                  }
# Line 1056  Line 1054 
1054                                  BitstreamSkip(bs, 8);                                  BitstreamSkip(bs, 8);
1055                          }                          }
1056    
1057                          DPRINTF(DPRINTF_STARTCODE, "<user_data>: %s\n", tmp);                          DPRINTF(DPRINTF_STARTCODE, "<user_data>: %s", tmp);
1058    
1059                      /* divx detection */                      /* divx detection */
1060                          i = sscanf(tmp, "DivX%dBuild%d%c", &version, &build, &packed);                          i = sscanf(tmp, "DivX%dBuild%d%c", &version, &build, &packed);
# Line 1111  Line 1109 
1109  */  */
1110  void  void
1111  BitstreamWriteVolHeader(Bitstream * const bs,  BitstreamWriteVolHeader(Bitstream * const bs,
1112                                                  const MBParam * pParam,                                                  const MBParam * pParam)
                                                 const FRAMEINFO * const frame)  
1113  {  {
1114            static const unsigned int vo_id = 0;
1115            static const unsigned int vol_id = 0;
1116          int vol_ver_id=1;          int vol_ver_id=1;
1117        int vol_type_ind=VIDOBJLAY_TYPE_SIMPLE;
1118    
1119          if ( pParam->m_quarterpel ||  (frame->global_flags & XVID_GMC) ||          if ( (pParam->vol_flags & XVID_VOL_QUARTERPEL) ||
1120                   (pParam->global & XVID_GLOBAL_REDUCED))           (pParam->vol_flags & XVID_VOL_GMC) ||
1121                     (pParam->vol_flags & XVID_VOL_REDUCED_ENABLE))
1122                  vol_ver_id = 2;                  vol_ver_id = 2;
1123    
1124        if ((pParam->vol_flags & XVID_VOL_REDUCED_ENABLE)) {
1125            vol_type_ind = VIDOBJLAY_TYPE_ART_SIMPLE;
1126        }
1127    
1128            if ((pParam->vol_flags & XVID_VOL_QUARTERPEL) ||
1129            (pParam->vol_flags & XVID_VOL_GMC)) {
1130            vol_type_ind = VIDOBJLAY_TYPE_ASP;
1131        }
1132    
1133            // visual_object_sequence_start_code
1134    //      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        if (pParam->profile) {
1139                BitstreamPutBits(bs, VISOBJSEQ_START_CODE, 32);
1140                BitstreamPutBits(bs, pParam->profile, 8);
1141        }
1142    
1143            // visual_object_start_code
1144            BitstreamPad(bs);
1145            BitstreamPutBits(bs, VISOBJ_START_CODE, 32);
1146            BitstreamPutBits(bs, 0, 1);             // is_visual_object_identifier
1147            BitstreamPutBits(bs, VISOBJ_TYPE_VIDEO, 4);             // visual_object_type
1148    
1149          // video object_start_code & vo_id          // video object_start_code & vo_id
1150          BitstreamPad(bs);          BitstreamPad(bs);
1151          BitstreamPutBits(bs, VO_START_CODE, 27);          BitstreamPutBits(bs, VIDOBJ_START_CODE|(vo_id&0x5), 32);
         BitstreamPutBits(bs, 0, 5);  
1152    
1153          // video_object_layer_start_code & vol_id          // video_object_layer_start_code & vol_id
1154          BitstreamPutBits(bs, VOL_START_CODE, 28);          BitstreamPad(bs);
1155          BitstreamPutBits(bs, 0, 4);          BitstreamPutBits(bs, VIDOBJLAY_START_CODE|(vol_id&0x4), 32);
1156    
1157          BitstreamPutBit(bs, 0);         // random_accessible_vol          BitstreamPutBit(bs, 0);         // random_accessible_vol
1158          BitstreamPutBits(bs, 0, 8);     // video_object_type_indication          BitstreamPutBits(bs, vol_type_ind, 8);  // video_object_type_indication
1159    
1160          if (vol_ver_id == 1)          if (vol_ver_id == 1)
1161          {          {
# Line 1169  Line 1194 
1194    
1195          WRITE_MARKER();          WRITE_MARKER();
1196    
1197        if (pParam->fincr>0) {
1198          BitstreamPutBit(bs, 1);         // fixed_vop_rate = 1          BitstreamPutBit(bs, 1);         // fixed_vop_rate = 1
1199          BitstreamPutBits(bs, pParam->fincr, log2bin(pParam->fbase));    // fixed_vop_time_increment          BitstreamPutBits(bs, pParam->fincr, log2bin(pParam->fbase));    // fixed_vop_time_increment
1200        }else{
1201            BitstreamPutBit(bs, 0);         // fixed_vop_rate = 0
1202        }
1203    
1204          WRITE_MARKER();          WRITE_MARKER();
1205          BitstreamPutBits(bs, pParam->width, 13);        // width          BitstreamPutBits(bs, pParam->width, 13);        // width
# Line 1178  Line 1207 
1207          BitstreamPutBits(bs, pParam->height, 13);       // height          BitstreamPutBits(bs, pParam->height, 13);       // height
1208          WRITE_MARKER();          WRITE_MARKER();
1209    
1210          BitstreamPutBit(bs, frame->global_flags & XVID_INTERLACING);    // interlace          BitstreamPutBit(bs, pParam->vol_flags & XVID_VOL_INTERLACING);  // interlace
1211          BitstreamPutBit(bs, 1);         // obmc_disable (overlapped block motion compensation)          BitstreamPutBit(bs, 1);         // obmc_disable (overlapped block motion compensation)
1212    
1213          if (vol_ver_id != 1)          if (vol_ver_id != 1)
1214          {       if (frame->global_flags & XVID_GMC)          {       if ((pParam->vol_flags & XVID_VOL_GMC))
1215                  {       BitstreamPutBits(bs, 2, 2);             // sprite_enable=='GMC'                  {       BitstreamPutBits(bs, 2, 2);             // sprite_enable=='GMC'
1216                          BitstreamPutBits(bs, 2, 6);             // no_of_sprite_warping_points                          BitstreamPutBits(bs, 2, 6);             // no_of_sprite_warping_points
1217                          BitstreamPutBits(bs, 3, 2);             // sprite_warping_accuracy 0==1/2, 1=1/4, 2=1/8, 3=1/16                          BitstreamPutBits(bs, 3, 2);             // sprite_warping_accuracy 0==1/2, 1=1/4, 2=1/8, 3=1/16
# Line 1200  Line 1229 
1229          BitstreamPutBit(bs, 0);         // not_8_bit          BitstreamPutBit(bs, 0);         // not_8_bit
1230    
1231          // quant_type   0=h.263  1=mpeg4(quantizer tables)          // quant_type   0=h.263  1=mpeg4(quantizer tables)
1232          BitstreamPutBit(bs, pParam->m_quant_type);          BitstreamPutBit(bs, pParam->vol_flags & XVID_VOL_MPEGQUANT);
1233    
1234          if (pParam->m_quant_type) {          if ((pParam->vol_flags & XVID_VOL_MPEGQUANT)) {
1235                  BitstreamPutBit(bs, get_intra_matrix_status()); // load_intra_quant_mat                  BitstreamPutBit(bs, get_intra_matrix_status()); // load_intra_quant_mat
1236                  if (get_intra_matrix_status()) {                  if (get_intra_matrix_status()) {
1237                          bs_put_matrix(bs, get_intra_matrix());                          bs_put_matrix(bs, get_intra_matrix());
# Line 1216  Line 1245 
1245          }          }
1246    
1247          if (vol_ver_id != 1) {          if (vol_ver_id != 1) {
1248                  if (pParam->m_quarterpel)                  if ((pParam->vol_flags & XVID_VOL_QUARTERPEL))
1249                          BitstreamPutBit(bs, 1);         //  quarterpel                          BitstreamPutBit(bs, 1);         //  quarterpel
1250                  else                  else
1251                          BitstreamPutBit(bs, 0);         // no quarterpel                          BitstreamPutBit(bs, 0);         // no quarterpel
# Line 1230  Line 1259 
1259          {          {
1260                  BitstreamPutBit(bs, 0);         // newpred_enable                  BitstreamPutBit(bs, 0);         // newpred_enable
1261    
1262                  BitstreamPutBit(bs, (pParam->global & XVID_GLOBAL_REDUCED)?1:0);                  BitstreamPutBit(bs, (pParam->vol_flags & XVID_VOL_REDUCED_ENABLE)?1:0);
1263                                                                          /* reduced_resolution_vop_enabled */                                                                          /* reduced_resolution_vop_enabled */
1264          }          }
1265    
1266          BitstreamPutBit(bs, 0);         // scalability          BitstreamPutBit(bs, 0);         // scalability
1267    
1268            /* fake divx5 id, to ensure compatibility with divx5 decoder */
1269    #define DIVX5_ID "DivX000b000p"
1270            if (pParam->max_bframes > 0 && (pParam->global_flags & XVID_GLOBAL_PACKED)) {
1271                    BitstreamWriteUserData(bs, DIVX5_ID, strlen(DIVX5_ID));
1272            }
1273    
1274            /* xvid id */
1275    #define XVID_ID "XviD" XVID_BS_VERSION
1276            BitstreamWriteUserData(bs, XVID_ID, strlen(XVID_ID));
1277  }  }
1278    
1279    
# Line 1251  Line 1289 
1289  {  {
1290          uint32_t i;          uint32_t i;
1291    
1292          BitstreamPad(bs);  //      BitstreamPad(bs);
1293    /* no padding here, anymore. You have to make sure that you are
1294       byte aligned, and that always 1-8 padding bits have been written */
1295    
1296          BitstreamPutBits(bs, VOP_START_CODE, 32);          BitstreamPutBits(bs, VOP_START_CODE, 32);
1297    
1298          BitstreamPutBits(bs, frame->coding_type, 2);          BitstreamPutBits(bs, frame->coding_type, 2);
# Line 1283  Line 1324 
1324          if ( (frame->coding_type == P_VOP) || (frame->coding_type == S_VOP) )          if ( (frame->coding_type == P_VOP) || (frame->coding_type == S_VOP) )
1325                  BitstreamPutBits(bs, frame->rounding_type, 1);                  BitstreamPutBits(bs, frame->rounding_type, 1);
1326    
1327          if ((pParam->global & XVID_GLOBAL_REDUCED))          if ((frame->vol_flags & XVID_VOL_REDUCED_ENABLE))
1328                  BitstreamPutBit(bs, (frame->global_flags & XVID_REDUCED)?1:0);                  BitstreamPutBit(bs, (frame->vop_flags & XVID_VOP_REDUCED)?1:0);
1329    
1330          BitstreamPutBits(bs, 0, 3);     // intra_dc_vlc_threshold          BitstreamPutBits(bs, 0, 3);     // intra_dc_vlc_threshold
1331    
1332          if (frame->global_flags & XVID_INTERLACING) {          if ((frame->vol_flags & XVID_VOL_INTERLACING)) {
1333                  BitstreamPutBit(bs, (frame->global_flags & XVID_TOPFIELDFIRST));                  BitstreamPutBit(bs, (frame->vop_flags & XVID_VOP_TOPFIELDFIRST));
1334                  BitstreamPutBit(bs, (frame->global_flags & XVID_ALTERNATESCAN));                  BitstreamPutBit(bs, (frame->vop_flags & XVID_VOP_ALTERNATESCAN));
1335          }          }
1336    
1337          if (frame->coding_type == S_VOP) {          if (frame->coding_type == S_VOP) {
1338                  if (1)  {               // no_of_sprite_warping_points>=1                  if (1)  {               // no_of_sprite_warping_points>=1 (we use 2!)
1339                          if (pParam->m_quarterpel)                          int k;
1340                                  bs_put_spritetrajectory(bs, frame->GMC_MV.x/2 ); // du[0]                          for (k=0;k<2;k++)
1341                          else                          {
1342                                  bs_put_spritetrajectory(bs, frame->GMC_MV.x ); // du[0]                                  bs_put_spritetrajectory(bs, frame->warp.duv[k].x ); // du[k]
1343                          WRITE_MARKER();                          WRITE_MARKER();
1344    
1345                          if (pParam->m_quarterpel)                                  bs_put_spritetrajectory(bs, frame->warp.duv[k].y ); // dv[k]
                                 bs_put_spritetrajectory(bs, frame->GMC_MV.y/2 ); // dv[0]  
                         else  
                                 bs_put_spritetrajectory(bs, frame->GMC_MV.y ); // dv[0]  
1346                          WRITE_MARKER();                          WRITE_MARKER();
1347    
1348                            if ((frame->vol_flags & XVID_VOL_QUARTERPEL))
                         if (pParam->m_quarterpel)  
1349                          {                          {
1350                                  DPRINTF(DPRINTF_HEADER,"sprite_warping_point[%i] xy=(%i,%i) *QPEL*", 0, frame->GMC_MV.x/2, frame->GMC_MV.y/2);                                  DPRINTF(DPRINTF_HEADER,"sprite_warping_point[%i] xy=(%i,%i) *QPEL*", k, frame->warp.duv[k].x/2, frame->warp.duv[k].y/2);
1351                          }                          }
1352                          else                          else
1353                          {                          {
1354                                  DPRINTF(DPRINTF_HEADER,"sprite_warping_point[%i] xy=(%i,%i)", 0, frame->GMC_MV.x, frame->GMC_MV.y);                                  DPRINTF(DPRINTF_HEADER,"sprite_warping_point[%i] xy=(%i,%i)", k, frame->warp.duv[k].x, frame->warp.duv[k].y);
1355                          }                          }
   
1356                  }                  }
 /* GMC is halfpel in bitstream, even though GMC_MV was pseudo-qpel (2*halfpel) */  
   
                 if (2) {                // no_of_sprite_warping_points>=2 (for DivX5 compat)  
                         bs_put_spritetrajectory(bs, 0 );  
                         WRITE_MARKER();  
                         bs_put_spritetrajectory(bs, 0 );  
                         WRITE_MARKER();  
1357                  }                  }
                 // no support for brightness_change!  
1358          }          }
1359    
1360    

Legend:
Removed from v.1.28.2.11  
changed lines
  Added in v.1.39.2.7

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