Valkka
1.6.1
OpenSource Video Management
|
A class encapsulating information about an OpenGL texture set for a YUV pixmap (sizes, OpenGL reference ids, etc.) More...
#include <tex.h>
Public Member Functions | |
YUVTEX (BitmapPars bmpars) | |
Default constructor. More... | |
~YUVTEX () | |
Default destructor. | |
void | loadYUV (const GLubyte *Y, const GLubyte *U, const GLubyte *V) |
Load YUV from memory buffers. More... | |
void | loadYUVFrame (YUVFrame *yuvframe) |
Transfer from YUVFrame's PBO's to textures. More... | |
Public Member Functions inherited from TEX | |
TEX (BitmapPars bmpars) | |
Default constructor. More... | |
virtual | ~TEX () |
Default virtual destructor. | |
ban_copy_ctor (TEX) | |
ban_copy_asm (TEX) | |
Public Attributes | |
YUVTEX(const YUVTEX &f) | ban_copy_asm (YUVTEX) |
GLuint | y_index |
internal OpenGL/GPU index referring to Y texture; | |
GLuint | u_index |
internal OpenGL/GPU index referring to U texture; | |
GLuint | v_index |
internal OpenGL/GPU index referring to V texture; | |
Public Attributes inherited from TEX | |
BitmapPars | bmpars |
Max bitmap dimensions (pre-reserved) | |
GLint | internal_format |
OpenGL internal format. | |
GLint | format |
OpenGL format of the texture. | |
GLuint | index |
OpenGL reference. | |
A class encapsulating information about an OpenGL texture set for a YUV pixmap (sizes, OpenGL reference ids, etc.)
YUVTEX::YUVTEX | ( | BitmapPars | bmpars | ) |
Default constructor.
width | pixmap width |
height | pixmap height Default ctor |
void YUVTEX::loadYUV | ( | const GLubyte * | Y, |
const GLubyte * | U, | ||
const GLubyte * | V | ||
) |
Load YUV from memory buffers.
Load texture from memory buffers.
void YUVTEX::loadYUVFrame | ( | YUVFrame * | yuvframe | ) |