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

This commit is contained in:
Andy Grundman
2026-02-19 00:36:52 -05:00
committed by GitHub
parent 1d0e91d91a
commit de364b6ecd
16 changed files with 5493 additions and 689 deletions
+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.