Pylon::CompressionInfo_t#
#include <pylon/ImageDecompressor.h>
Public Functions#
Name | |
---|---|
CompressionInfo_t() Creates and initializes a compression info struct. |
Public Attributes#
Name | |
---|---|
bool | hasCompressedImage True if grab buffer/result provided contains a compressed image (otherwise false if buffer/result is already decompressed). |
ECompressionStatus | compressionStatus Status of compression (see ECompressionStatus). |
bool | lossy True if image was compressed lossily (otherwise false if it was compressed losslessly). |
EPixelType | pixelType Pixel type of compressed image. |
size_t | width Width (in pixels) of compressed image. |
size_t | height Height (in pixels) of compressed image. |
size_t | offsetX X offset (in pixels) of compressed image. |
size_t | offsetY Y offset (in pixels) of compressed image. |
size_t | paddingX X padding (line padding; in bytes) of compressed image. |
size_t | paddingY Y padding (image padding; in bytes) of compressed image. |
size_t | decompressedImageSize Size (in bytes) required for decompressed image (only valid if hasCompressedImage is true). |
size_t | decompressedPayloadSize Size (in bytes; including chunk data) required for decompressed payload (only valid if hasCompressedImage is true). |
Detailed Description#
The struct containing information about a grab buffer/result.
You can find more information about the usage of this struct in the description of the CImageDecompressor class.
Public Functions Documentation#
function CompressionInfo_t#
Creates and initializes a compression info struct.
Error Safety:
Does not throw C++ exceptions.
Public Attributes Documentation#
variable hasCompressedImage#
True if grab buffer/result provided contains a compressed image (otherwise false if buffer/result is already decompressed).
variable compressionStatus#
Status of compression (see ECompressionStatus).
variable lossy#
True if image was compressed lossily (otherwise false if it was compressed losslessly).
variable pixelType#
Pixel type of compressed image.
variable width#
Width (in pixels) of compressed image.
variable height#
Height (in pixels) of compressed image.
variable offsetX#
X offset (in pixels) of compressed image.
variable offsetY#
Y offset (in pixels) of compressed image.
variable paddingX#
X padding (line padding; in bytes) of compressed image.
variable paddingY#
Y padding (image padding; in bytes) of compressed image.
variable decompressedImageSize#
Size (in bytes) required for decompressed image (only valid if hasCompressedImage is true).
variable decompressedPayloadSize#
Size (in bytes; including chunk data) required for decompressed payload (only valid if hasCompressedImage is true).