[x265] [PATCH] cutree: adjust the rowSatd with qpoffset only for reference frames
gopu at multicorewareinc.com
gopu at multicorewareinc.com
Thu May 15 11:44:29 CEST 2014
# HG changeset patch
# User Gopu Govindaswamy
# Date 1400146948 -19800
# Thu May 15 15:12:28 2014 +0530
# Node ID 794b7d744a14c653f76748b4ec3033b040c3e783
# Parent 6ca880d7e68361e5b9e2353f05369d9e5c40a29f
cutree: adjust the rowSatd with qpoffset only for reference frames
diff -r 6ca880d7e683 -r 794b7d744a14 source/encoder/slicetype.cpp
--- a/source/encoder/slicetype.cpp Thu May 15 12:31:06 2014 +0530
+++ b/source/encoder/slicetype.cpp Thu May 15 15:12:28 2014 +0530
@@ -1148,7 +1148,7 @@
{
int64_t score = 0;
int *rowSatd = frames[b]->rowSatds[b - p0][p1 - b];
- double *qp_offset = IS_X265_TYPE_B(frames[b]->sliceType) ? frames[b]->qpAqOffset : frames[b]->qpOffset;
+ double *qp_offset = (frames[b]->sliceType = X265_TYPE_B) ? frames[b]->qpAqOffset : frames[b]->qpOffset;
x265_emms();
for (int cuy = heightInCU - 1; cuy >= 0; cuy--)
More information about the x265-devel
mailing list