<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dcpomatic/src/lib/j2k_sync_encoder_thread.cc, branch v2.17.8</title>
<subtitle>DCP-o-matic DCP tools</subtitle>
<id>https://git.carlh.net/cgit/dcpomatic/atom?h=v2.17.8</id>
<link rel='self' href='https://git.carlh.net/cgit/dcpomatic/atom?h=v2.17.8'/>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/'/>
<updated>2023-10-18T11:46:37Z</updated>
<entry>
<title>Rearrange encoder threading.</title>
<updated>2023-10-18T11:46:37Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2023-09-23T22:34:15Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=2ed3dadd6287859551fcbeaf85e09b0b3f1e8ff5'/>
<id>urn:sha1:2ed3dadd6287859551fcbeaf85e09b0b3f1e8ff5</id>
<content type='text'>
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.
</content>
</entry>
</feed>
