Home | History | Annotate | Download | only in source

Lines Matching refs:AVG

173 #define AVG(a, b) (((a) + (b)) >> 1)
182 dst_argb[1] = AVG(g, src_bayer0[1]);
183 dst_argb[2] = AVG(r, src_bayer1[1]);
185 dst_argb[4] = AVG(src_bayer0[0], src_bayer0[2]);
196 dst_argb[1] = AVG(g, src_bayer0[1]);
197 dst_argb[2] = AVG(r, src_bayer1[1]);
213 dst_argb[0] = AVG(b, src_bayer1[1]);
214 dst_argb[1] = AVG(g, src_bayer0[1]);
219 dst_argb[6] = AVG(src_bayer0[0], src_bayer0[2]);
227 dst_argb[0] = AVG(b, src_bayer1[1]);
228 dst_argb[1] = AVG(g, src_bayer0[1]);
244 dst_argb[0] = AVG(b, src_bayer0[1]);
249 dst_argb[5] = AVG(src_bayer0[0], src_bayer0[2]);
250 dst_argb[6] = AVG(src_bayer1[0], src_bayer1[2]);
257 dst_argb[0] = AVG(b, src_bayer0[1]);
276 dst_argb[2] = AVG(r, src_bayer0[1]);
278 dst_argb[4] = AVG(src_bayer1[0], src_bayer1[2]);
279 dst_argb[5] = AVG(src_bayer0[0], src_bayer0[2]);
289 dst_argb[2] = AVG(r, src_bayer0[1]);