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

Reads the pictures a playing stream decodes and reports the shape on screen. More...

#include <LiveGeometryMonitor.h>

Public Member Functions

 CLiveGeometryMonitor (CDVDMessageQueue &messageParent, CProcessInfo &processInfo)
 
void OnStreamOpened ()
 Forget everything.
 
void OnFlush ()
 A seek, or a discontinuity treated like one.
 
CRectInt OnPicture (const VideoPicture &picture, const CDVDStreamInfo &hints, int speed)
 Read one decoded picture, on the video output thread, and return the shape in force for it. Reads only at normal speed. Empty leaves the stored measurement in charge.
 
std::string GetDebugInfo () const
 One line of state for the player's debug overlay. Safe from any thread.
 

Detailed Description

Reads the pictures a playing stream decodes and reports the shape on screen.

Owns frame access and delivery, posting changes to the player's message queue rather than resolving them on the video thread.

Constructor & Destructor Documentation

◆ CLiveGeometryMonitor()

CLiveGeometryMonitor::CLiveGeometryMonitor ( CDVDMessageQueue & messageParent,
CProcessInfo & processInfo )

Member Function Documentation

◆ GetDebugInfo()

std::string CLiveGeometryMonitor::GetDebugInfo ( ) const

One line of state for the player's debug overlay. Safe from any thread.

◆ OnFlush()

void CLiveGeometryMonitor::OnFlush ( )

A seek, or a discontinuity treated like one.

◆ OnPicture()

CRectInt CLiveGeometryMonitor::OnPicture ( const VideoPicture & picture,
const CDVDStreamInfo & hints,
int speed )

Read one decoded picture, on the video output thread, and return the shape in force for it. Reads only at normal speed. Empty leaves the stored measurement in charge.

◆ OnStreamOpened()

void CLiveGeometryMonitor::OnStreamOpened ( )

Forget everything.


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