![]() |
VR-Forces 4.7 Class Documentation
|
This is a non-extendable container class used to send the information to the NVidia encoder. More...
Public Types | |
| enum | DataFormat { RAW, JPG, PNG, BMP, NITF, X264 } |
| Enumerate the compression types. More... | |
Public Member Functions | |
| DtReadFramebufferProcessData () | |
| CTOR. | |
| ~DtReadFramebufferProcessData () | |
| DTOR. | |
| void * | getImageData () const |
| Return the image data pointer. | |
| size_t | getImageSizeInBytes () const |
| Get the image size in bytes. | |
| DataFormat | getType () const |
| Get the image format. | |
| size_t | width () const |
| get the width of the image | |
| size_t | height () const |
| get the height of the image | |
| size_t | getRowSizeInBytes () const |
| get the row size in bytes | |
| int | getPixelFormat () const |
| get the pixel format (ex. BGRA) | |
| int | getDataType () const |
| get data type (ex. ubyte) | |
| int | getPixelSizeInBits () const |
| get pixel size (bits) | |
Protected Attributes | |
| void * | myData |
| buffer pointer | |
| size_t | myDataTotalSizeInBytes |
| buffer size in bytes | |
| DataFormat | myDataFormat |
| image format | |
| size_t | myWidth |
| image width | |
| size_t | myHeight |
| image height | |
| size_t | myRowSizeInBytes |
| row size in bytes | |
| int | myPixelFormat |
| pixel format(ex.BGRA) | |
| int | myDataType |
| data type (ex. ubyte) | |
| int | myPixelSizeInBits |
| pixel size(bits) | |
Friends | |
| class | DtReadFramebufferCallback |
| class | DtEncoderIO |
This is a non-extendable container class used to send the information to the NVidia encoder.
| makVrv::DtReadFramebufferProcessData::DtReadFramebufferProcessData | ( | ) |
CTOR.
| makVrv::DtReadFramebufferProcessData::~DtReadFramebufferProcessData | ( | ) |
DTOR.
| void* makVrv::DtReadFramebufferProcessData::getImageData | ( | ) | const |
Return the image data pointer.
| size_t makVrv::DtReadFramebufferProcessData::getImageSizeInBytes | ( | ) | const |
Get the image size in bytes.
| DataFormat makVrv::DtReadFramebufferProcessData::getType | ( | ) | const |
Get the image format.
| size_t makVrv::DtReadFramebufferProcessData::width | ( | ) | const |
get the width of the image
| size_t makVrv::DtReadFramebufferProcessData::height | ( | ) | const |
get the height of the image
| size_t makVrv::DtReadFramebufferProcessData::getRowSizeInBytes | ( | ) | const |
get the row size in bytes
| int makVrv::DtReadFramebufferProcessData::getPixelFormat | ( | ) | const |
get the pixel format (ex. BGRA)
| int makVrv::DtReadFramebufferProcessData::getDataType | ( | ) | const |
get data type (ex. ubyte)
| int makVrv::DtReadFramebufferProcessData::getPixelSizeInBits | ( | ) | const |
get pixel size (bits)
|
friend |
|
friend |
|
protected |
buffer pointer
|
protected |
buffer size in bytes
|
protected |
image format
|
protected |
image width
|
protected |
image height
|
protected |
row size in bytes
|
protected |
pixel format(ex.BGRA)
|
protected |
data type (ex. ubyte)
|
protected |
pixel size(bits)