Lines Matching defs:currLayer
132 void DetermineVopType(VideoEncData *video, Int currLayer);
638 //video->currLayer = 0; /* Set current Layer to 0 */
1126 for (idx = 1; idx < video->currLayer; idx++)
1295 encData->currLayer = layer; /* Set Layer */
1328 Int currLayer = video->currLayer;
1329 Vol *currVol = video->vol[currLayer];
1369 Int currLayer = -1;
1390 currLayer = *nLayer;
1391 if ((currLayer < 0) || (currLayer > encParams->nLayers - 1))
1432 currVol = video->vol[currLayer];
1442 if (video->volInitialize[currLayer])
1446 if (!video->encParams->GetVolHeader[currLayer])
1455 width = encParams->LayerWidth[currLayer]; /* Get input width */
1456 height = encParams->LayerHeight[currLayer]; /* Get input height */
1471 DetermineVopType(video, currLayer);
1492 if (currLayer == 0
1494 || random_val[rand_idx] || video->volInitialize[currLayer]
1525 video->currVop->quantizer = encParams->InitQuantIvop[currLayer];
1527 video->currVop->quantizer = encParams->InitQuantPvop[currLayer];
1550 if (currLayer == 0)
1560 if ((currLayer == 0) && (encParams->IntraPeriod > 0) && (video->currVop->predictionType == I_VOP))
1564 if (currLayer != -1)
1597 vid_out->timestamp = (ULong)(((video->prevFrameNum[currLayer] * 1000) / encParams->LayerFrameRate[currLayer]) + video->modTimeRef + 0.5);
1610 if (currLayer == 0)
1632 if (video->volInitialize[currLayer])
1633 video->volInitialize[currLayer] = 0;
1659 Int currLayer = -1;
1684 currLayer = *nLayer;
1706 currVol = video->vol[currLayer];
1714 if (video->volInitialize[currLayer])
1725 width = encParams->LayerWidth[currLayer]; /* Get input width */
1726 height = encParams->LayerHeight[currLayer]; /* Get input height */
1741 DetermineVopType(video, currLayer);
1762 if (currLayer == 0
1764 currLayer]
1795 video->currVop->quantizer = encParams->InitQuantIvop[currLayer];
1797 video->currVop->quantizer = encParams->InitQuantPvop[currLayer];
1848 Int currLayer = video->currLayer;
1855 currVol = video->vol[currLayer];
1864 if (video->volInitialize[currLayer])
1866 if (!video->encParams->GetVolHeader[currLayer])
1890 if (currLayer == 0)
1900 if ((currLayer == 0) && (encParams->IntraPeriod > 0) && (video->currVop->predictionType == I_VOP))
1920 vid_out->timestamp = (ULong)(((video->prevFrameNum[currLayer] * 1000) / encParams->LayerFrameRate[currLayer]) + video->modTimeRef + 0.5);
1928 if (currLayer == 0)
1957 if (video->volInitialize[currLayer])
1958 video->volInitialize[currLayer] = 0;
2406 Vol *currVol = video->vol[video->currLayer];
2426 status = BitstreamPutBits(stream, 8, video->encParams->ProfileLevel[video->currLayer]);
2455 if (video->currLayer == 0)
2571 Vol *currVol = video->vol[video->currLayer];
2670 video->currLayer = *nLayer = i;
2705 video->currLayer = *nLayer = i;
2756 void DetermineVopType(VideoEncData *video, Int currLayer)
2759 // Vol *currVol = video->vol[currLayer];
2763 if (video->currLayer > 0)
2776 if (encParams->RC_Type == CONSTANT_Q || video->rc[currLayer]->skip_next_frame != -1)
2779 if (video->currLayer == 0)
2781 if (/*video->numVopsInGOP>=132 || */video->volInitialize[currLayer])
2798 if (encParams->RC_Type == CONSTANT_Q || video->rc[currLayer]->skip_next_frame != -1)
2801 if (currLayer == 0)
2828 Int currLayer = video->currLayer;
2829 Int nLayer = currLayer;
2832 Vol *currVol = video->vol[currLayer];
2841 if (video->volInitialize[0] && currLayer == 0) /* always encode the first frame */
2843 RC_ResetSkipNextFrame(video, currLayer);
2844 //return currLayer; 09/15/05
2848 if (RC_GetSkipNextFrame(video, currLayer) < 0 || status == PV_END_OF_BUF) /* Skip Current Frame */
2872 else if ((num_skip = RC_GetSkipNextFrame(video, currLayer)) > 0)
2881 for (i = 0; i < currLayer; i++)
2890 for (i = currLayer; i < numLayers; i++)
2900 video->refTick[currLayer] += vol[currLayer]->prevModuloTimeBase * vol[currLayer]->timeIncrementResolution;
2903 if (currLayer == 0)