1007{
1008 if (type == typeid(uint8_t)) {
1009 get_frames_typed_as<uint8_t>(std::span<uint8_t>(
static_cast<uint8_t*
>(
output),
count), start_frame, num_frames);
1010 return;
1011 }
1012 if (type == typeid(uint16_t)) {
1013 get_frames_typed_as<uint16_t>(std::span<uint16_t>(
static_cast<uint16_t*
>(
output),
count), start_frame, num_frames);
1014 return;
1015 }
1016 if (type == typeid(float)) {
1017 get_frames_typed_as<float>(std::span<float>(
static_cast<float*
>(
output),
count), start_frame, num_frames);
1018 return;
1019 }
1020
1021 error<std::runtime_error>(
1024 std::source_location::current(),
1025 "TextureContainer supports only uint8_t, uint16_t, and float for typed frame extraction");
1026}
std::shared_ptr< Core::VKImage > output
@ Runtime
General runtime operations (default fallback)
@ Kakshya
Containers[Signalsource, Stream, File], Regions, DataProcessors.