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

Data structure which is given to the addon when a decoding call is made. More...

Classes

struct  VIDEOCODEC_PICTURE
 

Enumerations

enum  VIDEOCODEC_PLANE { VIDEOCODEC_PICTURE_Y_PLANE = 0 , VIDEOCODEC_PICTURE_U_PLANE , VIDEOCODEC_PICTURE_V_PLANE , VIDEOCODEC_PICTURE_MAXPLANES = 3 }
 YUV Plane identification pointers. More...
 
enum  VIDEOCODEC_PICTURE_FLAG { VIDEOCODEC_PICTURE_FLAG_NONE = 0 , VIDEOCODEC_PICTURE_FLAG_DROP = (1 << 0) , VIDEOCODEC_PICTURE_FLAG_DRAIN = (1 << 1) }
 Video coded process flags, used to perform special operations in stream calls. More...
 

Detailed Description

Data structure which is given to the addon when a decoding call is made.

Enumeration Type Documentation

◆ VIDEOCODEC_PICTURE_FLAG

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

These are used to access stored data in VIDEOCODEC_PICTURE::flags.

Note
These variables are bit flags which are created using "|" can be used together.
Enumerator
VIDEOCODEC_PICTURE_FLAG_NONE 

Empty and nothing defined.

VIDEOCODEC_PICTURE_FLAG_DROP 

Drop in decoder.

VIDEOCODEC_PICTURE_FLAG_DRAIN 

Squeeze out pictured without feeding new packets.

◆ VIDEOCODEC_PLANE

YUV Plane identification pointers.

YUV is a color encoding system typically used as part of a color image pipeline.

These are used to access stored data in VIDEOCODEC_PICTURE::planeOffsets and VIDEOCODEC_PICTURE::stride.

Enumerator
VIDEOCODEC_PICTURE_Y_PLANE 

"luminance" component Y (equivalent to grey scale)

VIDEOCODEC_PICTURE_U_PLANE 

"chrominance" component U (blue projection)

VIDEOCODEC_PICTURE_V_PLANE 

"chrominance" component V (red projection)

VIDEOCODEC_PICTURE_MAXPLANES 

The maximum value to use in a list.