summaryrefslogtreecommitdiff
path: root/src/lib/j2k_sync_encoder_thread.cc
AgeCommit message (Collapse)Author
2025-07-10Replace String::compose with fmt.Carl Hetherington
sed -i "/Plural-Forms/n;/%100/n;/scanf/n;s/%[123456789]/{}/g" src/lib/*.cc src/lib/*.h src/wx/*.cc src/tools/*.cc src/lib/po/*.po src/wx/po/*.po src/tools/po/*.po test/*.cc sed -i "s/String::compose */fmt::format/g" src/lib/*.cc src/lib/*.h src/wx/*.cc src/tools/*.cc test/*.cc
2025-03-22Move remote backoff sleep to before we pop a frame from the queue.Carl Hetherington
Otherwise in the case of failure it can take a while for the frame to become available again for a functioning thread to encode.
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.