OSDImageCacheValue Class Reference

#include <osdimagecache.h>

List of all members.


Detailed Description

Definition at line 13 of file osdimagecache.h.


Public Member Functions

 OSDImageCacheValue (QString cacheKey, unsigned char *yuv, unsigned char *ybuffer, unsigned char *ubuffer, unsigned char *vbuffer, unsigned char *alpha, QRect imagesize)
 The main constructor that takes the image data as arguments.
virtual ~OSDImageCacheValue ()
 Destructor, frees the cached bitmaps.
uint GetSize (void) const
QString GetKey (void) const

Public Attributes

unsigned char * m_yuv
unsigned char * m_ybuffer
unsigned char * m_ubuffer
unsigned char * m_vbuffer
unsigned char * m_alpha
QRect m_imagesize

Private Attributes

uint m_size_in_bytes
QString m_cacheKey

Constructor & Destructor Documentation

OSDImageCacheValue::OSDImageCacheValue ( QString  cacheKey,
unsigned char *  yuv,
unsigned char *  ybuffer,
unsigned char *  ubuffer,
unsigned char *  vbuffer,
unsigned char *  alpha,
QRect  imagesize 
)

The main constructor that takes the image data as arguments.

The image data becomes property of the OSDImageCacheValue and will be deleted by it.

Definition at line 35 of file osdimagecache.cpp.

OSDImageCacheValue::~OSDImageCacheValue (  )  [virtual]

Destructor, frees the cached bitmaps.

Definition at line 54 of file osdimagecache.cpp.


Member Function Documentation

uint OSDImageCacheValue::GetSize ( void   )  const [inline]

Definition at line 23 of file osdimagecache.h.

Referenced by OSDImageCache::Insert().

QString OSDImageCacheValue::GetKey ( void   )  const [inline]

Definition at line 24 of file osdimagecache.h.

Referenced by OSDImageCache::Insert(), and OSDImageCache::SaveToDisk().


Member Data Documentation

unsigned char* OSDImageCacheValue::m_yuv

Definition at line 28 of file osdimagecache.h.

Referenced by OSDTypeImage::Load().

Definition at line 29 of file osdimagecache.h.

Referenced by OSDTypeImage::Load().

Definition at line 30 of file osdimagecache.h.

Referenced by OSDTypeImage::Load().

Definition at line 35 of file osdimagecache.h.

Referenced by GetSize(), and OSDImageCacheValue().

QString OSDImageCacheValue::m_cacheKey [private]

Definition at line 36 of file osdimagecache.h.

Referenced by GetKey().


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

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