<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dcpomatic/src/lib/image.cc, branch video-range-bug</title>
<subtitle>DCP-o-matic DCP tools</subtitle>
<id>https://git.carlh.net/cgit/dcpomatic/atom?h=video-range-bug</id>
<link rel='self' href='https://git.carlh.net/cgit/dcpomatic/atom?h=video-range-bug'/>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/'/>
<updated>2022-08-11T21:48:40Z</updated>
<entry>
<title>Fix video range in preview and DCP when source is VIDEO rather than FULL.</title>
<updated>2022-08-11T21:48:40Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2022-08-11T21:42:01Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=2e607b7968a0af94d7e38fb9d7d5459e33beed85'/>
<id>urn:sha1:2e607b7968a0af94d7e38fb9d7d5459e33beed85</id>
<content type='text'>
It looks like the handling of "video" range (16-235) sources (when
creating "full" range (0-255) outputs) has been broken for some considerable
time.  Full range outputs are used for both preview and DCP creation.

We assumed that after we called sws_setColorspaceDetails FFmpeg would take
care of the conversion from video to full, but its source suggests that
it refuses to convert to full-range RGB (only full-range YUV or
greyscale).  Previously there was a seemingly correct comment (that
FFmpeg would do nothing if source _or_ destination were RGB) but the
check on when to use video_range_to_full_range() was only activated
for RGB sources, not (also) RGB outputs.

It's hard to believe that this has been around unnoticed for so long.

https://dcpomatic.com/forum/viewtopic.php?t=1928&amp;start=10 has a
discussion which pointed out the problem.
</content>
</entry>
<entry>
<title>Fix d881836379172f4072ed81ea074f46b3a363a681 which removed clearing</title>
<updated>2022-08-11T14:39:03Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2022-08-11T14:39:03Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=f2b10879dcafccdb28f88d53dc1fc22094b96c1d'/>
<id>urn:sha1:f2b10879dcafccdb28f88d53dc1fc22094b96c1d</id>
<content type='text'>
of the left-hand-side of images.
</content>
</entry>
<entry>
<title>Fix lines down the right-hand-side of exports in some cases.</title>
<updated>2022-08-08T22:09:30Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2022-07-26T13:22:54Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=d881836379172f4072ed81ea074f46b3a363a681'/>
<id>urn:sha1:d881836379172f4072ed81ea074f46b3a363a681</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix incorrect burnt-in subtitle colours when burning into a DCP source (#2261).</title>
<updated>2022-06-10T21:04:54Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2022-06-10T21:04:54Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=9704833bdfc8c8f104203200be27f714fa677506'/>
<id>urn:sha1:9704833bdfc8c8f104203200be27f714fa677506</id>
<content type='text'>
dcp::combined_rgb_to_xyz was changed in libdcp (the values are no longer scaled
by 65535) but DoM wasn't changed, and there was no test to catch it.
</content>
</entry>
<entry>
<title>Update for change to libdcp API.</title>
<updated>2022-05-05T21:06:05Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2022-05-05T21:06:05Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=58d89ba0632d94504b15dc10cb4e4153808f8efe'/>
<id>urn:sha1:58d89ba0632d94504b15dc10cb4e4153808f8efe</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Move Image::as_png() out to image_as_png().</title>
<updated>2022-04-28T22:11:17Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2021-12-18T20:26:05Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=7ec6c86c913fba820870565ee757fdf43ae47433'/>
<id>urn:sha1:7ec6c86c913fba820870565ee757fdf43ae47433</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove unnecessary method.</title>
<updated>2022-04-28T22:09:58Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2021-12-18T20:05:54Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=4673b12dcf6340862f9f4f72fc6dca8553130b55'/>
<id>urn:sha1:4673b12dcf6340862f9f4f72fc6dca8553130b55</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use libdcp's warnings.h</title>
<updated>2022-04-22T21:27:15Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2022-04-22T21:27:15Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=3c29aa6531a4046a8db72dcac81189eb8893233c'/>
<id>urn:sha1:3c29aa6531a4046a8db72dcac81189eb8893233c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Cleanup: move some methods from util to memory_util.</title>
<updated>2022-04-04T21:09:10Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2022-01-24T21:30:52Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=8eb951b71fa90e54c8da64e54cf5ddf6bf0809cf'/>
<id>urn:sha1:8eb951b71fa90e54c8da64e54cf5ddf6bf0809cf</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Cleanup: move some methods from util to maths_util.</title>
<updated>2022-04-04T20:37:31Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2022-04-04T20:37:31Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=cf2ed48d21ddbc32bda262064480e88e69dc031a'/>
<id>urn:sha1:cf2ed48d21ddbc32bda262064480e88e69dc031a</id>
<content type='text'>
</content>
</entry>
</feed>
