Home
last modified time | relevance | path

Searched refs:shr_sum (Results 1 – 2 of 2) sorted by relevance

/haiku/src/apps/mediaplayer/support/
H A DStackBlurFilter.cpp183 unsigned shr_sum; in _Filter32() local
192 shr_sum = stack_blur_tables<int>::g_stack_blur8_shr[rx]; in _Filter32()
250 dst_pix_ptr[2] = (sum_r * mul_sum) >> shr_sum; in _Filter32()
251 dst_pix_ptr[1] = (sum_g * mul_sum) >> shr_sum; in _Filter32()
252 dst_pix_ptr[0] = (sum_b * mul_sum) >> shr_sum; in _Filter32()
253 dst_pix_ptr[3] = (sum_a * mul_sum) >> shr_sum; in _Filter32()
311 shr_sum = stack_blur_tables<int>::g_stack_blur8_shr[ry]; in _Filter32()
370 dst_pix_ptr[2] = (sum_r * mul_sum) >> shr_sum; in _Filter32()
371 dst_pix_ptr[1] = (sum_g * mul_sum) >> shr_sum; in _Filter32()
372 dst_pix_ptr[0] = (sum_b * mul_sum) >> shr_sum; in _Filter32()
[all …]
/haiku/headers/libs/agg/
H A Dagg_blur.h117 unsigned shr_sum = 0; in blur_x() local
123 shr_sum = stack_blur_tables<int>::g_stack_blur8_shr[radius]; in blur_x()
153 if(mul_sum) sum.calc_pix(m_buf[x], mul_sum, shr_sum); in blur_x()
376 unsigned shr_sum; in stack_blur_gray8() local
385 shr_sum = stack_blur_tables<int>::g_stack_blur8_shr[rx]; in stack_blur_gray8()
416 *dst_pix_ptr = (sum * mul_sum) >> shr_sum; in stack_blur_gray8()
452 shr_sum = stack_blur_tables<int>::g_stack_blur8_shr[ry]; in stack_blur_gray8()
484 *dst_pix_ptr = (sum * mul_sum) >> shr_sum; in stack_blur_gray8()
556 unsigned shr_sum; in stack_blur_rgb24() local
565 shr_sum = stack_blur_tables<int>::g_stack_blur8_shr[rx]; in stack_blur_rgb24()
[all …]