Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 047ccc77 authored by Doney Alex's avatar Doney Alex
Browse files

SoftAvcEnc:Configured constrained_intra_pred flag in internalSetParameter

Change-Id: Idbc2a0ee413651e2b6b1c82b7496507906c222c2
parent ee38fad5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -999,6 +999,7 @@ OMX_ERRORTYPE SoftAVC::internalSetParameter(OMX_INDEXTYPE index, const OMX_PTR p
            }

            mIInterval = avcType->nPFrames + avcType->nBFrames;
            mConstrainedIntraFlag = avcType->bconstIpred;

            if (OMX_VIDEO_AVCLoopFilterDisable == avcType->eLoopFilterMode)
                mDisableDeblkLevel = 4;
@@ -1008,7 +1009,6 @@ OMX_ERRORTYPE SoftAVC::internalSetParameter(OMX_INDEXTYPE index, const OMX_PTR p
                    || avcType->nRefIdx10ActiveMinus1 != 0
                    || avcType->nRefIdx11ActiveMinus1 != 0
                    || avcType->bWeightedPPrediction != OMX_FALSE
                    || avcType->bconstIpred != OMX_FALSE
                    || avcType->bDirect8x8Inference != OMX_FALSE
                    || avcType->bDirectSpatialTemporal != OMX_FALSE
                    || avcType->nCabacInitIdc != 0) {