Kodi Development 22.0
for Binary and Script based Add-Ons
 
Loading...
Searching...
No Matches
KodiToAddonFuncTable_VideoCodec

Public Member Functions

 bool (__cdecl *add_data)(const struct AddonInstance_VideoCodec *instance
 Feed codec if requested from GetPicture() (return VC_BUFFER)
 
 bool (__cdecl *open)(const struct AddonInstance_VideoCodec *instance
 Opens a codec.
 
 bool (__cdecl *reconfigure)(const struct AddonInstance_VideoCodec *instance
 Reconfigures a codec.
 
const char *__cdecl * get_name (const struct AddonInstance_VideoCodec *instance)
 Get the name of this video decoder.
 
enum VIDEOCODEC_RETVAL (__cdecl *get_picture)(const struct AddonInstance_VideoCodec *instance
 Get a decoded picture / request new data.
 
 void (__cdecl *reset)(const struct AddonInstance_VideoCodec *instance)
 Reset the codec.
 

Public Attributes

KODI_HANDLE addonInstance
 
struct VIDEOCODEC_INITDATAinitData
 
const struct DEMUX_PACKETpacket
 
enum struct VIDEOCODEC_PICTUREpicture
 

Member Function Documentation

◆ bool() [1/3]

bool ( __cdecl * open) const

Opens a codec.

◆ bool() [2/3]

bool ( __cdecl * reconfigure) const

Reconfigures a codec.

◆ bool() [3/3]

bool ( __cdecl * add_data) const

Feed codec if requested from GetPicture() (return VC_BUFFER)

◆ VIDEOCODEC_RETVAL()

enum VIDEOCODEC_RETVAL ( __cdecl * get_picture) const

Get a decoded picture / request new data.

◆ get_name()

const char *__cdecl * get_name ( const struct AddonInstance_VideoCodec * instance)

Get the name of this video decoder.

◆ void()

void ( __cdecl * reset) const

Reset the codec.


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