Lines Matching refs:div

113             unsigned div = radius * 2 + 1;  in blur_x()  local
127 m_stack.allocate(div, 32); in blur_x()
158 stack_start = stack_ptr + div - radius; in blur_x()
159 if(stack_start >= div) stack_start -= div; in blur_x()
174 if(stack_ptr >= div) stack_ptr = 0; in blur_x()
239 template<class ArgT> AGG_INLINE void calc_pix(ArgT& v, unsigned div) in calc_pix()
242 v.r = value_type(r / div); in calc_pix()
243 v.g = value_type(g / div); in calc_pix()
244 v.b = value_type(b / div); in calc_pix()
245 v.a = value_type(a / div); in calc_pix()
292 template<class ArgT> AGG_INLINE void calc_pix(ArgT& v, unsigned div) in calc_pix()
295 v.r = value_type(r / div); in calc_pix()
296 v.g = value_type(g / div); in calc_pix()
297 v.b = value_type(b / div); in calc_pix()
337 template<class ArgT> AGG_INLINE void calc_pix(ArgT& a, unsigned div) in calc_pix()
340 a.v = value_type(v / div); in calc_pix()
374 unsigned div; in stack_blur_gray8() local
383 div = rx * 2 + 1; in stack_blur_gray8()
386 stack.allocate(div); in stack_blur_gray8()
421 stack_start = stack_ptr + div - rx; in stack_blur_gray8()
422 if(stack_start >= div) stack_start -= div; in stack_blur_gray8()
438 if(stack_ptr >= div) stack_ptr = 0; in stack_blur_gray8()
450 div = ry * 2 + 1; in stack_blur_gray8()
453 stack.allocate(div); in stack_blur_gray8()
489 stack_start = stack_ptr + div - ry; in stack_blur_gray8()
490 if(stack_start >= div) stack_start -= div; in stack_blur_gray8()
506 if(stack_ptr >= div) stack_ptr = 0; in stack_blur_gray8()
554 unsigned div; in stack_blur_rgb24() local
563 div = rx * 2 + 1; in stack_blur_rgb24()
566 stack.allocate(div); in stack_blur_rgb24()
625 stack_start = stack_ptr + div - rx; in stack_blur_rgb24()
626 if(stack_start >= div) stack_start -= div; in stack_blur_rgb24()
651 if(stack_ptr >= div) stack_ptr = 0; in stack_blur_rgb24()
667 div = ry * 2 + 1; in stack_blur_rgb24()
670 stack.allocate(div); in stack_blur_rgb24()
730 stack_start = stack_ptr + div - ry; in stack_blur_rgb24()
731 if(stack_start >= div) stack_start -= div; in stack_blur_rgb24()
756 if(stack_ptr >= div) stack_ptr = 0; in stack_blur_rgb24()
812 unsigned div; in stack_blur_rgba32() local
821 div = rx * 2 + 1; in stack_blur_rgba32()
824 stack.allocate(div); in stack_blur_rgba32()
894 stack_start = stack_ptr + div - rx; in stack_blur_rgba32()
895 if(stack_start >= div) stack_start -= div; in stack_blur_rgba32()
924 if(stack_ptr >= div) stack_ptr = 0; in stack_blur_rgba32()
942 div = ry * 2 + 1; in stack_blur_rgba32()
945 stack.allocate(div); in stack_blur_rgba32()
1016 stack_start = stack_ptr + div - ry; in stack_blur_rgba32()
1017 if(stack_start >= div) stack_start -= div; in stack_blur_rgba32()
1046 if(stack_ptr >= div) stack_ptr = 0; in stack_blur_rgba32()