MythTV  master
Classes | Typedefs | Enumerations | Functions | Variables
decoderbase.h File Reference
#include <cstdint>
#include <vector>
#include "ringbuffer.h"
#include "remoteencoder.h"
#include "mythcontext.h"
#include "mythdbcon.h"
#include "programinfo.h"
#include "mythcodecid.h"
#include "mythavutil.h"
#include "videodisplayprofile.h"
Include dependency graph for decoderbase.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  StreamInfo
 
class  DecoderBase
 
struct  DecoderBase::posmapentry
 

Typedefs

typedef enum TrackTypes TrackType
 Track types. More...
 
typedef enum DecodeTypes DecodeType
 
typedef enum AudioTrackType AudioTrackType
 
typedef vector< StreamInfosinfo_vec_t
 

Enumerations

enum  TrackTypes {
  kTrackTypeUnknown = 0, kTrackTypeAudio, kTrackTypeVideo, kTrackTypeSubtitle,
  kTrackTypeCC608, kTrackTypeCC708, kTrackTypeTeletextCaptions, kTrackTypeTeletextMenu,
  kTrackTypeRawText, kTrackTypeAttachment, kTrackTypeCount, kTrackTypeTextSubtitle
}
 Track types. More...
 
enum  DecodeTypes { kDecodeNothing = 0x00, kDecodeVideo = 0x01, kDecodeAudio = 0x02, kDecodeAV = 0x03 }
 
enum  AudioTrackType {
  kAudioTypeNormal = 0, kAudioTypeAudioDescription, kAudioTypeCleanEffects, kAudioTypeHearingImpaired,
  kAudioTypeSpokenSubs, kAudioTypeCommentary
}
 
enum  EofState { kEofStateNone, kEofStateDelayed, kEofStateImmediate }
 

Functions

QString toString (TrackType type)
 
int to_track_type (const QString &str)
 
QString toString (AudioTrackType type)
 
AVRational AVRationalInit (int num, int den=1)
 

Variables

const int kDecoderProbeBufferSize = 256 * 1024
 

Typedef Documentation

◆ TrackType

typedef enum TrackTypes TrackType

Track types.

◆ DecodeType

typedef enum DecodeTypes DecodeType

◆ AudioTrackType

◆ sinfo_vec_t

typedef vector<StreamInfo> sinfo_vec_t

Definition at line 111 of file decoderbase.h.

Enumeration Type Documentation

◆ TrackTypes

enum TrackTypes

Track types.

Enumerator
kTrackTypeUnknown 
kTrackTypeAudio 
kTrackTypeVideo 
kTrackTypeSubtitle 
kTrackTypeCC608 
kTrackTypeCC708 
kTrackTypeTeletextCaptions 
kTrackTypeTeletextMenu 
kTrackTypeRawText 
kTrackTypeAttachment 
kTrackTypeCount 
kTrackTypeTextSubtitle 

Definition at line 26 of file decoderbase.h.

◆ DecodeTypes

Enumerator
kDecodeNothing 
kDecodeVideo 
kDecodeAudio 
kDecodeAV 

Definition at line 47 of file decoderbase.h.

◆ AudioTrackType

Enumerator
kAudioTypeNormal 
kAudioTypeAudioDescription 
kAudioTypeCleanEffects 
kAudioTypeHearingImpaired 
kAudioTypeSpokenSubs 
kAudioTypeCommentary 

Definition at line 55 of file decoderbase.h.

◆ EofState

enum EofState
Enumerator
kEofStateNone 
kEofStateDelayed 
kEofStateImmediate 

Definition at line 67 of file decoderbase.h.

Function Documentation

◆ toString() [1/2]

QString toString ( TrackType  type)

Definition at line 1105 of file decoderbase.cpp.

Referenced by DecoderBase::GetTrackDesc().

◆ to_track_type()

int to_track_type ( const QString &  str)

Definition at line 1130 of file decoderbase.cpp.

Referenced by TV::HandleTrackAction().

◆ toString() [2/2]

QString toString ( AudioTrackType  type)

Definition at line 1155 of file decoderbase.cpp.

◆ AVRationalInit()

AVRational AVRationalInit ( int  num,
int  den = 1 
)
inline

Variable Documentation

◆ kDecoderProbeBufferSize

const int kDecoderProbeBufferSize = 256 * 1024