Valkka  1.6.1
OpenSource Video Management
Classes | Enumerations
opengl

Things related to OpenGL. More...

Collaboration diagram for opengl:

Classes

class  YUVFrame
 A GPU YUV frame. More...
 
struct  OpenGLFrameFifoContext
 Describes the stack structure and fifo behaviour for an OpenGLFrameFifo. More...
 
class  OpenGLFrameFifo
 A FrameFifo managed and used by OpenGLThread. More...
 
class  SlotContext
 Each Frame carries information about it's slot number in Frame::slot. More...
 
class  RenderContext
 Encapsulates data for rendering a single bitmap: vertex array object (VAO), vertex buffer object (VBO), vertice coordinates, transformation matrix, etc. More...
 
class  RenderGroup
 Group of bitmaps that are rendered into the same X-window. More...
 
class  OpenGLThread
 This class does a lot of things: More...
 
class  TEX
 A class encapsulating information about an OpenGL texture set (sizes, OpenGL reference ids, etc.) More...
 
class  YUVTEX
 A class encapsulating information about an OpenGL texture set for a YUV pixmap (sizes, OpenGL reference ids, etc.) More...
 
struct  OpenGLSignalPars
 Signal information for OpenGLThread. More...
 
struct  OpenGLSignalContext
 Encapsulates data sent by the signal. More...
 

Enumerations

enum class  OpenGLSignal {
  none , exit , info , new_render_group ,
  del_render_group , new_render_context , del_render_context , new_rectangle ,
  clear_objects
}
 Signals used by OpenGLThread. More...
 
int readbytes (const char *fname, char *&buffer)
 
int readyuvbytes (const char *fname, GLubyte *&Y, GLubyte *&U, GLubyte *&V)
 Auxiliary routine for testing.
 
void zeroyuvbytes (int ysize, GLubyte *&Y, GLubyte *&U, GLubyte *&V)
 Auxiliary routine for testing.
 
void getPBO (GLuint &index, GLsizei size, GLubyte *&payload)
 Get PBO from the GPU. There are two versions of this function: other one can be enabled in source for valgrind debugging.
 
void releasePBO (GLuint *index, GLubyte *payload)
 
void getTEX (GLuint &index, GLint internal_format, GLint format, GLsizei w, GLsizei h)
 Get texture from the GPU.
 

Detailed Description

Things related to OpenGL.

Enumeration Type Documentation

◆ OpenGLSignal

enum OpenGLSignal
strong

Signals used by OpenGLThread.

Enumerator
none 

null signal

exit 

exit

info 

used by API infoCall

new_render_group 

used by API newRenderCroupCall

del_render_group 

used by API delRenderGroupCall

new_render_context 

used by API newRenderContextCall

del_render_context 

used by API delRenderContextCall

new_rectangle 

used by API newRectangleCall

clear_objects 

used by API clearObjectsCall

Function Documentation

◆ readbytes()

int readbytes ( const char *  fname,
char *&  buffer 
)

Auxiliary routine for testing