Searched refs:vpix (Results 1 – 7 of 7) sorted by relevance
210 const struct dcmipp_inp_pix_map *vpix = in dcmipp_inp_enum_mbus_code() local213 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() local231 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() local250 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 …]
134 const struct dcmipp_byteproc_pix_map *vpix; in dcmipp_byteproc_adjust_compose() local148 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() local175 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() local227 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 …]
202 const struct dcmipp_bytecap_pix_map *vpix; in dcmipp_bytecap_try_fmt_vid_cap() local206 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() local282 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 …]
87 const struct vimc_pix_map *vpix; in vimc_capture_try_fmt_vid_cap() local95 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() local157 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 …]
103 const struct vimc_pix_map *vpix; in vimc_scaler_enum_mbus_code() local108 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() local129 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() local163 vpix = vimc_pix_map_by_code(format->format.code); in vimc_scaler_set_fmt()164 if (vpix && !vpix->bayer) in vimc_scaler_set_fmt()
80 const struct vimc_pix_map *vpix; in vimc_sensor_enum_frame_size() local86 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() local105 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() local121 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 …]
205 const struct vimc_debayer_pix_map *vpix = in vimc_debayer_enum_frame_size() local208 if (!vpix) in vimc_debayer_enum_frame_size()224 const struct vimc_debayer_pix_map *vpix; in vimc_debayer_adjust_sink_fmt() local227 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() local302 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() local335 vpix = vimc_pix_map_by_code(src_fmt->code); in vimc_debayer_s_stream()[all …]