|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
|
inlinenodiscard |
One interval_scan dispatch: continue a stream with n scores from device memory.
All buffers are float32 or uint32 and addressed by device address. The thresholds are rounded up to floats, so a float score compares exactly as it does in the host scanner. The state buffer persists between calls and is zeroed to start a stream. The first word of the report buffer counts the runs appended and must be zero before each dispatch; the rest is overwritten.
| config | Settings. Its length, or when 0 first_sample plus the scores seen after this call, clamps padded ends. |
| scores | Device address of the scores. |
| gate | Device address of the gate scores, one per score, or 0 for no gate. |
| state | Device address of interval_scan_state_words words. |
| runs | Device address of interval_scan_runs_words(n) words, start and end pairs. |
| report | Device address of interval_scan_report_words words. |
| first_index | Scores already seen in this stream. |
| n | Scores in this call. |
| flush | End the stream with this call. |
| std::invalid_argument | When the config is not valid. |
Definition at line 131 of file IntervalScanStage.hpp.
References MayaFlux::Journal::ComputeMatrix, MayaFlux::Kinesis::Discrete::diagnose_interval_scan(), MayaFlux::Kinesis::Discrete::IntervalScanConfig::emit_on_close, MayaFlux::Kinesis::Discrete::IntervalScanConfig::enter, MayaFlux::Kinesis::Discrete::IntervalScanConfig::first_sample, MayaFlux::Kinesis::Discrete::IntervalScanConfig::gap_at_limit, MayaFlux::Kinesis::Discrete::IntervalScanConfig::gate_threshold, MayaFlux::Kinesis::Discrete::IntervalScanConfig::hop, MayaFlux::Yantra::detail::interval_scan_ceil_float(), interval_scan_flag_emit_on_close, interval_scan_flag_flush, interval_scan_flag_gated, interval_scan_flag_longest, interval_scan_shader, MayaFlux::Kinesis::Discrete::IntervalScanConfig::leave, MayaFlux::Kinesis::Discrete::IntervalScanConfig::length, MayaFlux::Kinesis::Discrete::IntervalScanConfig::max_run, MayaFlux::Kinesis::Discrete::IntervalScanConfig::min_gap, MayaFlux::Kinesis::Discrete::IntervalScanConfig::min_run, MayaFlux::Kinesis::Discrete::IntervalScanConfig::padding, MayaFlux::Kinesis::Discrete::IntervalScanConfig::use_longest_gap, and MayaFlux::Journal::Yantra.
Referenced by MayaFlux::Yantra::IntervalExtractor< Eigen::MatrixXd, std::vector< std::vector< double > > >::record_scans().