Lines Matching refs:tpg

26 	struct tpg_data tpg;  member
114 tpg_reset_source(&vsensor->tpg, vsensor->mbus_format.width, in vimc_sensor_tpg_s_format()
116 tpg_s_bytesperline(&vsensor->tpg, 0, vsensor->mbus_format.width * vpix->bpp); in vimc_sensor_tpg_s_format()
117 tpg_s_buf_height(&vsensor->tpg, vsensor->mbus_format.height); in vimc_sensor_tpg_s_format()
118 tpg_s_fourcc(&vsensor->tpg, vpix->pixelformat); in vimc_sensor_tpg_s_format()
120 tpg_s_field(&vsensor->tpg, vsensor->mbus_format.field, false); in vimc_sensor_tpg_s_format()
121 tpg_s_colorspace(&vsensor->tpg, vsensor->mbus_format.colorspace); in vimc_sensor_tpg_s_format()
122 tpg_s_ycbcr_enc(&vsensor->tpg, vsensor->mbus_format.ycbcr_enc); in vimc_sensor_tpg_s_format()
123 tpg_s_quantization(&vsensor->tpg, vsensor->mbus_format.quantization); in vimc_sensor_tpg_s_format()
124 tpg_s_xfer_func(&vsensor->tpg, vsensor->mbus_format.xfer_func); in vimc_sensor_tpg_s_format()
204 tpg_fill_plane_buffer(&vsensor->tpg, 0, 0, vsensor->frame); in vimc_sensor_process_frame()
205 tpg_calc_text_basep(&vsensor->tpg, basep, 0, vsensor->frame); in vimc_sensor_process_frame()
208 const char *order = tpg_g_color_order(&vsensor->tpg); in vimc_sensor_process_frame()
210 tpg_gen_text(&vsensor->tpg, basep, line++ * line_height, in vimc_sensor_process_frame()
214 vsensor->tpg.brightness, in vimc_sensor_process_frame()
215 vsensor->tpg.contrast, in vimc_sensor_process_frame()
216 vsensor->tpg.saturation, in vimc_sensor_process_frame()
217 vsensor->tpg.hue); in vimc_sensor_process_frame()
218 tpg_gen_text(&vsensor->tpg, basep, line++ * line_height, 16, str); in vimc_sensor_process_frame()
222 tpg_gen_text(&vsensor->tpg, basep, line++ * line_height, 16, str); in vimc_sensor_process_frame()
234 tpg_gen_text(&vsensor->tpg, basep, line++ * line_height, 16, str); in vimc_sensor_process_frame()
304 tpg_s_pattern(&vsensor->tpg, ctrl->val); in vimc_sensor_s_ctrl()
307 tpg_s_hflip(&vsensor->tpg, ctrl->val); in vimc_sensor_s_ctrl()
310 tpg_s_vflip(&vsensor->tpg, ctrl->val); in vimc_sensor_s_ctrl()
313 tpg_s_brightness(&vsensor->tpg, ctrl->val); in vimc_sensor_s_ctrl()
316 tpg_s_contrast(&vsensor->tpg, ctrl->val); in vimc_sensor_s_ctrl()
319 tpg_s_hue(&vsensor->tpg, ctrl->val); in vimc_sensor_s_ctrl()
322 tpg_s_saturation(&vsensor->tpg, ctrl->val); in vimc_sensor_s_ctrl()
343 tpg_free(&vsensor->tpg); in vimc_sensor_release()
417 tpg_init(&vsensor->tpg, vsensor->mbus_format.width, in vimc_sensor_add()
419 ret = tpg_alloc(&vsensor->tpg, VIMC_FRAME_MAX_WIDTH); in vimc_sensor_add()
441 tpg_free(&vsensor->tpg); in vimc_sensor_add()