openATV enigma2
openATV is an open source SetTopBox Graphical user interface.
eAMLTSMPEGDecoder Class Reference

#include <amldecoder.h>

Inheritance diagram for eAMLTSMPEGDecoder:
iTSMPEGDecoder iObject

Public Types

enum  {
  aMPEG , aAC3 , aDTS , aAAC ,
  aAACHE , aLPCM , aDTSHD , aDDP ,
  UNKNOWN = -1 , MPEG2 =0 , MPEG4_H264 , VC1 = 3 ,
  MPEG4_Part2 , VC1_SM , MPEG1 , H265_HEVC ,
  AVS = 16
}
 
enum  { pidNone = -1 }
 
enum  {
  stateStop , statePause , statePlay , stateDecoderFastForward ,
  stateTrickmode , stateSlowMotion
}
 
- Public Types inherited from iTSMPEGDecoder
enum  { pidDisabled = -1 }
 
enum  {
  af_MPEG , af_AC3 , af_DTS , af_AAC ,
  af_DTSHD
}
 
enum  { ac_left , ac_stereo , ac_right }
 
enum  { sm_Audio , sm_Video }
 

Public Member Functions

 eAMLTSMPEGDecoder (eDVBDemux *demux, int decoder)
 
virtual ~eAMLTSMPEGDecoder ()
 
RESULT setVideoPID (int vpid, int type)
 
RESULT setAudioPID (int apid, int type)
 
RESULT setAudioChannel (int channel)
 
int getAudioChannel ()
 
RESULT setPCMDelay (int delay)
 
int getPCMDelay ()
 
RESULT setAC3Delay (int delay)
 
int getAC3Delay ()
 
RESULT setSyncPCR (int pcrpid)
 
RESULT setTextPID (int textpid)
 
RESULT setSyncMaster (int who)
 
RESULT set ()
 
RESULT play ()
 
RESULT pause ()
 
RESULT setFastForward (int frames_to_skip)
 
RESULT setSlowMotion (int repeat)
 
RESULT setTrickmode ()
 
RESULT flush ()
 
RESULT showSinglePic (const char *filename)
 
RESULT setRadioPic (const std::string &filename)
 
RESULT getPTS (int what, pts_t &pts)
 
RESULT connectVideoEvent (const sigc::slot1< void, struct videoEvent > &event, ePtr< eConnection > &connection)
 
int getVideoWidth ()
 
int getVideoHeight ()
 
int getVideoProgressive ()
 
int getVideoFrameRate ()
 
int getVideoAspect ()
 
int getVideoGamma ()
 
- Public Member Functions inherited from iTSMPEGDecoder
virtual RESULT prepareFCC (int fe_id, int vpid, int vtype, int pcrpid)=0
 
virtual RESULT fccDecoderStart ()=0
 
virtual RESULT fccDecoderStop ()=0
 
virtual RESULT fccUpdatePids (int fe_id, int vpid, int vtype, int pcrpid)=0
 
- Public Member Functions inherited from iObject
void operator delete (void *p)
 
virtual void AddRef ()=0
 
virtual void Release ()=0
 

Static Public Member Functions

static RESULT setHwPCMDelay (int delay)
 
static RESULT setHwAC3Delay (int delay)
 

Additional Inherited Members

- Protected Member Functions inherited from iObject
virtual ~iObject ()
 

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
aMPEG 
aAC3 
aDTS 
aAAC 
aAACHE 
aLPCM 
aDTSHD 
aDDP 
UNKNOWN 
MPEG2 
MPEG4_H264 
VC1 
MPEG4_Part2 
VC1_SM 
MPEG1 
H265_HEVC 
AVS 

◆ anonymous enum

anonymous enum
Enumerator
pidNone 

◆ anonymous enum

anonymous enum
Enumerator
stateStop 
statePause 
statePlay 
stateDecoderFastForward 
stateTrickmode 
stateSlowMotion 

Constructor & Destructor Documentation

◆ eAMLTSMPEGDecoder()

eAMLTSMPEGDecoder::eAMLTSMPEGDecoder ( eDVBDemux demux,
int  decoder 
)

◆ ~eAMLTSMPEGDecoder()

eAMLTSMPEGDecoder::~eAMLTSMPEGDecoder ( )
virtual

Member Function Documentation

◆ connectVideoEvent()

RESULT eAMLTSMPEGDecoder::connectVideoEvent ( const sigc::slot1< void, struct videoEvent > &  event,
ePtr< eConnection > &  connection 
)
virtual

Implements iTSMPEGDecoder.

◆ flush()

RESULT eAMLTSMPEGDecoder::flush ( )

◆ getAC3Delay()

int eAMLTSMPEGDecoder::getAC3Delay ( )
inlinevirtual

