Kodi Documentation  18.0
Kodi is an open source media player and entertainment hub.
CAMLCodec Class Reference

#include <AMLCodec.h>

Public Member Functions

 CAMLCodec (CProcessInfo &processInfo)
 
virtual ~CAMLCodec ()
 
bool OpenDecoder (CDVDStreamInfo &hints)
 
void CloseDecoder ()
 
void Reset ()
 
bool AddData (uint8_t *pData, size_t size, double dts, double pts)
 
CDVDVideoCodec::VCReturn GetPicture (VideoPicture *pVideoPicture)
 
void SetSpeed (int speed)
 
void SetDrain (bool drain)
 
void SetVideoRect (const CRect &SrcRect, const CRect &DestRect)
 
void SetVideoRate (int videoRate)
 
int GetOMXPts () const
 
uint32_t GetBufferIndex () const
 
int GetAmlDuration () const
 
int ReleaseFrame (const uint32_t index, bool bDrop=false)
 

Static Public Member Functions

static float OMXPtsToSeconds (int omxpts)
 
static int OMXDurationToNs (int duration)
 
static int PollFrame ()
 
static void SetPollDevice (int device)
 

Constructor & Destructor Documentation

§ CAMLCodec()

CAMLCodec::CAMLCodec ( CProcessInfo processInfo)

§ ~CAMLCodec()

CAMLCodec::~CAMLCodec ( )
virtual

Member Function Documentation

§ AddData()

bool CAMLCodec::AddData ( uint8_t pData,
size_t  size,
double  dts,
double  pts 
)

§ CloseDecoder()

void CAMLCodec::CloseDecoder ( )

§ GetAmlDuration()

int CAMLCodec::GetAmlDuration ( ) const

§ GetBufferIndex()

uint32_t CAMLCodec::GetBufferIndex ( ) const
inline

§ GetOMXPts()

int CAMLCodec::GetOMXPts ( ) const
inline

§ GetPicture()

CDVDVideoCodec::VCReturn CAMLCodec::GetPicture ( VideoPicture pVideoPicture)

§ OMXDurationToNs()

int CAMLCodec::OMXDurationToNs ( int  duration)
static

§ OMXPtsToSeconds()

float CAMLCodec::OMXPtsToSeconds ( int  omxpts)
static

§ OpenDecoder()

bool CAMLCodec::OpenDecoder ( CDVDStreamInfo hints)

§ PollFrame()

int CAMLCodec::PollFrame ( )
static

§ ReleaseFrame()

int CAMLCodec::ReleaseFrame ( const uint32_t  index,
bool  bDrop = false 
)

§ Reset()

void CAMLCodec::Reset ( void  )

§ SetDrain()

void CAMLCodec::SetDrain ( bool  drain)
inline

§ SetPollDevice()

void CAMLCodec::SetPollDevice ( int  device)
static

§ SetSpeed()

void CAMLCodec::SetSpeed ( int  speed)

§ SetVideoRate()

void CAMLCodec::SetVideoRate ( int  videoRate)

§ SetVideoRect()

void CAMLCodec::SetVideoRect ( const CRect SrcRect,
const CRect DestRect 
)

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