C
NXPCalculator Class
class SafeRenderer::NXPCalculatorThe NXPCalculator class calculates the CRC value for the region. More...
Header: | #include <NXPCalculator> |
Since: | QtSafeRenderer 2.1 |
Public Types
enum | NXPCalculatorException { UnsupportedSurfaceFormat, RegionOutOfBounds } |
Public Functions
NXPCalculator(SafeRenderer::AbstractFrameBuffer &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 Type Documentation
enum NXPCalculator::NXPCalculatorException
This enum describes the exception values in the NXPCalculator class.
Constant | Value | Description |
---|---|---|
SafeRenderer::NXPCalculator::UnsupportedSurfaceFormat | 0 | The framebuffer surface format is not supported. |
SafeRenderer::NXPCalculator::RegionOutOfBounds | 1 | The requested region is outside the framebuffer region. |
Member Function Documentation
NXPCalculator::NXPCalculator(SafeRenderer::AbstractFrameBuffer &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()
Destructor.
void NXPCalculator::getCRC(SafeRenderer::VerifyRegion ®ion)
Calculates the MISR value for region.
Throws SafeRenderer::NXPCalculator::RegionOutOfBounds if the region is out of bounds.
Available under certain Qt licenses.
Find out more.