852{
853 if (
type ==
typeid(uint8_t)) {
854 get_frames_typed_as<uint8_t>(std::span<uint8_t>(
static_cast<uint8_t*
>(
output),
count), start_frame, num_frames);
855 return;
856 }
857 if (
type ==
typeid(uint16_t)) {
858 get_frames_typed_as<uint16_t>(std::span<uint16_t>(
static_cast<uint16_t*
>(
output),
count), start_frame, num_frames);
859 return;
860 }
861 if (
type ==
typeid(
float)) {
862 get_frames_typed_as<float>(std::span<float>(
static_cast<float*
>(
output),
count), start_frame, num_frames);
863 return;
864 }
865
866 error<std::runtime_error>(
869 std::source_location::current(),
870 "TextureContainer supports only uint8_t, uint16_t, and float for typed frame extraction");
871}
vk::PhysicalDeviceType type
std::shared_ptr< Core::VKImage > output
@ Runtime
General runtime operations (default fallback)
@ Kakshya
Containers[Signalsource, Stream, File], Regions, DataProcessors.