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

#include <video_codec.h>

Public Attributes

enum VIDEOCODEC_FORMAT videoFormat
 The video format declared with VIDEOCODEC_FORMAT and to be used on the addon.
 
uint32_t flags
 Video coded process flags, used to perform special operations in stream calls.
 
uint32_t width
 Picture width.
 
uint32_t height
 Picture height.
 
uint8_tdecodedData
 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.
 
uint32_t stride [VIDEOCODEC_PICTURE_MAXPLANES]
 YUV color stride calculation array.
 
int64_t pts
 Picture presentation time stamp (PTS).
 
KODI_HANDLE videoBufferHandle
 This is used to save the related handle from Kodi.
 

Member Data Documentation

◆ decodedData

uint8_t* VIDEOCODEC_PICTURE::decodedData

Data to be decoded in the addon.

◆ decodedDataSize

size_t VIDEOCODEC_PICTURE::decodedDataSize

Size of the data given with decodedData.

◆ 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.

◆ height

uint32_t VIDEOCODEC_PICTURE::height

Picture height.

◆ 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.

◆ pts

int64_t VIDEOCODEC_PICTURE::pts

Picture presentation time stamp (PTS).

◆ 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.

◆ width

uint32_t VIDEOCODEC_PICTURE::width

Picture width.


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