[x265] [PATCH] cuTree: bug fix for frameCostRecalculate

gopu at multicorewareinc.com gopu at multicorewareinc.com
Thu Feb 6 22:27:03 CET 2014


# HG changeset patch
# User Gopu Govindaswamy
# Date 1391722010 28800
#      Thu Feb 06 13:26:50 2014 -0800
# Node ID e2aaeaa85c037fa45da39920e96ecac9bce1bf4e
# Parent  76be476dfed596e6f52728ad7de7ec0865904f67
cuTree: bug fix for frameCostRecalculate

diff -r 76be476dfed5 -r e2aaeaa85c03 source/encoder/slicetype.cpp
--- a/source/encoder/slicetype.cpp	Tue Feb 04 22:06:15 2014 -0600
+++ b/source/encoder/slicetype.cpp	Thu Feb 06 13:26:50 2014 -0800
@@ -971,7 +971,7 @@
 {
     int64_t score = 0;
     int *rowSatd = frames[b]->rowSatds[b - p0][p1 - b];
-    double *qp_offset = IS_X265_TYPE_B(frames[0]->sliceType) ? frames[b]->qpAqOffset : frames[b]->qpOffset;
+    double *qp_offset = IS_X265_TYPE_B(frames[b]->sliceType) ? frames[b]->qpAqOffset : frames[b]->qpOffset;
 
     x265_emms();
     for (int cuy = heightInCU - 1; cuy >= 0; cuy--)


More information about the x265-devel mailing list