File tree 1 file changed +27
-1
lines changed
media_softlet/agnostic/common/vp/hal/feature_manager
1 file changed +27
-1
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,33 @@ Policy::~Policy()
52
52
}
53
53
54
54
MOS_STATUS Policy::UpdateVpHwCapsBasedOnSku (VP_HW_CAPS &vpHwCaps)
55
- {
55
+ {
56
+ VP_FUNC_CALL ();
57
+
58
+ VP_PUBLIC_CHK_NULL_RETURN (m_vpInterface.GetHwInterface ());
59
+ VP_PUBLIC_CHK_NULL_RETURN (m_vpInterface.GetHwInterface ()->m_userFeatureControl );
60
+
61
+ auto userFeatureControl = m_vpInterface.GetHwInterface ()->m_userFeatureControl ;
62
+ bool veboxTypeH = userFeatureControl->IsVeboxTypeHMode ();
63
+ if (veboxTypeH)
64
+ {
65
+ VP_PUBLIC_NORMALMESSAGE (" Disable vebox features for veboxTypeH." );
66
+ for (int i = 0 ; i < Format_Count; i++)
67
+ {
68
+ // update caps per sku
69
+ m_hwCaps.m_veboxHwEntry [i].capturePipeSupported = false ;
70
+ m_hwCaps.m_veboxHwEntry [i].denoiseSupported = false ;
71
+ m_hwCaps.m_veboxHwEntry [i].deinterlaceSupported = false ;
72
+ m_hwCaps.m_veboxHwEntry [i].laceSupported = false ;
73
+ m_hwCaps.m_veboxHwEntry [i].frontCscSupported = false ;
74
+ m_hwCaps.m_veboxHwEntry [i].backEndCscSupported = false ;
75
+ m_hwCaps.m_veboxHwEntry [i].iecp = false ;
76
+ m_hwCaps.m_veboxHwEntry [i].tccSupported = false ;
77
+ m_hwCaps.m_veboxHwEntry [i].aceSupported = false ;
78
+ m_hwCaps.m_veboxHwEntry [i].steSupported = false ;
79
+ m_hwCaps.m_veboxHwEntry [i].cgcSupported = false ;
80
+ }
81
+ }
56
82
return MOS_STATUS_SUCCESS;
57
83
}
58
84
You can’t perform that action at this time.
0 commit comments