Lines Matching refs:IntraPeriod
212 mEncoderParams->intraPeriod = mParamAvc.nPFrames + mParamAvc.nBFrames;
214 mEncoderParams->intraPeriod = mParamAvc.nPFrames + 1;
237 if (mEncoderParams->intraPeriod == 0) {
243 mAVCParams->ipPeriod = mEncoderParams->intraPeriod / mParamAvc.nPFrames;
255 LOGV("intraPeriod = %d\n ", mEncoderParams->intraPeriod);
291 uint32_t IntraPeriod = mEncoderParams->intraPeriod;
296 if (idrPeriod == 0 || IntraPeriod == 0) {
298 if (IntraPeriod == 0)
299 IntraPeriod = 0xFFFFFFFF;
301 GOP = IntraPeriod*idrPeriod + 1;
303 GOP = IntraPeriod*idrPeriod;
305 LOGV("ProcessorPreEmptyBuffer idrPeriod=%d, IntraPeriod=%d, IpPeriod=%d, BFrameEnabled=%d\n", idrPeriod, IntraPeriod, IpPeriod, BFrameEnabled);
312 } else if (IntraPeriod == 1) {
314 }else if ((poc > IpPeriod) && ((poc - IpPeriod) % IntraPeriod == 0))/*I*/{
758 uint32_t IntraPeriod = mParamAvc.nPFrames + mParamAvc.nBFrames ;
759 if (IntraPeriod % mParamAvc.nPFrames != 0)
762 //IntraPeriod must be multipe of IpPeriod.
763 uint32_t IpPeriod = IntraPeriod /mParamAvc.nPFrames;
764 if (IntraPeriod % IpPeriod != 0)
897 avcIntraPreriod.intraPeriod = p->nPFrames;
902 if (avcIntraPreriod.intraPeriod % avcIntraPreriod.ipPeriod != 0)
907 avcIntraPreriod.intraPeriod = p->nPFrames + 1;
909 if (avcIntraPreriod.intraPeriod == 0)
920 mEncoderParams->intraPeriod = avcIntraPreriod.intraPeriod;