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

◆ create_container()

std::shared_ptr< Kakshya::SignalSourceContainer > MayaFlux::IO::ImageReader::create_container ( )
overridevirtual

Create and initialize a container from the file.

Returns
Initialized container appropriate for the file type.

The specific container type returned depends on the file format:

  • Audio files -> SoundFileContainer
  • Video files -> VideoContainer (future)
  • Image files -> ImageContainer (future)
  • Data files -> DataContainer variants

Implements MayaFlux::IO::FileReader.

Definition at line 158 of file ImageReader.cpp.

159{
160 // Images don't use SignalSourceContainer - they go directly to GPU
161 m_last_error = "Images use direct GPU texture creation, not containers";
162 return nullptr;
163}

References m_last_error.