mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-27 19:24:06 +00:00
Fix Chroma QP scaling issue
This commit is contained in:
parent
11229997b6
commit
54b8fd054d
|
@ -133,7 +133,7 @@ int32_t kvz_get_scaled_qp(int8_t type, int8_t qp, int8_t qp_offset)
|
|||
qp_scaled = qp + qp_offset;
|
||||
} else {
|
||||
qp_scaled = CLIP(-qp_offset, 57, qp);
|
||||
if(qp_scaled < 0) {
|
||||
if(true||qp_scaled < 0) { //TODO: Enable chroma QP scaling in the SPS headers
|
||||
qp_scaled = qp_scaled + qp_offset;
|
||||
} else {
|
||||
qp_scaled = kvz_g_chroma_scale[qp_scaled] + qp_offset;
|
||||
|
|
Loading…
Reference in a new issue