• Home
  • Raw
  • Download

Lines Matching refs:ry

416 static void kernel_clamped(uint8_t dst[], int rx, int ry, const uint32_t sum[],  in kernel_clamped()  argument
420 uint32_t scale = (1 << 24) / ((2*rx + 1)*(2*ry + 1)); in kernel_clamped()
425 int dh = sh + 2*ry; in kernel_clamped()
427 int prev_y = -2*ry; in kernel_clamped()
477 static void apply_kernel(uint8_t dst[], int rx, int ry, const uint32_t sum[], in apply_kernel() argument
480 kernel_clamped(dst, rx, ry, sum, sw, sh); in apply_kernel()
484 uint32_t scale = (1 << 24) / ((2*rx + 1)*(2*ry + 1)); in apply_kernel()
489 int dh = sh + 2*ry; in apply_kernel()
491 int prev_y = -2*ry; in apply_kernel()
576 static void kernel_interp_clamped(uint8_t dst[], int rx, int ry, in kernel_interp_clamped() argument
586 uint32_t outer_scale = (outer_weight << 16) / ((2*rx + 1)*(2*ry + 1)); in kernel_interp_clamped()
587 uint32_t inner_scale = (inner_weight << 16) / ((2*rx - 1)*(2*ry - 1)); in kernel_interp_clamped()
592 int dh = sh + 2*ry; in kernel_interp_clamped()
594 int prev_y = -2*ry; in kernel_interp_clamped()
661 static void apply_kernel_interp(uint8_t dst[], int rx, int ry, in apply_kernel_interp() argument
663 SkASSERT(rx > 0 && ry > 0); in apply_kernel_interp()
667 kernel_interp_clamped(dst, rx, ry, sum, sw, sh, outer_weight); in apply_kernel_interp()
677 uint32_t outer_scale = (outer_weight << 16) / ((2*rx + 1)*(2*ry + 1)); in apply_kernel_interp()
678 uint32_t inner_scale = (inner_weight << 16) / ((2*rx - 1)*(2*ry - 1)); in apply_kernel_interp()
683 int dh = sh + 2*ry; in apply_kernel_interp()
685 int prev_y = -2*ry; in apply_kernel_interp()
888 int ry = rx; // only do square blur for now in Blur() local
891 int pady = passCount * ry; in Blur()
934 h = boxBlur(tp, h, dp, ry, ry, h, w, true); in Blur()
943 h = boxBlurInterp(tp, h, dp, ry, h, w, false, outer_weight); in Blur()
944 h = boxBlurInterp(dp, h, tp, ry, h, w, false, outer_weight); in Blur()
945 h = boxBlurInterp(tp, h, dp, ry, h, w, true, outer_weight); in Blur()
948 h = boxBlurInterp(tp, h, dp, ry, h, w, true, outer_weight); in Blur()
953 const size_t storageH = sh + 2 * (passCount - 1) * ry + 1; in Blur()
960 apply_kernel(dp, rx, ry, sumBuffer, sw, sh); in Blur()
962 apply_kernel_interp(dp, rx, ry, sumBuffer, sw, sh, outer_weight); in Blur()
968 int tmp_sh = sh + 2 * ry; in Blur()
972 apply_kernel(tmpBuffer.get(), rx, ry, sumBuffer, tmp_sw, tmp_sh); in Blur()
974 apply_kernel_interp(tmpBuffer.get(), rx, ry, sumBuffer, in Blur()
979 tmp_sh += 2 * ry; in Blur()
982 apply_kernel(dp, rx, ry, sumBuffer, tmp_sw, tmp_sh); in Blur()
984 apply_kernel_interp(dp, rx, ry, sumBuffer, tmp_sw, tmp_sh, in Blur()
1001 dp + passCount * (rx + ry * dst->fRowBytes), in Blur()
1005 clamp_with_orig(dp + passCount * (rx + ry * dst->fRowBytes), in Blur()