Lines Matching refs:currVol
25 PV_STATUS EncodeVOPHeader(BitstreamEncVideo *stream, Vol *currVol, Vop *currVop);
44 Vol *currVol = video->vol[currLayer];
58 M4VENC_MEMSET(Mode, MODE_INTRA, sizeof(UChar)*currVol->nTotalMB);
61 M4VENC_MEMSET(Mode, MODE_INTER, sizeof(UChar)*currVol->nTotalMB);
127 Vol *currVol = video->vol[video->currLayer];
132 if (currVol->shortVideoHeader) /* Short Video Header = 1 */
146 if (currVol->GOVStart && currVop->predictionType == I_VOP)
149 status = EncodeVOPHeader(stream, currVol, currVop); /* Encode VOP Header */
155 if (!currVol->scalability)
157 if (currVol->dataPartitioning)
196 Vol *currVol = video->vol[currLayer];
202 if (currVol->shortVideoHeader) /* Short Video Header = 1 */
221 if (currVol->GOVStart)
224 status = EncodeVOPHeader(stream, currVol, currVop); /* Encode VOP Header */
231 if (!currVol->scalability)
233 if (currVol->dataPartitioning)
252 if (video->mbnum >= currVol->nTotalMB && status != PV_END_OF_BUF) /* end of Vop */
312 Vol *currVol = video->vol[0];
314 BitstreamEncVideo *stream = currVol->stream;
325 frameTick = (Int)(((double)(modTime - video->modTimeRef) * currVol->timeIncrementResolution + 500) / 1000);
327 while (timeInc >= currVol->timeIncrementResolution)
329 timeInc -= currVol->timeIncrementResolution;
335 status = BitstreamPutBits(stream, currVol->nbitsTimeIncRes, timeInc); /* vop_time_increment */
353 PV_STATUS EncodeVOPHeader(BitstreamEncVideo *stream, Vol *currVol, Vop *currVop)
358 int MTB = currVol->moduloTimeBase;
366 currVol->prevModuloTimeBase = currVol->moduloTimeBase;
376 status = BitstreamPutBits(stream, currVol->nbitsTimeIncRes, currVop->timeInc); /* vop_time_increment */
396 if (currVol->scalability)
510 Vol *currVol = video->vol[video->currLayer];
541 BitstreamPutBits(bs, currVol->nBitsForMBID, MB_number); /* resync_marker */
556 BitstreamPutBits(bs, currVol->nbitsTimeIncRes, currVop->timeInc); /* vop_time_increment */