[svn] / branches / dev-api-4 / xvidcore / src / bitstream / bitstream.c Repository:
ViewVC logotype

Diff of /branches/dev-api-4/xvidcore/src/bitstream/bitstream.c

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

revision 163, Mon May 6 08:18:11 2002 UTC revision 164, Mon May 6 10:07:19 2002 UTC
# Line 41  Line 41 
41    *                                                                                                                                                        *    *                                                                                                                                                        *
42    *  Revision history:                                                         *    *  Revision history:                                                         *
43    *                                                                                                                                                        *    *                                                                                                                                                        *
44      *  06.05.2002 low_delay                                                      *
45    *  06.05.2002 fixed fincr/fbase error                                        *    *  06.05.2002 fixed fincr/fbase error                                        *
46    *  01.05.2002 added BVOP support to BitstreamWriteVopHeader                  *    *  01.05.2002 added BVOP support to BitstreamWriteVopHeader                  *
47    *  15.04.2002 rewrite log2bin use asm386  By MinChen <chenm001@163.com>      *    *  15.04.2002 rewrite log2bin use asm386  By MinChen <chenm001@163.com>      *
# Line 642  Line 643 
643          BitstreamPutBits(bs, 0, 8);                     // video_object_type_indication          BitstreamPutBits(bs, 0, 8);                     // video_object_type_indication
644          BitstreamPutBit(bs, 0);                         // is_object_layer_identified (0=not given)          BitstreamPutBit(bs, 0);                         // is_object_layer_identified (0=not given)
645          BitstreamPutBits(bs, 1, 4);                     // aspect_ratio_info (1=1:1)          BitstreamPutBits(bs, 1, 4);                     // aspect_ratio_info (1=1:1)
646          BitstreamPutBit(bs, 0);                         // vol_control_parameters (0=not given)  
647    #ifdef BFRAMES
648            if (pParam->max_bframes > 0)
649            {
650                    dprintf("low_delay=1");
651                    BitstreamPutBit(bs, 1);                         // vol_control_parameters
652                    BitstreamPutBits(bs, 1, 2);                     // chroma_format 1="4:2:0"
653                    BitstreamPutBit(bs, 0);                         // low_delay
654                    BitstreamPutBit(bs, 0);                         // vbv_parameters (0=not given)
655            }
656            else
657    #endif
658            {
659                    BitstreamPutBits(bs, 0, 1);                     // vol_control_parameters (0=not given)
660            }
661    
662    
663          BitstreamPutBits(bs, 0, 2);                     // video_object_layer_shape (0=rectangular)          BitstreamPutBits(bs, 0, 2);                     // video_object_layer_shape (0=rectangular)
664    
665          WRITE_MARKER();          WRITE_MARKER();

Legend:
Removed from v.163  
changed lines
  Added in v.164

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