|
MayaFlux 0.2.0
Digital-First Multimedia Processing Framework
|
| ProcessingToken MayaFlux::Buffers::get_optimal_token | ( | const std::string & | buffer_type, |
| uint32_t | system_capabilities | ||
| ) |
Gets the optimal processing token for a given buffer type and system configuration.
| buffer_type | Type identifier for the buffer (e.g., "audio", "video", "texture") |
| system_capabilities | Available system capabilities (GPU, multi-core CPU, etc.) |
This function analyzes buffer characteristics and system capabilities to recommend the most appropriate processing token configuration. It considers factors like:
The recommendations help achieve optimal performance by matching processing requirements with available system capabilities.
Definition at line 85 of file BufferUtils.cpp.
References AUDIO_BACKEND, AUDIO_PARALLEL, and GRAPHICS_BACKEND.