Lines Matching defs:currVop

24 PV_STATUS EncodeShortHeader(BitstreamEncVideo *stream, Vop *currVop);
25 PV_STATUS EncodeVOPHeader(BitstreamEncVideo *stream, Vol *currVol, Vop *currVop);
45 Vop *currVop = video->currVop;
55 switch (currVop->predictionType)
126 Vop *currVop = video->currVop;
135 status = EncodeShortHeader(stream, currVop); /* Encode Short Header */
146 if (currVol->GOVStart && currVop->predictionType == I_VOP)
149 status = EncodeVOPHeader(stream, currVol, currVop); /* Encode VOP Header */
153 if (currVop->vopCoded)
194 Vop *currVop = video->currVop;
207 status = EncodeShortHeader(stream, currVop); /* Encode Short Header */
224 status = EncodeVOPHeader(stream, currVol, currVop); /* Encode VOP Header */
229 if (currVop->vopCoded)
313 Vop *currVop = video->currVop;
353 PV_STATUS EncodeVOPHeader(BitstreamEncVideo *stream, Vol *currVol, Vop *currVop)
364 status = BitstreamPutBits(stream, 2, currVop->predictionType);/* VOP Coding Type*/
376 status = BitstreamPutBits(stream, currVol->nbitsTimeIncRes, currVop->timeInc); /* vop_time_increment */
378 status = BitstreamPut1Bits(stream, currVop->vopCoded); /* vop_coded bit */
379 if (currVop->vopCoded == 0)
385 if (currVop->predictionType == P_VOP)
386 status = BitstreamPut1Bits(stream, currVop->roundingType); /* vop_rounding_type */
388 status = BitstreamPutBits(stream, 3, currVop->intraDCVlcThr); /* intra_dc_vlc_thr */
389 status = BitstreamPutBits(stream, 5, currVop->quantizer); /* vop_quant */
391 if (currVop->predictionType != I_VOP)
392 status = BitstreamPutBits(stream, 3, currVop->fcodeForward); /* vop_fcode_forward */
393 if (currVop->predictionType == B_VOP)
394 status = BitstreamPutBits(stream, 3, currVop->fcodeBackward);/* vop_fcode_backward */
398 status = BitstreamPutBits(stream, 2, currVop->refSelectCode); /* ref_select_code */
412 PV_STATUS EncodeShortHeader(BitstreamEncVideo *stream, Vop *currVop)
418 status = BitstreamPutBits(stream, 8, currVop->temporalRef); /* temporal_reference */
425 switch (currVop->width)
428 if (currVop->height == 96)
438 if (currVop->height == 144)
448 if (currVop->height == 288)
458 if (currVop->height == 576)
468 if (currVop->height == 1152)
483 status = BitstreamPut1Bits(stream, currVop->predictionType); /* picture_coding type */
485 status = BitstreamPutBits(stream, 5, currVop->quantizer); /* vop_quant*/
509 Vop *currVop = video->currVop;
525 if (currVop->predictionType == I_VOP)
527 else if (currVop->predictionType == P_VOP)
529 fcode = currVop->fcodeForward;
535 fcode = currVop->fcodeForward;
536 if (currVop->fcodeBackward > fcode)
537 fcode = currVop->fcodeBackward;
556 BitstreamPutBits(bs, currVol->nbitsTimeIncRes, currVop->timeInc); /* vop_time_increment */
561 BitstreamPutBits(bs, 2, currVop->predictionType);/* VOP Coding Type*/
564 BitstreamPutBits(bs, 3, currVop->intraDCVlcThr); /* intra_dc_vlc_thr */
566 if (currVop->predictionType != I_VOP)
567 /*status = */ BitstreamPutBits(bs, 3, currVop->fcodeForward);
568 if (currVop->predictionType == B_VOP)
569 /*status = */ BitstreamPutBits(bs, 3, currVop->fcodeBackward);