Home | History | Annotate | Download | only in src

Lines Matching refs:Vol

194     Vol         *pVol;
844 video->vol = (Vol **)M4VENC_MALLOC(nLayers * sizeof(Vol *)); /* Memory for VOL pointers */
847 if (video->vol == NULL) goto CLEAN_UP;
854 video->vol[idx] = (Vol *)M4VENC_MALLOC(sizeof(Vol));
855 if (video->vol[idx] == NULL) goto CLEAN_UP;
857 pVol = video->vol[idx];
860 M4VENC_MEMSET(video->vol[idx], 0, sizeof(Vol));
861 /* Initialize some VOL parameters */
862 pVol->volID = idx; /* Set VOL ID */
895 pVol->scalability = 0; /* Vol Scalability */
899 /* Initialize Vol to Temporal scalability. It can change during encoding */
901 /* Initialize reference Vol ID to the base layer = 0 */
1125 nTotalMB = video->vol[0]->nTotalMB;
1127 if (video->vol[idx]->nTotalMB > nTotalMB)
1128 nTotalMB = video->vol[idx]->nTotalMB;
1224 if (video->vol)
1228 if (video->vol[idx])
1230 if (video->vol[idx]->stream)
1231 M4VENC_FREE(video->vol[idx]->stream);
1232 M4VENC_FREE(video->vol[idx]);
1235 M4VENC_FREE(video->vol);
1297 EncodeVOS_Start(encCtrl); /* Encode VOL Header */
1329 Vol *currVol = video->vol[currLayer];
1360 Vol *currVol;
1384 if (video->volInitialize[0]) /* first vol to code */
1407 if (video->vol[0]->shortVideoHeader) /* Short Video Header = 1 */
1416 *size = video->vol[0]->stream->byteCount;
1429 /* Initialize Vol stream structure with application bitstream */
1432 currVol = video->vol[currLayer];
1439 /* Encode VOS and VOL Headers on first call for each layer */
1653 Vol *currVol;
1676 if (video->volInitialize[0]) /* first vol to code */
1703 /* Initialize Vol stream structure with application bitstream */
1706 currVol = video->vol[currLayer];
1711 /* Encode VOS and VOL Headers on first call for each layer */
1844 Vol *currVol;
1852 /* Initialize Vol stream structure with application bitstream */
1855 currVol = video->vol[currLayer];
1861 /* Encode VOS and VOL Headers on first call for each layer */
2396 /* Purpose : Encodes the VOS,VO, and VOL or Short Headers */
2406 Vol *currVol = video->vol[video->currLayer];
2571 Vol *currVol = video->vol[video->currLayer];
2593 Vol **vol = video->vol;
2648 /*frameTick = (frameNum[i]*vol[i]->timeIncrementResolution) ;
2652 frameTick = (Int)(((double)(modTime - modTimeRef) * vol[i]->timeIncrementResolution + 500) / 1000);
2656 vol[i]->timeIncrement = frameTick - video->refTick[i];
2659 vol[i]->moduloTimeBase = 0;
2660 while (vol[i]->timeIncrement >= vol[i]->timeIncrementResolution)
2662 vol[i]->timeIncrement -= vol[i]->timeIncrementResolution;
2663 vol[i]->moduloTimeBase++;
2699 vol[i]->timeIncrement = frameTick - video->refTick[i];
2709 vol[i]->moduloTimeBase = 0;
2710 while (vol[i]->timeIncrement >= vol[i]->timeIncrementResolution)
2712 vol[i]->timeIncrement -= vol[i]->timeIncrementResolution;
2713 vol[i]->moduloTimeBase++;
2740 printf(" TI: %d ", vol[*nLayer]->timeIncrement);
2759 // Vol *currVol = video->vol[currLayer];
2832 Vol *currVol = video->vol[currLayer];
2833 Vol **vol = video->vol;
2900 video->refTick[currLayer] += vol[currLayer]->prevModuloTimeBase * vol[currLayer]->timeIncrementResolution;
2919 deltaModTime = (newRefTick / vol[0]->timeIncrementResolution) * 1000;