[x265] [PATCH] rc: rename texBits to coeffBits in RateControlEntry structure to maintain uniformity
aarthi at multicorewareinc.com
aarthi at multicorewareinc.com
Mon Jun 30 18:38:03 CEST 2014
# HG changeset patch
# User Aarthi Thirumalai<aarthi at multicorewareinc.com>
# Date 1403716778 -19800
# Wed Jun 25 22:49:38 2014 +0530
# Node ID bab912d0834914e8947a126e6b0ec4dbc75d7843
# Parent f6357a1be2b6a2d42245c08292ccfa2513e81da6
rc: rename texBits to coeffBits in RateControlEntry structure to maintain uniformity.
diff -r f6357a1be2b6 -r bab912d08349 source/encoder/ratecontrol.cpp
--- a/source/encoder/ratecontrol.cpp Fri Jun 27 00:10:50 2014 +0530
+++ b/source/encoder/ratecontrol.cpp Wed Jun 25 22:49:38 2014 +0530
@@ -692,8 +692,8 @@
m_shortTermCplxCount *= 0.5;
m_shortTermCplxSum += m_currentSatd / (CLIP_DURATION(m_frameDuration) / BASE_FRAME_DURATION);
m_shortTermCplxCount++;
- /* texBits to be used in 2-pass */
- rce->texBits = m_currentSatd;
+ /* coeffBits to be used in 2-pass */
+ rce->coeffBits = m_currentSatd;
rce->blurredComplexity = m_shortTermCplxSum / m_shortTermCplxCount;
rce->mvBits = 0;
rce->sliceType = m_sliceType;
diff -r f6357a1be2b6 -r bab912d08349 source/encoder/ratecontrol.h
--- a/source/encoder/ratecontrol.h Fri Jun 27 00:10:50 2014 +0530
+++ b/source/encoder/ratecontrol.h Wed Jun 25 22:49:38 2014 +0530
@@ -53,9 +53,8 @@
struct RateControlEntry
{
- int64_t texBits; /* Required in 2-pass rate control */
+ int64_t coeffBits; /* Required in 2-pass rate control */
int64_t lastSatd; /* Contains the picture cost of the previous frame, required for resetAbr and VBV */
-
int sliceType;
int mvBits;
int bframes;
More information about the x265-devel
mailing list