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

Commit 972f653a authored by Doney Alex's avatar Doney Alex Committed by Hangyu Kuang
Browse files

DO NOT MERGE SoftAvcEnc:Configured constrained_intra_pred flag in internalSetParameter

Change-Id: Idbc2a0ee413651e2b6b1c82b7496507906c222c2
parent 9515aca0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1020,6 +1020,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;
@@ -1029,7 +1030,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) {