|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
Runs a supplied compute kernel over every window of a sequence. More...
#include "MayaFlux/Transitive/Reflect/Describe.hpp"#include "MayaFlux/Yantra/OperationSpec/OperationHelper.hpp"#include "Analyzer.hpp"#include <Eigen/Dense>#include "MayaFlux/Yantra/Executors/Audio/SegmentGeometry.hpp"#include "MayaFlux/Yantra/Executors/ShaderExecutionContext.hpp"#include "MayaFlux/Yantra/Executors/ShaderSpecBinding.hpp"#include "MayaFlux/Journal/Archivist.hpp"#include "WindowedKernelAnalyzer.describe.hpp"Go to the source code of this file.
Classes | |
| struct | MayaFlux::Yantra::ChannelWindowedKernel |
| Kernel results of one channel. More... | |
| struct | MayaFlux::Yantra::WindowedInput |
| One sequence a windowed kernel reads, and how its windows are laid out. More... | |
| struct | MayaFlux::Yantra::WindowedKernelAnalysis |
| Analysis result of a WindowedKernelAnalyzer. More... | |
| class | MayaFlux::Yantra::WindowedKernelAnalyzer< InputType, OutputType > |
| Runs a caller's compute kernel once per window of every channel. More... | |
| struct | MayaFlux::Yantra::WindowedKernelConfig |
| Settings of a WindowedKernelAnalyzer. More... | |
| struct | MayaFlux::Yantra::WindowedKernelShape |
| How many lanes share a window and how many sequences a kernel reads. More... | |
Namespaces | |
| namespace | MayaFlux |
| Main namespace for the Maya Flux audio engine. | |
| namespace | MayaFlux::Yantra |
| namespace | MayaFlux::Yantra::detail |
Typedefs | |
| using | MayaFlux::Yantra::ContainerWindowedKernelAnalyzer = WindowedKernelAnalyzer<std::shared_ptr<Kakshya::SignalSourceContainer>, Eigen::MatrixXd> |
| Container windowed kernel analyzer: SignalContainer -> MatrixXd. | |
| using | MayaFlux::Yantra::StandardWindowedKernelAnalyzer = WindowedKernelAnalyzer<std::vector<Kakshya::DataVariant>, Eigen::MatrixXd> |
| Standard windowed kernel analyzer: DataVariant -> MatrixXd. | |
Functions | |
| std::string | MayaFlux::Yantra::detail::lane_preamble (uint32_t lanes) |
| std::string | MayaFlux::Yantra::detail::lane_reduction (std::string_view scratch, std::string_view type, std::string_view combine) |
| std::vector< float > | MayaFlux::Yantra::run_windowed_kernel (ShaderExecutionContext<> &context, const GpuComputeConfig &config, const WindowedKernelShape &shape, std::span< const WindowedInput > inputs, uint32_t window_length, uint32_t window_count, uint32_t outputs, std::span< const float > parameters) |
| Run a windowed kernel over every window of one or more sequences. | |
| std::vector< float > | MayaFlux::Yantra::run_windowed_kernel (ShaderExecutionContext<> &context, const GpuComputeConfig &config, std::span< const float > samples, const SegmentGeometry &geometry, uint32_t outputs, std::span< const float > parameters) |
| Run a one input, one invocation per window kernel over every window. | |
| GpuComputeConfig | MayaFlux::Yantra::windowed_kernel_config (const std::string &body, const WindowedKernelShape &shape={}) |
| Config of a GLSL body wrapped in the layout. | |
| std::string | MayaFlux::Yantra::windowed_kernel_diagnose (const WindowedKernelShape &shape) |
| Why a shape cannot be used, empty when it can. | |
| GpuComputeConfig | MayaFlux::Yantra::windowed_kernel_file_config (std::string path, const WindowedKernelShape &shape={}) |
| Config of a .comp file that follows the layout. | |
| std::vector< GpuBufferBinding > | MayaFlux::Yantra::windowed_kernel_layout (const WindowedKernelShape &shape={}) |
| The binding layout of a windowed kernel. | |
Variables | |
| constexpr uint32_t | MayaFlux::Yantra::windowed_kernel_max_inputs = 4 |
| constexpr uint32_t | MayaFlux::Yantra::windowed_kernel_max_lanes = 1024 |
| constexpr uint32_t | MayaFlux::Yantra::windowed_kernel_workgroup = 64 |
| Where a windowed kernel is written against. | |
Runs a supplied compute kernel over every window of a sequence.
The extension counterpart of the library's double analyzers: the kernel is written by the caller, in GLSL, and runs in float32, a fallback from the library's double, so its results are accurate only to float precision.
Definition in file WindowedKernelAnalyzer.hpp.