Searched refs:informat (Results 1 - 4 of 4) sorted by relevance

/linux-4.1.27/drivers/staging/media/davinci_vpfe/
H A Ddm365_ipipeif.c106 struct v4l2_mbus_framefmt *informat; ipipeif_get_cfg_src1() local
108 informat = &ipipeif->formats[IPIPEIF_PAD_SINK]; ipipeif_get_cfg_src1()
110 (informat->code == MEDIA_BUS_FMT_Y8_1X8 || ipipeif_get_cfg_src1()
111 informat->code == MEDIA_BUS_FMT_UV8_1X8)) ipipeif_get_cfg_src1()
120 struct v4l2_mbus_framefmt *informat; ipipeif_get_data_shift() local
122 informat = &ipipeif->formats[IPIPEIF_PAD_SINK]; ipipeif_get_data_shift()
124 switch (informat->code) { ipipeif_get_data_shift()
140 struct v4l2_mbus_framefmt *informat; ipipeif_get_source() local
142 informat = &ipipeif->formats[IPIPEIF_PAD_SINK]; ipipeif_get_source()
146 if (informat->code == MEDIA_BUS_FMT_UYVY8_2X8) ipipeif_get_source()
190 struct v4l2_mbus_framefmt *informat, *outformat; ipipeif_hw_setup() local
206 informat = &ipipeif->formats[IPIPEIF_PAD_SINK]; ipipeif_hw_setup()
224 pack_mode = ipipeif_get_pack_mode(informat->code); ipipeif_hw_setup()
251 ipipeif_write(informat->width, ipipeif_base_addr, IPIPEIF_HNUM); ipipeif_hw_setup()
252 ipipeif_write(informat->height, ipipeif_hw_setup()
269 isif_port_if = informat->code; ipipeif_hw_setup()
H A Ddm365_resizer.c226 struct v4l2_mbus_framefmt *informat, *outformat; resizer_calculate_resize_ratios() local
228 informat = &resizer->crop_resizer.formats[RESIZER_CROP_PAD_SINK]; resizer_calculate_resize_ratios()
237 ((informat->height) * 256) / (outformat->height); resizer_calculate_resize_ratios()
240 ((informat->height >> 1) * 256) / (outformat->height); resizer_calculate_resize_ratios()
242 ((informat->width) * 256) / (outformat->width); resizer_calculate_resize_ratios()
424 struct v4l2_mbus_framefmt *informat; resizer_configure_common_in_params() local
426 informat = &resizer->crop_resizer.formats[RESIZER_CROP_PAD_SINK]; resizer_configure_common_in_params()
432 param->rsz_common.hsz = (((informat->width - 1) * resizer_configure_common_in_params()
435 param->rsz_common.hsz = informat->width - 1; resizer_configure_common_in_params()
437 if (informat->field == V4L2_FIELD_INTERLACED) resizer_configure_common_in_params()
438 param->rsz_common.vsz = (informat->height - 1) >> 1; resizer_configure_common_in_params()
440 param->rsz_common.vsz = informat->height - 1; resizer_configure_common_in_params()
449 switch (informat->code) { resizer_configure_common_in_params()
672 struct v4l2_mbus_framefmt *informat; resizer_configure_in_single_shot_mode() local
679 informat = &resizer->crop_resizer.formats[RESIZER_CROP_PAD_SINK]; resizer_configure_in_single_shot_mode()
692 param->user_config.frame_div_mode_en, informat->width); resizer_configure_in_single_shot_mode()
696 ret = resizer_validate_input_image_format(dev, informat->code, resizer_configure_in_single_shot_mode()
697 informat->width, informat->height, &line_len); resizer_configure_in_single_shot_mode()
748 if (informat->code == MEDIA_BUS_FMT_UV8_1X8) { resizer_configure_in_single_shot_mode()
750 (((informat->height + 1) * 2) * 256) / resizer_configure_in_single_shot_mode()
759 if (informat->code == MEDIA_BUS_FMT_UV8_1X8) { resizer_configure_in_single_shot_mode()
761 (((informat->height + 1) * 2) * 256) / resizer_configure_in_single_shot_mode()
769 informat->width, resizer_configure_in_single_shot_mode()
774 informat->width, resizer_configure_in_single_shot_mode()
784 informat->width, resizer_configure_in_single_shot_mode()
789 informat->width, resizer_configure_in_single_shot_mode()
/linux-4.1.27/drivers/staging/media/omap4iss/
H A Diss_resizer.c141 struct v4l2_mbus_framefmt *informat, *outformat; resizer_set_outaddr() local
143 informat = &resizer->formats[RESIZER_PAD_SINK]; resizer_set_outaddr()
159 if ((informat->code == MEDIA_BUS_FMT_UYVY8_1X16) && resizer_set_outaddr()
188 struct v4l2_mbus_framefmt *informat, *outformat; resizer_configure() local
190 informat = &resizer->formats[RESIZER_PAD_SINK]; resizer_configure()
221 informat->height - 2); resizer_configure()
223 informat->width - 1); resizer_configure()
245 if ((informat->code == MEDIA_BUS_FMT_UYVY8_1X16) && resizer_configure()
/linux-4.1.27/drivers/media/platform/omap3isp/
H A Dispresizer.c961 struct v4l2_mbus_framefmt *informat, *outformat; resizer_configure() local
966 informat = &res->formats[RESZ_PAD_SINK]; resizer_configure()
973 resizer_set_input_offset(res, ALIGN(informat->width, 0x10) * 2); resizer_configure()
977 resizer_set_ycpos(res, informat->code); resizer_configure()
985 resizer_set_crop_params(res, informat, outformat); resizer_configure()
1063 struct v4l2_mbus_framefmt *informat, *outformat; omap3isp_resizer_isr() local
1074 informat = __resizer_get_format(res, NULL, RESZ_PAD_SINK, omap3isp_resizer_isr()
1076 resizer_set_crop_params(res, informat, outformat); omap3isp_resizer_isr()

Completed in 140 milliseconds