22 class DtProcessImageTask;
41 virtual void operator()(osg::RenderInfo& renderInfo)
const;
52 virtual void unInit();
55 virtual void setupPixelBufferObjects(
int numBuffers );
61 virtual bool setPixelFormatFromString(
const DtUnicode& pxfString );
64 virtual bool setReadBufferFromString(
const DtUnicode& rbString );
67 virtual bool setDataTypeFromString(
const DtUnicode& dtString );
DtReadFramebufferProcessData myProcessData
hardware frame buffer data
Definition: DtReadFramebufferCallback.h:143
A DtVideoStream instance will create a single streaming video pipeline on the channel indicated by wi...
Definition: DtVideoStream.h:34
DT_DLL_EXAMPLESCENEROOTPLUGIN void init(DtDe &anIG)
A DtReadFramebufferCallback instance is installed as the draw callback of the camera attached to the ...
Definition: DtReadFramebufferCallback.h:30
A unicode string.
Definition: DtUnicode.h:33
int myReadIndex
Read buffer index.
Definition: DtReadFramebufferCallback.h:123
Contains the DtVideoStream class declaration.
bool myIsInitialized
is everything initialized
Definition: DtReadFramebufferCallback.h:132
This is a non-extendable container class used to send the information to the NVidia encoder...
Definition: DtReadFramebufferProcessData.h:20
bool myUseReadPixels
if set to true use CPU encoding / false GPU encoding
Definition: DtReadFramebufferCallback.h:93
DtEncoderIO * myEncoderIO
hardware encoding IO object
Definition: DtReadFramebufferCallback.h:140
DtProcessImageTask * myTask
Image processing task.
Definition: DtReadFramebufferCallback.h:129
#define DT_DLL_VRVVIDEOSTREAM
Definition: vrvVideoStream.h:20
DtDe & myDe
Copy of the DtDe.
Definition: DtReadFramebufferCallback.h:84
Contains the DtProcessImageTask class declaration.
This class provides the OSG-specific implementation of a DtChannel.
Definition: DtOsgChannel.h:77
osg::ref_ptr< osg::Image > myImage
Image pointer.
Definition: DtReadFramebufferCallback.h:126
DtVideoStream & myStream
Current VideoStream.
Definition: DtReadFramebufferCallback.h:81
int myY
Position in Y.
Definition: DtReadFramebufferCallback.h:105
GLenum myPixelFormat
Pixel format used.
Definition: DtReadFramebufferCallback.h:108
GLenum myReadBuffer
GL buffer used (back/front/back_hardware/front_hardware)
Definition: DtReadFramebufferCallback.h:114
bool myIsUsingHardware
Are using hardware encoding.
Definition: DtReadFramebufferCallback.h:135
int myHeight
height of the image
Definition: DtReadFramebufferCallback.h:99
GLenum myDataType
Data type format.
Definition: DtReadFramebufferCallback.h:111
bool myReadFromTexture
Definition: DtReadFramebufferCallback.h:137
std::vector< unsigned int > myPbos
Pixel Buffer Object.
Definition: DtReadFramebufferCallback.h:117
Contains the DtReadFramebufferProcessData class declaration.
voidpf stream
Definition: ioapi.h:39
unsigned int GLenum
Definition: DtGlTextureBufferObject.h:18
The EncoderIO class is responsible to initialize CUDA and NVidia encoder then will be responsible to ...
Definition: DtEncoderIO.h:74
DtProcessImageTask creates and manages all the process image pipeline elements.
Definition: DtProcessImageTask.h:37
int myWidth
width of the image
Definition: DtReadFramebufferCallback.h:96
double myFrequency
streaming frequency
Definition: DtReadFramebufferCallback.h:90
int myWriteIndex
Write buffer index.
Definition: DtReadFramebufferCallback.h:120
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
Contains DLL export macros.
int myX
Position in X.
Definition: DtReadFramebufferCallback.h:102
DtOsgChannel * myChannel
Ptr to the Channel.
Definition: DtReadFramebufferCallback.h:87