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