Lines Matching defs:bs1

887     BitstreamEncVideo *bs1 = video->bitstream1;
925 PutMCBPC_Intra(CBP, Mode, bs1); /* MCBPC */
929 BitstreamPutBits(bs1, 2, dquant); /* dquant*/
940 /*temp =*/ IntraDC_dpcm(DC, 1, bs1); /* dct_dc_size_luminance, */
942 /*temp =*/ IntraDC_dpcm(DC, 0, bs1); /* marker bit */
975 BitstreamEncVideo *bs1 = video->bitstream1;
1040 BitstreamPut1Bits(bs1, 1); /* not_coded = 1 */
1044 BitstreamPut1Bits(bs1, 0); /* not_coded =0 */
1049 PutMCBPC_Inter(CBP, Mode, bs1); /* MCBPC */
1051 video->header_bits -= BitstreamGetPos(bs1); /* Header Bits */
1056 WriteMVcomponent(video->currVop->fcodeForward, video->mot[mbnum][0].x - pmvx, bs1); /* Write x to bitstream */
1057 WriteMVcomponent(video->currVop->fcodeForward, video->mot[mbnum][0].y - pmvy, bs1); /* Write y to bitstream */
1064 WriteMVcomponent(video->currVop->fcodeForward, video->mot[mbnum][i].x - pmvx, bs1);
1065 WriteMVcomponent(video->currVop->fcodeForward, video->mot[mbnum][i].y - pmvy, bs1);
1068 video->header_bits += BitstreamGetPos(bs1); /* Header Bits */
1133 BitstreamEncVideo *bs1 = video->bitstream1;
1180 PutMCBPC_Intra(CBP, Mode, bs1); /* mcbpc I_VOP */
1184 BitstreamPut1Bits(bs1, video->acPredFlag[video->mbnum]); /* ac_pred_flag */
1188 PutCBPY(CBP >> 2, (Char)(1), bs1); /* cbpy */
1192 BitstreamPutBits(bs1, 2, dquant); /* dquant, 3/15/01*/
1194 /*MB_CodeCoeff(video,bs1); 5/21/01, replaced by below */
1206 BitstreamPutBits(bs1, 8, DC); /* intra_dc_size_luminance */
1208 BitstreamPutBits(bs1, 8, 255); /* intra_dc_size_luminance */
1210 (*BlockCodeCoeff)(&(RLB[i]), bs1, 1, ncoefblck[i], Mode); /* Code short header Intra AC*/
1223 /*temp =*/ IntraDC_dpcm(DC, 1, bs1); /* dct_dc_size_luminance, */
1225 /*temp =*/ IntraDC_dpcm(DC, 0, bs1); /* marker bit */
1227 (*BlockCodeCoeff)(&(RLB[i]), bs1, 1, ncoefblck[i], Mode);/* Code Intra AC */
1235 (*BlockCodeCoeff)(&(RLB[i]), bs1, 0, ncoefblck[i], Mode);/* Code Intra AC */
1249 BitstreamEncVideo *bs1 = video->bitstream1;
1313 BitstreamPut1Bits(bs1, 1); /* not_coded = 1 */
1317 BitstreamPut1Bits(bs1, 0); /* not_coded =0 */
1322 PutMCBPC_Inter(CBP, Mode, bs1); /* mcbpc P_VOP */
1326 BitstreamPut1Bits(bs1, video->acPredFlag[video->mbnum]); /* ac_pred_flag */
1330 PutCBPY(CBP >> 2, (Char)(intra), bs1); /* cbpy */
1334 BitstreamPutBits(bs1, 2, dquant); /* dquant, 3/15/01*/
1336 video->header_bits -= BitstreamGetPos(bs1); /* Header Bits */
1343 WriteMVcomponent(video->currVop->fcodeForward, video->mot[mbnum][0].x - pmvx, bs1); /* Write x to bitstream */
1344 WriteMVcomponent(video->currVop->fcodeForward, video->mot[mbnum][0].y - pmvy, bs1); /* Write y to bitstream */
1351 WriteMVcomponent(video->currVop->fcodeForward, video->mot[mbnum][i].x - pmvx, bs1);
1352 WriteMVcomponent(video->currVop->fcodeForward, video->mot[mbnum][i].y - pmvy, bs1);
1356 video->header_bits += BitstreamGetPos(bs1); /* Header Bits */
1358 /* MB_CodeCoeff(video,bs1); */ /* 5/22/01, replaced with below */
1372 BitstreamPutBits(bs1, 8, DC); /* intra_dc_size_luminance */
1374 BitstreamPutBits(bs1, 8, 255); /* intra_dc_size_luminance */
1376 (*BlockCodeCoeff)(&(RLB[i]), bs1, 1, ncoefblck[i], Mode); /* Code short header Intra AC*/
1389 /*temp =*/ IntraDC_dpcm(DC, 1, bs1); /* dct_dc_size_luminance, */
1391 /*temp =*/ IntraDC_dpcm(DC, 0, bs1); /* marker bit */
1393 (*BlockCodeCoeff)(&(RLB[i]), bs1, 1, ncoefblck[i], Mode);/* Code Intra AC */
1401 (*BlockCodeCoeff)(&(RLB[i]), bs1, 0, ncoefblck[i], Mode);/* Code Intra AC */
1411 (*BlockCodeCoeff)(&(RLB[i]), bs1, 0, ncoefblck[i], Mode);/* Code Inter AC*/