MythTV  master
Classes | Typedefs | Enumerations | Functions | Variables
decoderbase.h File Reference
#include <array>
#include <cstdint>
#include <vector>
#include "libmyth/mythcontext.h"
#include "libmythbase/mythdbcon.h"
#include "libmythbase/programinfo.h"
#include "libmythtv/io/mythmediabuffer.h"
#include "libmythtv/mythavutil.h"
#include "libmythtv/mythcodecid.h"
#include "libmythtv/mythvideoprofile.h"
#include "libmythtv/remoteencoder.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

using TestBufferVec = std::vector< char >
 
using sinfo_vec_t = std::vector< StreamInfo >
 

Enumerations

enum  TrackType {
  kTrackTypeUnknown = 0, kTrackTypeAudio, kTrackTypeVideo, kTrackTypeSubtitle,
  kTrackTypeCC608, kTrackTypeCC708, kTrackTypeTeletextCaptions, kTrackTypeTeletextMenu,
  kTrackTypeRawText, kTrackTypeAttachment, kTrackTypeCount, kTrackTypeTextSubtitle
}
 Track types. More...
 
enum  DecodeType { 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

◆ TestBufferVec

using TestBufferVec = std::vector<char>

Definition at line 23 of file decoderbase.h.

◆ sinfo_vec_t

using sinfo_vec_t = std::vector<StreamInfo>

Definition at line 111 of file decoderbase.h.

Enumeration Type Documentation

◆ TrackType

enum TrackType

Track types.

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

Definition at line 26 of file decoderbase.h.

◆ DecodeType

enum DecodeType
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 1210 of file decoderbase.cpp.

Referenced by DecoderBase::GetTrackDesc().

◆ to_track_type()

int to_track_type ( const QString &  str)

Definition at line 1235 of file decoderbase.cpp.

Referenced by TV::HandleTrackAction().

◆ toString() [2/2]

QString toString ( AudioTrackType  type)

Definition at line 1260 of file decoderbase.cpp.

◆ AVRationalInit()

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

Variable Documentation

◆ kDecoderProbeBufferSize

const int kDecoderProbeBufferSize = 256 * 1024