Monopoly — Portage moderne 0.1.0
Portage moderne C/C++23 du Monopoly de 1999
Loading...
Searching...
No Matches
monopoly::video Namespace Reference

Classes

struct  AviMetadata
 
struct  DecodedAudioChunk
 
struct  DecodedVideoFrame
 
class  Decoder
 
struct  DecoderMetadata
 
struct  DecoderOptions
 
struct  DecoderSnapshot
 
struct  JumpEvent
 
class  Presentation
 
struct  PresentationClock
 
class  Runtime
 
struct  SequenceJumpNotice
 
struct  SequencePlaybackState
 
class  SequenceRuntimeBridge
 
struct  Status
 

Enumerations

enum class  DecoderPhase {
  Stopped , Probing , Decoding , Ended ,
  Failed
}
 

Functions

std::expected< data::LegacyBitmapRGBA8, std::string > prepareVideoFrame (DecodedVideoFrame frame, const data::SequenceVideoData &options)
 
std::expected< sequence::Matrix2D, std::string > videoFrameTransform (std::uint32_t width, std::uint32_t height, const data::Sequence2DBoundingBoxAttribute &bounds, const sequence::Matrix2D &world)
 
data::Sequence2DBoundingBoxAttribute binkDoubleSizeBounds (std::uint32_t width, std::uint32_t height) noexcept
 
std::expected< AviMetadata, std::string > parseAviMetadata (std::span< const std::uint8_t > bytes)
 

Enumeration Type Documentation

◆ DecoderPhase

Enumerator
Stopped 
Probing 
Decoding 
Ended 
Failed 

Definition at line 59 of file VideoDecoder.hpp.

Function Documentation

◆ binkDoubleSizeBounds()

data::Sequence2DBoundingBoxAttribute monopoly::video::binkDoubleSizeBounds ( std::uint32_t  width,
std::uint32_t  height 
)
noexcept

Definition at line 106 of file VideoPresentation.cpp.

◆ parseAviMetadata()

std::expected< AviMetadata, std::string > monopoly::video::parseAviMetadata ( std::span< const std::uint8_t >  bytes)

Definition at line 75 of file VideoRuntime.cpp.

◆ prepareVideoFrame()

std::expected< data::LegacyBitmapRGBA8, std::string > monopoly::video::prepareVideoFrame ( DecodedVideoFrame  frame,
const data::SequenceVideoData &  options 
)

Definition at line 63 of file VideoPresentation.cpp.

◆ videoFrameTransform()

std::expected< sequence::Matrix2D, std::string > monopoly::video::videoFrameTransform ( std::uint32_t  width,
std::uint32_t  height,
const data::Sequence2DBoundingBoxAttribute &  bounds,
const sequence::Matrix2D &  world 
)

Definition at line 88 of file VideoPresentation.cpp.