|
Kodi Documentation 23.0
Kodi is an open source media player and entertainment hub.
|
Decodes a file at several points and describes each picture to the detector. More...
#include <VideoFileGeometry.h>
Static Public Member Functions | |
| static bool | CanMeasure (const CFileItem &fileItem) |
| Whether ExtractContentGeometry() may open the item. | |
| static KODI::VIDEO::GEOMETRY::SampledGeometry | ExtractContentGeometry (const CFileItem &fileItem, const KODI::VIDEO::GEOMETRY::SamplingParams &sampling={}, const KODI::VIDEO::GEOMETRY::CombinerParams &combining={}, const std::function< bool()> &cancelled={}) |
Sample a file at several points and work out its picture rectangle. Decodes in software with film grain synthesis off. cancelled is asked between positions, and a scan reporting itself cancelled must not be stored. | |
| static bool | BuildGeometryFrameRef (const VideoPicture &picture, const CDVDStreamInfo &hint, KODI::VIDEO::GEOMETRY::FrameRef &frame) |
| Describe a decoded picture to the detector. Reads the layout from the pixel format descriptor, so an unfamiliar one is described correctly or refused. Fails for a picture whose buffer exposes no planes. | |
| static bool | BuildGeometryFrameRef (const KODI::VIDEO::GEOMETRY::ReducedFrame &reduction, const VideoPicture &picture, const CDVDStreamInfo &hint, KODI::VIDEO::GEOMETRY::FrameRef &frame) |
| Point a FrameRef at a reduced copy instead of the picture itself. What such a frame detects is in the reduction's coordinates, and scaling it back is the caller's job. | |
Decodes a file at several points and describes each picture to the detector.
|
static |
Point a FrameRef at a reduced copy instead of the picture itself. What such a frame detects is in the reduction's coordinates, and scaling it back is the caller's job.
|
static |
Describe a decoded picture to the detector. Reads the layout from the pixel format descriptor, so an unfamiliar one is described correctly or refused. Fails for a picture whose buffer exposes no planes.
Whether ExtractContentGeometry() may open the item.
|
static |
Sample a file at several points and work out its picture rectangle. Decodes in software with film grain synthesis off. cancelled is asked between positions, and a scan reporting itself cancelled must not be stored.