Kodi Documentation 18.0
Kodi is an open source media player and entertainment hub.
OMXHelper.cpp File Reference

Macros

#define PREDICATE_RETURN(lh, rh)
 

Functions

bool OMXPlayerUnsuitable (bool m_HasVideo, bool m_HasAudio, CDVDDemux *m_pDemuxer, std::shared_ptr< CDVDInputStream > m_pInputStream, CSelectionStreams &m_SelectionStreams)
 
bool OMXDoProcessing (struct SOmxPlayerState &m_OmxPlayerState, int m_playSpeed, IDVDStreamPlayerVideo *m_VideoPlayerVideo, IDVDStreamPlayerAudio *m_VideoPlayerAudio, CCurrentStream m_CurrentAudio, CCurrentStream m_CurrentVideo, bool m_HasVideo, bool m_HasAudio, CProcessInfo &processInfo)
 
bool OMXStillPlaying (bool waitVideo, bool waitAudio, bool eosVideo, bool eosAudio)
 

Macro Definition Documentation

◆ PREDICATE_RETURN

#define PREDICATE_RETURN (   lh,
  rh 
)
Value:
do { \
if((lh) != (rh)) \
return (lh) > (rh); \
} while(0)

Function Documentation

◆ OMXDoProcessing()

bool OMXDoProcessing ( struct SOmxPlayerState m_OmxPlayerState,
int  m_playSpeed,
IDVDStreamPlayerVideo m_VideoPlayerVideo,
IDVDStreamPlayerAudio m_VideoPlayerAudio,
CCurrentStream  m_CurrentAudio,
CCurrentStream  m_CurrentVideo,
bool  m_HasVideo,
bool  m_HasAudio,
CProcessInfo processInfo 
)

◆ OMXPlayerUnsuitable()

bool OMXPlayerUnsuitable ( bool  m_HasVideo,
bool  m_HasAudio,
CDVDDemux m_pDemuxer,
std::shared_ptr< CDVDInputStream m_pInputStream,
CSelectionStreams m_SelectionStreams 
)

◆ OMXStillPlaying()

bool OMXStillPlaying ( bool  waitVideo,
bool  waitAudio,
bool  eosVideo,
bool  eosAudio 
)