703 |
BitstreamPutBits(bs, 0, 4); |
BitstreamPutBits(bs, 0, 4); |
704 |
|
|
705 |
BitstreamPutBit(bs, 0); /* random_accessible_vol */ |
BitstreamPutBit(bs, 0); /* random_accessible_vol */ |
706 |
BitstreamPutBits(bs, 0, 8); /* video_object_type_indication */ |
BitstreamPutBits(bs, 1, 8); /* video_object_type_indication "Video ID" == 00000001 */ |
707 |
BitstreamPutBit(bs, 0); /* is_object_layer_identified (0=not given) */ |
BitstreamPutBit(bs, 0); /* is_object_layer_identified (0=not given) */ |
708 |
BitstreamPutBits(bs, 1, 4); /* aspect_ratio_info (1=1:1) */ |
BitstreamPutBits(bs, 1, 4); /* aspect_ratio_info (1=1:1) */ |
709 |
|
|
741 |
BitstreamPutBit(bs, frame->global_flags & XVID_INTERLACING); /* interlace */ |
BitstreamPutBit(bs, frame->global_flags & XVID_INTERLACING); /* interlace */ |
742 |
BitstreamPutBit(bs, 1); /* obmc_disable (overlapped block motion compensation) */ |
BitstreamPutBit(bs, 1); /* obmc_disable (overlapped block motion compensation) */ |
743 |
BitstreamPutBit(bs, 0); /* sprite_enable */ |
BitstreamPutBit(bs, 0); /* sprite_enable */ |
744 |
BitstreamPutBit(bs, 0); /* not_in_bit */ |
BitstreamPutBit(bs, 0); /* not_8_bit */ |
745 |
|
|
746 |
/* quant_type 0=h.263 1=mpeg4(quantizer tables) */ |
/* quant_type 0=h.263 1=mpeg4(quantizer tables) */ |
747 |
BitstreamPutBit(bs, pParam->m_quant_type); |
BitstreamPutBit(bs, pParam->m_quant_type); |
763 |
BitstreamPutBit(bs, 1); /* resync_marker_disable */ |
BitstreamPutBit(bs, 1); /* resync_marker_disable */ |
764 |
BitstreamPutBit(bs, 0); /* data_partitioned */ |
BitstreamPutBit(bs, 0); /* data_partitioned */ |
765 |
BitstreamPutBit(bs, 0); /* scalability */ |
BitstreamPutBit(bs, 0); /* scalability */ |
766 |
|
|
767 |
|
BitstreamPadAlways(bs); /* next_start_code() */ |
768 |
} |
} |
769 |
|
|
770 |
|
|