summaryrefslogtreecommitdiff
path: root/src/lib/grok_j2k_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-08Don't use an optional for the Grok config object.Carl Hetherington
I'm not sure why I did it like this in the first place - perhaps so that if the API endpoint changes there aren't so many old values stuck in config files all over the place? Anyway, it seems cleaner to do it like this, as it's how we handle the other config.
2024-12-18Fix hang when encoding with GPU enabled but not working.Carl Hetherington
2024-11-29Count errors in Grok threads.Carl Hetherington
2024-11-29Cleanup: whitespace.Carl Hetherington
2024-01-28Clean up grok's presence in the config file and make sure it's optional.Carl Hetherington
It should be allowed to not have any grok stuff in the config file, and we should generally call it grok rather than GPU in case other non-grok GPU stuff arrives in the future.
2024-01-28Forward-declare grk_plugin stuff.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.