<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dcpomatic/src/lib/dcpomatic_time.cc, branch arbitrary-hz</title>
<subtitle>DCP-o-matic DCP tools</subtitle>
<id>https://git.carlh.net/cgit/dcpomatic/atom?h=arbitrary-hz</id>
<link rel='self' href='https://git.carlh.net/cgit/dcpomatic/atom?h=arbitrary-hz'/>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/'/>
<updated>2025-09-02T20:40:13Z</updated>
<entry>
<title>Untested conversion to num/den DCPTime.</title>
<updated>2025-09-02T20:40:13Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2024-12-21T23:09:57Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=33b0928b20618da5bc295711bfdf3d638863afa5'/>
<id>urn:sha1:33b0928b20618da5bc295711bfdf3d638863afa5</id>
<content type='text'>
Summary of required changes:

Replace ::from_frames with a constructor that takes num/den.
Provide and use member to_debug_string() instead of to_string().
Provide and use member to_serializable_string() and string constructor instead of fmt::to_string on .get() and number constructor.
Provide and use content_time() member instead of ContentTime constructor from DCPTime.
Use frames_round(96000) instead of get() when comparing times to see if they are "close enough".
Provide and use DCPTime(x, FrameRateChange) constructor when converting from ContentTime.
Use .seconds() when calculating proportions or sometimes when dividing by HZ.
Provide and use operator bool().
Pass explicit 96000 denominator in a lot of places.
Add member max() and use it instead of static max()
Change BOOST_CHECK_EQUAL to BOOST_CHECK
Provide operator/ and use it instead of .get() / 2.
</content>
</entry>
<entry>
<title>Add operator&lt;= for HMSF.</title>
<updated>2024-03-12T22:41:00Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2023-12-20T22:41:35Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=9936ec84cb2a5e5f8f4fe77bcd5742f06bdb2d6c'/>
<id>urn:sha1:9936ec84cb2a5e5f8f4fe77bcd5742f06bdb2d6c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>C++11 tidying.</title>
<updated>2021-04-29T18:53:49Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2021-04-29T07:14:20Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=39fb8198febde1937019db1c300ec363aab5aa56'/>
<id>urn:sha1:39fb8198febde1937019db1c300ec363aab5aa56</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Put Time types in dcpomatic namespace.</title>
<updated>2019-05-10T22:43:55Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2019-05-08T22:41:42Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=c4403784febdbdd42e9c32e67fadb147f11fe566'/>
<id>urn:sha1:c4403784febdbdd42e9c32e67fadb147f11fe566</id>
<content type='text'>
</content>
</entry>
<entry>
<title>More Windows hacks.</title>
<updated>2016-08-12T21:53:17Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2016-08-12T21:53:17Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=dc2eacb1e0fdbae03dd3fedd0146026ef333a7b2'/>
<id>urn:sha1:dc2eacb1e0fdbae03dd3fedd0146026ef333a7b2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove all use of stringstream in an attempt to fix</title>
<updated>2016-08-12T08:13:51Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2016-08-10T15:38:33Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=b1dc9c3a2f7e55c9afc5bf2d5b465371b048e14f'/>
<id>urn:sha1:b1dc9c3a2f7e55c9afc5bf2d5b465371b048e14f</id>
<content type='text'>
the suspected thread-unsafe crash bugs on OS X.
</content>
</entry>
<entry>
<title>No-op; fix GPL address and use the explicit-program-name version.</title>
<updated>2016-05-25T19:56:58Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2016-05-25T19:56:58Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=3828baf56467224f5d44049bf1e7a7ed11f43a05'/>
<id>urn:sha1:3828baf56467224f5d44049bf1e7a7ed11f43a05</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rename split-by-video content slightly; fix referencing to multi-reel DCPs.</title>
<updated>2015-10-12T14:05:09Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2015-10-12T14:05:09Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=f9068dcbfbb09082e29e2a779ef1a7a2f6ee849e'/>
<id>urn:sha1:f9068dcbfbb09082e29e2a779ef1a7a2f6ee849e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Templatise TimePeriod and add DCPTimePeriod.</title>
<updated>2015-10-12T10:04:17Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2015-09-16T10:48:39Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=9610f4035114f499d098e8fd2d726d55ddd943ee'/>
<id>urn:sha1:9610f4035114f499d098e8fd2d726d55ddd943ee</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix overlaps; before you'd get a different answer</title>
<updated>2015-08-31T17:57:43Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2015-08-31T16:27:47Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=07294a6f1b27920bbfcb6567c5b89b8d9a88b069'/>
<id>urn:sha1:07294a6f1b27920bbfcb6567c5b89b8d9a88b069</id>
<content type='text'>
if you did a.overlaps(b) cf b.overlaps(a) if they were
just-not overlapping.
</content>
</entry>
</feed>
