xbmc
Public Attributes | List of all members
VIDEOCODEC_PICTURE Struct Reference

Public Attributes

enum VIDEOCODEC_FORMAT videoFormat
 The video format declared with VIDEOCODEC_FORMAT and to be used on the addon. More...
 
uint32_t flags
 Video coded process flags, used to perform special operations in stream calls. More...
 
uint32_t width
 Picture width.
 
uint32_t height
 Picture height.
 
uint8_t * decodedData
 Data to be decoded in the addon.
 
size_t decodedDataSize
 Size of the data given with decodedData.
 
uint32_t planeOffsets [VIDEOCODEC_PICTURE_MAXPLANES]
 YUV color plane calculation array. More...
 
uint32_t stride [VIDEOCODEC_PICTURE_MAXPLANES]
 YUV color stride calculation array. More...
 
int64_t pts
 Picture presentation time stamp (PTS).
 
KODI_HANDLE videoBufferHandle
 This is used to save the related handle from Kodi. More...
 

Member Data Documentation

◆ flags

uint32_t VIDEOCODEC_PICTURE::flags

Video coded process flags, used to perform special operations in stream calls.

Possible flags are declared here VIDEOCODEC_PICTURE_FLAGS.

◆ planeOffsets

uint32_t VIDEOCODEC_PICTURE::planeOffsets[VIDEOCODEC_PICTURE_MAXPLANES]

YUV color plane calculation array.

This includes the three values of the YUV and can be identified using VIDEOCODEC_PLANE.

◆ stride

uint32_t VIDEOCODEC_PICTURE::stride[VIDEOCODEC_PICTURE_MAXPLANES]

YUV color stride calculation array.

This includes the three values of the YUV and can be identified using VIDEOCODEC_PLANE.

◆ videoBufferHandle

KODI_HANDLE VIDEOCODEC_PICTURE::videoBufferHandle

This is used to save the related handle from Kodi.

To handle the input stream buffer, this is given by Kodi using kodi::addon::CInstanceVideoCodec::GetFrameBuffer and must be released again using kodi::addon::CInstanceVideoCodec::ReleaseFrameBuffer.

◆ videoFormat

enum VIDEOCODEC_FORMAT VIDEOCODEC_PICTURE::videoFormat

The video format declared with VIDEOCODEC_FORMAT and to be used on the addon.


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