projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
704acb4
)
Speculative fix for alpha blending onto YUV422P10LE.
author
Carl Hetherington
<cth@carlh.net>
Tue, 26 Sep 2017 20:07:03 +0000
(21:07 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Tue, 26 Sep 2017 20:07:03 +0000
(21:07 +0100)
src/lib/image.cc
patch
|
blob
|
history
diff --git
a/src/lib/image.cc
b/src/lib/image.cc
index 03a4d96b4848da8a133828c144195b76033d396c..c3955c92add136e25accc3ff2e5aa9ea36cb81fd 100644
(file)
--- a/
src/lib/image.cc
+++ b/
src/lib/image.cc
@@
-585,6
+585,7
@@
Image::alpha_blend (shared_ptr<const Image> other, Position<int> position)
break;
}
case AV_PIX_FMT_YUV420P10:
+ case AV_PIX_FMT_YUV422P10LE:
{
shared_ptr<Image> yuv = other->scale (other->size(), dcp::YUV_TO_RGB_REC709, _pixel_format, false, false);
component<uint16_t> (0, this, yuv, other, start_tx, start_ty, start_ox, start_oy);