Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/media/test-drivers/vimc/
Dvimc-capture.c88 const struct vimc_pix_map *vpix; in vimc_cap_try_fmt_vid_cap() local
96 vpix = vimc_pix_map_by_pixelformat(format->pixelformat); in vimc_cap_try_fmt_vid_cap()
97 if (!vpix) { in vimc_cap_try_fmt_vid_cap()
99 vpix = vimc_pix_map_by_pixelformat(format->pixelformat); in vimc_cap_try_fmt_vid_cap()
102 format->bytesperline = format->width * vpix->bpp; in vimc_cap_try_fmt_vid_cap()
152 const struct vimc_pix_map *vpix; in vimc_cap_enum_fmt_vid_cap() local
158 vpix = vimc_pix_map_by_code(f->mbus_code); in vimc_cap_enum_fmt_vid_cap()
160 vpix = vimc_pix_map_by_index(f->index); in vimc_cap_enum_fmt_vid_cap()
163 if (!vpix) in vimc_cap_enum_fmt_vid_cap()
166 f->pixelformat = vpix->pixelformat; in vimc_cap_enum_fmt_vid_cap()
[all …]
Dvimc-scaler.c114 const struct vimc_pix_map *vpix; in vimc_sca_enum_mbus_code() local
119 vpix = vimc_pix_map_by_code(mbus_code); in vimc_sca_enum_mbus_code()
122 if (!vpix || vpix->bayer) in vimc_sca_enum_mbus_code()
134 const struct vimc_pix_map *vpix; in vimc_sca_enum_frame_size() local
140 vpix = vimc_pix_map_by_code(fse->code); in vimc_sca_enum_frame_size()
141 if (!vpix || vpix->bayer) in vimc_sca_enum_frame_size()
185 const struct vimc_pix_map *vpix; in vimc_sca_adjust_sink_fmt() local
188 vpix = vimc_pix_map_by_code(fmt->code); in vimc_sca_adjust_sink_fmt()
189 if (!vpix || vpix->bayer) in vimc_sca_adjust_sink_fmt()
340 const struct vimc_pix_map *vpix; in vimc_sca_s_stream() local
[all …]
Dvimc-sensor.c77 const struct vimc_pix_map *vpix; in vimc_sen_enum_frame_size() local
83 vpix = vimc_pix_map_by_code(fse->code); in vimc_sen_enum_frame_size()
84 if (!vpix) in vimc_sen_enum_frame_size()
111 const struct vimc_pix_map *vpix = in vimc_sen_tpg_s_format() local
116 tpg_s_bytesperline(&vsen->tpg, 0, vsen->mbus_format.width * vpix->bpp); in vimc_sen_tpg_s_format()
118 tpg_s_fourcc(&vsen->tpg, vpix->pixelformat); in vimc_sen_tpg_s_format()
129 const struct vimc_pix_map *vpix; in vimc_sen_adjust_fmt() local
132 vpix = vimc_pix_map_by_code(fmt->code); in vimc_sen_adjust_fmt()
133 if (!vpix) in vimc_sen_adjust_fmt()
250 const struct vimc_pix_map *vpix; in vimc_sen_s_stream() local
[all …]
Dvimc-debayer.c198 const struct vimc_deb_pix_map *vpix = in vimc_deb_enum_frame_size() local
201 if (!vpix) in vimc_deb_enum_frame_size()
235 const struct vimc_deb_pix_map *vpix; in vimc_deb_adjust_sink_fmt() local
238 vpix = vimc_deb_pix_map_by_code(fmt->code); in vimc_deb_adjust_sink_fmt()
239 if (!vpix) in vimc_deb_adjust_sink_fmt()
321 const struct vimc_pix_map *vpix; in vimc_deb_process_rgb_frame() local
324 vpix = vimc_pix_map_by_code(vdeb->src_code); in vimc_deb_process_rgb_frame()
327 switch (vpix->pixelformat) { in vimc_deb_process_rgb_frame()
343 const struct vimc_pix_map *vpix; in vimc_deb_s_stream() local
350 vpix = vimc_pix_map_by_code(vdeb->src_code); in vimc_deb_s_stream()
[all …]