Lines Matching refs:pad

402     int pad = profileSize/2;  in BlurRect()  local
404 margin->set( pad, pad ); in BlurRect()
407 dst->fBounds.set(SkScalarRoundToInt(src.fLeft - pad), in BlurRect()
408 SkScalarRoundToInt(src.fTop - pad), in BlurRect()
409 SkScalarRoundToInt(src.fRight + pad), in BlurRect()
410 SkScalarRoundToInt(src.fBottom + pad)); in BlurRect()
469 uint8_t *blur_scanline = dp + (y+pad)*dstWidth + pad; in BlurRect()
482 for (int y = pad ; y < dstHeight-pad ; y++) { in BlurRect()
483 uint8_t *dst_scanline = dp + y*dstWidth + pad; in BlurRect()
487 for (int y = pad ; y < dstHeight-pad ; y++) { in BlurRect()
488 uint8_t *dst_scanline = dp + y*dstWidth + pad; in BlurRect()
540 int pad = halfWindow; in BlurGroundTruth() local
542 margin->set( pad, pad ); in BlurGroundTruth()
546 dst->fBounds.outset(pad, pad); in BlurGroundTruth()
570 int padWidth = srcWidth + 4*pad; in BlurGroundTruth()
578 uint8_t* padptr = padPixels + y * padWidth + 2*pad; in BlurGroundTruth()
587 int tmpWidth = padHeight + 4*pad; in BlurGroundTruth()
588 int tmpHeight = padWidth - 2*pad; in BlurGroundTruth()
596 for (int x = pad ; x < padWidth - pad ; ++x) { in BlurGroundTruth()
597 float *outPixel = tmpImage + (x-pad)*tmpWidth + y + 2*pad; // transposed output in BlurGroundTruth()
599 for (int i = -pad ; i <= pad ; ++i) { in BlurGroundTruth()
600 *outPixel += gaussWindow[pad+i]*windowCenter[i]; in BlurGroundTruth()
612 for (int x = pad ; x < tmpWidth - pad ; ++x) { in BlurGroundTruth()
615 for (int i = -pad ; i <= pad ; ++i) { in BlurGroundTruth()
616 finalValue += gaussWindow[pad+i]*windowCenter[i]; in BlurGroundTruth()
619 uint8_t *outPixel = dstPixels + (x-pad)*dstWidth + y; // transposed output in BlurGroundTruth()
631 dstPixels + pad*dst->fRowBytes + pad, dst->fRowBytes, in BlurGroundTruth()
637 dstPixels + pad*dst->fRowBytes + pad, dst->fRowBytes, in BlurGroundTruth()
650 dstPixels + pad*dst->fRowBytes + pad, in BlurGroundTruth()