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

◆ get_frames_impl()

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

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)

Implements MayaFlux::Kakshya::NDDataContainer.

Definition at line 967 of file TextureContainer.cpp.

973{
974 get_frames_typed(output, count, start_frame, num_frames, type);
975}
size_t count
std::shared_ptr< Core::VKImage > output
void get_frames_typed(void *output, size_t count, uint64_t start_frame, uint64_t num_frames, const std::type_info &type) const

References count, and output.