Changeset 145 in 3DVCSoftware for branches/HTM-4.1-dev2-LG/source/Lib/TLibEncoder
- Timestamp:
- 22 Oct 2012, 03:26:52 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-4.1-dev2-LG/source/Lib/TLibEncoder/TEncSearch.cpp
r125 r145 1918 1918 if ( m_pcRdCost->getUseWVSO() ) 1919 1919 { 1920 Int iDWeight = m_pcRdCost->getDWeight() ;1921 Int iVSDWeight = m_pcRdCost->getVSDWeight() ;1920 Int iDWeight = m_pcRdCost->getDWeight() * m_pcRdCost->getDWeight(); 1921 Int iVSDWeight = m_pcRdCost->getVSDWeight() * m_pcRdCost->getVSDWeight(); 1922 1922 Dist iD = (Dist) m_pcRdCost->calcHAD( piOrg, uiStride, piPred, uiStride, uiWidth, uiHeight ); 1923 1923 uiSad = (Dist) (iDWeight * iD + iVSDWeight * uiSad) / (iDWeight + iVSDWeight); … … 1933 1933 if ( m_pcRdCost->getUseWVSO() ) 1934 1934 { 1935 Int iDWeight = m_pcRdCost->getDWeight() *m_pcRdCost->getDWeight();1936 Int iVS DWeight = m_pcRdCost->getVSOWeight()*m_pcRdCost->getVSOWeight();1937 Dist iD = (Dist) m_pcRdCost-> getDistPart( piOrg, uiStride, piPred, uiStride, uiWidth, uiHeight );1938 uiSad = (Dist) (iDWeight * iD + iVS DWeight * uiSad) / (iDWeight + iVSDWeight);1935 Int iDWeight = m_pcRdCost->getDWeight() * m_pcRdCost->getDWeight(); 1936 Int iVSOWeight = m_pcRdCost->getVSOWeight() * m_pcRdCost->getDWeight(); 1937 Dist iD = (Dist) m_pcRdCost->calcHAD( piOrg, uiStride, piPred, uiStride, uiWidth, uiHeight ); 1938 uiSad = (Dist) (iDWeight * iD + iVSOWeight * uiSad) / (iDWeight + iVSOWeight); 1939 1939 } 1940 1940 #endif
Note: See TracChangeset for help on using the changeset viewer.