Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
RenderFlags.h File Reference
#include <string>

Macros

#define RENDER_FLAG_BOT   0x01
 
#define RENDER_FLAG_TOP   0x02
 
#define RENDER_FLAG_BOTH   (RENDER_FLAG_BOT | RENDER_FLAG_TOP)
 
#define RENDER_FLAG_FIELDMASK   0x03
 
#define RENDER_FLAG_FIELD0   0x80
 
#define RENDER_FLAG_FIELD1   0x100
 
#define RENDER_FLAG_NOOSD   0x04 /* don't draw any osd */
 
#define RENDER_FLAG_NOOSDALPHA   0x08 /* don't allow alpha when osd is drawn */
 
#define RENDER_FLAG_NOLOCK   0x10 /* don't attempt to lock texture before rendering */
 
#define RENDER_FLAG_NOUNLOCK   0x20 /* don't unlock texture after rendering */
 
#define CONF_FLAGS_YUVCOEF_MASK(a)
 
#define CONF_FLAGS_YUVCOEF_BT709   0x01
 
#define CONF_FLAGS_YUVCOEF_BT601   0x02
 
#define CONF_FLAGS_YUVCOEF_240M   0x03
 
#define CONF_FLAGS_YUVCOEF_EBU   0x04
 
#define CONF_FLAGS_YUVCOEF_BT2020   0x05
 
#define CONF_FLAGS_YUV_FULLRANGE   0x08
 
#define CONF_FLAGS_FULLSCREEN   0x10
 
#define CONF_FLAGS_COLPRI_MASK(a)
 
#define CONF_FLAGS_COLPRI_BT709   0x20
 
#define CONF_FLAGS_COLPRI_BT470M   0x40
 
#define CONF_FLAGS_COLPRI_BT470BG   0x60
 
#define CONF_FLAGS_COLPRI_170M   0x80
 
#define CONF_FLAGS_COLPRI_240M   0xa0
 
#define CONF_FLAGS_COLPRI_BT2020   0xc0
 
#define CONF_FLAGS_CHROMA_MASK(a)
 
#define CONF_FLAGS_CHROMA_LEFT   0x0100
 
#define CONF_FLAGS_CHROMA_CENTER   0x0200
 
#define CONF_FLAGS_CHROMA_TOPLEFT   0x0300
 
#define CONF_FLAGS_STEREO_MODE_MASK(a)
 
#define CONF_FLAGS_STEREO_MODE_SBS   0x001000
 
#define CONF_FLAGS_STEREO_MODE_TAB   0x002000
 
#define CONF_FLAGS_STEREO_CADENCE(a)
 
#define CONF_FLAGS_STEREO_CADANCE_LEFT_RIGHT   0x000000
 
#define CONF_FLAGS_STEREO_CADANCE_RIGHT_LEFT   0x008000
 

Functions

unsigned int GetFlagsColorMatrix (unsigned int color_matrix, unsigned width, unsigned height)
 
unsigned int GetFlagsChromaPosition (unsigned int chroma_position)
 
unsigned int GetFlagsColorPrimaries (unsigned int color_primaries)
 
unsigned int GetFlagsStereoMode (const std::string &mode)
 

Macro Definition Documentation

◆ CONF_FLAGS_CHROMA_CENTER

#define CONF_FLAGS_CHROMA_CENTER   0x0200

◆ CONF_FLAGS_CHROMA_LEFT

#define CONF_FLAGS_CHROMA_LEFT   0x0100

◆ CONF_FLAGS_CHROMA_MASK

#define CONF_FLAGS_CHROMA_MASK ( a)
Value:
((a) & 0x0300)

◆ CONF_FLAGS_CHROMA_TOPLEFT

#define CONF_FLAGS_CHROMA_TOPLEFT   0x0300

◆ CONF_FLAGS_COLPRI_170M

#define CONF_FLAGS_COLPRI_170M   0x80

◆ CONF_FLAGS_COLPRI_240M

#define CONF_FLAGS_COLPRI_240M   0xa0

◆ CONF_FLAGS_COLPRI_BT2020

#define CONF_FLAGS_COLPRI_BT2020   0xc0

◆ CONF_FLAGS_COLPRI_BT470BG

#define CONF_FLAGS_COLPRI_BT470BG   0x60

