|
Kodi Docs 20.0
Kodi is an open source media player and entertainment hub.
|
#include <VideoCodec.h>
Public Member Functions | |
| CInstanceVideoCodec (KODI_HANDLE instance, const std::string &kodiVersion="") | |
| Video codec class constructor used to support multiple instance types. More... | |
| ~CInstanceVideoCodec () override=default | |
| Destructor. 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... | |
| virtual bool | AddData (const DEMUX_PACKET &packet) |
| add data, decoder has to consume the entire packet More... | |
| virtual VIDEOCODEC_RETVAL | GetPicture (VIDEOCODEC_PICTURE &picture) |
| GetPicture controls decoding. More... | |
| virtual const char * | GetName () |
| should return codecs name More... | |
| virtual void | Reset () |
| Reset the decoder. More... | |
| bool | GetFrameBuffer (VIDEOCODEC_PICTURE &picture) |
| AddonToKodi interface. More... | |
| void | ReleaseFrameBuffer (void *buffer) |
| Release the with GetFrameBuffer() given framebuffer. More... | |
Public Member Functions inherited from kodi::addon::IAddonInstance | |
| IAddonInstance (ADDON_TYPE type, const std::string &version) | |
| virtual | ~IAddonInstance ()=default |
| virtual ADDON_STATUS | CreateInstance (int instanceType, const std::string &instanceID, KODI_HANDLE instance, const std::string &version, KODI_HANDLE &addonInstance) |
Additional Inherited Members | |
Public Attributes inherited from kodi::addon::IAddonInstance | |
| const ADDON_TYPE | m_type |
| const std::string | m_kodiVersion |
| std::string | m_id |