<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dcpomatic/src/lib/image.cc, branch v2.14.44</title>
<subtitle>DCP-o-matic DCP tools</subtitle>
<id>https://git.carlh.net/cgit/dcpomatic/atom?h=v2.14.44</id>
<link rel='self' href='https://git.carlh.net/cgit/dcpomatic/atom?h=v2.14.44'/>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/'/>
<updated>2020-11-19T21:08:21Z</updated>
<entry>
<title>Hack to fix image luminance when cropping subsampled images (#1872).</title>
<updated>2020-11-19T21:08:21Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2020-11-19T21:07:39Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=2456409a8db781d9ef505fc9e5f9290276ce6807'/>
<id>urn:sha1:2456409a8db781d9ef505fc9e5f9290276ce6807</id>
<content type='text'>
Without this the luminance varies slightly as you crop by odd and
even amounts (for YUV420 images).
</content>
</entry>
<entry>
<title>Fix cropping of subsampled images.</title>
<updated>2020-11-17T08:59:30Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2020-11-16T23:00:50Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=27c0e43d75218b926068fff3d6d1364b476e56ff'/>
<id>urn:sha1:27c0e43d75218b926068fff3d6d1364b476e56ff</id>
<content type='text'>
The calculations for how to crop subsampled components of YUV images
were wrong, causing strange effects like misregistration of colour
components in cropped images.  Should fix #1872.
</content>
</entry>
<entry>
<title>Add some lrintf() calls to be sure.</title>
<updated>2020-11-16T23:18:02Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2020-11-16T22:58:53Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=451e5465bbd10827dafe76b35704102e589c0980'/>
<id>urn:sha1:451e5465bbd10827dafe76b35704102e589c0980</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use 64-byte alignment for aligned image memory.</title>
<updated>2020-11-16T23:17:52Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2020-11-16T22:56:11Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=cdf9ebe4a827d8d2d6d89e34bad0c976b04834b7'/>
<id>urn:sha1:cdf9ebe4a827d8d2d6d89e34bad0c976b04834b7</id>
<content type='text'>
FFmpeg uses this values if AVX512 is available, and with only
32-byte alignment I am seeing strange scaling effects whereby
crop_scale_window_test7 gives black bars down the right side of
cropped images (when run on an i7 7700).
</content>
</entry>
<entry>
<title>Fix incorrect images when cropping without stretch.</title>
<updated>2019-11-16T21:46:39Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2019-11-04T15:38:14Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=ed4fc06db6957b2b63b2400a737f47c18a1003be'/>
<id>urn:sha1:ed4fc06db6957b2b63b2400a737f47c18a1003be</id>
<content type='text'>
Always overallocate images so that Image::crop_scale_window is always
safe from over-reading buffers.  Relates to #1654 and probably #1653.

Backported from 7b0372776ac4da6a8e4ff29f41a4f08b9b4de506 in v2.15.x.
</content>
</entry>
<entry>
<title>Fix "cannot handle pixel format 26 during make_transparent()" (part of #1545).</title>
<updated>2019-05-03T14:00:41Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2019-05-03T14:00:19Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=46df210e1c25c3cdae664390efac8e60714ad635'/>
<id>urn:sha1:46df210e1c25c3cdae664390efac8e60714ad635</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix or remove several broken pixel formats in Image::fade and add</title>
<updated>2019-04-25T15:19:25Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2019-04-25T15:19:25Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=11efa93e15b694b8ea6f0a2bc68c87503cc570bb'/>
<id>urn:sha1:11efa93e15b694b8ea6f0a2bc68c87503cc570bb</id>
<content type='text'>
unit tests for the remainder.  Fixes #1532.
</content>
</entry>
<entry>
<title>Fix R/B swap with as_png(); support as_png() for any pixel format.</title>
<updated>2019-03-12T23:16:03Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2019-03-12T23:16:03Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=c984f807703fb113c3e53d9a61d38e1cc83bf196'/>
<id>urn:sha1:c984f807703fb113c3e53d9a61d38e1cc83bf196</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Make alpha_blend support RGBA as well as BGRA.</title>
<updated>2019-03-08T23:23:34Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2019-03-08T23:23:34Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=ebc33f0cc5790fe8bd7f921da92c43a11fb0772b'/>
<id>urn:sha1:ebc33f0cc5790fe8bd7f921da92c43a11fb0772b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add some comments.</title>
<updated>2019-01-31T01:34:56Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2019-01-31T01:34:56Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=d31bb9dd64630718fe7faa607e61be7ba88e9097'/>
<id>urn:sha1:d31bb9dd64630718fe7faa607e61be7ba88e9097</id>
<content type='text'>
</content>
</entry>
</feed>
