Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
#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_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. | |
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. | |
uint8_t* VIDEOCODEC_PICTURE::decodedData |
Data to be decoded in the addon.
size_t VIDEOCODEC_PICTURE::decodedDataSize |
Size of the data given with decodedData.
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.
uint32_t VIDEOCODEC_PICTURE::height |
Picture height.
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.
int64_t VIDEOCODEC_PICTURE::pts |
Picture presentation time stamp (PTS).
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.
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.
enum VIDEOCODEC_FORMAT VIDEOCODEC_PICTURE::videoFormat |
The video format declared with VIDEOCODEC_FORMAT and to be used on the addon.
uint32_t VIDEOCODEC_PICTURE::width |
Picture width.