Uploaded image for project: 'Qt Safe Renderer'
  1. Qt Safe Renderer
  2. QSR-2370

OutputVerification module in sa8295 & QNX throws exception

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • QSR 2.1 Beta 3
    • QSR 2.1
    • Adaptation
    • 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.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            teemu.holappa Teemu Holappa
            teemu.holappa Teemu Holappa
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes