#include <VideoPresentation.hpp>
|
| | Presentation () |
| |
| | ~Presentation () |
| |
| | Presentation (const Presentation &)=delete |
| |
| Presentation & | operator= (const Presentation &)=delete |
| |
| std::expected< void, std::string > | open (const std::filesystem::path &file, bool enableAudio, const DecoderOptions &options={}) |
| |
| DecoderSnapshot | snapshot () const |
| |
| std::expected< PresentationClock, std::string > | pump (std::uint64_t sequenceMicroseconds, bool paused=false) |
| |
| std::expected< std::optional< DecodedVideoFrame >, std::string > | frameAt (std::uint64_t elapsedMicroseconds) |
| |
| std::expected< void, std::string > | seek (std::uint64_t timestampMicroseconds, std::uint64_t sequenceMicroseconds) |
| |
| std::expected< void, std::string > | setGain (float gain) |
| |
| std::expected< void, std::string > | setPitch (std::uint32_t hertz, std::uint32_t originalHertz) |
| |
| void | setPanning (std::int32_t percentage) noexcept |
| |
| bool | videoDrained () const |
| |
| void | stop () noexcept |
| |
Definition at line 31 of file VideoPresentation.hpp.
◆ Presentation() [1/2]
| monopoly::video::Presentation::Presentation |
( |
| ) |
|
◆ ~Presentation()
| monopoly::video::Presentation::~Presentation |
( |
| ) |
|
|
default |
◆ Presentation() [2/2]
◆ frameAt()
| std::expected< std::optional< DecodedVideoFrame >, std::string > monopoly::video::Presentation::frameAt |
( |
std::uint64_t |
elapsedMicroseconds | ) |
|
◆ open()
| std::expected< void, std::string > monopoly::video::Presentation::open |
( |
const std::filesystem::path & |
file, |
|
|
bool |
enableAudio, |
|
|
const DecoderOptions & |
options = {} |
|
) |
| |
◆ operator=()
◆ pump()
| std::expected< PresentationClock, std::string > monopoly::video::Presentation::pump |
( |
std::uint64_t |
sequenceMicroseconds, |
|
|
bool |
paused = false |
|
) |
| |
◆ seek()
| std::expected< void, std::string > monopoly::video::Presentation::seek |
( |
std::uint64_t |
timestampMicroseconds, |
|
|
std::uint64_t |
sequenceMicroseconds |
|
) |
| |
◆ setGain()
| std::expected< void, std::string > monopoly::video::Presentation::setGain |
( |
float |
gain | ) |
|
◆ setPanning()
| void monopoly::video::Presentation::setPanning |
( |
std::int32_t |
percentage | ) |
|
|
noexcept |
◆ setPitch()
| std::expected< void, std::string > monopoly::video::Presentation::setPitch |
( |
std::uint32_t |
hertz, |
|
|
std::uint32_t |
originalHertz |
|
) |
| |
◆ snapshot()
◆ stop()
| void monopoly::video::Presentation::stop |
( |
| ) |
|
|
noexcept |
◆ videoDrained()
| bool monopoly::video::Presentation::videoDrained |
( |
| ) |
const |
The documentation for this class was generated from the following files: