MythTV master
Classes | Typedefs | Enumerations | Functions | Variables
decoderbase.h File Reference
#include <array>
#include <cstdint>
#include <vector>
#include "libmythbase/mythdbcon.h"
#include "libmythbase/programinfo.h"
#include "libmythtv/io/mythmediabuffer.h"
#include "libmythtv/mythavrational.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 : std::uint8_t {
  kTrackTypeUnknown = 0 , kTrackTypeAudio , kTrackTypeVideo , kTrackTypeSubtitle ,
  kTrackTypeCC608 , kTrackTypeCC708 , kTrackTypeTeletextCaptions , kTrackTypeTeletextMenu ,
  kTrackTypeRawText , kTrackTypeAttachment , kTrackTypeCount , kTrackTypeTextSubtitle
}
 Track types. More...
 
enum  DecodeType : std::uint8_t { kDecodeNothing = 0x00 , kDecodeVideo = 0x01 , kDecodeAudio = 0x02 , kDecodeAV = 0x03 }
 
enum  AudioTrackType : std::uint8_t {
  kAudioTypeNormal = 0 , kAudioTypeAudioDescription , kAudioTypeCleanEffects , kAudioTypeHearingImpaired ,
  kAudioTypeSpokenSubs , kAudioTypeCommentary
}
 
enum  EofState : std::uint8_t { kEofStateNone , kEofStateDelayed , kEofStateImmediate }
 

Functions

QString toString (TrackType type)
 
int to_track_type (const QString &str)
 
QString toString (AudioTrackType type)
 

Variables

const int kDecoderProbeBufferSize = 256 * 1024
 

Typedef Documentation

◆ sinfo_vec_t

using sinfo_vec_t = std::vector<StreamInfo>

Definition at line 118 of file decoderbase.h.

◆ TestBufferVec

using TestBufferVec = std::vector<char>

Definition at line 23 of file decoderbase.h.

Enumeration Type Documentation

◆ AudioTrackType

enum AudioTrackType : std::uint8_t
Enumerator
kAudioTypeNormal 
kAudioTypeAudioDescription 
kAudioTypeCleanEffects 
kAudioTypeHearingImpaired 
kAudioTypeSpokenSubs 
kAudioTypeCommentary 

Definition at line 55 of file decoderbase.h.

◆ DecodeType

enum DecodeType : std::uint8_t
Enumerator
kDecodeNothing 
kDecodeVideo 
kDecodeAudio 
kDecodeAV 

Definition at line 47 of file decoderbase.h.

◆ EofState

enum EofState : std::uint8_t
Enumerator
kEofStateNone 
kEofStateDelayed 
kEofStateImmediate 

Definition at line 67 of file decoderbase.h.

◆ TrackType

enum TrackType : std::uint8_t

Track types.

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

Definition at line 26 of file decoderbase.h.

Function Documentation

◆ to_track_type()

int to_track_type ( const QString &  str)

Definition at line 1205 of file decoderbase.cpp.

Referenced by TV::HandleTrackAction().

◆ toString() [1/2]

QString toString ( AudioTrackType  type)

Definition at line 1230 of file decoderbase.cpp.

◆ toString() [2/2]

QString toString ( TrackType  type)

Definition at line 1180 of file decoderbase.cpp.

Referenced by DecoderBase::GetTrackDesc().

Variable Documentation

◆ kDecoderProbeBufferSize

const int kDecoderProbeBufferSize = 256 * 1024