MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
MayaFlux::Nodes::Filters::FilterContextGpu Class Reference

GPU-augmented filter context for callbacks. More...

#include <Filter.hpp>

+ Inheritance diagram for MayaFlux::Nodes::Filters::FilterContextGpu:
+ Collaboration diagram for MayaFlux::Nodes::Filters::FilterContextGpu:

Public Member Functions

 FilterContextGpu (double value, const std::vector< double > &input_history, const std::vector< double > &output_history, const std::vector< double > &coefs_a, const std::vector< double > &coefs_b, std::span< const float > gpu_data)
 
- Public Member Functions inherited from MayaFlux::Nodes::Filters::FilterContext
 FilterContext (double value, const std::vector< double > &input_history, const std::vector< double > &output_history, const std::vector< double > &coefs_a, const std::vector< double > &coefs_b)
 Constructs a FilterContext with the current filter state.
 
- Public Member Functions inherited from MayaFlux::Nodes::NodeContext
virtual ~NodeContext ()=default
 
template<typename T >
T * as ()
 Safely cast to a derived context type.
 
- Public Member Functions inherited from MayaFlux::Nodes::GpuVectorData
 GpuVectorData ()=default
 
 GpuVectorData (std::span< const float > data)
 
std::span< const float > gpu_data () const
 
size_t gpu_data_size () const
 
bool has_gpu_data () const
 

Additional Inherited Members

- Public Attributes inherited from MayaFlux::Nodes::Filters::FilterContext
const std::vector< double > & input_history
 Current input history buffer.
 
const std::vector< double > & output_history
 Current output history buffer.
 
const std::vector< double > & coefs_a
 Current coefficients for input.
 
const std::vector< double > & coefs_b
 Current coefficients for output.
 
- Public Attributes inherited from MayaFlux::Nodes::NodeContext
double value
 Current sample value.
 
std::string type_id
 Type identifier for runtime type checking.
 
- Protected Member Functions inherited from MayaFlux::Nodes::NodeContext
 NodeContext (double value, const std::string &type)
 Protected constructor for NodeContext.
 
- Protected Attributes inherited from MayaFlux::Nodes::GpuVectorData
std::span< const float > m_gpu_data
 

Detailed Description

GPU-augmented filter context for callbacks.

Extends FilterContext to include GPU-uploadable data, allowing callbacks to access both CPU-side filter state and GPU-resident data for advanced processing and visualization.

Definition at line 90 of file Filter.hpp.


The documentation for this class was generated from the following file: