
54 Chapter 4: Matrox Rapixo CL Pro hardware reference
Data conversion
The color space converter and image formatter can convert data in the following
ways:
•
Subsampling.
Image data can be subsampled.
The color space converter and image formatter can subsample in the horizontal
and vertical directions by integer factors of 1 to 16. The color space converter and
image formatter uses nearest-neighbor interpolation.
You can use any of the following MIL-Lite functions to subsample image data:
➠
MdigControl()
with
M_GRAB_SCALE_X/Y,
using a factor of less than 1.
➠
MimResize()
with ScaleFactorX and ScaleFactorY set to a value less than 1.
➠
MbufTransfer()
with
M_SCALE
, setting the destination buffer
size smaller than the original image.
Note that Matrox Rapixo CL Pro does not support cropping in hardware.
However, you can have image data cropped during transfer to Host using
MdigControl()
with
M_SOURCE_SIZE_X/Y
and
M_SOURCE_OFFSET_X/Y.
•
Flipping.
Images can be flipped horizontally or vertically, using the MIL-Lite
function
MdigControl()
with
M_GRAB_DIRECTION_X/Y
or when calling
MimFlip()
from on-board buffer to Host.
•
Color space conversion.
The color space converter and image formatter formats
an image based on its type and the bit-depth and color format of the destination
buffer. You can set the bit depth and color format of the destination buffer when
you allocate it using the MIL-Lite function
MbufAlloc...()
. The format of the
source image is established in the DCF.
Содержание Rapixo CL Pro
Страница 1: ...Matrox Rapixo CL Pro Installation and Hardware Reference Manual no Y11522 101 0100 August 7 2020...
Страница 6: ......
Страница 18: ...18 Chapter 1 Introduction...
Страница 64: ...64 Appendix A Glossary...
Страница 86: ...86 Appendix B Technical information...
Страница 95: ...Limited warranty Refer to the warranty statement that came with your product...
Страница 96: ......