Kodi Documentation 23.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
ContentGeometryCombiner.cpp File Reference
#include "ContentGeometryCombiner.h"
#include "video/geometry/GeometryTransforms.h"
#include <algorithm>
#include <array>
#include <cstdlib>

Namespaces

namespace  KODI
 
namespace  KODI::VIDEO
 
namespace  KODI::VIDEO::GEOMETRY
 

Functions

CombinedGeometry KODI::VIDEO::GEOMETRY::CombineGeometrySamples (std::span< const GeometrySample > samples, const CRectInt &coded, const CombinerParams &params={})
 Reduce per-sample readings to one rectangle, plus whether the title varies. Pure.
 

Variable Documentation

◆ bestConfidence

float bestConfidence {0.0f}

◆ members

std::vector<CRectInt> members

◆ seed

CRectInt seed

The first member's rectangle, which later samples are matched against. Where the cluster actually sits is the median of its members, taken once it is closed.

◆ weight

float weight {0.0f}