Lines Matching refs:src_bayer0

175 static void BayerRowBG(const uint8* src_bayer0, int src_stride_bayer,  in BayerRowBG()  argument
177 const uint8* src_bayer1 = src_bayer0 + src_stride_bayer; in BayerRowBG()
178 uint8 g = src_bayer0[1]; in BayerRowBG()
181 dst_argb[0] = src_bayer0[0]; in BayerRowBG()
182 dst_argb[1] = AVG(g, src_bayer0[1]); in BayerRowBG()
185 dst_argb[4] = AVG(src_bayer0[0], src_bayer0[2]); in BayerRowBG()
186 dst_argb[5] = src_bayer0[1]; in BayerRowBG()
189 g = src_bayer0[1]; in BayerRowBG()
191 src_bayer0 += 2; in BayerRowBG()
195 dst_argb[0] = src_bayer0[0]; in BayerRowBG()
196 dst_argb[1] = AVG(g, src_bayer0[1]); in BayerRowBG()
200 dst_argb[4] = src_bayer0[0]; in BayerRowBG()
201 dst_argb[5] = src_bayer0[1]; in BayerRowBG()
207 static void BayerRowRG(const uint8* src_bayer0, int src_stride_bayer, in BayerRowRG() argument
209 const uint8* src_bayer1 = src_bayer0 + src_stride_bayer; in BayerRowRG()
210 uint8 g = src_bayer0[1]; in BayerRowRG()
214 dst_argb[1] = AVG(g, src_bayer0[1]); in BayerRowRG()
215 dst_argb[2] = src_bayer0[0]; in BayerRowRG()
218 dst_argb[5] = src_bayer0[1]; in BayerRowRG()
219 dst_argb[6] = AVG(src_bayer0[0], src_bayer0[2]); in BayerRowRG()
221 g = src_bayer0[1]; in BayerRowRG()
223 src_bayer0 += 2; in BayerRowRG()
228 dst_argb[1] = AVG(g, src_bayer0[1]); in BayerRowRG()
229 dst_argb[2] = src_bayer0[0]; in BayerRowRG()
233 dst_argb[5] = src_bayer0[1]; in BayerRowRG()
234 dst_argb[6] = src_bayer0[0]; in BayerRowRG()
239 static void BayerRowGB(const uint8* src_bayer0, int src_stride_bayer, in BayerRowGB() argument
241 const uint8* src_bayer1 = src_bayer0 + src_stride_bayer; in BayerRowGB()
242 uint8 b = src_bayer0[1]; in BayerRowGB()
244 dst_argb[0] = AVG(b, src_bayer0[1]); in BayerRowGB()
245 dst_argb[1] = src_bayer0[0]; in BayerRowGB()
248 dst_argb[4] = src_bayer0[1]; in BayerRowGB()
249 dst_argb[5] = AVG(src_bayer0[0], src_bayer0[2]); in BayerRowGB()
252 b = src_bayer0[1]; in BayerRowGB()
253 src_bayer0 += 2; in BayerRowGB()
257 dst_argb[0] = AVG(b, src_bayer0[1]); in BayerRowGB()
258 dst_argb[1] = src_bayer0[0]; in BayerRowGB()
262 dst_argb[4] = src_bayer0[1]; in BayerRowGB()
263 dst_argb[5] = src_bayer0[0]; in BayerRowGB()
269 static void BayerRowGR(const uint8* src_bayer0, int src_stride_bayer, in BayerRowGR() argument
271 const uint8* src_bayer1 = src_bayer0 + src_stride_bayer; in BayerRowGR()
272 uint8 r = src_bayer0[1]; in BayerRowGR()
275 dst_argb[1] = src_bayer0[0]; in BayerRowGR()
276 dst_argb[2] = AVG(r, src_bayer0[1]); in BayerRowGR()
279 dst_argb[5] = AVG(src_bayer0[0], src_bayer0[2]); in BayerRowGR()
280 dst_argb[6] = src_bayer0[1]; in BayerRowGR()
282 r = src_bayer0[1]; in BayerRowGR()
283 src_bayer0 += 2; in BayerRowGR()
288 dst_argb[1] = src_bayer0[0]; in BayerRowGR()
289 dst_argb[2] = AVG(r, src_bayer0[1]); in BayerRowGR()
293 dst_argb[5] = src_bayer0[0]; in BayerRowGR()
294 dst_argb[6] = src_bayer0[1]; in BayerRowGR()