Implements iTSMPEGDecoder.

◆ getAudioChannel()

int eAMLTSMPEGDecoder::getAudioChannel ( )
virtual

Implements iTSMPEGDecoder.

◆ getPCMDelay()

int eAMLTSMPEGDecoder::getPCMDelay ( )
inlinevirtual

Implements iTSMPEGDecoder.

◆ getPTS()

RESULT eAMLTSMPEGDecoder::getPTS ( int  what,
pts_t pts 
)
virtual

Implements iTSMPEGDecoder.

◆ getVideoAspect()

int eAMLTSMPEGDecoder::getVideoAspect ( )
virtual

Implements iTSMPEGDecoder.

◆ getVideoFrameRate()

int eAMLTSMPEGDecoder::getVideoFrameRate ( )
virtual

Implements iTSMPEGDecoder.

◆ getVideoGamma()

int eAMLTSMPEGDecoder::getVideoGamma ( )
virtual

Implements iTSMPEGDecoder.

◆ getVideoHeight()

int eAMLTSMPEGDecoder::getVideoHeight ( )
virtual

Implements iTSMPEGDecoder.

◆ getVideoProgressive()

int eAMLTSMPEGDecoder::getVideoProgressive ( )
virtual

Implements iTSMPEGDecoder.

◆ getVideoWidth()

int eAMLTSMPEGDecoder::getVideoWidth ( )
virtual

Implements iTSMPEGDecoder.

◆ pause()

RESULT eAMLTSMPEGDecoder::pause ( )
virtual

Freeze frame.

Implements iTSMPEGDecoder.

◆ play()

RESULT eAMLTSMPEGDecoder::play ( )
virtual

play

Implements iTSMPEGDecoder.

◆ set()

RESULT eAMLTSMPEGDecoder::set ( )
virtual

Apply settings but don't change state

Implements iTSMPEGDecoder.

◆ setAC3Delay()

RESULT eAMLTSMPEGDecoder::setAC3Delay ( int  delay)
virtual

Implements iTSMPEGDecoder.

◆ setAudioChannel()

RESULT eAMLTSMPEGDecoder::setAudioChannel ( int  channel)
virtual

Set Displayed Audio Channel

Implements iTSMPEGDecoder.

◆ setAudioPID()

RESULT eAMLTSMPEGDecoder::setAudioPID ( int  apid,
int  type 
)
virtual

Set Displayed Audio PID and type

Implements iTSMPEGDecoder.

◆ setFastForward()

RESULT eAMLTSMPEGDecoder::setFastForward ( int  skip)
virtual

fast forward by skipping frames. 0 is disabled, 2 is twice-the-speed, ...

Implements iTSMPEGDecoder.

◆ setHwAC3Delay()

RESULT eAMLTSMPEGDecoder::setHwAC3Delay ( int  delay)
static

◆ setHwPCMDelay()

RESULT eAMLTSMPEGDecoder::setHwPCMDelay ( int  delay)
static

◆ setPCMDelay()

RESULT eAMLTSMPEGDecoder::setPCMDelay ( int  delay)
virtual

Implements iTSMPEGDecoder.

◆ setRadioPic()

RESULT eAMLTSMPEGDecoder::setRadioPic ( const std::string &  filename)
virtual

Implements iTSMPEGDecoder.

◆ setSlowMotion()

RESULT eAMLTSMPEGDecoder::setSlowMotion ( int  repeat)
virtual

Slow Motion by repeating pictures

Implements iTSMPEGDecoder.

◆ setSyncMaster()

RESULT eAMLTSMPEGDecoder::setSyncMaster ( int  who)
virtual

Set Sync mode to either audio or video master

Implements iTSMPEGDecoder.

◆ setSyncPCR()

RESULT eAMLTSMPEGDecoder::setSyncPCR ( int  pcrpid)
virtual

Set Sync mode to PCR

Implements iTSMPEGDecoder.

◆ setTextPID()

RESULT eAMLTSMPEGDecoder::setTextPID ( int  vpid)
virtual

Set Displayed Videotext PID

Implements iTSMPEGDecoder.

◆ setTrickmode()

RESULT eAMLTSMPEGDecoder::setTrickmode ( )
virtual

Display any complete data as fast as possible

Implements iTSMPEGDecoder.

◆ setVideoPID()

RESULT eAMLTSMPEGDecoder::setVideoPID ( int  vpid,
int  type 
)
virtual

Set Displayed Video PID and type

Implements iTSMPEGDecoder.

◆ showSinglePic()

RESULT eAMLTSMPEGDecoder::showSinglePic ( const char *  filename)
virtual

Implements iTSMPEGDecoder.


The documentation for this class was generated from the following files: