XvMCTextures Class Reference

#include <xvmctextures.h>

List of all members.


Detailed Description

Definition at line 18 of file xvmctextures.h.


Public Member Functions

 XvMCTextures ()
 ~XvMCTextures ()
bool Init (Display *, Window, int, const QSize &, const QSize &)
void PrepareFrame (XvMCSurface *, const QRect &, int)
void DeInit (void)
void Show (int)
bool ProcessOSD (OSD *)
 XvMCTextures ()
 ~XvMCTextures ()
bool Init (Display *XJ_disp, Window XJ_curwin, int XJ_screen_num, const QSize &video_dim, const QSize &window_size)
void DeInit (void)
void PrepareFrame (XvMCSurface *surf, const QRect &video_rect, int field)
void Show (int field)
bool ProcessOSD (OSD *osd)

Static Public Member Functions

static XvMCTexturesCreate (Display *, Window, int, const QSize &, const QSize &)
static XvMCTexturesCreate (Display *XJ_disp, Window XJ_curwin, int XJ_screen_num, const QSize &video_dim, const QSize &window_size)

Private Member Functions

void CompositeFrameAndOSD (int scan)

Private Attributes

Display * XJ_disp
QRect last_video_rect
QSize gl_video_size
QSize gl_display_size
vector< GLuint > gl_vid_textures
vector< QSize > gl_vid_tex_size
uint gl_vid_tex_index
vector< GLuint > gl_osd_textures
vector< QSize > gl_osd_tex_size
uint gl_osd_tex_index
int gl_osd_revision
unsigned char * gl_osd_tmp_buf
uint gl_osd_tmp_buf_size
bool gl_osd_visible
Window gl_window
GLXWindow glx_window
GLXPbuffer glx_pbuffer
GLXContext glx_context
GLXFBConfig glx_fbconfig

Constructor & Destructor Documentation

XvMCTextures::XvMCTextures (  )  [inline]

Definition at line 21 of file xvmctextures.h.

XvMCTextures::~XvMCTextures (  )  [inline]

Definition at line 22 of file xvmctextures.h.

XvMCTextures::XvMCTextures (  )  [inline]

Definition at line 44 of file xvmctextures.h.

XvMCTextures::~XvMCTextures (  )  [inline]

Definition at line 54 of file xvmctextures.h.


Member Function Documentation

XvMCTextures * XvMCTextures::Create ( Display *  XJ_disp,
Window  XJ_curwin,
int  XJ_screen_num,
const QSize &  video_dim,
const QSize &  window_size 
) [inline, static]

Definition at line 24 of file xvmctextures.h.

Referenced by VideoOutputXv::InitOSD().

bool XvMCTextures::Init ( Display *  disp,
Window  XJ_curwin,
int  XJ_screen_num,
const QSize &  video_dim,
const QSize &  window_size 
) [inline]

Definition at line 28 of file xvmctextures.h.

void XvMCTextures::PrepareFrame ( XvMCSurface *  surf,
const QRect &  video_rect,
int  scan 
) [inline]

Definition at line 31 of file xvmctextures.h.

Referenced by VideoOutputXv::PrepareFrameXvMC().

void XvMCTextures::DeInit ( void   )  [inline]

Definition at line 32 of file xvmctextures.h.

Referenced by ~XvMCTextures().

void XvMCTextures::Show ( int  scan  )  [inline]

Definition at line 33 of file xvmctextures.h.

Referenced by VideoOutputXv::ShowXvMC().

bool XvMCTextures::ProcessOSD ( OSD osd  )  [inline]

Definition at line 34 of file xvmctextures.h.

Referenced by VideoOutputXv::ProcessFrameXvMC().

static XvMCTextures* XvMCTextures::Create ( Display *  XJ_disp,
Window  XJ_curwin,
int  XJ_screen_num,
const QSize &  video_dim,
const QSize &  window_size 
) [static]

bool XvMCTextures::Init ( Display *  XJ_disp,
Window  XJ_curwin,
int  XJ_screen_num,
const QSize &  video_dim,
const QSize &  window_size 
)

void XvMCTextures::DeInit ( void   ) 

void XvMCTextures::PrepareFrame ( XvMCSurface *  surf,
const QRect &  video_rect,
int  field 
)

void XvMCTextures::Show ( int  field  ) 

bool XvMCTextures::ProcessOSD ( OSD osd  ) 

void XvMCTextures::CompositeFrameAndOSD ( int  scan  )  [private]

Definition at line 268 of file xvmctextures.cpp.


Member Data Documentation

Display* XvMCTextures::XJ_disp [private]

Definition at line 81 of file xvmctextures.h.

Definition at line 82 of file xvmctextures.h.

Referenced by CompositeFrameAndOSD().

QSize XvMCTextures::gl_video_size [private]

Definition at line 83 of file xvmctextures.h.

Definition at line 84 of file xvmctextures.h.

vector<GLuint> XvMCTextures::gl_vid_textures [private]

Definition at line 85 of file xvmctextures.h.

Referenced by CompositeFrameAndOSD().

vector<QSize> XvMCTextures::gl_vid_tex_size [private]

Definition at line 86 of file xvmctextures.h.

Definition at line 87 of file xvmctextures.h.

Referenced by CompositeFrameAndOSD().

vector<GLuint> XvMCTextures::gl_osd_textures [private]

Definition at line 88 of file xvmctextures.h.

Referenced by CompositeFrameAndOSD().

vector<QSize> XvMCTextures::gl_osd_tex_size [private]

Definition at line 89 of file xvmctextures.h.

Referenced by CompositeFrameAndOSD().

Definition at line 90 of file xvmctextures.h.

Referenced by CompositeFrameAndOSD().

Definition at line 91 of file xvmctextures.h.

unsigned char* XvMCTextures::gl_osd_tmp_buf [private]

Definition at line 92 of file xvmctextures.h.

Referenced by ~XvMCTextures().

Definition at line 93 of file xvmctextures.h.

Definition at line 94 of file xvmctextures.h.

Referenced by CompositeFrameAndOSD().

Window XvMCTextures::gl_window [private]

Definition at line 95 of file xvmctextures.h.

GLXWindow XvMCTextures::glx_window [private]

Definition at line 96 of file xvmctextures.h.

Definition at line 97 of file xvmctextures.h.

Definition at line 98 of file xvmctextures.h.

GLXFBConfig XvMCTextures::glx_fbconfig [private]

Definition at line 99 of file xvmctextures.h.


The documentation for this class was generated from the following files:

Generated on Sat Dec 18 05:16:14 2010 for MythTV by  doxygen 1.5.5