Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
KodiToAddonFuncTable_VideoCodec Struct Reference

#include <video_codec.h>

Public Member Functions

 bool (__cdecl *open)(const struct AddonInstance_VideoCodec *instance
 Opens a codec.
 
 bool (__cdecl *reconfigure)(const struct AddonInstance_VideoCodec *instance
 Reconfigures a codec.
 
 bool (__cdecl *add_data)(const struct AddonInstance_VideoCodec *instance
 Feed codec if requested from GetPicture() (return VC_BUFFER)
 
enum VIDEOCODEC_RETVAL (__cdecl *get_picture)(const struct AddonInstance_VideoCodec *instance
 Get a decoded picture / request new data.
 
const char *__cdeclget_name (const struct AddonInstance_VideoCodec *instance)
 Get the name of this video decoder.
 
 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]

KodiToAddonFuncTable_VideoCodec::bool ( __cdecl * add_data) const

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

◆ bool() [2/3]

KodiToAddonFuncTable_VideoCodec::bool ( __cdecl * open) const

Opens a codec.

◆ bool() [3/3]

KodiToAddonFuncTable_VideoCodec::bool ( __cdecl * reconfigure) const

Reconfigures a codec.

◆ get_name()

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

Get the name of this video decoder.

◆ VIDEOCODEC_RETVAL()

enum KodiToAddonFuncTable_VideoCodec::VIDEOCODEC_RETVAL ( __cdecl * get_picture) const

Get a decoded picture / request new data.

◆ void()

KodiToAddonFuncTable_VideoCodec::void ( __cdecl * reset) const

Reset the codec.

Member Data Documentation

◆ addonInstance

KODI_HANDLE KodiToAddonFuncTable_VideoCodec::addonInstance

◆ initData

struct VIDEOCODEC_INITDATA * KodiToAddonFuncTable_VideoCodec::initData

◆ packet

const struct DEMUX_PACKET* KodiToAddonFuncTable_VideoCodec::packet

◆ picture

enum struct VIDEOCODEC_PICTURE* KodiToAddonFuncTable_VideoCodec::picture

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