ClikaRT::io::VideoReader::FrameRange
class
Header: ClikaRT/io/video.h
A lazy range over frames yielding FrameBatches of up to batch_size frames each. The consecutive form covers all frames [0, T); the explicit form covers an arbitrary indices set. Each dereference decodes its window (and raises ClikaRT::Error on a decode failure). An index past the clip's last frame is refused by name at the decode, whichever form asked for it.
Nested types
| Name | Description |
|---|---|
iterator | Forward iterator over the range's frames; dereference decodes the frame at the current position. |
Member functions
FrameRange()
FrameRange(FrameRange&&) noexcept
Move-only: transfers the range.
Declared in ClikaRT/io/video.h, line 96
operator=()
FrameRange& operator=(FrameRange&&) noexcept
Move-assign: transfers the range.
Declared in ClikaRT/io/video.h, line 98
~FrameRange()
~FrameRange()
Releases the range.
Declared in ClikaRT/io/video.h, line 100
begin()
iterator begin() const
The first frame position.
Declared in ClikaRT/io/video.h, line 118
end()
iterator end() const
One past the last frame position.
Declared in ClikaRT/io/video.h, line 120
num_batches()
std::size_t num_batches() const
Number of batches this range yields.
Declared in ClikaRT/io/video.h, line 122