MythTV  master
Classes | Typedefs | Enumerations | Functions
videobuffers.h File Reference
#include <vector>
#include <map>
#include <QMutex>
#include <QString>
#include <QWaitCondition>
#include "mythtvexp.h"
#include "mythframe.h"
#include "mythdeque.h"
Include dependency graph for videobuffers.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  YUVInfo
 
class  VideoBuffers
 This class creates tracks the state of the buffers used by various VideoOutput derived classes. More...
 

Typedefs

typedef MythDeque< VideoFrame * > frame_queue_t
 
typedef vector< VideoFrameframe_vector_t
 
typedef map< const unsigned char *, void * > buffer_map_t
 
typedef map< const VideoFrame *, uintvbuffer_map_t
 
typedef map< const VideoFrame *, QMutex * > frame_lock_map_t
 
typedef vector< unsigned char * > uchar_vector_t
 

Enumerations

enum  BufferType {
  kVideoBuffer_avail = 0x00000001, kVideoBuffer_limbo = 0x00000002, kVideoBuffer_used = 0x00000004, kVideoBuffer_pause = 0x00000008,
  kVideoBuffer_displayed = 0x00000010, kVideoBuffer_finished = 0x00000020, kVideoBuffer_decode = 0x00000040, kVideoBuffer_all = 0x0000003F
}
 

Functions

const QString & DebugString (const VideoFrame *frame, bool short_str=false)
 
const QString & DebugString (uint str_num, bool short_str=false)
 
QString DebugString (const frame_queue_t &list)
 
QString DebugString (const vector< const VideoFrame * > &list)
 

Typedef Documentation

◆ frame_queue_t

Definition at line 19 of file videobuffers.h.

◆ frame_vector_t

typedef vector<VideoFrame> frame_vector_t

Definition at line 23 of file videobuffers.h.

◆ buffer_map_t

typedef map<const unsigned char*, void*> buffer_map_t

Definition at line 24 of file videobuffers.h.

◆ vbuffer_map_t

typedef map<const VideoFrame*, uint> vbuffer_map_t

Definition at line 25 of file videobuffers.h.

◆ frame_lock_map_t

typedef map<const VideoFrame*, QMutex*> frame_lock_map_t

Definition at line 26 of file videobuffers.h.

◆ uchar_vector_t

typedef vector<unsigned char*> uchar_vector_t

Definition at line 27 of file videobuffers.h.

Enumeration Type Documentation

◆ BufferType

enum BufferType
Enumerator
kVideoBuffer_avail 
kVideoBuffer_limbo 
kVideoBuffer_used 
kVideoBuffer_pause 
kVideoBuffer_displayed 
kVideoBuffer_finished 
kVideoBuffer_decode 
kVideoBuffer_all 

Definition at line 35 of file videobuffers.h.

Function Documentation

◆ DebugString() [1/4]

const QString& DebugString ( const VideoFrame frame,
bool  short_str = false 
)

◆ DebugString() [2/4]

const QString& DebugString ( uint  str_num,
bool  short_str = false 
)

Definition at line 924 of file videobuffers.cpp.

◆ DebugString() [3/4]

QString DebugString ( const frame_queue_t list)

Definition at line 949 of file videobuffers.cpp.

◆ DebugString() [4/4]

QString DebugString ( const vector< const VideoFrame * > &  list)

Definition at line 954 of file videobuffers.cpp.