• R/O
  • SSH
  • HTTPS

jyeipegyuu: 提交


Commit MetaInfo

修订版17 (tree)
时间2010-06-07 01:43:04
作者berupon

Log Message

changed local veriable name

更改概述

差异

--- misc.h (revision 16)
+++ misc.h (revision 17)
@@ -432,8 +432,7 @@
432432 )
433433 {
434434 const int totalBlockCount = static_cast<int>(hBlockCount * vBlockCount);
435-
436- // paeth prediction
435+
437436 int* from = src;
438437 int* to = tmp;
439438 std::copy(from, from+totalBlockCount, to);
--- Quantizer.cpp (revision 16)
+++ Quantizer.cpp (revision 17)
@@ -26,7 +26,7 @@
2626 };
2727
2828 static const unsigned char QUANT8_INTRA_MATRIX[8][8] = {
29- 6, 10, 13, 16, 18, 23, 25, 27,
29+ 6, 10, 13, 16, 18, 23, 25, 27,
3030 10, 11, 16, 18, 23, 25, 27, 29,
3131 13, 16, 18, 23, 25, 27, 29, 31,
3232 16, 18, 23, 25, 27, 29, 31, 33,
--- main.cpp (revision 16)
+++ main.cpp (revision 17)
@@ -88,9 +88,9 @@
8888
8989 reorderByFrequency(hBlockCount, vBlockCount, pWork, pWork2);
9090
91- unsigned char enablePaethPrediction = 1;
92- *dest++ = enablePaethPrediction;
93- if (enablePaethPrediction) {
91+ unsigned char enableDCPrediction = 1;
92+ *dest++ = enableDCPrediction;
93+ if (enableDCPrediction) {
9494 predictEncode(hBlockCount, vBlockCount, pWork2, pWork);
9595 }
9696
@@ -154,7 +154,7 @@
154154 int* pWork2 = &work2[0];
155155 size_t destLen = work2.size();
156156
157- unsigned char enablePaethPrediction = *src++;
157+ unsigned char enableDCPrediction = *src++;
158158
159159 // zero one flags
160160 unsigned char zeroOneLimit = *src++;
@@ -193,7 +193,7 @@
193193 }
194194 }
195195
196- if (enablePaethPrediction) {
196+ if (enableDCPrediction) {
197197 predictDecode(hBlockCount, vBlockCount, pWork2, pWork);
198198 }
199199
Show on old repository browser