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