Lines Matching refs:mParamAvc
126 memset(&mParamAvc, 0, sizeof(mParamAvc)); in InitOutputPortFormatSpecific()
127 SetTypeHeader(&mParamAvc, sizeof(mParamAvc)); in InitOutputPortFormatSpecific()
128 mParamAvc.nPortIndex = OUTPORT_INDEX; in InitOutputPortFormatSpecific()
131 mParamAvc.eProfile = (OMX_VIDEO_AVCPROFILETYPE) mPLTable[0].profile; in InitOutputPortFormatSpecific()
132 mParamAvc.eLevel = (OMX_VIDEO_AVCLEVELTYPE)mPLTable[0].level; in InitOutputPortFormatSpecific()
137 mParamAvc.nAllowedPictureTypes = OMX_VIDEO_PictureTypeI | OMX_VIDEO_PictureTypeP; in InitOutputPortFormatSpecific()
138 mParamAvc.nPFrames = 29; in InitOutputPortFormatSpecific()
139 mParamAvc.nBFrames = 0; in InitOutputPortFormatSpecific()
183 mParamProfileLevel.eProfile = mParamAvc.eProfile; in InitOutputPortFormatSpecific()
184 mParamProfileLevel.eLevel = mParamAvc.eLevel; in InitOutputPortFormatSpecific()
207 FIND_BYKEY(ProfileTable, mParamAvc.eProfile, index); in SetVideoEncoderParam()
211 if (mParamAvc.nAllowedPictureTypes & OMX_VIDEO_PictureTypeB) in SetVideoEncoderParam()
212 mEncoderParams->intraPeriod = mParamAvc.nPFrames + mParamAvc.nBFrames; in SetVideoEncoderParam()
214 mEncoderParams->intraPeriod = mParamAvc.nPFrames + 1; in SetVideoEncoderParam()
242 if (mParamAvc.nAllowedPictureTypes & OMX_VIDEO_PictureTypeB) in SetVideoEncoderParam()
243 mAVCParams->ipPeriod = mEncoderParams->intraPeriod / mParamAvc.nPFrames; in SetVideoEncoderParam()
706 if(mParamAvc.eProfile == OMX_VIDEO_AVCProfileHigh) in GetParamVideoAvc()
711 mParamAvc.bEntropyCodingCABAC = (OMX_BOOL)mAVCParams->bEntropyCodingCABAC; in GetParamVideoAvc()
712 mParamAvc.bWeightedPPrediction = (OMX_BOOL)mAVCParams->bWeightedPPrediction; in GetParamVideoAvc()
713 mParamAvc.nRefIdx10ActiveMinus1 = mAVCParams->refIdx10ActiveMinus1; in GetParamVideoAvc()
714 mParamAvc.nRefIdx11ActiveMinus1 = mAVCParams->refIdx11ActiveMinus1; in GetParamVideoAvc()
715 mParamAvc.nWeightedBipredicitonMode = mAVCParams->weightedBipredicitonMode; in GetParamVideoAvc()
716 mParamAvc.bDirect8x8Inference = (OMX_BOOL)mAVCParams->bDirect8x8Inference; in GetParamVideoAvc()
717 mParamAvc.bDirectSpatialTemporal = (OMX_BOOL)mAVCParams->bDirectSpatialTemporal; in GetParamVideoAvc()
718 mParamAvc.nCabacInitIdc = mAVCParams->cabacInitIdc; in GetParamVideoAvc()
719 mParamAvc.bFrameMBsOnly = (OMX_BOOL)mAVCParams->bFrameMBsOnly; in GetParamVideoAvc()
720 mParamAvc.bconstIpred = (OMX_BOOL)mAVCParams->bConstIpred; in GetParamVideoAvc()
721 memcpy(p, &mParamAvc, sizeof(*p)); in GetParamVideoAvc()
758 uint32_t IntraPeriod = mParamAvc.nPFrames + mParamAvc.nBFrames ; in SetParamVideoAvc()
759 if (IntraPeriod % mParamAvc.nPFrames != 0) in SetParamVideoAvc()
763 uint32_t IpPeriod = IntraPeriod /mParamAvc.nPFrames; in SetParamVideoAvc()
770 memcpy(&mParamAvc, p, sizeof(mParamAvc)); in SetParamVideoAvc()
772 mAVCParams->bEntropyCodingCABAC = mParamAvc.bEntropyCodingCABAC; in SetParamVideoAvc()
773 mAVCParams->bDirect8x8Inference = mParamAvc.bDirect8x8Inference; in SetParamVideoAvc()
774 if(mParamAvc.eProfile == OMX_VIDEO_AVCProfileBaseline){ in SetParamVideoAvc()
888 if ( ( (mParamAvc.nAllowedPictureTypes & OMX_VIDEO_PictureTypeP) || in SetConfigVideoAVCIntraPeriod()
889 (mParamAvc.nAllowedPictureTypes & OMX_VIDEO_PictureTypeB) ) && in SetConfigVideoAVCIntraPeriod()
896 if (mParamAvc.nAllowedPictureTypes & OMX_VIDEO_PictureTypeB) { in SetConfigVideoAVCIntraPeriod()
898 if (p->nPFrames % mParamAvc.nBFrames != 0) in SetConfigVideoAVCIntraPeriod()
900 avcIntraPreriod.ipPeriod = p->nPFrames / mParamAvc.nBFrames; in SetConfigVideoAVCIntraPeriod()