Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
inputstream.h File Reference

Classes

struct  INPUTSTREAM_CAPABILITIES
 InputStream add-on capabilities. All capabilities are set to "false" as default. More...
 
struct  INPUTSTREAM_PROPERTY
 structure of key/value pairs passed to addon on Open() More...
 
struct  INPUTSTREAM_PROPERTY::LISTITEMPROPERTY
 
struct  INPUTSTREAM_IDS
 Array of stream IDs. More...
 
struct  INPUTSTREAM_MASTERING_METADATA
 MASTERING Metadata. More...
 
struct  INPUTSTREAM_CONTENTLIGHT_METADATA
 CONTENTLIGHT Metadata. More...
 
struct  INPUTSTREAM_INFO
 stream properties More...
 
struct  INPUTSTREAM_TIMES
 
struct  AddonProps_InputStream
 "C" ABI Structures to transfer the methods from this to Kodi More...
 
struct  AddonToKodiFuncTable_InputStream
 
struct  KodiToAddonFuncTable_InputStream
 
struct  AddonInstance_InputStream
 

Macros

#define INPUTSTREAM_VERSION_LEVEL   4
 
#define INPUTSTREAM_MAX_INFO_COUNT   8
 
#define INPUTSTREAM_MAX_STREAM_COUNT   256
 
#define INPUTSTREAM_MAX_STRING_NAME_SIZE   256
 
#define INPUTSTREAM_MAX_STRING_CODEC_SIZE   32
 
#define INPUTSTREAM_MAX_STRING_LANGUAGE_SIZE   64
 

Typedefs

typedef struct AddonProps_InputStream AddonProps_InputStream
 "C" ABI Structures to transfer the methods from this to Kodi
 
typedef struct AddonToKodiFuncTable_InputStream AddonToKodiFuncTable_InputStream
 
typedef struct KodiToAddonFuncTable_InputStream KodiToAddonFuncTable_InputStream
 
typedef struct AddonInstance_InputStream AddonInstance_InputStream
 

Enumerations

enum  INPUTSTREAM_TYPE {
  INPUTSTREAM_TYPE_NONE = 0 , INPUTSTREAM_TYPE_VIDEO , INPUTSTREAM_TYPE_AUDIO , INPUTSTREAM_TYPE_SUBTITLE ,
  INPUTSTREAM_TYPE_TELETEXT , INPUTSTREAM_TYPE_RDS , INPUTSTREAM_TYPE_ID3
}
 
enum  INPUTSTREAM_CODEC_FEATURES { INPUTSTREAM_FEATURE_NONE = 0 , INPUTSTREAM_FEATURE_DECODE = (1 << 0) }
 
enum  INPUTSTREAM_FLAGS {
  INPUTSTREAM_FLAG_NONE = 0 , INPUTSTREAM_FLAG_DEFAULT = (1 << 0) , INPUTSTREAM_FLAG_DUB = (1 << 1) , INPUTSTREAM_FLAG_ORIGINAL = (1 << 2) ,
  INPUTSTREAM_FLAG_COMMENT = (1 << 3) , INPUTSTREAM_FLAG_LYRICS = (1 << 4) , INPUTSTREAM_FLAG_KARAOKE = (1 << 5) , INPUTSTREAM_FLAG_FORCED = (1 << 6) ,
  INPUTSTREAM_FLAG_HEARING_IMPAIRED = (1 << 7) , INPUTSTREAM_FLAG_VISUAL_IMPAIRED = (1 << 8)
}
 
enum  INPUTSTREAM_COLORSPACE {
  INPUTSTREAM_COLORSPACE_RGB = 0 , INPUTSTREAM_COLORSPACE_BT709 = 1 , INPUTSTREAM_COLORSPACE_UNSPECIFIED = 2 , INPUTSTREAM_COLORSPACE_UNKNOWN = INPUTSTREAM_COLORSPACE_UNSPECIFIED ,
  INPUTSTREAM_COLORSPACE_RESERVED = 3 , INPUTSTREAM_COLORSPACE_FCC = 4 , INPUTSTREAM_COLORSPACE_BT470BG = 5 , INPUTSTREAM_COLORSPACE_SMPTE170M = 6 ,
  INPUTSTREAM_COLORSPACE_SMPTE240M = 7 , INPUTSTREAM_COLORSPACE_YCGCO = 8 , INPUTSTREAM_COLORSPACE_YCOCG = INPUTSTREAM_COLORSPACE_YCGCO , INPUTSTREAM_COLORSPACE_BT2020_NCL = 9 ,
  INPUTSTREAM_COLORSPACE_BT2020_CL = 10 , INPUTSTREAM_COLORSPACE_SMPTE2085 = 11 , INPUTSTREAM_COLORSPACE_CHROMA_DERIVED_NCL = 12 , INPUTSTREAM_COLORSPACE_CHROMA_DERIVED_CL = 13 ,
  INPUTSTREAM_COLORSPACE_ICTCP = 14 , INPUTSTREAM_COLORSPACE_MAX
}
 
