Searched refs:vdebayer (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/media/test-drivers/vimc/ |
H A D | vimc-debayer.c | 40 void (*set_rgb_src)(struct vimc_debayer_device *vdebayer, 246 struct vimc_debayer_device *vdebayer = v4l2_get_subdevdata(sd); in vimc_debayer_set_fmt() local 250 if (fmt->which == V4L2_SUBDEV_FORMAT_ACTIVE && vdebayer->src_frame) in vimc_debayer_set_fmt() 265 dev_dbg(vdebayer->ved.dev, "%s: sink format update: " in vimc_debayer_set_fmt() 267 "new:%dx%d (0x%x, %d, %d, %d, %d)\n", vdebayer->sd.name, in vimc_debayer_set_fmt() 294 static void vimc_debayer_process_rgb_frame(struct vimc_debayer_device *vdebayer, in vimc_debayer_process_rgb_frame() argument 302 vpix = vimc_pix_map_by_code(vdebayer->hw.src_code); in vimc_debayer_process_rgb_frame() 303 index = VIMC_FRAME_INDEX(lin, col, vdebayer->hw.size.width, 3); in vimc_debayer_process_rgb_frame() 307 vdebayer->src_frame[index + i] = rgb[i]; in vimc_debayer_process_rgb_frame() 310 vdebayer->src_frame[index + i] = rgb[2 - i]; in vimc_debayer_process_rgb_frame() [all …]
|