Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
VDPAU::CMixer Class Reference

#include <VDPAU.h>

Inheritance diagram for VDPAU::CMixer:
CThread

Public Member Functions

 CMixer (CEvent *inMsgEvent)
 
 ~CMixer () override
 
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

Constructor & Destructor Documentation

◆ CMixer()

CMixer::CMixer ( CEvent * inMsgEvent)
explicit

◆ ~CMixer()

CMixer::~CMixer ( )
override

Member Function Documentation

◆ CheckFeatures()

void CMixer::CheckFeatures ( )
protected

◆ CheckStatus()

bool CMixer::CheckStatus ( VdpStatus vdp_st,
int line )
protected

◆ CreateVdpauMixer()

void CMixer::CreateVdpauMixer ( )
protected

◆ DisableHQScaling()

void CMixer::DisableHQScaling ( )
protected

◆ Dispose()

void CMixer::Dispose ( )

◆ FiniCycle()

void CMixer::FiniCycle ( )
protected

◆ Flush()

void CMixer::Flush ( )
protected

◆ GenerateStudioCSCMatrix()

bool CMixer::GenerateStudioCSCMatrix ( VdpColorStandard colorStandard,
VdpCSCMatrix & studioCSCMatrix )
protected

◆ GetDeintStrFromInterlaceMethod()

std::string CMixer::GetDeintStrFromInterlaceMethod ( EINTERLACEMETHOD method)
protected

◆ Init()

void CMixer::Init ( )
protected

◆ InitCSCMatrix()

void CMixer::InitCSCMatrix ( int Width)
protected

◆ InitCycle()

void CMixer::InitCycle ( )
protected

◆ IsActive()

bool CMixer::IsActive ( )

◆ OnExit()

void CMixer::OnExit ( )
overrideprotectedvirtual

Reimplemented from CThread.

◆ OnStartup()

void CMixer::OnStartup ( )
overrideprotectedvirtual

Reimplemented from CThread.

◆ PostProcOff()

void CMixer::PostProcOff ( )
protected

◆ Process()

void CMixer::Process ( void )
overrideprotectedvirtual

Reimplemented from CThread.

◆ ProcessPicture()

void CMixer::ProcessPicture ( )
protected

◆ SetColor()

void CMixer::SetColor ( )
protected

◆ SetDeinterlacing()

void CMixer::SetDeinterlacing ( )
protected

◆ SetDeintSkipChroma()

void CMixer::SetDeintSkipChroma ( )
protected

◆ SetHWUpscaling()

void CMixer::SetHWUpscaling ( )
protected

◆ SetNoiseReduction()

void CMixer::SetNoiseReduction ( )
protected

◆ SetPostProcFeatures()

void CMixer::SetPostProcFeatures ( bool postProcEnabled)
protected

◆ SetSharpness()

void CMixer::SetSharpness ( )
protected

◆ Start()

void CMixer::Start ( )

◆ StateMachine()

void CMixer::StateMachine ( int signal,
Actor::Protocol * port,
Actor::Message * msg )
protected

◆ Uninit()

void CMixer::Uninit ( )
protected

Member Data Documentation

◆ m_Brightness

float VDPAU::CMixer::m_Brightness
protected

◆ m_bStateMachineSelfTrigger

bool VDPAU::CMixer::m_bStateMachineSelfTrigger
protected

◆ m_ColorMatrix

unsigned int VDPAU::CMixer::m_ColorMatrix
protected

◆ m_config

CVdpauConfig VDPAU::CMixer::m_config
protected

◆ m_Contrast

float VDPAU::CMixer::m_Contrast
protected

◆ m_controlPort

CMixerControlProtocol VDPAU::CMixer::m_controlPort

◆ m_CSCMatrix

VdpCSCMatrix VDPAU::CMixer::m_CSCMatrix
protected

◆ m_dataPort

CMixerDataProtocol VDPAU::CMixer::m_dataPort

◆ m_decodedPics

std::queue<CVdpauDecodedPicture> VDPAU::CMixer::m_decodedPics
protected

◆ m_Deint

int VDPAU::CMixer::m_Deint
protected

◆ m_extTimeout

int VDPAU::CMixer::m_extTimeout
protected

◆ m_inMsgEvent

CEvent* VDPAU::CMixer::m_inMsgEvent
protected

◆ m_mixerfield

VdpVideoMixerPictureStructure VDPAU::CMixer::m_mixerfield
protected

◆ m_mixerInput

std::deque<CVdpauDecodedPicture> VDPAU::CMixer::m_mixerInput
protected

◆ m_mixerstep

int VDPAU::CMixer::m_mixerstep
protected

◆ m_mixersteps

int VDPAU::CMixer::m_mixersteps
protected

◆ m_NoiseReduction

float VDPAU::CMixer::m_NoiseReduction
protected

◆ m_outMsgEvent

CEvent VDPAU::CMixer::m_outMsgEvent
protected

◆ m_outputSurfaces

std::queue<VdpOutputSurface> VDPAU::CMixer::m_outputSurfaces
protected

◆ m_PostProc

bool VDPAU::CMixer::m_PostProc
protected

◆ m_Procamp

VdpProcamp VDPAU::CMixer::m_Procamp
protected

◆ m_processPicture

CVdpauProcessedPicture VDPAU::CMixer::m_processPicture
protected

◆ m_SeenInterlaceFlag

bool VDPAU::CMixer::m_SeenInterlaceFlag
protected

◆ m_Sharpness

float VDPAU::CMixer::m_Sharpness
protected

◆ m_state

int VDPAU::CMixer::m_state
protected

◆ m_Upscale

int VDPAU::CMixer::m_Upscale
protected

◆ m_vdpError

bool VDPAU::CMixer::m_vdpError
protected

◆ m_videoMixer

VdpVideoMixer VDPAU::CMixer::m_videoMixer
protected

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