summaryrefslogtreecommitdiff
path: root/src/lib/grok_j2k_encoder_thread.cc
AgeCommit message (Collapse)Author
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.