Home | History | Annotate | Download | only in src

Lines Matching refs:currVop

729     video->currVop = (Vop *) M4VENC_MALLOC(sizeof(Vop)); /* Memory for Current VOP */
730 if (video->currVop == NULL) goto CLEAN_UP;
746 video->currVop->yChan = (PIXEL *)M4VENC_MALLOC(sizeof(PIXEL) * (size + (size >> 1))); /* Memory for currVop Y */
747 if (video->currVop->yChan == NULL) goto CLEAN_UP;
748 video->currVop->uChan = video->currVop->yChan + size;/* Memory for currVop U */
749 video->currVop->vChan = video->currVop->uChan + (size >> 2);/* Memory for currVop V */
754 video->currVop->yChan += offset; /* offset to the origin.*/
755 video->currVop->uChan += (offset >> 2) + 4;
756 video->currVop->vChan += (offset >> 2) + 4;
759 video->forwardRefVop = video->currVop; /* Initialize forwardRefVop */
760 video->backwardRefVop = video->currVop; /* Initialize backwardRefVop */
1164 if (video->currVop)
1166 if (video->currVop->yChan)
1168 video->currVop->yChan -= offset;
1169 M4VENC_FREE(video->currVop->yChan);
1171 M4VENC_FREE(video->currVop);
1444 video->currVop->timeInc = 0;
1476 video->currVop->volID = currVol->volID;
1477 video->currVop->width = width_16;
1478 video->currVop->height = height_16;
1481 video->currVop->pitch = width_16;
1485 video->currVop->pitch = width_16 + 32;
1487 video->currVop->timeInc = currVol->timeIncrement;
1488 video->currVop->vopCoded = 1;
1489 video->currVop->roundingType = 0;
1490 video->currVop->intraDCVlcThr = encParams->IntraDCVlcThr;
1517 video->currVop->refSelectCode = video->forwardRefVop->refSelectCode;
1518 video->currVop->gobNumber = 0;
1519 video->currVop->gobFrameID = video->currVop->predictionType;
1520 video->currVop->temporalRef = (modTime * 30 / 1001) % 256;
1522 video->currVop->temporalInterval = 0;
1524 if (video->currVop->predictionType == I_VOP)
1525 video->currVop->quantizer = encParams->InitQuantIvop[currLayer];
1527 video->currVop->quantizer = encParams->InitQuantPvop[currLayer];
1537 if (video->currVop->predictionType == I_VOP)
1560 if ((currLayer == 0) && (encParams->IntraPeriod > 0) && (video->currVop->predictionType == I_VOP))
1571 video->hintTrackInfo.CodeType = (UChar)video->currVop->predictionType;
1572 video->hintTrackInfo.RefSelCode = (UChar)video->currVop->refSelectCode;
1583 vid_out->yChan = video->currVop->yChan;
1584 vid_out->uChan = video->currVop->uChan;
1585 vid_out->vChan = video->currVop->vChan;
1588 vid_out->height = video->currVop->height; /* padded height */
1589 vid_out->pitch = video->currVop->width; /* padded width */
1593 vid_out->height = video->currVop->height + 32; /* padded height */
1594 vid_out->pitch = video->currVop->width + 32; /* padded width */
1613 video->prevBaseVop = video->currVop;
1615 video->currVop = temp;
1622 video->prevEnhanceVop = video->currVop;
1624 video->currVop = temp;
1716 video->currVop->timeInc = 0;
1746 video->currVop->volID = currVol->volID;
1747 video->currVop->width = width_16;
1748 video->currVop->height = height_16;
1751 video->currVop->pitch = width_16;
1755 video->currVop->pitch = width_16 + 32;
1757 video->currVop->timeInc = currVol->timeIncrement;
1758 video->currVop->vopCoded = 1;
1759 video->currVop->roundingType = 0;
1760 video->currVop->intraDCVlcThr = encParams->IntraDCVlcThr;
1787 video->currVop->refSelectCode = video->forwardRefVop->refSelectCode;
1788 video->currVop->gobNumber = 0;
1789 video->currVop->gobFrameID = video->currVop->predictionType;
1790 video->currVop->temporalRef = ((modTime) * 30 / 1001) % 256;
1792 video->currVop->temporalInterval = 0;
1794 if (video->currVop->predictionType == I_VOP)
1795 video->currVop->quantizer = encParams->InitQuantIvop[currLayer];
1797 video->currVop->quantizer = encParams->InitQuantPvop[currLayer];
1808 if (video->currVop->predictionType == I_VOP)
1821 video->hintTrackInfo.CodeType = (UChar)video->currVop->predictionType;
1822 video->hintTrackInfo.RefSelCode = (UChar)video->currVop->refSelectCode;
1900 if ((currLayer == 0) && (encParams->IntraPeriod > 0) && (video->currVop->predictionType == I_VOP))
1906 vid_out->yChan = video->currVop->yChan;
1907 vid_out->uChan = video->currVop->uChan;
1908 vid_out->vChan = video->currVop->vChan;
1911 vid_out->height = video->currVop->height; /* padded height */
1912 vid_out->pitch = video->currVop->width; /* padded width */
1916 vid_out->height = video->currVop->height + 32; /* padded height */
1917 vid_out->pitch = video->currVop->width + 32; /* padded width */
1931 video->prevBaseVop = video->currVop;
1933 video->currVop = temp;
1940 video->prevEnhanceVop = video->currVop;
1942 video->currVop = temp;
2764 video->currVop->predictionType = P_VOP;
2767 video->currVop->predictionType = I_VOP;
2777 video->currVop->predictionType = P_VOP;
2783 video->currVop->predictionType = I_VOP;
2787 else if (video->nextEncIVop == 0 || video->currVop->predictionType == I_VOP)
2799 video->currVop->predictionType = P_VOP;
2803 if (video->nextEncIVop <= 0 || video->currVop->predictionType == I_VOP)
2806 video->currVop->predictionType = I_VOP;
2868 /*if((encParams->IntraPeriod>0) && (video->currVop->predictionType == I_VOP))
2906 if (((encParams->IntraPeriod != 0) /*&& (video->currVop->predictionType==I_VOP)*/) ||