projects
/
libde265.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
913c8de
)
[PATCH] fix MC with HDR chroma, but SDR luma (#301)
author
Dirk Farin
<dirk.farin@gmail.com>
Tue, 5 Apr 2022 17:27:04 +0000
(19:27 +0200)
committer
Tobias Frost
<tobi@debian.org>
Tue, 24 Jan 2023 21:39:16 +0000
(21:39 +0000)
Gbp-Pq: Name CVE-2021-36410.patch
libde265/motion.cc
patch
|
blob
|
history
diff --git
a/libde265/motion.cc
b/libde265/motion.cc
index 3bb91d72f53f77bd8496b115214c397d7669e76a..95221581ae902d51fde1fb8fb8669e5ebdbb36ce 100644
(file)
--- a/
libde265/motion.cc
+++ b/
libde265/motion.cc
@@
-377,7
+377,7
@@
void generate_inter_prediction_samples(base_context* ctx,
refPic->get_luma_stride(), nPbW,nPbH, bit_depth_L);
}
- if (img->high_bit_depth(
0
)) {
+ if (img->high_bit_depth(
1
)) {
mc_chroma(ctx, sps, vi->mv[l].x, vi->mv[l].y, xP,yP,
predSamplesC[0][l],nCS, (const uint16_t*)refPic->get_image_plane(1),
refPic->get_chroma_stride(), nPbW/SubWidthC,nPbH/SubHeightC, bit_depth_C);