◆ CONF_FLAGS_COLPRI_BT470M

#define CONF_FLAGS_COLPRI_BT470M   0x40

◆ CONF_FLAGS_COLPRI_BT709

#define CONF_FLAGS_COLPRI_BT709   0x20

◆ CONF_FLAGS_COLPRI_MASK

#define CONF_FLAGS_COLPRI_MASK ( a)
Value:
((a) & 0xe0)

◆ CONF_FLAGS_FULLSCREEN

#define CONF_FLAGS_FULLSCREEN   0x10

◆ CONF_FLAGS_STEREO_CADANCE_LEFT_RIGHT

#define CONF_FLAGS_STEREO_CADANCE_LEFT_RIGHT   0x000000

◆ CONF_FLAGS_STEREO_CADANCE_RIGHT_LEFT

#define CONF_FLAGS_STEREO_CADANCE_RIGHT_LEFT   0x008000

◆ CONF_FLAGS_STEREO_CADENCE

#define CONF_FLAGS_STEREO_CADENCE ( a)
Value:
((a) & 0x008000)

◆ CONF_FLAGS_STEREO_MODE_MASK

#define CONF_FLAGS_STEREO_MODE_MASK ( a)
Value:
((a) & 0x007000)

◆ CONF_FLAGS_STEREO_MODE_SBS

#define CONF_FLAGS_STEREO_MODE_SBS   0x001000

◆ CONF_FLAGS_STEREO_MODE_TAB

#define CONF_FLAGS_STEREO_MODE_TAB   0x002000

◆ CONF_FLAGS_YUV_FULLRANGE

#define CONF_FLAGS_YUV_FULLRANGE   0x08

◆ CONF_FLAGS_YUVCOEF_240M

#define CONF_FLAGS_YUVCOEF_240M   0x03

◆ CONF_FLAGS_YUVCOEF_BT2020

#define CONF_FLAGS_YUVCOEF_BT2020   0x05

◆ CONF_FLAGS_YUVCOEF_BT601

#define CONF_FLAGS_YUVCOEF_BT601   0x02

◆ CONF_FLAGS_YUVCOEF_BT709

#define CONF_FLAGS_YUVCOEF_BT709   0x01

◆ CONF_FLAGS_YUVCOEF_EBU

#define CONF_FLAGS_YUVCOEF_EBU   0x04

◆ CONF_FLAGS_YUVCOEF_MASK

#define CONF_FLAGS_YUVCOEF_MASK ( a)
Value:
((a) & 0x07)

◆ RENDER_FLAG_BOT

#define RENDER_FLAG_BOT   0x01

◆ RENDER_FLAG_BOTH

#define RENDER_FLAG_BOTH   (RENDER_FLAG_BOT | RENDER_FLAG_TOP)

◆ RENDER_FLAG_FIELD0

#define RENDER_FLAG_FIELD0   0x80

◆ RENDER_FLAG_FIELD1

#define RENDER_FLAG_FIELD1   0x100

◆ RENDER_FLAG_FIELDMASK

#define RENDER_FLAG_FIELDMASK   0x03

◆ RENDER_FLAG_NOLOCK

#define RENDER_FLAG_NOLOCK   0x10 /* don't attempt to lock texture before rendering */

◆ RENDER_FLAG_NOOSD

#define RENDER_FLAG_NOOSD   0x04 /* don't draw any osd */

◆ RENDER_FLAG_NOOSDALPHA

#define RENDER_FLAG_NOOSDALPHA   0x08 /* don't allow alpha when osd is drawn */

◆ RENDER_FLAG_NOUNLOCK

#define RENDER_FLAG_NOUNLOCK   0x20 /* don't unlock texture after rendering */

◆ RENDER_FLAG_TOP

#define RENDER_FLAG_TOP   0x02

Function Documentation

◆ GetFlagsChromaPosition()

unsigned int GetFlagsChromaPosition ( unsigned int chroma_position)

◆ GetFlagsColorMatrix()

unsigned int GetFlagsColorMatrix ( unsigned int color_matrix,
unsigned width,
unsigned height )

◆ GetFlagsColorPrimaries()

unsigned int GetFlagsColorPrimaries ( unsigned int color_primaries)

◆ GetFlagsStereoMode()

unsigned int GetFlagsStereoMode ( const std::string & mode)