|
Kodi Docs 20.0
Kodi is an open source media player and entertainment hub.
|
#include <Inputstream.h>
Public Member Functions | |
| void | SetStreamType (INPUTSTREAM_TYPE streamType) |
| Set the wanted stream type. More... | |
| INPUTSTREAM_TYPE | GetStreamType () const |
| To get with SetStreamType changed values. More... | |
| void | SetFeatures (uint32_t features) |
| Set special supported feature flags of inputstream. More... | |
| uint32_t | GetFeatures () const |
| To get with SetFeatures changed values. More... | |
| void | SetFlags (uint32_t flags) |
| Set supported flags of inputstream. More... | |
| uint32_t | GetFlags () const |
| To get with SetFeatures changed values. More... | |
| void | SetName (const std::string &name) |
| (optional) Name of the stream, leave empty for default handling. More... | |
| std::string | GetName () const |
| To get with SetName changed values. More... | |
| void | SetCodecName (const std::string &codecName) |
| (required) Name of codec according to ffmpeg. More... | |
| std::string | GetCodecName () const |
| To get with SetCodecName changed values. More... | |
| void | SetCodecInternalName (const std::string &codecName) |
| (optional) Internal name of codec (selectionstream info). More... | |
| std::string | GetCodecInternalName () const |
| To get with SetCodecInternalName changed values. More... | |
| void | SetCodecProfile (STREAMCODEC_PROFILE codecProfile) |
| (optional) The profile of the codec. More... | |
| STREAMCODEC_PROFILE | GetCodecProfile () const |
| To get with SetCodecProfile changed values. More... | |
| void | SetPhysicalIndex (unsigned int id) |
| (required) Physical index. More... | |
| unsigned int | GetPhysicalIndex () const |
| To get with SetPhysicalIndex changed values. More... | |
| void | SetExtraData (const std::vector< uint8_t > &extraData) |
| Additional data where can needed on streams. More... | |
| void | SetExtraData (const uint8_t *extraData, size_t extraSize) |
| Additional data where can needed on streams. More... | |
| const std::vector< uint8_t > & | GetExtraData () |
| To get with SetExtraData changed values. More... | |
| size_t | GetExtraDataSize () |
| To get size with SetExtraData changed values. More... | |
| bool | CompareExtraData (const uint8_t *extraData, size_t extraSize) const |
| Compare extra data from outside with class. More... | |
| void | ClearExtraData () |
| Clear additional data. More... | |
| void | SetLanguage (const std::string &language) |
| RFC 5646 language code (empty string if undefined). More... | |
| std::string | GetLanguage () const |
| To get with SetLanguage changed values. More... | |
| void | SetFpsScale (unsigned int fpsScale) |
| Scale of 1000 and a rate of 29970 will result in 29.97 fps. More... | |
| unsigned int | GetFpsScale () const |
| To get with SetFpsScale changed values. More... | |
| void | SetFpsRate (unsigned int fpsRate) |
| Rate to use for stream. More... | |
| unsigned int | GetFpsRate () const |
| To get with SetFpsRate changed values. More... | |
| void | SetHeight (unsigned int height) |
| Height of the stream reported by the demuxer. More... | |
| unsigned int | GetHeight () const |
| To get with SetHeight changed values. More... | |
| void | SetWidth (unsigned int width) |
| Width of the stream reported by the demuxer. More... | |
| unsigned int | GetWidth () const |
| To get with SetWidth changed values. More... | |
| void | SetAspect (float aspect) |
| Display aspect of stream. More... | |
| float | GetAspect () const |
| To get with SetAspect changed values. More... | |
| void | SetChannels (unsigned int channels) |
| (required) Amount of channels. More... | |
| unsigned int | GetChannels () const |
| To get with SetChannels changed values. More... | |
| void | SetSampleRate (unsigned int sampleRate) |
| (required) Sample rate. More... | |
| unsigned int | GetSampleRate () const |
| To get with SetSampleRate changed values. More... | |
| void | SetBitRate (unsigned int bitRate) |
| Bit rate. More... | |
| unsigned int | GetBitRate () const |
| To get with SetBitRate changed values. More... | |
| void | SetBitsPerSample (unsigned int bitsPerSample) |
| (required) Bits per sample. More... | |
| unsigned int | GetBitsPerSample () const |
| To get with SetBitsPerSample changed values. More... | |
| void | SetBlockAlign (unsigned int blockAlign) |
| To set the necessary stream block alignment size. More... | |
| unsigned int | GetBlockAlign () const |
| To get with SetBlockAlign changed values. More... | |
| void | SetCryptoSession (const kodi::addon::StreamCryptoSession &cryptoSession) |
| To set stream crypto session information. More... | |
| const kodi::addon::StreamCryptoSession & | GetCryptoSession () const |
| To get with GetCryptoSession changed values. More... | |
| void | SetCodecFourCC (unsigned int codecFourCC) |
| Codec If available, the fourcc code codec. More... | |
| unsigned int | GetCodecFourCC () const |
| To get with SetCodecFourCC changed values. More... | |
| void | SetColorSpace (INPUTSTREAM_COLORSPACE colorSpace) |
| Definition of colorspace. More... | |
| INPUTSTREAM_COLORSPACE | GetColorSpace () const |
| To get with SetColorSpace changed values. More... | |
| void | SetColorRange (INPUTSTREAM_COLORRANGE colorRange) |
| Color range if available. More... | |
| INPUTSTREAM_COLORRANGE | GetColorRange () const |
| To get with SetColorRange changed values. More... | |
| void | SetColorPrimaries (INPUTSTREAM_COLORPRIMARIES colorPrimaries) |
| Chromaticity coordinates of the source primaries. These values match the ones defined by ISO/IEC 23001-8_2013 § 7.1. More... | |
| INPUTSTREAM_COLORPRIMARIES | GetColorPrimaries () const |
| To get with SetColorPrimaries changed values. More... | |
| void | SetColorTransferCharacteristic (INPUTSTREAM_COLORTRC colorTransferCharacteristic) |
| Color Transfer Characteristic. These values match the ones defined by ISO/IEC 23001-8_2013 § 7.2. More... | |
| INPUTSTREAM_COLORTRC | GetColorTransferCharacteristic () const |
| To get with SetColorTransferCharacteristic changed values. More... | |
| void | SetMasteringMetadata (const kodi::addon::InputstreamMasteringMetadata &masteringMetadata) |
| Mastering static Metadata. More... | |
| const kodi::addon::InputstreamMasteringMetadata & | GetMasteringMetadata () const |
| To get with SetMasteringMetadata changed values. More... | |
| void | ClearMasteringMetadata () |
| Clear mastering static Metadata. More... | |
| void | SetContentLightMetadata (const kodi::addon::InputstreamContentlightMetadata &contentLightMetadata) |
| Content light static Metadata. More... | |
| const kodi::addon::InputstreamContentlightMetadata & | GetContentLightMetadata () const |
| To get with SetContentLightMetadata changed values. More... | |
| void | ClearContentLightMetadata () |
| Clear content light static Metadata. More... | |
Public Member Functions inherited from kodi::addon::CStructHdl< InputstreamInfo, INPUTSTREAM_INFO > | |
| CStructHdl () | |
| CStructHdl (const InputstreamInfo &cppClass) | |
| CStructHdl (const INPUTSTREAM_INFO *cStructure) | |
| CStructHdl (INPUTSTREAM_INFO *cStructure) | |
| const CStructHdl & | operator= (const CStructHdl &right) |
| const CStructHdl & | operator= (const INPUTSTREAM_INFO &right) |
| virtual | ~CStructHdl () |
| operator INPUTSTREAM_INFO * () | |
| operator const INPUTSTREAM_INFO * () const | |
| const INPUTSTREAM_INFO * | GetCStructure () const |
Additional Inherited Members | |
Protected Attributes inherited from kodi::addon::CStructHdl< InputstreamInfo, INPUTSTREAM_INFO > | |
| INPUTSTREAM_INFO * | m_cStructure |