changed local veriable name
@@ -432,8 +432,7 @@ | ||
432 | 432 | ) |
433 | 433 | { |
434 | 434 | const int totalBlockCount = static_cast<int>(hBlockCount * vBlockCount); |
435 | - | |
436 | - // paeth prediction | |
435 | + | |
437 | 436 | int* from = src; |
438 | 437 | int* to = tmp; |
439 | 438 | std::copy(from, from+totalBlockCount, to); |
@@ -26,7 +26,7 @@ | ||
26 | 26 | }; |
27 | 27 | |
28 | 28 | 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, | |
30 | 30 | 10, 11, 16, 18, 23, 25, 27, 29, |
31 | 31 | 13, 16, 18, 23, 25, 27, 29, 31, |
32 | 32 | 16, 18, 23, 25, 27, 29, 31, 33, |
@@ -88,9 +88,9 @@ | ||
88 | 88 | |
89 | 89 | reorderByFrequency(hBlockCount, vBlockCount, pWork, pWork2); |
90 | 90 | |
91 | - unsigned char enablePaethPrediction = 1; | |
92 | - *dest++ = enablePaethPrediction; | |
93 | - if (enablePaethPrediction) { | |
91 | + unsigned char enableDCPrediction = 1; | |
92 | + *dest++ = enableDCPrediction; | |
93 | + if (enableDCPrediction) { | |
94 | 94 | predictEncode(hBlockCount, vBlockCount, pWork2, pWork); |
95 | 95 | } |
96 | 96 |
@@ -154,7 +154,7 @@ | ||
154 | 154 | int* pWork2 = &work2[0]; |
155 | 155 | size_t destLen = work2.size(); |
156 | 156 | |
157 | - unsigned char enablePaethPrediction = *src++; | |
157 | + unsigned char enableDCPrediction = *src++; | |
158 | 158 | |
159 | 159 | // zero one flags |
160 | 160 | unsigned char zeroOneLimit = *src++; |
@@ -193,7 +193,7 @@ | ||
193 | 193 | } |
194 | 194 | } |
195 | 195 | |
196 | - if (enablePaethPrediction) { | |
196 | + if (enableDCPrediction) { | |
197 | 197 | predictDecode(hBlockCount, vBlockCount, pWork2, pWork); |
198 | 198 | } |
199 | 199 |