C
MISRCalculator Class
class SafeRenderer::MISRCalculatorThe MISRCalculator class calculates the CRC value for the region. More...
Header: | #include <MISRCalculator> |
Since: | QtSafeRenderer 2.0 |
Public Functions
MISRCalculator(SafeRenderer::FrameBufferInterface &frameBufferArg, const SafeRenderer::QSafeSize &sizeArg) | |
virtual | ~MISRCalculator() |
void | getCRC(SafeRenderer::VerifyRegion ®ion) |
Detailed Description
The MISRCalculator class provides functions to calculate the reference CRC value for the region from the framebuffer object.
Member Function Documentation
MISRCalculator::MISRCalculator(SafeRenderer::FrameBufferInterface &frameBufferArg, const SafeRenderer::QSafeSize &sizeArg)
Constructs a MISR calculator object with a frameBuffer and size sizeArg. frameBuffer is the implementation of the FrameBufferInterface for the OpenWFD API. sizeArg holds the width and height for the framebuffer. Throws SafeRenderer::OutputVerifierException with id SafeRenderer::OutputVerifierException::OutputVerifierExceptionId::UnsupportedSurfaceFormat if the framebuffer surface format is not ARGB32.
[virtual]
MISRCalculator::~MISRCalculator()
Destructs the MISRCalculator instance.
void MISRCalculator::getCRC(SafeRenderer::VerifyRegion ®ion)
Calculates the MISR value for region.
region Given region to calculate the crc for.
Throws SafeRenderer::OutputVerifierException with id SafeRenderer::OutputVerifierException::OutputVerifierExceptionId::RegionOutOfBounds if the region is out of bounds.
Available under certain Qt licenses.
Find out more.