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