vdr-plugin-softhddevice-drm-gles 1.6.8-daba64b
Device

Output Device Implementation. More...

Classes

class  cSoftHdDevice
 Output Device Implementation. More...
 
struct  overload< Ts >
 
struct  PlayEvent
 
struct  PauseEvent
 
struct  StopEvent
 
struct  TrickSpeedEvent
 
struct  StillPictureEvent
 
struct  DetachEvent
 
struct  AttachEvent
 
struct  BufferUnderrunEvent
 
struct  BufferingThresholdReachedEvent
 
struct  ScheduleResyncAtPtsMsEvent
 
struct  ResyncEvent
 
struct  DisplayChangeEvent
 
class  cStateMachine
 State Machine Implementation. More...
 
class  cEventHandler
 Event handler thread. More...
 

Typedefs

using Event = std::variant< PlayEvent, PauseEvent, StopEvent, TrickSpeedEvent, StillPictureEvent, DetachEvent, AttachEvent, BufferUnderrunEvent, BufferingThresholdReachedEvent, ScheduleResyncAtPtsMsEvent, ResyncEvent, DisplayChangeEvent >
 

Enumerations

enum  ChannelSwitchMode { CHANNEL_SWITCH_AVSYNC , CHANNEL_SWITCH_FAST_VIDEO , CHANNEL_SWITCH_FAST_AUDIO }
 Channel switch modes. More...
 
enum  PlaybackMode { NONE , AUDIO_AND_VIDEO , AUDIO_ONLY , VIDEO_ONLY }
 
enum  State {
  STOP , BUFFERING , PLAY , TRICK_SPEED ,
  DETACHED
}
 
enum  BufferUnderrunType { VIDEO , AUDIO }
 

Functions

static void PrintStreamData (const uchar *payload)
 Print the start code, stream id, length, first three bytes (start code) of the payload, and the following 16 bytes of the codec payload.
 
template<class... Ts>
 overload (Ts...) -> overload< Ts... >
 
const charEventToString (const Event &e)
 
const charStateToString (State s)
 

Detailed Description

Output Device Implementation.

Typedef Documentation

◆ Event

Enumeration Type Documentation

◆ BufferUnderrunType

Enumerator
VIDEO 
AUDIO 

Definition at line 49 of file statemachine.h.

◆ ChannelSwitchMode

Channel switch modes.

Enumerator
CHANNEL_SWITCH_AVSYNC 
CHANNEL_SWITCH_FAST_VIDEO 
CHANNEL_SWITCH_FAST_AUDIO 

Definition at line 54 of file config.h.

◆ PlaybackMode

Enumerator
NONE 
AUDIO_AND_VIDEO 
AUDIO_ONLY 
VIDEO_ONLY 

Definition at line 58 of file softhddevice.h.

◆ State

Enumerator
STOP 
BUFFERING 
PLAY 
TRICK_SPEED 
DETACHED 

Definition at line 41 of file statemachine.h.

Function Documentation

◆ EventToString()

const char * EventToString ( const Event e)
inline

Definition at line 95 of file statemachine.h.

References AUDIO.

Referenced by cStateMachine::OnEventReceived().

◆ overload()

template<class... Ts>
overload ( Ts...  ) -> overload< Ts... >

◆ PrintStreamData()

static void PrintStreamData ( const uchar payload)
static

Print the start code, stream id, length, first three bytes (start code) of the payload, and the following 16 bytes of the codec payload.

Parameters
datapointer to stream data
offsetprint from here

Definition at line 1381 of file softhddevice.cpp.

References L_CODEC, and LOGDEBUG2.

Referenced by cSoftHdDevice::PlayVideoInternal().

◆ StateToString()

const char * StateToString ( State  s)
inline

Definition at line 112 of file statemachine.h.

References BUFFERING, DETACHED, PLAY, STOP, and TRICK_SPEED.

Referenced by cStateMachine::ChangeState(), and cStateMachine::OnEventReceived().