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

◆ format_has_variant_storage() [1/2]

bool MayaFlux::Kakshya::format_has_variant_storage ( ImageFormat  format)

Definition at line 246 of file PixelStorage.cpp.

247{
248 const uint32_t channels = Portal::Graphics::TextureLoom::get_channel_count(format);
249 return channels > 0
250 && storage_element_size(format) * channels
251 == Portal::Graphics::TextureLoom::get_bytes_per_pixel(format);
252}
size_t storage_element_size(ImageFormat format)

References MayaFlux::Portal::Graphics::TextureLoom::get_bytes_per_pixel(), MayaFlux::Portal::Graphics::TextureLoom::get_channel_count(), and storage_element_size().

Referenced by MayaFlux::Kakshya::VideoStreamContainer::VideoStreamContainer().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: