mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
hevc: Consider first quantization group any reference to 0, 0
According to my understanding of T-REC-H.265-2013044 chapter 8.6.1. Sample-Id: 00001438-google Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
This commit is contained in:
parent
c716624853
commit
09e2203b8b
@ -90,7 +90,7 @@ static int get_qPy_pred(HEVCContext *s, int xC, int yC,
|
|||||||
int qPy_pred, qPy_a, qPy_b;
|
int qPy_pred, qPy_a, qPy_b;
|
||||||
|
|
||||||
// qPy_pred
|
// qPy_pred
|
||||||
if (lc->first_qp_group) {
|
if (lc->first_qp_group || (!xQgBase && !yQgBase)) {
|
||||||
lc->first_qp_group = !lc->tu.is_cu_qp_delta_coded;
|
lc->first_qp_group = !lc->tu.is_cu_qp_delta_coded;
|
||||||
qPy_pred = s->sh.slice_qp;
|
qPy_pred = s->sh.slice_qp;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user