Lines Matching refs:pad
403 int pad = profileSize/2; in BlurRect() local
405 margin->set( pad, pad ); in BlurRect()
408 dst->fBounds.setLTRB(SkScalarRoundToInt(src.fLeft - pad), in BlurRect()
409 SkScalarRoundToInt(src.fTop - pad), in BlurRect()
410 SkScalarRoundToInt(src.fRight + pad), in BlurRect()
411 SkScalarRoundToInt(src.fBottom + pad)); in BlurRect()
467 uint8_t *blur_scanline = dp + (y+pad)*dstWidth + pad; in BlurRect()
477 for (int y = pad ; y < dstHeight-pad ; y++) { in BlurRect()
478 uint8_t *dst_scanline = dp + y*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()
535 int pad = halfWindow; in BlurGroundTruth() local
537 margin->set( pad, pad ); in BlurGroundTruth()
541 dst->fBounds.outset(pad, pad); in BlurGroundTruth()
565 int padWidth = srcWidth + 4*pad; in BlurGroundTruth()
573 uint8_t* padptr = padPixels + y * padWidth + 2*pad; in BlurGroundTruth()
582 int tmpWidth = padHeight + 4*pad; in BlurGroundTruth()
583 int tmpHeight = padWidth - 2*pad; in BlurGroundTruth()
591 for (int x = pad ; x < padWidth - pad ; ++x) { in BlurGroundTruth()
592 float *outPixel = tmpImage + (x-pad)*tmpWidth + y + 2*pad; // transposed output in BlurGroundTruth()
594 for (int i = -pad ; i <= pad ; ++i) { in BlurGroundTruth()
595 *outPixel += gaussWindow[pad+i]*windowCenter[i]; in BlurGroundTruth()
607 for (int x = pad ; x < tmpWidth - pad ; ++x) { in BlurGroundTruth()
610 for (int i = -pad ; i <= pad ; ++i) { in BlurGroundTruth()
611 finalValue += gaussWindow[pad+i]*windowCenter[i]; in BlurGroundTruth()
614 uint8_t *outPixel = dstPixels + (x-pad)*dstWidth + y; // transposed output in BlurGroundTruth()
626 dstPixels + pad*dst->fRowBytes + pad, dst->fRowBytes, in BlurGroundTruth()
632 dstPixels + pad*dst->fRowBytes + pad, dst->fRowBytes, in BlurGroundTruth()
645 dstPixels + pad*dst->fRowBytes + pad, in BlurGroundTruth()