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

#include <demux_packet.h>

Inheritance diagram for DEMUX_PACKET:
DemuxPacket

Public Attributes

uint8_tpData
 Stream package which is given for decoding.
 
int iSize
 Size of the package given at pData.
 
int iStreamId
 Identification of the stream.
 
int64_t demuxerId
 Identification of the associated demuxer, this can be identical on several streams.
 
int iGroupId
 The group this data belongs to, used to group data from different streams together.
 
voidpSideData
 Additional packet data that can be provided by the container.
 
int iSideDataElems
 Data elements stored at pSideData.
 
double pts
 Presentation time stamp (PTS).
 
double dts
 Decoding time stamp (DTS).
 
double duration
 Duration in STREAM_TIME_BASE if available.
 
int dispTime
 Display time from input stream.
 
bool recoveryPoint
 To show that this package allows recreating the presentation by mistake.
 
struct DEMUX_CRYPTO_INFOcryptoInfo
 Optional data to allow decryption at processing site if necessary.
 

Member Data Documentation

◆ cryptoInfo

struct DEMUX_CRYPTO_INFO* DEMUX_PACKET::cryptoInfo

Optional data to allow decryption at processing site if necessary.

This can be created using kodi::addon::CInstanceInputStream::AllocateEncryptedDemuxPacket(), otherwise this is declared as nullptr.

See DEMUX_CRYPTO_INFO for their style.

◆ demuxerId

int64_t DEMUX_PACKET::demuxerId

Identification of the associated demuxer, this can be identical on several streams.

◆ dispTime

int DEMUX_PACKET::dispTime

Display time from input stream.

◆ dts

double DEMUX_PACKET::dts

Decoding time stamp (DTS).

◆ duration

double DEMUX_PACKET::duration

Duration in STREAM_TIME_BASE if available.

◆ iGroupId

int DEMUX_PACKET::iGroupId

The group this data belongs to, used to group data from different streams together.

◆ iSideDataElems

int DEMUX_PACKET::iSideDataElems

Data elements stored at pSideData.

◆ iSize

int DEMUX_PACKET::iSize

Size of the package given at pData.

◆ iStreamId

int DEMUX_PACKET::iStreamId

Identification of the stream.

◆ pData

uint8_t* DEMUX_PACKET::pData

Stream package which is given for decoding.

Note
Associated storage from here is created using kodi::addon::CInstanceInputStream::AllocateDemuxPacket() or kodi::addon::CInstanceInputStream::AllocateEncryptedDemuxPacket().

◆ pSideData

void* DEMUX_PACKET::pSideData

Additional packet data that can be provided by the container.

Packet can contain several types of side information.

This is usually based on that of ffmpeg, see AVPacketSideData.

◆ pts

double DEMUX_PACKET::pts

Presentation time stamp (PTS).

◆ recoveryPoint

bool DEMUX_PACKET::recoveryPoint

To show that this package allows recreating the presentation by mistake.


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