Kodi Documentation 23.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
ContentBarDetector.cpp File Reference
#include "ContentBarDetector.h"
#include "ContentBarHistogram.h"
#include <algorithm>
#include <array>
#include <cstddef>
#include <cstdlib>
#include <optional>

Namespaces

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

Functions

DetectionResult KODI::VIDEO::GEOMETRY::DetectContentRect (const FrameRef &frame, const DetectorParams &params={})
 Find the content rectangle of a single decoded frame. Pure: no I/O, no state.
 

Variable Documentation

◆ begin

unsigned int begin {0}

inclusive start along the line

◆ classification

LineClass classification {LineClass::Picture}

◆ coverage

float coverage {0.0f}

fraction of the boundary showing that step

◆ end

unsigned int end {0}

exclusive end along the line

◆ high

unsigned int high {0}

p99.5 of the bar portion

p99.5

◆ index

unsigned int index {0}

row number, or column number

◆ low

unsigned int low {0}

p0.5

◆ measured

bool measured {false}

false when this edge has no bar at all, so no boundary exists

◆ row

bool row {true}

◆ spread

unsigned int spread {0}

interquartile range of the bar portion

interquartile range

◆ step

float step {0.0f}

luma step across the boundary as a fraction of full scale

◆ thickness

unsigned int thickness {0}

bar lines removed on this edge