@@ -1241,6 +1241,24 @@ MOS_STATUS Policy::GetCSCExecutionCaps(SwFilter* feature, bool isCamPipeWithBaye
1241
1241
{
1242
1242
cscEngine->VeboxNeeded = 1 ;
1243
1243
}
1244
+ else
1245
+ {
1246
+ VP_PUBLIC_NORMALMESSAGE (" vebox cannot be selected. For vebox selection, cscParams->pIEFParams (%p) expected nulptr, \
1247
+ veboxHwCap[format %d].inputSupported (%d) expected 1, \
1248
+ (veboxHwCap[format %d].outputSupported (%d) || \
1249
+ (isCamPipeWithBayerInput(%d) && IsDemosaicValidOutputFormat(cscParams->formatOutput(Format %d))(%d))) expected 1, \
1250
+ veboxHwCap[Format %d].iecp (%d) expect 1, \
1251
+ veboxHwCap[format %d].backEndCscSupported (%d) expect 1 \
1252
+ isAlphaSettingSupportedByVebox (%d) expect 1" ,
1253
+ cscParams->pIEFParams ,
1254
+ cscParams->formatInput , m_hwCaps.m_veboxHwEntry [cscParams->formatInput ].inputSupported ,
1255
+ cscParams->formatOutput , m_hwCaps.m_veboxHwEntry [cscParams->formatOutput ].outputSupported ,
1256
+ isCamPipeWithBayerInput,cscParams->formatOutput ,IsDemosaicValidOutputFormat (cscParams->formatOutput ),
1257
+ cscParams->formatInput , m_hwCaps.m_veboxHwEntry [cscParams->formatInput ].iecp ,
1258
+ cscParams->formatInput , m_hwCaps.m_veboxHwEntry [cscParams->formatInput ].backEndCscSupported ,
1259
+ isAlphaSettingSupportedByVebox);
1260
+
1261
+ }
1244
1262
}
1245
1263
1246
1264
PrintFeatureExecutionCaps (__FUNCTION__, *cscEngine);
@@ -1635,11 +1653,16 @@ MOS_STATUS Policy::GetScalingExecutionCaps(SwFilter *feature, bool isHdrEnabled,
1635
1653
if (!sfc2PassScalingNeededX && !sfc2PassScalingNeededY)
1636
1654
{
1637
1655
scalingEngine->SfcNeeded = isAlphaSettingSupportedBySfc;
1656
+ if (!isAlphaSettingSupportedBySfc)
1657
+ {
1658
+ VP_PUBLIC_NORMALMESSAGE (" Sfc cannot be used for scaling as alpha not supported by SFC." );
1659
+ }
1638
1660
}
1639
1661
else
1640
1662
{
1641
1663
// Set sfcNotSupported to 1 to avoid SFC being selected without scaling filter.
1642
1664
scalingEngine->sfcNotSupported = 1 ;
1665
+ VP_PUBLIC_NORMALMESSAGE (" sfcNotSupported is set to 1 for 2-pass scaling being needed." );
1643
1666
}
1644
1667
}
1645
1668
}
0 commit comments