Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/media/test-drivers/vimc/
Dvimc-scaler.c96 const struct vimc_pix_map *vpix; in vimc_scaler_enum_mbus_code() local
101 vpix = vimc_pix_map_by_code(mbus_code); in vimc_scaler_enum_mbus_code()
104 if (!vpix || vpix->bayer) in vimc_scaler_enum_mbus_code()
116 const struct vimc_pix_map *vpix; in vimc_scaler_enum_frame_size() local
122 vpix = vimc_pix_map_by_code(fse->code); in vimc_scaler_enum_frame_size()
123 if (!vpix || vpix->bayer) in vimc_scaler_enum_frame_size()
187 const struct vimc_pix_map *vpix; in vimc_scaler_set_fmt() local
190 vpix = vimc_pix_map_by_code(format->format.code); in vimc_scaler_set_fmt()
191 if (vpix && !vpix->bayer) in vimc_scaler_set_fmt()
310 const struct vimc_pix_map *vpix; in vimc_scaler_s_stream() local
[all …]
Dvimc-capture.c89 const struct vimc_pix_map *vpix; in vimc_capture_try_fmt_vid_cap() local
97 vpix = vimc_pix_map_by_pixelformat(format->pixelformat); in vimc_capture_try_fmt_vid_cap()
98 if (!vpix) { in vimc_capture_try_fmt_vid_cap()
100 vpix = vimc_pix_map_by_pixelformat(format->pixelformat); in vimc_capture_try_fmt_vid_cap()
103 format->bytesperline = format->width * vpix->bpp; in vimc_capture_try_fmt_vid_cap()
153 const struct vimc_pix_map *vpix; in vimc_capture_enum_fmt_vid_cap() local
159 vpix = vimc_pix_map_by_code(f->mbus_code); in vimc_capture_enum_fmt_vid_cap()
161 vpix = vimc_pix_map_by_index(f->index); in vimc_capture_enum_fmt_vid_cap()
164 if (!vpix) in vimc_capture_enum_fmt_vid_cap()
167 f->pixelformat = vpix->pixelformat; in vimc_capture_enum_fmt_vid_cap()
[all …]
Dvimc-sensor.c77 const struct vimc_pix_map *vpix; in vimc_sensor_enum_frame_size() local
83 vpix = vimc_pix_map_by_code(fse->code); in vimc_sensor_enum_frame_size()
84 if (!vpix) in vimc_sensor_enum_frame_size()
111 const struct vimc_pix_map *vpix = in vimc_sensor_tpg_s_format() local
116 tpg_s_bytesperline(&vsensor->tpg, 0, vsensor->mbus_format.width * vpix->bpp); in vimc_sensor_tpg_s_format()
118 tpg_s_fourcc(&vsensor->tpg, vpix->pixelformat); in vimc_sensor_tpg_s_format()
129 const struct vimc_pix_map *vpix; in vimc_sensor_adjust_fmt() local
132 vpix = vimc_pix_map_by_code(fmt->code); in vimc_sensor_adjust_fmt()
133 if (!vpix) in vimc_sensor_adjust_fmt()
251 const struct vimc_pix_map *vpix; in vimc_sensor_s_stream() local
[all …]
Dvimc-debayer.c199 const struct vimc_debayer_pix_map *vpix = in vimc_debayer_enum_frame_size() local
202 if (!vpix) in vimc_debayer_enum_frame_size()
236 const struct vimc_debayer_pix_map *vpix; in vimc_debayer_adjust_sink_fmt() local
239 vpix = vimc_debayer_pix_map_by_code(fmt->code); in vimc_debayer_adjust_sink_fmt()
240 if (!vpix) in vimc_debayer_adjust_sink_fmt()
322 const struct vimc_pix_map *vpix; in vimc_debayer_process_rgb_frame() local
325 vpix = vimc_pix_map_by_code(vdebayer->src_code); in vimc_debayer_process_rgb_frame()
328 switch (vpix->pixelformat) { in vimc_debayer_process_rgb_frame()
344 const struct vimc_pix_map *vpix; in vimc_debayer_s_stream() local
351 vpix = vimc_pix_map_by_code(vdebayer->src_code); in vimc_debayer_s_stream()
[all …]