![]() |
Kodi Documentation 18.0
Kodi is an open source media player and entertainment hub.
|
#include <OMXPlayerVideo.h>
Public Member Functions | |
OMXPlayerVideo (OMXClock *av_clock, CDVDOverlayContainer *pOverlayContainer, CDVDMessageQueue &parent, CRenderManager &renderManager, CProcessInfo &processInfo) | |
~OMXPlayerVideo () | |
bool | OpenStream (CDVDStreamInfo hints) override |
void | SendMessage (CDVDMsg *pMsg, int priority=0) override |
void | FlushMessages () override |
bool | AcceptsData () const override |
bool | HasData () const override |
bool | IsInited () const override |
bool | IsStalled () const override |
bool | IsEOS () override |
void | CloseStream (bool bWaitForBuffers) override |
void | Output (double pts, bool bDropPacket) |
bool | StepFrame () |
void | Flush (bool sync) override |
bool | OpenDecoder () |
double | GetCurrentPts () override |
void | SubmitEOS () |
bool | SubmittedEOS () const |
void | SetSpeed (int iSpeed) override |
std::string | GetPlayerInfo () override |
int | GetVideoBitrate () override |
double | GetOutputDelay () override |
double | GetSubtitleDelay () override |
void | SetSubtitleDelay (double delay) override |
void | EnableSubtitle (bool bEnable) override |
bool | IsSubtitleEnabled () override |
float | GetAspectRatio () |
void | SetVideoRect (const CRect &SrcRect, const CRect &DestRect) |
void | ResolutionUpdateCallBack (uint32_t width, uint32_t height, float framerate, float pixel_aspect) |
![]() | |
CThread (IRunnable *pRunnable, const char *ThreadName) | |
virtual | ~CThread () |
void | Create (bool bAutoDelete=false, unsigned stacksize=0) |
void | Sleep (unsigned int milliseconds) |
int | GetSchedRRPriority (void) |
bool | SetPrioritySched_RR (int iPriority) |
bool | IsAutoDelete () const |
virtual void | StopThread (bool bWait=true) |
bool | IsRunning () const |
bool | IsCurrentThread () const |
int | GetMinPriority (void) |
int | GetMaxPriority (void) |
int | GetNormalPriority (void) |
int | GetPriority (void) |
bool | SetPriority (const int iPriority) |
bool | WaitForThreadExit (unsigned int milliseconds) |
float | GetRelativeUsage () |
int64_t | GetAbsoluteUsage () |
virtual void | OnException () |
![]() | |
IDVDStreamPlayerVideo (CProcessInfo &processInfo) | |
~IDVDStreamPlayerVideo () override=default | |
virtual bool | IsRewindStalled () const |
![]() | |
IDVDStreamPlayer (CProcessInfo &processInfo) | |
virtual | ~IDVDStreamPlayer ()=default |
Static Public Member Functions | |
static void | ResolutionUpdateCallBack (void *ctx, uint32_t width, uint32_t height, float framerate, float pixel_aspect) |
![]() | |
static bool | IsCurrentThread (const ThreadIdentifier tid) |
static ThreadIdentifier | GetCurrentThreadId () |
static ThreadIdentifier | GetDisplayThreadId (const ThreadIdentifier tid) |
static CThread * | GetCurrentThread () |
Protected Member Functions | |
void | ProcessOverlays (double pts) |
double | NextOverlay (double pts) |
bool | OpenStream (CDVDStreamInfo &hints, COMXVideo *codec) |
virtual void | OnStartup () |
virtual void | OnExit () |
virtual void | Process () |
void | SendMessageBack (CDVDMsg *pMsg, int priority=0) |
MsgQueueReturnCode | GetMessage (CDVDMsg **pMsg, unsigned int iTimeoutInMilliSeconds, int &priority) |
std::string | GetStereoMode () |
![]() | |
CThread (const char *ThreadName) | |
WaitResponse | AbortableWait (CEvent &event, int timeoutMillis=-1) |
Protected Attributes | |
CDVDMessageQueue | m_messageQueue |
int | m_stream_id |
bool | m_open |
CDVDStreamInfo | m_hints |
double | m_iCurrentPts |
double | m_nextOverlay |
OMXClock * | m_av_clock |
COMXVideo | m_omxVideo |
float | m_fFrameRate |
bool | m_hdmi_clock_sync |
int | m_speed |
bool | m_stalled |
IDVDStreamPlayer::ESyncState | m_syncState |
bool | m_flush |
std::string | m_codecname |
std::atomic_bool | m_bAbortOutput |
double | m_iSubtitleDelay |
bool | m_bRenderSubs |
float | m_fForcedAspectRatio |
CRect | m_src_rect |
CRect | m_dst_rect |
RENDER_STEREO_MODE | m_video_stereo_mode |
RENDER_STEREO_MODE | m_display_stereo_mode |
bool | m_StereoInvert |
DllBcmHost | m_DllBcmHost |
CDVDOverlayContainer * | m_pOverlayContainer |
CDVDMessageQueue & | m_messageParent |
BitstreamStats | m_videoStats |
CRenderManager & | m_renderManager |
![]() | |
std::atomic< bool > | m_bStop |
![]() | |
CProcessInfo & | m_processInfo |
Additional Inherited Members | |
![]() | |
enum | ESyncState { SYNC_STARTING , SYNC_WAITSYNC , SYNC_INSYNC } |
![]() | |
enum | WaitResponse { WAIT_INTERRUPTED = -1 , WAIT_SIGNALED = 0 , WAIT_TIMEDOUT = 1 } |
OMXPlayerVideo::OMXPlayerVideo | ( | OMXClock * | av_clock, |
CDVDOverlayContainer * | pOverlayContainer, | ||
CDVDMessageQueue & | parent, | ||
CRenderManager & | renderManager, | ||
CProcessInfo & | processInfo | ||
) |
OMXPlayerVideo::~OMXPlayerVideo | ( | ) |
|
overridevirtual |
Implements IDVDStreamPlayerVideo.
|
overridevirtual |
Implements IDVDStreamPlayerVideo.
|
inlineoverridevirtual |
Implements IDVDStreamPlayerVideo.
|
overridevirtual |
Implements IDVDStreamPlayerVideo.
|
inlineoverridevirtual |
Implements IDVDStreamPlayer.
|
inline |
|
inlineoverridevirtual |
Implements IDVDStreamPlayerVideo.
|
inlineprotected |
|
overridevirtual |
Implements IDVDStreamPlayerVideo.
|
overridevirtual |
Implements IDVDStreamPlayerVideo.
|
protected |
|
inlineoverridevirtual |
Implements IDVDStreamPlayerVideo.
|
overridevirtual |
Implements IDVDStreamPlayerVideo.
|
overridevirtual |
Implements IDVDStreamPlayerVideo.
|
overridevirtual |
Reimplemented from IDVDStreamPlayerVideo.
|
overridevirtual |
Implements IDVDStreamPlayerVideo.
|
inlineoverridevirtual |
Implements IDVDStreamPlayerVideo.
|
inlineoverridevirtual |
Implements IDVDStreamPlayerVideo.
|
protected |
bool OMXPlayerVideo::OpenDecoder | ( | ) |
|
protected |
|
overridevirtual |
Implements IDVDStreamPlayerVideo.
void OMXPlayerVideo::Output | ( | double | pts, |
bool | bDropPacket | ||
) |
|
protected |
void OMXPlayerVideo::ResolutionUpdateCallBack | ( | uint32_t | width, |
uint32_t | height, | ||
float | framerate, | ||
float | pixel_aspect | ||
) |
|
static |
Implements IDVDStreamPlayerVideo.
|
overridevirtual |
Implements IDVDStreamPlayerVideo.
|
inlineoverridevirtual |
Implements IDVDStreamPlayerVideo.
bool OMXPlayerVideo::StepFrame | ( | ) |
void OMXPlayerVideo::SubmitEOS | ( | ) |
|
inline |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |