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> * |
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(); |