@@ -66,7 +66,7 @@ public static void PickBestIntra16(Vp8EncIterator it, ref Vp8ModeScore rd, Vp8Se
6666 rdCur . Nz = ( uint ) ReconstructIntra16 ( it , dqm , rdCur , tmpDst , mode ) ;
6767
6868 // Measure RD-score.
69- rdCur . D = LossyUtils . Vp8Sse16X16 ( src , tmpDst ) ;
69+ rdCur . D = LossyUtils . Vp8_Sse16X16 ( src , tmpDst ) ;
7070 rdCur . SD = tlambda != 0 ? Mult8B ( tlambda , LossyUtils . Vp8Disto16X16 ( src , tmpDst , WeightY , scratch ) ) : 0 ;
7171 rdCur . H = WebpConstants . Vp8FixedCostsI16 [ mode ] ;
7272 rdCur . R = it . GetCostLuma16 ( rdCur , proba , res ) ;
@@ -160,7 +160,7 @@ public static bool PickBestIntra4(Vp8EncIterator it, ref Vp8ModeScore rd, Vp8Seg
160160 rdTmp . Nz = ( uint ) ReconstructIntra4 ( it , dqm , tmpLevels , src , tmpDst , mode ) ;
161161
162162 // Compute RD-score.
163- rdTmp . D = LossyUtils . Vp8Sse4X4 ( src , tmpDst ) ;
163+ rdTmp . D = LossyUtils . Vp8_Sse4X4 ( src , tmpDst ) ;
164164 rdTmp . SD = tlambda != 0 ? Mult8B ( tlambda , LossyUtils . Vp8Disto4X4 ( src , tmpDst , WeightY , scratch ) ) : 0 ;
165165 rdTmp . H = modeCosts [ mode ] ;
166166
@@ -251,7 +251,7 @@ public static void PickBestUv(Vp8EncIterator it, ref Vp8ModeScore rd, Vp8Segment
251251 rdUv . Nz = ( uint ) ReconstructUv ( it , dqm , rdUv , tmpDst , mode ) ;
252252
253253 // Compute RD-score
254- rdUv . D = LossyUtils . Vp8Sse16X8 ( src , tmpDst ) ;
254+ rdUv . D = LossyUtils . Vp8_Sse16X8 ( src , tmpDst ) ;
255255 rdUv . SD = 0 ; // not calling TDisto here: it tends to flatten areas.
256256 rdUv . H = WebpConstants . Vp8FixedCostsUv [ mode ] ;
257257 rdUv . R = it . GetCostUv ( rdUv , proba , res ) ;
@@ -407,7 +407,7 @@ public static void RefineUsingDistortion(Vp8EncIterator it, Vp8SegmentInfo[] seg
407407 for ( mode = 0 ; mode < WebpConstants . NumPredModes ; ++ mode )
408408 {
409409 Span < byte > reference = it . YuvP . AsSpan ( Vp8Encoding . Vp8I16ModeOffsets [ mode ] ) ;
410- long score = ( LossyUtils . Vp8Sse16X16 ( src , reference ) * WebpConstants . RdDistoMult ) + ( WebpConstants . Vp8FixedCostsI16 [ mode ] * lambdaDi16 ) ;
410+ long score = ( LossyUtils . Vp8_Sse16X16 ( src , reference ) * WebpConstants . RdDistoMult ) + ( WebpConstants . Vp8FixedCostsI16 [ mode ] * lambdaDi16 ) ;
411411
412412 if ( mode > 0 && WebpConstants . Vp8FixedCostsI16 [ mode ] > bitLimit )
413413 {
@@ -454,7 +454,7 @@ public static void RefineUsingDistortion(Vp8EncIterator it, Vp8SegmentInfo[] seg
454454 for ( mode = 0 ; mode < WebpConstants . NumBModes ; ++ mode )
455455 {
456456 Span < byte > reference = it . YuvP . AsSpan ( Vp8Encoding . Vp8I4ModeOffsets [ mode ] ) ;
457- long score = ( LossyUtils . Vp8Sse4X4 ( src , reference ) * WebpConstants . RdDistoMult ) + ( modeCosts [ mode ] * lambdaDi4 ) ;
457+ long score = ( LossyUtils . Vp8_Sse4X4 ( src , reference ) * WebpConstants . RdDistoMult ) + ( modeCosts [ mode ] * lambdaDi4 ) ;
458458 if ( score < bestI4Score )
459459 {
460460 bestI4Mode = mode ;
@@ -503,7 +503,7 @@ public static void RefineUsingDistortion(Vp8EncIterator it, Vp8SegmentInfo[] seg
503503 for ( mode = 0 ; mode < WebpConstants . NumPredModes ; ++ mode )
504504 {
505505 Span < byte > reference = it . YuvP . AsSpan ( Vp8Encoding . Vp8UvModeOffsets [ mode ] ) ;
506- long score = ( LossyUtils . Vp8Sse16X8 ( src , reference ) * WebpConstants . RdDistoMult ) + ( WebpConstants . Vp8FixedCostsUv [ mode ] * lambdaDuv ) ;
506+ long score = ( LossyUtils . Vp8_Sse16X8 ( src , reference ) * WebpConstants . RdDistoMult ) + ( WebpConstants . Vp8FixedCostsUv [ mode ] * lambdaDuv ) ;
507507 if ( score < bestUvScore )
508508 {
509509 bestMode = mode ;
0 commit comments