Lines Matching refs:currVop

806 PV_STATUS DecodeVOPHeader(VideoDecData *video, Vop *currVop, Bool use_ext_timestamp)
834 currVop->timeStamp = -1;
850 currVop->predictionType = (int) BitstreamReadBits16(stream, 2);
877 currVop->timeInc = BitstreamReadBits16(stream, currVol->nbitsTimeIncRes);
888 currVop->vopCoded = (int) BitstreamRead1Bits(stream);
891 if (currVop->vopCoded == 0)
899 if (currVop->predictionType == P_VOP)
901 currVop->roundingType = (int) BitstreamRead1Bits(stream);
905 currVop->roundingType = 0;
925 if (currVop->predictionType != I_VOP)
943 if (currVop->predictionType == B_VOP)
952 currVop->intraDCVlcThr = (int) BitstreamReadBits16(stream, 3);
955 currVop->quantizer = (int16) BitstreamReadBits16(stream, currVol->quantPrecision);
956 if (currVop->quantizer == 0)
958 currVop->quantizer = video->prevVop->quantizer;
965 if (currVop->predictionType != I_VOP)
970 currVop->fcodeForward = 1;
974 currVop->fcodeForward = tmpvar;
978 currVop->fcodeForward = 0;
982 if (currVop->predictionType == B_VOP)
987 currVop->fcodeBackward = 1;
991 currVop->fcodeBackward = tmpvar;
995 currVop->fcodeBackward = 0;
1000 currVop->refSelectCode = (int) BitstreamReadBits16(stream, 2);
1016 PV_STATUS DecodeShortHeader(VideoDecData *video, Vop *currVop)
1040 currVop->temporalRef = (int) tmpvar;
1043 currVop->timeInc = 0xff & (256 + currVop->temporalRef - video->prevVop->temporalRef);
1044 currVol->moduloTimeBase += currVop->timeInc; /* mseconds 11/12/01 */
1145 currVop->roundingType = 0;
1149 currVop->predictionType = (int) BitstreamRead1Bits(stream);
1285 currVop->predictionType = tmpvar;
1299 currVop->roundingType = (int) BitstreamRead1Bits(stream);
1408 currVop->ETR = BitstreamReadBits16(stream, 2);
1433 if (currVop->predictionType == P_VOP && size > video->videoDecControls->size)
1439 video->currVop->uChan = video->currVop->yChan + size;
1440 video->currVop->vChan = video->currVop->uChan + (size >> 2);
1445 currVop->quantizer = (int16) BitstreamReadBits16(stream, 5);
1447 if (currVop->quantizer == 0) /* 04/03/01 */
1449 currVop->quantizer = video->prevVop->quantizer;
1497 currVop->gobNumber = 0;
1498 currVop->vopCoded = 1;
1500 currVop->intraDCVlcThr = 0;
1501 currVop->gobFrameID = 0; /* initial value, 05/22/00 */
1504 if (currVop->predictionType != I_VOP)
1505 currVop->fcodeForward = 1;
1507 currVop->fcodeForward = 0;
1591 H263_Deblock(video->currVop->yChan, video->width, video->height, video->QPMB, video->headerInfo.Mode, 0, 0);
1592 H263_Deblock(video->currVop->uChan, video->width >> 1, video->height >> 1, video->QPMB, video->headerInfo.Mode, 1, video->modified_quant);
1593 H263_Deblock(video->currVop->vChan, video->width >> 1, video->height >> 1, video->QPMB, video->headerInfo.Mode, 1, video->modified_quant);
1623 uint32 CalcVopDisplayTime(Vol *currVol, Vop *currVop, int shortVideoHeader)
1634 display_time = (uint32)(currVol->moduloTimeBase + (((int32)currVop->timeInc - (int32)currVol->timeInc_offset) * 1000) / ((int32)currVol->timeIncrementResolution)); /* 11/12/2001 */
1635 if (currVop->timeStamp >= display_time)