Home
last modified time | relevance | path

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

/linux/drivers/media/platform/st/stm32/stm32-dcmipp/
H A Ddcmipp-input.c210 const struct dcmipp_inp_pix_map *vpix = in dcmipp_inp_enum_mbus_code() local
213 if (!vpix) in dcmipp_inp_enum_mbus_code()
216 code->code = IS_SRC(code->pad) ? vpix->code_src : vpix->code_sink; in dcmipp_inp_enum_mbus_code()
225 const struct dcmipp_inp_pix_map *vpix; in dcmipp_inp_enum_frame_size() local
231 vpix = dcmipp_inp_pix_map_by_code(IS_SINK(fse->pad) ? fse->code : 0, in dcmipp_inp_enum_frame_size()
233 if (!vpix) in dcmipp_inp_enum_frame_size()
247 const struct dcmipp_inp_pix_map *vpix; in dcmipp_inp_adjust_fmt() local
250 vpix = dcmipp_inp_pix_map_by_code(IS_SINK(pad) ? fmt->code : 0, in dcmipp_inp_adjust_fmt()
252 if (!vpix) in dcmipp_inp_adjust_fmt()
256 if (vpix && vpix->code_sink == MEDIA_BUS_FMT_JPEG_1X8 && in dcmipp_inp_adjust_fmt()
[all …]
H A Ddcmipp-byteproc.c134 const struct dcmipp_byteproc_pix_map *vpix; in dcmipp_byteproc_adjust_compose() local
148 vpix = dcmipp_byteproc_pix_map_by_code(fmt->code); in dcmipp_byteproc_adjust_compose()
149 if (vpix->bpp != 1 && vpix->bpp != 2) { in dcmipp_byteproc_adjust_compose()
162 if (vpix->bpp == 1 && r->width <= (fmt->width / 4)) in dcmipp_byteproc_adjust_compose()
172 const struct dcmipp_byteproc_pix_map *vpix; in dcmipp_byteproc_adjust_fmt() local
175 vpix = dcmipp_byteproc_pix_map_by_code(fmt->code); in dcmipp_byteproc_adjust_fmt()
176 if (!vpix) in dcmipp_byteproc_adjust_fmt()
221 const struct dcmipp_byteproc_pix_map *vpix; in dcmipp_byteproc_enum_mbus_code() local
227 vpix = &dcmipp_byteproc_pix_map_list[code->index]; in dcmipp_byteproc_enum_mbus_code()
228 code->code = vpix->code; in dcmipp_byteproc_enum_mbus_code()
[all …]
H A Ddcmipp-bytecap.c202 const struct dcmipp_bytecap_pix_map *vpix; in dcmipp_bytecap_try_fmt_vid_cap() local
206 vpix = dcmipp_bytecap_pix_map_by_pixelformat(format->pixelformat); in dcmipp_bytecap_try_fmt_vid_cap()
207 if (!vpix) in dcmipp_bytecap_try_fmt_vid_cap()
272 const struct dcmipp_bytecap_pix_map *vpix; in dcmipp_bytecap_enum_fmt_vid_cap() local
282 vpix = &dcmipp_bytecap_pix_map_list[i]; in dcmipp_bytecap_enum_fmt_vid_cap()
284 if (f->mbus_code && vpix->code != f->mbus_code) in dcmipp_bytecap_enum_fmt_vid_cap()
288 if (vpix->pixelformat == prev_pixelformat) in dcmipp_bytecap_enum_fmt_vid_cap()
291 prev_pixelformat = vpix->pixelformat; in dcmipp_bytecap_enum_fmt_vid_cap()
302 f->pixelformat = vpix->pixelformat; in dcmipp_bytecap_enum_fmt_vid_cap()
310 const struct dcmipp_bytecap_pix_map *vpix; in dcmipp_bytecap_enum_framesizes() local
[all …]
/linux/drivers/media/test-drivers/vimc/
H A Dvimc-capture.c87 const struct vimc_pix_map *vpix; in vimc_capture_try_fmt_vid_cap() local
95 vpix = vimc_pix_map_by_pixelformat(format->pixelformat); in vimc_capture_try_fmt_vid_cap()
96 if (!vpix) { in vimc_capture_try_fmt_vid_cap()
98 vpix = vimc_pix_map_by_pixelformat(format->pixelformat); in vimc_capture_try_fmt_vid_cap()
101 format->bytesperline = format->width * vpix->bpp; in vimc_capture_try_fmt_vid_cap()
151 const struct vimc_pix_map *vpix; in vimc_capture_enum_fmt_vid_cap() local
157 vpix = vimc_pix_map_by_code(f->mbus_code); in vimc_capture_enum_fmt_vid_cap()
159 vpix = vimc_pix_map_by_index(f->index); in vimc_capture_enum_fmt_vid_cap()
162 if (!vpix) in vimc_capture_enum_fmt_vid_cap()
165 f->pixelformat = vpix->pixelformat; in vimc_capture_enum_fmt_vid_cap()
[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()
101 const struct vimc_pix_map *vpix = vimc_pix_map_by_code(format->code); in vimc_sensor_tpg_s_format() local
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
[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
302 vpix = vimc_pix_map_by_code(vdebayer->hw.src_code); in vimc_debayer_process_rgb_frame()
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()
[all …]