Lines Matching defs:currVop

808 PV_STATUS DecodeVOPHeader(VideoDecData *video, Vop *currVop, Bool use_ext_timestamp)
836 currVop->timeStamp = -1;
852 currVop->predictionType = (int) BitstreamReadBits16(stream, 2);
879 currVop->timeInc = BitstreamReadBits16(stream, currVol->nbitsTimeIncRes);
890 currVop->vopCoded = (int) BitstreamRead1Bits(stream);
893 if (currVop->vopCoded == 0)
901 if (currVop->predictionType == P_VOP)
903 currVop->roundingType = (int) BitstreamRead1Bits(stream);
907 currVop->roundingType = 0;
927 if (currVop->predictionType != I_VOP)
945 if (currVop->predictionType == B_VOP)
954 currVop->intraDCVlcThr = (int) BitstreamReadBits16(stream, 3);
957 currVop->quantizer = (int16) BitstreamReadBits16(stream, currVol->quantPrecision);
958 if (currVop->quantizer == 0)
960 currVop->quantizer = video->prevVop->quantizer;
967 if (currVop->predictionType != I_VOP)
972 currVop->fcodeForward = 1;
976 currVop->fcodeForward = tmpvar;
980 currVop->fcodeForward = 0;
984 if (currVop->predictionType == B_VOP)
989 currVop->fcodeBackward = 1;
993 currVop->fcodeBackward = tmpvar;
997 currVop->fcodeBackward = 0;
1002 currVop->refSelectCode = (int) BitstreamReadBits16(stream, 2);
1018 PV_STATUS DecodeShortHeader(VideoDecData *video, Vop *currVop)
1042 currVop->temporalRef = (int) tmpvar;
1045 currVop->timeInc = 0xff & (256 + currVop->temporalRef - video->prevVop->temporalRef);
1046 currVol->moduloTimeBase += currVop->timeInc; /* mseconds 11/12/01 */
1147 currVop->roundingType = 0;
1151 currVop->predictionType = (int) BitstreamRead1Bits(stream);
1287 currVop->predictionType = tmpvar;
1301 currVop->roundingType = (int) BitstreamRead1Bits(stream);
1416 currVop->ETR = BitstreamReadBits16(stream, 2);
1441 if (currVop->predictionType == P_VOP && size > video->videoDecControls->size)
1447 video->currVop->uChan = video->currVop->yChan + size;
1448 video->currVop->vChan = video->currVop->uChan + (size >> 2);
1453 currVop->quantizer = (int16) BitstreamReadBits16(stream, 5);
1455 if (currVop->quantizer == 0) /* 04/03/01 */
1457 currVop->quantizer = video->prevVop->quantizer;
1505 currVop->gobNumber = 0;
1506 currVop->vopCoded = 1;
1508 currVop->intraDCVlcThr = 0;
1509 currVop->gobFrameID = 0; /* initial value, 05/22/00 */
1512 if (currVop->predictionType != I_VOP)
1513 currVop->fcodeForward = 1;
1515 currVop->fcodeForward = 0;
1599 H263_Deblock(video->currVop->yChan, video->width, video->height, video->QPMB, video->headerInfo.Mode, 0, 0);
1600 H263_Deblock(video->currVop->uChan, video->width >> 1, video->height >> 1, video->QPMB, video->headerInfo.Mode, 1, video->modified_quant);
1601 H263_Deblock(video->currVop->vChan, video->width >> 1, video->height >> 1, video->QPMB, video->headerInfo.Mode, 1, video->modified_quant);
1631 uint32 CalcVopDisplayTime(Vol *currVol, Vop *currVop, int shortVideoHeader)
1642 display_time = (uint32)(currVol->moduloTimeBase + (((int32)currVop->timeInc - (int32)currVol->timeInc_offset) * 1000) / ((int32)currVol->timeIncrementResolution)); /* 11/12/2001 */
1643 if (currVop->timeStamp >= display_time)