Home | History | Annotate | Download | only in src

Lines Matching refs:currVop

802 PV_STATUS DecodeVOPHeader(VideoDecData *video, Vop *currVop, Bool use_ext_timestamp)
830 currVop->timeStamp = -1;
846 currVop->predictionType = (int) BitstreamReadBits16(stream, 2);
873 currVop->timeInc = BitstreamReadBits16(stream, currVol->nbitsTimeIncRes);
884 currVop->vopCoded = (int) BitstreamRead1Bits(stream);
887 if (currVop->vopCoded == 0)
895 if (currVop->predictionType == P_VOP)
897 currVop->roundingType = (int) BitstreamRead1Bits(stream);
901 currVop->roundingType = 0;
921 if (currVop->predictionType != I_VOP)
939 if (currVop->predictionType == B_VOP)
948 currVop->intraDCVlcThr = (int) BitstreamReadBits16(stream, 3);
951 currVop->quantizer = (int16) BitstreamReadBits16(stream, currVol->quantPrecision);
952 if (currVop->quantizer == 0)
954 currVop->quantizer = video->prevVop->quantizer;
961 if (currVop->predictionType != I_VOP)
966 currVop->fcodeForward = 1;
970 currVop->fcodeForward = tmpvar;
974 currVop->fcodeForward = 0;
978 if (currVop->predictionType == B_VOP)
983 currVop->fcodeBackward = 1;
987 currVop->fcodeBackward = tmpvar;
991 currVop->fcodeBackward = 0;
996 currVop->refSelectCode = (int) BitstreamReadBits16(stream, 2);
1012 PV_STATUS DecodeShortHeader(VideoDecData *video, Vop *currVop)
1036 currVop->temporalRef = (int) tmpvar;
1039 currVop->timeInc = 0xff & (256 + currVop->temporalRef - video->prevVop->temporalRef);
1040 currVol->moduloTimeBase += currVop->timeInc; /* mseconds 11/12/01 */
1141 currVop->roundingType = 0;
1145 currVop->predictionType = (int) BitstreamRead1Bits(stream);
1281 currVop->predictionType = tmpvar;
1295 currVop->roundingType = (int) BitstreamRead1Bits(stream);
1404 currVop->ETR = BitstreamReadBits16(stream, 2);
1429 if (currVop->predictionType == P_VOP && size > video->videoDecControls->size)
1435 video->currVop->uChan = video->currVop->yChan + size;
1436 video->currVop->vChan = video->currVop->uChan + (size >> 2);
1441 currVop->quantizer = (int16) BitstreamReadBits16(stream, 5);
1443 if (currVop->quantizer == 0) /* 04/03/01 */
1445 currVop->quantizer = video->prevVop->quantizer;
1493 currVop->gobNumber = 0;
1494 currVop->vopCoded = 1;
1496 currVop->intraDCVlcThr = 0;
1497 currVop->gobFrameID = 0; /* initial value, 05/22/00 */
1500 if (currVop->predictionType != I_VOP)
1501 currVop->fcodeForward = 1;
1503 currVop->fcodeForward = 0;
1587 H263_Deblock(video->currVop->yChan, video->width, video->height, video->QPMB, video->headerInfo.Mode, 0, 0);
1588 H263_Deblock(video->currVop->uChan, video->width >> 1, video->height >> 1, video->QPMB, video->headerInfo.Mode, 1, video->modified_quant);
1589 H263_Deblock(video->currVop->vChan, video->width >> 1, video->height >> 1, video->QPMB, video->headerInfo.Mode, 1, video->modified_quant);
1619 uint32 CalcVopDisplayTime(Vol *currVol, Vop *currVop, int shortVideoHeader)
1630 display_time = (uint32)(currVol->moduloTimeBase + (((int32)currVop->timeInc - (int32)currVol->timeInc_offset) * 1000) / ((int32)currVol->timeIncrementResolution)); /* 11/12/2001 */
1631 if (currVop->timeStamp >= display_time)