Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
QSR 2.1
-
None
-
edb8a7505 (dev), 0334ca4f5 (tqtc/lts-6.5), f33d25940 (tqtc/lts-6.5.4)
Description
The sa8290 reports 16 CRC regions instead of 4 in 8155. That causes an exception if the MAX_NUM_ROI is not the same as the ROI count returned in HW.
returnValue = wfdGetError(m_frameBuffer.m_dev); if (WFD_ERROR_NONE != returnlue) { throw OutputVerifierException(OutputVerifierException::FailedToGetRoiInfo, "Failed to get the ROI count."); } else if (Constraints::MAX_NUM_ROI < static_cast<quint32>(roicount)) { throw OutputVerifierException(OutputVerifierException::RoiCountExceeded, "Number of ROI count is greater than the expected maximum."); } else { // Success. }
However, the problem is that if we send 16 regions for verification, we get an illegal argument error. It seems that API accepts only 8 elements.
If the supported ROI count is more significant than the maximum, we should just set the value to the MAX_ROI instead of throwing an exception here.