Kodi Documentation 23.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
ContentBarDetector.h File Reference
#include "utils/Geometry.h"
#include <cstdint>

Classes

struct  KODI::VIDEO::GEOMETRY::PlaneRef
 A non-owning view of one decoded plane. Samples deeper than 8 bits are little-endian low-aligned uint16_t. More...
 
struct  KODI::VIDEO::GEOMETRY::FrameRef
 A non-owning view of one decoded frame, which the caller builds from a picture. More...
 
struct  KODI::VIDEO::GEOMETRY::DetectorParams
 Detection constants. Code values are 8-bit equivalents, scaled with bit depth internally. More...
 
struct  KODI::VIDEO::GEOMETRY::DetectionResult
 The detector's per-frame answer. More...
 

Namespaces

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

Enumerations

enum class  KODI::VIDEO::GEOMETRY::ChromaSubsampling { KODI::VIDEO::GEOMETRY::YUV420 , KODI::VIDEO::GEOMETRY::YUV422 , KODI::VIDEO::GEOMETRY::YUV444 }
 Chroma plane subsampling of the frame handed to the detector. More...
 
enum class  KODI::VIDEO::GEOMETRY::ColorRange { KODI::VIDEO::GEOMETRY::Unspecified , KODI::VIDEO::GEOMETRY::Limited , KODI::VIDEO::GEOMETRY::Full }
 Signal range of the luma plane. Unspecified resolves to Limited. More...
 

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.