<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dcpomatic/test/image_test.cc, branch master</title>
<subtitle>DCP-o-matic DCP tools</subtitle>
<id>https://git.carlh.net/cgit/dcpomatic/atom?h=master</id>
<link rel='self' href='https://git.carlh.net/cgit/dcpomatic/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/'/>
<updated>2021-05-06T19:49:41Z</updated>
<entry>
<title>Add pixel format 66 (AV_PIX_FMT_YUV422P10LE) to make_part_black().</title>
<updated>2021-05-06T19:49:41Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2021-05-02T09:30:16Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=29ad9ebaba113f0300b0c94fd1fa29f67e9f24a6'/>
<id>urn:sha1:29ad9ebaba113f0300b0c94fd1fa29f67e9f24a6</id>
<content type='text'>
Part of fix for #1984.

Backported-from-commit: 2aa6fd88e6d334c040d421938e425bd2f89983a7
Backported-from-branch: 2.15.x
</content>
</entry>
<entry>
<title>Fix corrupted image when over-cropping black filler frames.</title>
<updated>2020-11-24T23:11:55Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2020-11-24T23:11:55Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=accdec63a79b43c6349597b15243dc41e521521d'/>
<id>urn:sha1:accdec63a79b43c6349597b15243dc41e521521d</id>
<content type='text'>
FFmpegDecoder can emit small black frames (128x128 pixels) when it
wants to fill in a gap.  Image::crop_scale_window would do the wrong
thing if we then applied a crop of greater than 128 in either direction;
though cropped_size is correctly clamped, the crop value itself was
not and is used to calculate the input data pointers.

This would result in random frames, usually at the end of DCPs,
often made up of blurry colour washes.
</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>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 build.</title>
<updated>2019-11-05T07:45:22Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2019-11-05T07:45:22Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=dc14c1f2316ccc47a2230c6c5b1c2a17e773facf'/>
<id>urn:sha1:dc14c1f2316ccc47a2230c6c5b1c2a17e773facf</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix out-of-bounds read when cropping JPEG2000 images (#1654).</title>
<updated>2019-11-04T11:06:29Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2019-11-04T11:04:30Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=b32d031762bc49d8d076d36c4a8c60fa175a94dc'/>
<id>urn:sha1:b32d031762bc49d8d076d36c4a8c60fa175a94dc</id>
<content type='text'>
Backported from 25d968fdcf1abada4bd7bbcb8c72eeebda73b134 in v2.15.x.
</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>Change MagickImageProxy to FFmpegImageProxy and make it use FFmpeg</title>
<updated>2018-10-11T23:46:00Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2018-10-11T23:46:00Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=72b11d5eb036651b6ff68edf3ed270e8fc52960f'/>
<id>urn:sha1:72b11d5eb036651b6ff68edf3ed270e8fc52960f</id>
<content type='text'>
to decode images.  Hence remove {Image,Graphics}Magick.
</content>
</entry>
</feed>
