summaryrefslogtreecommitdiff
path: root/src/lib/j2k_encoder_thread.cc
AgeCommit message (Collapse)Author
2024-12-26Replace String::compose with fmt::format().Carl Hetherington
2024-01-28Rearrange encoder threading.Carl Hetherington
Soon we'll add a new encoder type, and the existing structure was already creaking a bit at the seams while handling local and remote encodes. Here we split out an encoder thread and introduce the concept of a "sync" thread (which blocks while the encoding is happening). Later we'll have another type which submits the encode request to a GPU and receives the reply back later.