[x265] [PATCH] quant.cpp: nits
praveen at multicorewareinc.com
praveen at multicorewareinc.com
Fri Oct 24 10:58:40 CEST 2014
# HG changeset patch
# User Praveen Tiwari
# Date 1414141110 -19800
# Node ID 28680e0b1a351a3bb034a9af9d0ad57b4a28276d
# Parent f7bff89ea659516988fc8f73506f80fc1bbeeeb1
quant.cpp: nits
diff -r f7bff89ea659 -r 28680e0b1a35 source/common/quant.cpp
--- a/source/common/quant.cpp Fri Oct 24 14:15:56 2014 +0530
+++ b/source/common/quant.cpp Fri Oct 24 14:28:30 2014 +0530
@@ -40,7 +40,7 @@
{
int nnzBeforePos0; /* indicates coeff other than pos 0 are coded */
int64_t codedLevelAndDist; /* distortion and level cost of coded coefficients */
- int64_t uncodedDist; /* uncoded distortion cost of coded coefficients */
+ int64_t uncodedDist; /* uncoded distortion cost of coded coefficients */
int64_t sigCost; /* cost of signaling significant coeff bitmap */
int64_t sigCost0; /* cost of signaling sig coeff bit of coeff 0 */
};
@@ -169,7 +169,7 @@
m_resiDctCoeff = X265_MALLOC(int32_t, MAX_TR_SIZE * MAX_TR_SIZE * 2);
m_fencDctCoeff = m_resiDctCoeff + (MAX_TR_SIZE * MAX_TR_SIZE);
m_fencShortBuf = X265_MALLOC(int16_t, MAX_TR_SIZE * MAX_TR_SIZE);
-
+
return m_resiDctCoeff && m_fencShortBuf;
}
More information about the x265-devel
mailing list