1 #ifndef TEX_HEADER_GUARD 2 #define TEX_HEADER_GUARD 93 void loadYUV(
const GLubyte* Y,
const GLubyte* U,
const GLubyte* V);
94 void loadYUVFrame(
YUVFrame *yuvframe);
97 std::ostream &operator<<(std::ostream &os,
YUVTEX const &m);
A class encapsulating information about an OpenGL texture set for a YUV pixmap (sizes, OpenGL reference ids, etc.)
Definition: tex.h:77
GLint format
OpenGL format of the texture.
Definition: tex.h:65
A GPU YUV frame.
Definition: frame.h:485
Constant/default values, version numbers.
For AVBitmapFrames, linesizes are the widths + padding bytes.
Definition: constant.h:129
OpenGL calls for reserving PBOs and TEXtures, plus some auxiliary routines.
BitmapPars bmpars
Max bitmap dimensions (pre-reserved)
Definition: tex.h:62
GLuint y_index
internal OpenGL/GPU index referring to Y texture;
Definition: tex.h:88
GLuint v_index
internal OpenGL/GPU index referring to V texture;
Definition: tex.h:90
GLuint index
OpenGL reference.
Definition: tex.h:68
GLint internal_format
OpenGL internal format.
Definition: tex.h:64
GLuint u_index
internal OpenGL/GPU index referring to U texture;
Definition: tex.h:89
A class encapsulating information about an OpenGL texture set (sizes, OpenGL reference ids...
Definition: tex.h:47
virtual ~TEX()
Default virtual destructor.
Definition: tex.cpp:46
TEX(BitmapPars bmpars)
Default constructor.
Definition: tex.cpp:43