VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Types | Public Member Functions | Protected Attributes | Friends
makVrv::DtReadFramebufferProcessData Class Reference

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

Detailed Description

This is a non-extendable container class used to send the information to the NVidia encoder.

Member Enumeration Documentation

Enumerate the compression types.

Enumerator:
RAW 
JPG 
PNG 
BMP 
NITF 
X264 

Constructor & Destructor Documentation

makVrv::DtReadFramebufferProcessData::DtReadFramebufferProcessData ( )

CTOR.

makVrv::DtReadFramebufferProcessData::~DtReadFramebufferProcessData ( )

DTOR.

Member Function Documentation

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)

Friends And Related Function Documentation

friend class DtReadFramebufferCallback
friend
friend class DtEncoderIO
friend

Member Data Documentation

void* makVrv::DtReadFramebufferProcessData::myData
protected

buffer pointer

size_t makVrv::DtReadFramebufferProcessData::myDataTotalSizeInBytes
protected

buffer size in bytes

DataFormat makVrv::DtReadFramebufferProcessData::myDataFormat
protected

image format

size_t makVrv::DtReadFramebufferProcessData::myWidth
protected

image width

size_t makVrv::DtReadFramebufferProcessData::myHeight
protected

image height

size_t makVrv::DtReadFramebufferProcessData::myRowSizeInBytes
protected

row size in bytes

int makVrv::DtReadFramebufferProcessData::myPixelFormat
protected

pixel format(ex.BGRA)

int makVrv::DtReadFramebufferProcessData::myDataType
protected

data type (ex. ubyte)

int makVrv::DtReadFramebufferProcessData::myPixelSizeInBits
protected

pixel size(bits)


The documentation for this class was generated from the following file:

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)