MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
PixelStorage.hpp File Reference
+ Include dependency graph for PixelStorage.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  MayaFlux
 Main namespace for the Maya Flux audio engine.
 
namespace  MayaFlux::Kakshya
 

Functions

MAYAFLUX_API bool MayaFlux::Kakshya::format_has_variant_storage (Portal::Graphics::ImageFormat format)
 True when a format decomposes into whole DataVariant elements.
 
MAYAFLUX_API bool MayaFlux::Kakshya::is_depth_format (Portal::Graphics::ImageFormat format)
 True when the format's values are range measurements rather than colour.
 
MAYAFLUX_API bool MayaFlux::Kakshya::is_float_format (Portal::Graphics::ImageFormat format)
 True when the format's numeric interpretation is floating point.
 
MAYAFLUX_API DataVariant MayaFlux::Kakshya::make_empty_storage (Portal::Graphics::ImageFormat format, size_t element_count)
 Allocate a zeroed DataVariant of the alternative backing a format.
 
MAYAFLUX_API double MayaFlux::Kakshya::read_normalized_at (const DataVariant &v, Portal::Graphics::ImageFormat format, const std::optional< DataDimension::ValueRange > &range, size_t elem_index)
 Read one element as a normalised double, with optional range remapping.
 
MAYAFLUX_API double MayaFlux::Kakshya::read_normalized_at (const DataVariant &v, Portal::Graphics::ImageFormat format, size_t elem_index)
 Read one element as a normalised double.
 
MAYAFLUX_API size_t MayaFlux::Kakshya::storage_element_size (Portal::Graphics::ImageFormat format)
 Byte width of the DataVariant element backing a given ImageFormat.
 
MAYAFLUX_API void MayaFlux::Kakshya::write_normalized_at (DataVariant &v, Portal::Graphics::ImageFormat format, const std::optional< DataDimension::ValueRange > &range, size_t elem_index, double value)
 Write one element from a normalised double, with optional range remapping.
 
MAYAFLUX_API void MayaFlux::Kakshya::write_normalized_at (DataVariant &v, Portal::Graphics::ImageFormat format, size_t elem_index, double value)
 Write one element from a normalised double.