63 const int left_offset = (it.x == 0) ? 0 : -image->elem_stride;
64 const int right_offset = (it.x == last_x) ? 0 : image->elem_stride;
65 const int down_offset = (it.y == 0) ? 0 : -image->row_stride;
66 const int up_offset = (it.y == last_y) ? 0 : image->row_stride;
81 const float factor_ = 1.0f - factor;
82 it.out[0] = it.out[0] * factor + center_color[0] * factor_;
83 it.out[1] = it.out[1] * factor + center_color[1] * factor_;
84 it.out[2] = it.out[2] * factor + center_color[2] * factor_;
85 it.out[3] = it.out[3] * factor + center_color[3] * factor_;