MythTV  master
Classes | Enumerations | Variables
mythmediabuffer.h File Reference
#include <QReadWriteLock>
#include <QWaitCondition>
#include <QString>
#include <QMutex>
#include <QMap>
#include "libmythbase/mythconfig.h"
#include "libmythtv/mythtvexp.h"
#include "libmythbase/mthread.h"
#include "libmythbase/mythchrono.h"
#include "libavcodec/avcodec.h"
Include dependency graph for mythmediabuffer.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  MythMediaBuffer
 

Enumerations

enum  MythBufferType {
  kMythBufferUnknown = 0, kMythBufferFile, kMythBufferDVD, kMythBufferBD,
  kMythBufferHTTP, kMythBufferHLS, kMythBufferMHEG
}
 

Variables

static constexpr qint64 kReadTestSize { 20 }
 
static constexpr uint32_t BUFFER_SIZE_MINIMUM { 4 * 1024 * 1024 }
 
static constexpr uint8_t BUFFER_FACTOR_NETWORK { 2 }
 
static constexpr uint8_t BUFFER_FACTOR_BITRATE { 2 }
 
static constexpr uint8_t BUFFER_FACTOR_MATROSKA { 2 }
 
static constexpr int32_t DEFAULT_CHUNK_SIZE { 32768 }
 

Enumeration Type Documentation

◆ MythBufferType

Enumerator
kMythBufferUnknown 
kMythBufferFile 
kMythBufferDVD 
kMythBufferBD 
kMythBufferHTTP 
kMythBufferHLS 
kMythBufferMHEG 

Definition at line 39 of file mythmediabuffer.h.

Variable Documentation

◆ kReadTestSize

constexpr qint64 kReadTestSize { 20 }
staticconstexpr

◆ BUFFER_SIZE_MINIMUM

constexpr uint32_t BUFFER_SIZE_MINIMUM { 4 * 1024 * 1024 }
staticconstexpr

◆ BUFFER_FACTOR_NETWORK

constexpr uint8_t BUFFER_FACTOR_NETWORK { 2 }
staticconstexpr

Definition at line 27 of file mythmediabuffer.h.

Referenced by MythMediaBuffer::CreateReadAheadBuffer().

◆ BUFFER_FACTOR_BITRATE

constexpr uint8_t BUFFER_FACTOR_BITRATE { 2 }
staticconstexpr

Definition at line 28 of file mythmediabuffer.h.

Referenced by MythMediaBuffer::CreateReadAheadBuffer().

◆ BUFFER_FACTOR_MATROSKA

constexpr uint8_t BUFFER_FACTOR_MATROSKA { 2 }
staticconstexpr

Definition at line 29 of file mythmediabuffer.h.

Referenced by MythMediaBuffer::CreateReadAheadBuffer().

◆ DEFAULT_CHUNK_SIZE

constexpr int32_t DEFAULT_CHUNK_SIZE { 32768 }
staticconstexpr