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