Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
VDPAU.cpp File Reference

Classes

struct  SInterlaceMapping
 
class  VDPAU::CVdpauBufferPool
 

Macros

#define NUM_RENDER_PICS   7
 
#define NUM_CROP_PIX   3
 
#define ARSIZE(x)
 
#define VDP_PROC(id, proc)
 
#define CHECK_SUPPORT(feature)
 
#define SURFACE_USED_FOR_REFERENCE   0x01
 
#define SURFACE_USED_FOR_RENDER   0x02
 

Enumerations

enum  MIXER_STATES {
  M_TOP = 0 , M_TOP_ERROR , M_TOP_UNCONFIGURED , M_TOP_CONFIGURED ,
  M_TOP_CONFIGURED_WAIT1 , M_TOP_CONFIGURED_STEP1 , M_TOP_CONFIGURED_WAIT2 , M_TOP_CONFIGURED_STEP2
}
 
enum  OUTPUT_STATES {
  O_TOP = 0 , O_TOP_ERROR , O_TOP_UNCONFIGURED , O_TOP_CONFIGURED ,
  O_TOP_CONFIGURED_IDLE , O_TOP_CONFIGURED_WORK
}
 

Variables

CDecoder::Desc decoder_profiles []
 
int MIXER_parentStates []
 
int VDPAU_OUTPUT_parentStates []
 

Macro Definition Documentation

◆ ARSIZE

#define ARSIZE ( x)
Value:
(sizeof(x) / sizeof((x)[0]))

◆ CHECK_SUPPORT

#define CHECK_SUPPORT ( feature)
Value:
do \
{ \
VdpBool supported; \
if (m_vdpProcs.vdp_video_mixer_query_feature_support(m_vdpDevice, feature, &supported) == \
VDP_STATUS_OK && \
supported) \
{ \
CLog::Log(LOGINFO, "Mixer feature: " #feature); \
m_vdpFeatures[m_featureCount++] = feature; \
} \
} while (false)
constexpr int LOGINFO
Definition ilog.h:19

◆ NUM_CROP_PIX

#define NUM_CROP_PIX   3

◆ NUM_RENDER_PICS

#define NUM_RENDER_PICS   7

◆ SURFACE_USED_FOR_REFERENCE

#define SURFACE_USED_FOR_REFERENCE   0x01

◆ SURFACE_USED_FOR_RENDER

#define SURFACE_USED_FOR_RENDER   0x02

◆ VDP_PROC

#define VDP_PROC ( id,
proc )
Value:
do { \
vdp_st = m_vdpProcs.vdp_get_proc_address(m_vdpDevice, id, (void**)&proc); \
if (vdp_st != VDP_STATUS_OK) \
{ \
CLog::Log(LOGERROR, "CVDPAUContext::GetProcs - failed to get proc id"); \
} \
} while(0);
constexpr int LOGERROR
Definition ilog.h:21

Enumeration Type Documentation

◆ MIXER_STATES

Enumerator
M_TOP 
M_TOP_ERROR 
M_TOP_UNCONFIGURED 
M_TOP_CONFIGURED 
M_TOP_CONFIGURED_WAIT1 
M_TOP_CONFIGURED_STEP1 
M_TOP_CONFIGURED_WAIT2 
M_TOP_CONFIGURED_STEP2 

◆ OUTPUT_STATES

Enumerator
O_TOP 
O_TOP_ERROR 
O_TOP_UNCONFIGURED 
O_TOP_CONFIGURED 
O_TOP_CONFIGURED_IDLE 
O_TOP_CONFIGURED_WORK 

Variable Documentation

◆ decoder_profiles

CDecoder::Desc decoder_profiles[]
Initial value:
= {
{"MPEG1", VDP_DECODER_PROFILE_MPEG1, 0},
{"MPEG2_SIMPLE", VDP_DECODER_PROFILE_MPEG2_SIMPLE, 0},
{"MPEG2_MAIN", VDP_DECODER_PROFILE_MPEG2_MAIN, 0},
{"H264_BASELINE", VDP_DECODER_PROFILE_H264_BASELINE, 0},
{"H264_MAIN", VDP_DECODER_PROFILE_H264_MAIN, 0},
{"H264_HIGH", VDP_DECODER_PROFILE_H264_HIGH, 0},
{"VC1_SIMPLE", VDP_DECODER_PROFILE_VC1_SIMPLE, 0},
{"VC1_MAIN", VDP_DECODER_PROFILE_VC1_MAIN, 0},
{"VC1_ADVANCED", VDP_DECODER_PROFILE_VC1_ADVANCED, 0},
{"MPEG4_PART2_ASP", VDP_DECODER_PROFILE_MPEG4_PART2_ASP, 0},
}

◆ MIXER_parentStates

int MIXER_parentStates[]
Initial value:
= {
-1,
0,
0,
0,
3,
3,
3,
3,
}

◆ VDPAU_OUTPUT_parentStates

int VDPAU_OUTPUT_parentStates[]
Initial value:
= {
-1,
0,
0,
0,
3,
3,
}