[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.25, Fri Jul 19 13:34:32 2002 UTC revision 1.27, Mon Sep 2 21:15:37 2002 UTC
# Line 446  Line 446 
446    
447    
448                                  if (vol_ver_id != 1) {                                  if (vol_ver_id != 1) {
449                                          dec->quarterpel = BitstreamGetBit(bs);  // quarter_sampe                                          DEBUG("QUARTERPEL BITSTREAM");
450                                          if (dec->quarterpel) {                                          dec->quarterpel = BitstreamGetBit(bs);  // quarter_sample
                                                 DPRINTF(DPRINTF_ERROR, "quarter_sample not supported");  
451                                          }                                          }
452                                  } else {                                  else
453                                          dec->quarterpel = 0;                                          dec->quarterpel = 0;
454                                  }  
455    
456                                  if (!BitstreamGetBit(bs))       // complexity_estimation_disable                                  if (!BitstreamGetBit(bs))       // complexity_estimation_disable
457                                  {                                  {
# Line 717  Line 716 
716    
717  #ifdef BFRAMES  #ifdef BFRAMES
718          if (pParam->max_bframes > 0) {          if (pParam->max_bframes > 0) {
                 //DPRINTF("low_delay=1");  
719                  BitstreamPutBit(bs, 1); // vol_control_parameters                  BitstreamPutBit(bs, 1); // vol_control_parameters
720                  BitstreamPutBits(bs, 1, 2);     // chroma_format 1="4:2:0"                  BitstreamPutBits(bs, 1, 2);     // chroma_format 1="4:2:0"
721                  BitstreamPutBit(bs, 0); // low_delay                  BitstreamPutBit(bs, 0); // low_delay
# Line 725  Line 723 
723          } else          } else
724  #endif  #endif
725          {          {
726                  BitstreamPutBits(bs, 0, 1);     // vol_control_parameters (0=not given)                  BitstreamPutBit(bs, 1); // vol_control_parameters
727                    BitstreamPutBits(bs, 1, 2);     // chroma_format 1="4:2:0"
728                    BitstreamPutBit(bs, 1); // low_delay
729                    BitstreamPutBit(bs, 0); // vbv_parameters (0=not given)
730          }          }
731    
732    

Legend:
Removed from v.1.25  
changed lines
  Added in v.1.27

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