|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
| MAYAFLUX_API bool MayaFlux::Kakshya::blend_frames | ( | ImageFormat | format, |
| std::span< const uint8_t > | a, | ||
| std::span< const uint8_t > | b, | ||
| uint8_t * | out, | ||
| double | weight | ||
| ) |
Linearly blend two frames of the same size and format.
Works on 8-bit and 32-bit float storage. Returns false, leaving out untouched, for any other element size or when the frames differ in size.
| format | Pixel format of both frames. |
| a | Frame at weight 0. |
| b | Frame at weight 1. |
| out | Destination for a.size() bytes. |
| weight | Blend factor from a to b. |
out holds the blend. Definition at line 135 of file PixelStorage.cpp.
References a, b, format, out, storage_element_size(), and weight.
Referenced by MayaFlux::Kriya::Chimera::feed(), and MayaFlux::Kakshya::FrameSeekProcessor::process().
Here is the call graph for this function:
Here is the caller graph for this function: