From e5cb7a9e523cc3dcb449ef13c4ef7812081d4970 Mon Sep 17 00:00:00 2001 From: "Zhang, Furong" Date: Mon, 22 May 2023 13:56:44 +0800 Subject: [PATCH] Remove the limitation of VPP resolution reset. Signed-off-by: Zhang, Furong --- _studio/mfx_lib/vpp/src/mfx_vpp_sw_core.cpp | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/_studio/mfx_lib/vpp/src/mfx_vpp_sw_core.cpp b/_studio/mfx_lib/vpp/src/mfx_vpp_sw_core.cpp index de2f0f9150..3902180a46 100644 --- a/_studio/mfx_lib/vpp/src/mfx_vpp_sw_core.cpp +++ b/_studio/mfx_lib/vpp/src/mfx_vpp_sw_core.cpp @@ -253,23 +253,10 @@ mfxStatus VideoVPPBase::VppFrameCheck(mfxFrameSurface1 *in, mfxFrameSurface1 *ou sts = CheckInputPicStruct( in->Info.PicStruct ); MFX_CHECK_STS(sts); - /* we have special case for composition: - * if composition enabled sub stream's picture (WxH) - * can be less than primary stream (WxH) - * So, do check frame info only if composition is not enabled */ - if (m_errPrtctState.isCompositionModeEnabled == false) - { - sts = CompareFrameInfo( &(in->Info), &(m_errPrtctState.In)); - MFX_CHECK_STS(sts); - } - sts = CheckCropParam( &(in->Info) ); MFX_CHECK_STS( sts ); } - sts = CompareFrameInfo( &(out->Info), &(m_errPrtctState.Out)); - MFX_CHECK_STS(sts); - sts = CheckCropParam( &(out->Info) ); MFX_CHECK_STS( sts );