|
Kodi Documentation 23.0
Kodi is an open source media player and entertainment hub.
|
#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 ¶ms={}) |
| Find the content rectangle of a single decoded frame. Pure: no I/O, no state. | |
| unsigned int begin {0} |
inclusive start along the line
| LineClass classification {LineClass::Picture} |
| float coverage {0.0f} |
fraction of the boundary showing that step
| unsigned int end {0} |
exclusive end along the line
| unsigned int high {0} |
p99.5 of the bar portion
p99.5
| unsigned int index {0} |
row number, or column number
| unsigned int low {0} |
p0.5
| bool measured {false} |
false when this edge has no bar at all, so no boundary exists
| bool row {true} |
| unsigned int spread {0} |
interquartile range of the bar portion
interquartile range
| float step {0.0f} |
luma step across the boundary as a fraction of full scale
| unsigned int thickness {0} |
bar lines removed on this edge