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

◆ get_frames_typed()

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

Definition at line 1016 of file TextureContainer.cpp.

1022{
1023 if (type == typeid(uint8_t)) {
1024 get_frames_typed_as<uint8_t>(std::span<uint8_t>(static_cast<uint8_t*>(output), count), start_frame, num_frames);
1025 return;
1026 }
1027 if (type == typeid(uint16_t)) {
1028 get_frames_typed_as<uint16_t>(std::span<uint16_t>(static_cast<uint16_t*>(output), count), start_frame, num_frames);
1029 return;
1030 }
1031 if (type == typeid(float)) {
1032 get_frames_typed_as<float>(std::span<float>(static_cast<float*>(output), count), start_frame, num_frames);
1033 return;
1034 }
1035
1036 error<std::runtime_error>(
1039 std::source_location::current(),
1040 "TextureContainer supports only uint8_t, uint16_t, and float for typed frame extraction");
1041}
vk::PhysicalDeviceType type
Definition VKDevice.cpp:126
size_t count
@ Runtime
General runtime operations (default fallback)
@ Kakshya
Containers[Signalsource, Stream, File], Regions, DataProcessors.

References count, MayaFlux::Journal::Kakshya, MayaFlux::Journal::Runtime, and type.

Referenced by get_frames_impl().

+ Here is the caller graph for this function: