@@ -53,7 +53,7 @@ public static void PickBestIntra16(Vp8EncIterator it, ref Vp8ModeScore rd, Vp8Se
53
53
rdCur . Nz = ( uint ) ReconstructIntra16 ( it , dqm , rdCur , tmpDst , mode ) ;
54
54
55
55
// Measure RD-score.
56
- rdCur . D = LossyUtils . Vp8_Sse16X16 ( src , tmpDst ) ;
56
+ rdCur . D = LossyUtils . Vp8_Sse16x16 ( src , tmpDst ) ;
57
57
rdCur . SD = tlambda != 0 ? Mult8B ( tlambda , LossyUtils . Vp8Disto16X16 ( src , tmpDst , WeightY , scratch ) ) : 0 ;
58
58
rdCur . H = WebpConstants . Vp8FixedCostsI16 [ mode ] ;
59
59
rdCur . R = it . GetCostLuma16 ( rdCur , proba , res ) ;
@@ -145,7 +145,7 @@ public static bool PickBestIntra4(Vp8EncIterator it, ref Vp8ModeScore rd, Vp8Seg
145
145
rdTmp . Nz = ( uint ) ReconstructIntra4 ( it , dqm , tmpLevels , src , tmpDst , mode ) ;
146
146
147
147
// Compute RD-score.
148
- rdTmp . D = LossyUtils . Vp8_Sse4X4 ( src , tmpDst ) ;
148
+ rdTmp . D = LossyUtils . Vp8_Sse4x4 ( src , tmpDst ) ;
149
149
rdTmp . SD = tlambda != 0 ? Mult8B ( tlambda , LossyUtils . Vp8Disto4X4 ( src , tmpDst , WeightY , scratch ) ) : 0 ;
150
150
rdTmp . H = modeCosts [ mode ] ;
151
151
@@ -235,7 +235,7 @@ public static void PickBestUv(Vp8EncIterator it, ref Vp8ModeScore rd, Vp8Segment
235
235
rdUv . Nz = ( uint ) ReconstructUv ( it , dqm , rdUv , tmpDst , mode ) ;
236
236
237
237
// Compute RD-score
238
- rdUv . D = LossyUtils . Vp8_Sse16X8 ( src , tmpDst ) ;
238
+ rdUv . D = LossyUtils . Vp8_Sse16x8 ( src , tmpDst ) ;
239
239
rdUv . SD = 0 ; // not calling TDisto here: it tends to flatten areas.
240
240
rdUv . H = WebpConstants . Vp8FixedCostsUv [ mode ] ;
241
241
rdUv . R = it . GetCostUv ( rdUv , proba , res ) ;
@@ -389,7 +389,7 @@ public static void RefineUsingDistortion(Vp8EncIterator it, Vp8SegmentInfo[] seg
389
389
for ( mode = 0 ; mode < WebpConstants . NumPredModes ; ++ mode )
390
390
{
391
391
Span < byte > reference = it . YuvP . AsSpan ( Vp8Encoding . Vp8I16ModeOffsets [ mode ] ) ;
392
- long score = ( LossyUtils . Vp8_Sse16X16 ( src , reference ) * WebpConstants . RdDistoMult ) + ( WebpConstants . Vp8FixedCostsI16 [ mode ] * lambdaDi16 ) ;
392
+ long score = ( LossyUtils . Vp8_Sse16x16 ( src , reference ) * WebpConstants . RdDistoMult ) + ( WebpConstants . Vp8FixedCostsI16 [ mode ] * lambdaDi16 ) ;
393
393
394
394
if ( mode > 0 && WebpConstants . Vp8FixedCostsI16 [ mode ] > bitLimit )
395
395
{
@@ -436,7 +436,7 @@ public static void RefineUsingDistortion(Vp8EncIterator it, Vp8SegmentInfo[] seg
436
436
for ( mode = 0 ; mode < WebpConstants . NumBModes ; ++ mode )
437
437
{
438
438
Span < byte > reference = it . YuvP . AsSpan ( Vp8Encoding . Vp8I4ModeOffsets [ mode ] ) ;
439
- long score = ( LossyUtils . Vp8_Sse4X4 ( src , reference ) * WebpConstants . RdDistoMult ) + ( modeCosts [ mode ] * lambdaDi4 ) ;
439
+ long score = ( LossyUtils . Vp8_Sse4x4 ( src , reference ) * WebpConstants . RdDistoMult ) + ( modeCosts [ mode ] * lambdaDi4 ) ;
440
440
if ( score < bestI4Score )
441
441
{
442
442
bestI4Mode = mode ;
@@ -485,7 +485,7 @@ public static void RefineUsingDistortion(Vp8EncIterator it, Vp8SegmentInfo[] seg
485
485
for ( mode = 0 ; mode < WebpConstants . NumPredModes ; ++ mode )
486
486
{
487
487
Span < byte > reference = it . YuvP . AsSpan ( Vp8Encoding . Vp8UvModeOffsets [ mode ] ) ;
488
- long score = ( LossyUtils . Vp8_Sse16X8 ( src , reference ) * WebpConstants . RdDistoMult ) + ( WebpConstants . Vp8FixedCostsUv [ mode ] * lambdaDuv ) ;
488
+ long score = ( LossyUtils . Vp8_Sse16x8 ( src , reference ) * WebpConstants . RdDistoMult ) + ( WebpConstants . Vp8FixedCostsUv [ mode ] * lambdaDuv ) ;
489
489
if ( score < bestUvScore )
490
490
{
491
491
bestMode = mode ;
0 commit comments