MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ get_frames_impl()

virtual void MayaFlux::Kakshya::NDDataContainer::get_frames_impl ( void *  output,
size_t  count,
uint64_t  start_frame,
uint64_t  num_frames,
const std::type_info &  type 
) const
protectedpure virtual

Implementation-specific method to retrieve multiple frames.

Implementations write up to count * frame_size elements into output, starting from start_frame. The type parameter indicates the expected element type; implementations may choose to support or reject it based on their native data type, but must not write past the output buffer regardless.

Parameters
outputPointer to caller-owned buffer for frame data
countNumber of frames to retrieve (output buffer size in frames)
start_frameFirst frame index to retrieve
num_framesNumber of frames to retrieve
typeType information for the expected element type (e.g. float, uint8_t)

Implemented in MayaFlux::Kakshya::PlotContainer, MayaFlux::Kakshya::SoundStreamContainer, MayaFlux::Kakshya::TextureContainer, MayaFlux::Kakshya::VideoStreamContainer, and MayaFlux::Kakshya::WindowContainer.