Equalizer
1.2.1
|
The pixel data structure manages the pixel information for images. More...
#include <pixelData.h>
Public Member Functions | |
PixelData () | |
Construct new pixel data. | |
~PixelData () | |
Destruct the pixel data. | |
void | reset () |
Reset the data. | |
Public Attributes | |
uint32_t | internalFormat |
The type of data stored in FrameBuffer or texture on the GPU. | |
uint32_t | externalFormat |
The type of data stored in pixels in main memory. | |
uint32_t | pixelSize |
The size of one pixel, in bytes, stored in pixels. | |
PixelViewport | pvp |
The dimensions of the pixel data in pixels. | |
void * | pixels |
uncompressed pixel data, pvp * pixelSize bytes. | |
std::vector< void * > | compressedData |
The compressed pixel data blocks. | |
std::vector< uint64_t > | compressedSize |
Sizes of each compressed pixel data block. | |
uint32_t | compressorName |
The compressor used to produce compressedData. | |
uint32_t | compressorFlags |
Flags used for compression. | |
bool | isCompressed |
The compressed pixel data is set. |
The pixel data structure manages the pixel information for images.
Definition at line 33 of file pixelData.h.
Construct new pixel data.
Destruct the pixel data.
void eq::PixelData::reset | ( | ) |
Reset the data.
This will not free the data pointed to by pixels and compressedPixels.
std::vector< void* > eq::PixelData::compressedData |
std::vector< uint64_t > eq::PixelData::compressedSize |
uint32_t eq::PixelData::compressorFlags |
uint32_t eq::PixelData::compressorName |
The compressor used to produce compressedData.
Definition at line 94 of file pixelData.h.
uint32_t eq::PixelData::externalFormat |
The type of data stored in pixels in main memory.
Definition at line 62 of file pixelData.h.
uint32_t eq::PixelData::internalFormat |
The type of data stored in FrameBuffer or texture on the GPU.
Definition at line 55 of file pixelData.h.
void* eq::PixelData::pixels |
uncompressed pixel data, pvp * pixelSize bytes.
Definition at line 85 of file pixelData.h.
uint32_t eq::PixelData::pixelSize |
The size of one pixel, in bytes, stored in pixels.
Definition at line 69 of file pixelData.h.
PixelViewport eq::PixelData::pvp |
The dimensions of the pixel data in pixels.
Note that this pvp might differ from the image pvp since the data is downloaded from the GPU using a plugin, which might compress the data. If unmodified pixel data is required, the correct download plugin has to be used.
Definition at line 82 of file pixelData.h.