enum  INPUTSTREAM_COLORPRIMARIES {
  INPUTSTREAM_COLORPRIMARY_RESERVED0 = 0 , INPUTSTREAM_COLORPRIMARY_BT709 = 1 , INPUTSTREAM_COLORPRIMARY_UNSPECIFIED = 2 , INPUTSTREAM_COLORPRIMARY_RESERVED = 3 ,
  INPUTSTREAM_COLORPRIMARY_BT470M = 4 , INPUTSTREAM_COLORPRIMARY_BT470BG = 5 , INPUTSTREAM_COLORPRIMARY_SMPTE170M = 6 , INPUTSTREAM_COLORPRIMARY_SMPTE240M = 7 ,
  INPUTSTREAM_COLORPRIMARY_FILM = 8 , INPUTSTREAM_COLORPRIMARY_BT2020 = 9 , INPUTSTREAM_COLORPRIMARY_SMPTE428 = 10 , INPUTSTREAM_COLORPRIMARY_SMPTEST428_1 = INPUTSTREAM_COLORPRIMARY_SMPTE428 ,
  INPUTSTREAM_COLORPRIMARY_SMPTE431 = 11 , INPUTSTREAM_COLORPRIMARY_SMPTE432 = 12 , INPUTSTREAM_COLORPRIMARY_JEDEC_P22 = 22 , INPUTSTREAM_COLORPRIMARY_MAX
}
 
enum  INPUTSTREAM_COLORRANGE { INPUTSTREAM_COLORRANGE_UNKNOWN = 0 , INPUTSTREAM_COLORRANGE_LIMITED , INPUTSTREAM_COLORRANGE_FULLRANGE , INPUTSTREAM_COLORRANGE_MAX }
 
enum  INPUTSTREAM_COLORTRC {
  INPUTSTREAM_COLORTRC_RESERVED0 = 0 , INPUTSTREAM_COLORTRC_BT709 = 1 , INPUTSTREAM_COLORTRC_UNSPECIFIED = 2 , INPUTSTREAM_COLORTRC_RESERVED = 3 ,
  INPUTSTREAM_COLORTRC_GAMMA22 = 4 , INPUTSTREAM_COLORTRC_GAMMA28 = 5 , INPUTSTREAM_COLORTRC_SMPTE170M = 6 , INPUTSTREAM_COLORTRC_SMPTE240M = 7 ,
  INPUTSTREAM_COLORTRC_LINEAR = 8 , INPUTSTREAM_COLORTRC_LOG = 9 , INPUTSTREAM_COLORTRC_LOG_SQRT = 10 , INPUTSTREAM_COLORTRC_IEC61966_2_4 = 11 ,
  INPUTSTREAM_COLORTRC_BT1361_ECG = 12 , INPUTSTREAM_COLORTRC_IEC61966_2_1 = 13 , INPUTSTREAM_COLORTRC_BT2020_10 = 14 , INPUTSTREAM_COLORTRC_BT2020_12 = 15 ,
  INPUTSTREAM_COLORTRC_SMPTE2084 = 16 , INPUTSTREAM_COLORTRC_SMPTEST2084 = INPUTSTREAM_COLORTRC_SMPTE2084 , INPUTSTREAM_COLORTRC_SMPTE428 = 17 , INPUTSTREAM_COLORTRC_SMPTEST428_1 = INPUTSTREAM_COLORTRC_SMPTE428 ,
  INPUTSTREAM_COLORTRC_ARIB_STD_B67 = 18 , INPUTSTREAM_COLORTRC_MAX
}
 
enum  INPUTSTREAM_MASKTYPE {
  INPUTSTREAM_SUPPORTS_IDEMUX = (1 << 0) , INPUTSTREAM_SUPPORTS_IPOSTIME = (1 << 1) , INPUTSTREAM_SUPPORTS_IDISPLAYTIME = (1 << 2) , INPUTSTREAM_SUPPORTS_SEEK = (1 << 3) ,
  INPUTSTREAM_SUPPORTS_PAUSE = (1 << 4) , INPUTSTREAM_SUPPORTS_ITIME = (1 << 5) , INPUTSTREAM_SUPPORTS_ICHAPTER = (1 << 6)
}
 Capability types of inputstream addon.
This values are needed to tell Kodi which options are supported on the addon. More...
 

Macro Definition Documentation

◆ INPUTSTREAM_MAX_INFO_COUNT

#define INPUTSTREAM_MAX_INFO_COUNT   8

◆ INPUTSTREAM_MAX_STREAM_COUNT

#define INPUTSTREAM_MAX_STREAM_COUNT   256

◆ INPUTSTREAM_MAX_STRING_CODEC_SIZE

#define INPUTSTREAM_MAX_STRING_CODEC_SIZE   32

◆ INPUTSTREAM_MAX_STRING_LANGUAGE_SIZE

#define INPUTSTREAM_MAX_STRING_LANGUAGE_SIZE   64

◆ INPUTSTREAM_MAX_STRING_NAME_SIZE

#define INPUTSTREAM_MAX_STRING_NAME_SIZE   256

◆ INPUTSTREAM_VERSION_LEVEL

#define INPUTSTREAM_VERSION_LEVEL   4

Typedef Documentation

◆ AddonInstance_InputStream

typedef struct AddonInstance_InputStream AddonInstance_InputStream

◆ AddonProps_InputStream

typedef struct AddonProps_InputStream AddonProps_InputStream

"C" ABI Structures to transfer the methods from this to Kodi

◆ AddonToKodiFuncTable_InputStream

typedef struct AddonToKodiFuncTable_InputStream AddonToKodiFuncTable_InputStream

◆ KodiToAddonFuncTable_InputStream

typedef struct KodiToAddonFuncTable_InputStream KodiToAddonFuncTable_InputStream