[x265] [PATCH 2 of 6] move variant from common to local in codeCoeffNxN()
Min Chen
chenm003 at 163.com
Tue Jun 9 20:01:42 CEST 2015
# HG changeset patch
# User Min Chen <chenm003 at 163.com>
# Date 1433872865 25200
# Node ID 838d45cde46091861dec549c464eb803d479bbbc
# Parent d41bc83c21b9f1eba483ec4b5e298a33b6ee1c1e
move variant from common to local in codeCoeffNxN()
---
source/encoder/entropy.cpp | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff -r d41bc83c21b9 -r 838d45cde460 source/encoder/entropy.cpp
--- a/source/encoder/entropy.cpp Tue Jun 09 11:00:58 2015 -0700
+++ b/source/encoder/entropy.cpp Tue Jun 09 11:01:05 2015 -0700
@@ -1741,10 +1741,6 @@
if (!c1 || numNonZero > C1FLAG_NUMBER)
{
- uint32_t goRiceParam = 0;
- int firstCoeff2 = 1;
- uint32_t baseLevelN = 0x5555AAAA; // 2-bits encode format baseLevel
-
if (!m_bitIf)
{
// Fast RD path
@@ -1754,6 +1750,10 @@
else
{
// Standard path
+ uint32_t goRiceParam = 0;
+ int firstCoeff2 = 1;
+ uint32_t baseLevelN = 0x5555AAAA; // 2-bits encode format baseLevel
+
idx = 0;
do
{
More information about the x265-devel
mailing list