Home
last modified time | relevance | path

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

/linux/drivers/media/test-drivers/vimc/
H A Dvimc-scaler.c146 struct vimc_scaler_device *vscaler = v4l2_get_subdevdata(sd); in vimc_scaler_set_fmt() local
150 if (format->which == V4L2_SUBDEV_FORMAT_ACTIVE && vscaler->src_frame) in vimc_scaler_set_fmt()
245 struct vimc_scaler_device *vscaler = v4l2_get_subdevdata(sd); in vimc_scaler_set_selection() local
253 if (sel->which == V4L2_SUBDEV_FORMAT_ACTIVE && vscaler->src_frame) in vimc_scaler_set_selection()
275 struct vimc_scaler_device *vscaler = v4l2_get_subdevdata(sd); in vimc_scaler_s_stream() local
283 if (vscaler->src_frame) in vimc_scaler_s_stream()
290 vscaler->hw.sink_fmt = *format; in vimc_scaler_s_stream()
291 vscaler->hw.bpp = vimc_pix_map_by_code(format->code)->bpp; in vimc_scaler_s_stream()
295 vscaler->hw.src_fmt = *format; in vimc_scaler_s_stream()
296 frame_size = format->width * format->height * vscaler->hw.bpp; in vimc_scaler_s_stream()
[all …]