Home
last modified time | relevance | path

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

/linux-6.15/drivers/media/platform/st/stm32/stm32-dcmipp/
H A Ddcmipp-input.c203 if (!vpix) in dcmipp_inp_enum_mbus_code()
206 code->code = IS_SRC(code->pad) ? vpix->code_src : vpix->code_sink; in dcmipp_inp_enum_mbus_code()
215 const struct dcmipp_inp_pix_map *vpix; in dcmipp_inp_enum_frame_size() local
223 if (!vpix) in dcmipp_inp_enum_frame_size()
237 const struct dcmipp_inp_pix_map *vpix; in dcmipp_inp_adjust_fmt() local
242 if (!vpix) in dcmipp_inp_adjust_fmt()
246 if (vpix && vpix->code_sink == MEDIA_BUS_FMT_JPEG_1X8 && in dcmipp_inp_adjust_fmt()
341 if (!vpix) { in dcmipp_inp_configure_parallel()
349 if (vpix->prcr_swapcycles) in dcmipp_inp_configure_parallel()
375 if (!vpix) { in dcmipp_inp_configure_csi()
[all …]
H A Ddcmipp-byteproc.c160 const struct dcmipp_byteproc_pix_map *vpix; in dcmipp_byteproc_adjust_fmt() local
163 vpix = dcmipp_byteproc_pix_map_by_code(fmt->code); in dcmipp_byteproc_adjust_fmt()
164 if (!vpix) in dcmipp_byteproc_adjust_fmt()
209 const struct dcmipp_byteproc_pix_map *vpix; in dcmipp_byteproc_enum_mbus_code() local
215 vpix = &dcmipp_byteproc_pix_map_list[code->index]; in dcmipp_byteproc_enum_mbus_code()
216 code->code = vpix->code; in dcmipp_byteproc_enum_mbus_code()
404 const struct dcmipp_byteproc_pix_map *vpix; in dcmipp_byteproc_configure_scale_crop() local
416 if (!vpix) in dcmipp_byteproc_configure_scale_crop()
426 if (vpix->code == MEDIA_BUS_FMT_JPEG_1X8) in dcmipp_byteproc_configure_scale_crop()
455 (((crop->left * vpix->bpp) / 4) << in dcmipp_byteproc_configure_scale_crop()
[all …]
H A Ddcmipp-bytecap.c199 const struct dcmipp_bytecap_pix_map *vpix; in dcmipp_bytecap_try_fmt_vid_cap() local
203 vpix = dcmipp_bytecap_pix_map_by_pixelformat(format->pixelformat); in dcmipp_bytecap_try_fmt_vid_cap()
204 if (!vpix) in dcmipp_bytecap_try_fmt_vid_cap()
269 const struct dcmipp_bytecap_pix_map *vpix; in dcmipp_bytecap_enum_fmt_vid_cap() local
279 vpix = &dcmipp_bytecap_pix_map_list[i]; in dcmipp_bytecap_enum_fmt_vid_cap()
281 if (f->mbus_code && vpix->code != f->mbus_code) in dcmipp_bytecap_enum_fmt_vid_cap()
285 if (vpix->pixelformat == prev_pixelformat) in dcmipp_bytecap_enum_fmt_vid_cap()
288 prev_pixelformat = vpix->pixelformat; in dcmipp_bytecap_enum_fmt_vid_cap()
299 f->pixelformat = vpix->pixelformat; in dcmipp_bytecap_enum_fmt_vid_cap()
307 const struct dcmipp_bytecap_pix_map *vpix; in dcmipp_bytecap_enum_framesizes() local
[all …]
/linux-6.15/drivers/media/test-drivers/vimc/
H A Dvimc-capture.c89 const struct vimc_pix_map *vpix; in vimc_capture_try_fmt_vid_cap() local
98 if (!vpix) { 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()
175 const struct vimc_pix_map *vpix; in vimc_capture_enum_framesizes() local
182 if (!vpix) in vimc_capture_enum_framesizes()
[all …]
H A Dvimc-scaler.c103 const struct vimc_pix_map *vpix; in vimc_scaler_enum_mbus_code() local
108 vpix = vimc_pix_map_by_code(mbus_code); in vimc_scaler_enum_mbus_code()
111 if (!vpix || vpix->bayer) in vimc_scaler_enum_mbus_code()
123 const struct vimc_pix_map *vpix; in vimc_scaler_enum_frame_size() local
129 vpix = vimc_pix_map_by_code(fse->code); in vimc_scaler_enum_frame_size()
130 if (!vpix || vpix->bayer) in vimc_scaler_enum_frame_size()
160 const struct vimc_pix_map *vpix; in vimc_scaler_set_fmt() local
163 vpix = vimc_pix_map_by_code(format->format.code); in vimc_scaler_set_fmt()
164 if (vpix && !vpix->bayer) in vimc_scaler_set_fmt()
H A Dvimc-sensor.c80 const struct vimc_pix_map *vpix; in vimc_sensor_enum_frame_size() local
86 vpix = vimc_pix_map_by_code(fse->code); in vimc_sensor_enum_frame_size()
87 if (!vpix) in vimc_sensor_enum_frame_size()
105 tpg_s_bytesperline(&vsensor->tpg, 0, format->width * vpix->bpp); in vimc_sensor_tpg_s_format()
107 tpg_s_fourcc(&vsensor->tpg, vpix->pixelformat); in vimc_sensor_tpg_s_format()
118 const struct vimc_pix_map *vpix; in vimc_sensor_adjust_fmt() local
121 vpix = vimc_pix_map_by_code(fmt->code); in vimc_sensor_adjust_fmt()
122 if (!vpix) in vimc_sensor_adjust_fmt()
236 const struct vimc_pix_map *vpix; in vimc_sensor_s_stream() local
246 vpix = vimc_pix_map_by_code(format->code); in vimc_sensor_s_stream()
[all …]
H A Dvimc-debayer.c205 const struct vimc_debayer_pix_map *vpix = in vimc_debayer_enum_frame_size() local
208 if (!vpix) in vimc_debayer_enum_frame_size()
224 const struct vimc_debayer_pix_map *vpix; in vimc_debayer_adjust_sink_fmt() local
227 vpix = vimc_debayer_pix_map_by_code(fmt->code); in vimc_debayer_adjust_sink_fmt()
228 if (!vpix) in vimc_debayer_adjust_sink_fmt()
299 const struct vimc_pix_map *vpix; in vimc_debayer_process_rgb_frame() local
305 switch (vpix->pixelformat) { in vimc_debayer_process_rgb_frame()
324 const struct vimc_pix_map *vpix; in vimc_debayer_s_stream() local
335 vpix = vimc_pix_map_by_code(src_fmt->code); in vimc_debayer_s_stream()
339 vpix = vimc_pix_map_by_code(sink_fmt->code); in vimc_debayer_s_stream()
[all …]