Kodi Development  20.0
for Binary and Script based Add-Ons
CInstanceVideoCodec

Inherits IAddonInstance.

Public Member Functions

virtual bool AddData (const DEMUX_PACKET &packet)
 add data, decoder has to consume the entire packet More...
 
 CInstanceVideoCodec (KODI_HANDLE instance, const std::string &kodiVersion="")
 Video codec class constructor used to support multiple instance types. More...
 
bool GetFrameBuffer (VIDEOCODEC_PICTURE &picture)
 AddonToKodi interface. More...
 
virtual const char * GetName ()
 should return codecs name More...
 
virtual VIDEOCODEC_RETVAL GetPicture (VIDEOCODEC_PICTURE &picture)
 GetPicture controls decoding. More...
 
virtual bool Open (const kodi::addon::VideoCodecInitdata &initData)
 Open the decoder, returns true on success. More...
 
virtual bool Reconfigure (const kodi::addon::VideoCodecInitdata &initData)
 Reconfigure the decoder, returns true on success. More...
 
void ReleaseFrameBuffer (void *buffer)
 Release the with GetFrameBuffer() given framebuffer. More...
 
virtual void Reset ()
 Reset the decoder. More...
 
 ~CInstanceVideoCodec () override=default
 Destructor. More...
 
- Public Member Functions inherited from IAddonInstance
virtual ADDON_STATUS CreateInstance (int instanceType, const std::string &instanceID, KODI_HANDLE instance, const std::string &version, KODI_HANDLE &addonInstance)
 
 IAddonInstance (ADDON_TYPE type, const std::string &version)
 

Additional Inherited Members

- Public Attributes inherited from IAddonInstance
std::string m_id
 
const std::string m_kodiVersion
 
const ADDON_TYPE m_type
 

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