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

#include <RendererStarfish.h>

Inheritance diagram for CRendererStarfish:
CBaseRenderer

Public Member Functions

 CRendererStarfish ()
 
 ~CRendererStarfish () override
 
void AddVideoPicture (const VideoPicture &picture, int index) override
 
void ReleaseBuffer (int idx) override
 
CRenderInfo GetRenderInfo () override
 
bool IsGuiLayer () override
 
bool IsConfigured () override
 
bool Configure (const VideoPicture &picture, float fps, unsigned int orientation) override
 
bool Supports (ERENDERFEATURE feature) const override
 
bool Supports (ESCALINGMETHOD method) const override
 
bool SupportsMultiPassRendering () override
 
void UnInit () override
 
void Update () override
 
void RenderUpdate (int index, int index2, bool clear, unsigned int flags, unsigned int alpha) override
 
bool RenderCapture (int index, CRenderCapture *capture) override
 
bool ConfigChanged (const VideoPicture &picture) override
 
- Public Member Functions inherited from CBaseRenderer
 CBaseRenderer ()
 
virtual ~CBaseRenderer ()
 
virtual bool IsPictureHW (const VideoPicture &picture)
 
virtual bool Flush (bool saveBuffers)
 
virtual void SetBufferSize (int numBuffers)
 
virtual bool NeedBuffer (int idx)
 
virtual bool WantsDoublePass ()
 
void SetViewMode (int viewMode)
 
void GetVideoRect (CRect &source, CRect &dest, CRect &view) const
 Get video rectangle and view window.
 
float GetAspectRatio () const
 
unsigned int GetOrientation () const
 
void SetVideoSettings (const CVideoSettings &settings)
 
virtual DEBUG_INFO_VIDEO GetDebugInfo (int idx)
 
virtual CRenderCaptureGetRenderCapture ()
 

Static Public Member Functions

static CBaseRendererCreate (CVideoBuffer *buffer)
 
static bool Register ()
 
- Static Public Member Functions inherited from CBaseRenderer
static void SettingOptionsRenderMethodsFiller (const std::shared_ptr< const CSetting > &setting, std::vector< IntegerSettingOption > &list, int &current, void *data)
 

Protected Member Functions

void ManageRenderArea () override
 
- Protected Member Functions inherited from CBaseRenderer
void CalcDestRect (float offsetX, float offsetY, float width, float height, float inputFrameRatio, float zoomAmount, float verticalShift, CRect &destRect)
 
void CalcNormalRenderRect (float offsetX, float offsetY, float width, float height, float inputFrameRatio, float zoomAmount, float verticalShift)
 
void CalculateFrameAspectRatio (unsigned int desired_width, unsigned int desired_height)
 
virtual void ReorderDrawPoints ()
 
virtual EShaderFormat GetShaderFormat ()
 
void MarkDirty ()
 
void EnableAlwaysClip ()
 
void saveRotatedCoords ()
 
void syncDestRectToRotatedPoints ()
 
void restoreRotatedCoords ()
 

Additional Inherited Members

- Protected Attributes inherited from CBaseRenderer
unsigned int m_sourceWidth = 720
 
unsigned int m_sourceHeight = 480
 
float m_sourceFrameRatio = 1.0f
 
float m_fps = 0.0f
 
unsigned int m_renderOrientation = 0
 
CPoint m_rotatedDestCoords [4]
 
CPoint m_savedRotatedDestCoords [4]
 
CRect m_destRect
 
CRect m_sourceRect
 
CRect m_viewRect
 
unsigned m_iFlags = 0
 
AVPixelFormat m_format = AV_PIX_FMT_NONE
 
CVideoSettings m_videoSettings
 

Constructor & Destructor Documentation

◆ CRendererStarfish()

CRendererStarfish::CRendererStarfish ( )

◆ ~CRendererStarfish()

CRendererStarfish::~CRendererStarfish ( )
overridedefault

Member Function Documentation

◆ AddVideoPicture()

void CRendererStarfish::AddVideoPicture ( const VideoPicture & picture,
int index )
overridevirtual

Implements CBaseRenderer.

◆ ConfigChanged()

bool CRendererStarfish::ConfigChanged ( const VideoPicture & picture)
overridevirtual

Implements CBaseRenderer.

◆ Configure()

bool CRendererStarfish::Configure ( const VideoPicture & picture,
float fps,
unsigned int orientation )
overridevirtual

Implements CBaseRenderer.

◆ Create()

CBaseRenderer * CRendererStarfish::Create ( CVideoBuffer * buffer)
static

◆ GetRenderInfo()

CRenderInfo CRendererStarfish::GetRenderInfo ( )
overridevirtual

Reimplemented from CBaseRenderer.

◆ IsConfigured()

bool CRendererStarfish::IsConfigured ( )
overridevirtual

Implements CBaseRenderer.

◆ IsGuiLayer()

bool CRendererStarfish::IsGuiLayer ( )
overridevirtual

Reimplemented from CBaseRenderer.

◆ ManageRenderArea()

void CRendererStarfish::ManageRenderArea ( )
overrideprotectedvirtual

Reimplemented from CBaseRenderer.

◆ Register()

bool CRendererStarfish::Register ( )
static

◆ ReleaseBuffer()

void CRendererStarfish::ReleaseBuffer ( int idx)
overridevirtual

Reimplemented from CBaseRenderer.

◆ RenderCapture()

bool CRendererStarfish::RenderCapture ( int index,
CRenderCapture * capture )
overridevirtual

Implements CBaseRenderer.

◆ RenderUpdate()

void CRendererStarfish::RenderUpdate ( int index,
int index2,
bool clear,
unsigned int flags,
unsigned int alpha )
overridevirtual

Implements CBaseRenderer.

◆ Supports() [1/2]

bool CRendererStarfish::Supports ( ERENDERFEATURE feature) const
overridevirtual

Reimplemented from CBaseRenderer.

◆ Supports() [2/2]

bool CRendererStarfish::Supports ( ESCALINGMETHOD method) const
overridevirtual

Implements CBaseRenderer.

◆ SupportsMultiPassRendering()

bool CRendererStarfish::SupportsMultiPassRendering ( )
overridevirtual

Implements CBaseRenderer.

◆ UnInit()

void CRendererStarfish::UnInit ( )
overridevirtual

Implements CBaseRenderer.

◆ Update()

void CRendererStarfish::Update ( )
overridevirtual

Implements CBaseRenderer.


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