kodi
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
VDPAU::CMixer Class Reference

Embeds the vdpau video mixer Embedded by COutput class, gets decoded frames from COutput, processes them in mixer ands sends processed frames back to COutput. More...

#include <VDPAU.h>

Inheritance diagram for VDPAU::CMixer:
Inheritance graph
[legend]
Collaboration diagram for VDPAU::CMixer:
Collaboration graph
[legend]

Public Member Functions

 CMixer (CEvent *inMsgEvent)
 
void Start ()
 
void Dispose ()
 
bool IsActive ()
 

Public Attributes

CMixerControlProtocol m_controlPort
 
CMixerDataProtocol m_dataPort
 

Protected Member Functions

void OnStartup () override
 
void OnExit () override
 
void Process () override
 
void StateMachine (int signal, Actor::Protocol *port, Actor::Message *msg)
 
void Init ()
 
void Uninit ()
 
void Flush ()
 
void CreateVdpauMixer ()
 
void ProcessPicture ()
 
void InitCycle ()
 
void FiniCycle ()
 
void CheckFeatures ()
 
void SetPostProcFeatures (bool postProcEnabled)
 
void PostProcOff ()
 
void InitCSCMatrix (int Width)
 
bool GenerateStudioCSCMatrix (VdpColorStandard colorStandard, VdpCSCMatrix &studioCSCMatrix)
 
void SetColor ()
 
void SetNoiseReduction ()
 
void SetSharpness ()
 
void SetDeintSkipChroma ()
 
void SetDeinterlacing ()
 
void SetHWUpscaling ()
 
void DisableHQScaling ()
 
std::string GetDeintStrFromInterlaceMethod (EINTERLACEMETHOD method)
 
bool CheckStatus (VdpStatus vdp_st, int line)
 

Protected Attributes

CEvent m_outMsgEvent
 
CEventm_inMsgEvent
 
int m_state
 
bool m_bStateMachineSelfTrigger
 
int m_extTimeout
 
bool m_vdpError
 
CVdpauConfig m_config
 
VdpVideoMixer m_videoMixer
 
VdpProcamp m_Procamp
 
VdpCSCMatrix m_CSCMatrix
 
bool m_PostProc
 
float m_Brightness
 
float m_Contrast
 
float m_NoiseReduction
 
float m_Sharpness
 
int m_Deint
 
int m_Upscale
 
bool m_SeenInterlaceFlag
 
unsigned int m_ColorMatrix: 4
 
VdpVideoMixerPictureStructure m_mixerfield
 
int m_mixerstep
 
int m_mixersteps
 
CVdpauProcessedPicture m_processPicture
 
std::queue< VdpOutputSurface > m_outputSurfaces
 
std::queue< CVdpauDecodedPicturem_decodedPics
 
std::deque< CVdpauDecodedPicturem_mixerInput
 

Detailed Description

Embeds the vdpau video mixer Embedded by COutput class, gets decoded frames from COutput, processes them in mixer ands sends processed frames back to COutput.


The documentation for this class was generated from the following files: