Note: XzDecoder itself uses about 32k memory on the stack. This example needs about 100k stack. See below for an alternative that uses much less stack. Speed values are based on the b2 benchmark in ...
GitHub

ctc_decode_C.cpp

void ctc_greedy_decode(float * inputs, uint8_t *seqs, uint8_t * moves, uint8_t * quals, int T, int N, int C) { auto t1 = std::chrono::high_resolution_clock::now ...
Abstract: The Moving Picture Experts Group‐2 (MPEG‐2) system target decoder (STD) is an essential element of the MPEG‐2 system specification, and serves a variety of purposes. In this chapter, the ...