Use nanors for optimized Reed-Solomon FEC decoding (#125)

This commit is contained in:
Andy Grundman authored and GitHub committed 2026-02-18 23:36:52 -06:00
1 parent 1d0e91d91a
commit de364b6ecd
16 files changed
+5493 -689

No files matched your search

+2 -2
View File
@@ -1,5 +1,5 @@
#include "Limelight-internal.h"
#include "rs.h"
#include "rswrapper.h"
#if defined(LC_DEBUG) && !defined(LC_FUZZING)
// This enables FEC validation mode with a synthetic drop
@@ -328,7 +328,7 @@ static int reconstructFrame(PRTP_VIDEO_QUEUE queue) {
}
}
ret = reed_solomon_reconstruct(rs, packets, marks, totalPackets, receiveSize);
ret = reed_solomon_decode(rs, packets, marks, totalPackets, receiveSize);
// We should always provide enough parity to recover the missing data successfully.
// If this fails, something is probably wrong with our FEC state.