Showing the changes to codec/processing/src/scrolldetection (1 of 5 files). Show all
Unified · Split
| @@ -105,10 +105,6 @@ void CScrollDetection::ScrollDetectionWithoutMask (SPixMap* pSrcPixMap, SPixMap* · 104 unmodified lines | |||
| 105 | iWidth /= 2; | 105 | iWidth /= 2; |
| 106 | iStartX += iWidth / 2; | 106 | iStartX += iWidth / 2; |
| 107 | 107 | ||
| 108 | m_sScrollDetectionParam.iScrollMvX = 0; | ||
| 109 | m_sScrollDetectionParam.iScrollMvY = 0; | ||
| 110 | m_sScrollDetectionParam.bScrollDetectFlag = false; | ||
| 111 | |||
| 112 | ScrollDetectionCore (pSrcPixMap, pRefPixMap, iWidth, iHeight, iStartX, iStartY, m_sScrollDetectionParam); | 108 | ScrollDetectionCore (pSrcPixMap, pRefPixMap, iWidth, iHeight, iStartX, iStartY, m_sScrollDetectionParam); |
| 113 | 109 | ||
| 114 | if (m_sScrollDetectionParam.bScrollDetectFlag && m_sScrollDetectionParam.iScrollMvY) | 110 | if (m_sScrollDetectionParam.bScrollDetectFlag && m_sScrollDetectionParam.iScrollMvY) |