Equalizer  1.4.1
Public Member Functions | Public Attributes
eq::PixelData Struct Reference

The pixel data structure manages the pixel information for images. More...

#include <pixelData.h>

+ Inheritance diagram for eq::PixelData:
+ Collaboration diagram for eq::PixelData:

List of all members.

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.

Detailed Description

The pixel data structure manages the pixel information for images.

Definition at line 33 of file pixelData.h.


Constructor & Destructor Documentation

Construct new pixel data.

Version:
1.0

Destruct the pixel data.

Version:
1.0

Member Function Documentation

Reset the data.

This will not free the data pointed to by pixels and compressedPixels.

Version:
1.0

Member Data Documentation

std::vector< void* > eq::PixelData::compressedData

The compressed pixel data blocks.

Version:
1.0

Definition at line 88 of file pixelData.h.

std::vector< uint64_t > eq::PixelData::compressedSize

Sizes of each compressed pixel data block.

Version:
1.0

Definition at line 91 of file pixelData.h.

Flags used for compression.

Version:
1.0

Definition at line 95 of file pixelData.h.

The compressor used to produce compressedData.

Version:
1.0

Definition at line 94 of file pixelData.h.

The type of data stored in pixels in main memory.

See also:
the output token types in plugins/compressor.h
Version:
1.0

Definition at line 62 of file pixelData.h.

The type of data stored in FrameBuffer or texture on the GPU.

See also:
the input token types in plugins/compressor.h
Version:
1.0

Definition at line 55 of file pixelData.h.

The compressed pixel data is set.

Version:
1.0

Definition at line 96 of file pixelData.h.

uncompressed pixel data, pvp * pixelSize bytes.

Version:
1.0

Definition at line 85 of file pixelData.h.

The size of one pixel, in bytes, stored in pixels.

See also:
the output token types in plugins/compressor.h
Version:
1.0

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.

See also:
Image::allocDownloader()
Version:
1.0

Definition at line 82 of file pixelData.h.


The documentation for this struct was generated from the following file:
Generated on Mon Nov 26 2012 14:41:50 for Equalizer 1.4.1 by  doxygen 1.7.6.1