Lines Matching refs:tpg

13 #include <media/tpg/v4l2-tpg.h>
26 struct tpg_data tpg;
114 tpg_reset_source(&vsen->tpg, vsen->mbus_format.width,
116 tpg_s_bytesperline(&vsen->tpg, 0, vsen->mbus_format.width * vpix->bpp);
117 tpg_s_buf_height(&vsen->tpg, vsen->mbus_format.height);
118 tpg_s_fourcc(&vsen->tpg, vpix->pixelformat);
120 tpg_s_field(&vsen->tpg, vsen->mbus_format.field, false);
121 tpg_s_colorspace(&vsen->tpg, vsen->mbus_format.colorspace);
122 tpg_s_ycbcr_enc(&vsen->tpg, vsen->mbus_format.ycbcr_enc);
123 tpg_s_quantization(&vsen->tpg, vsen->mbus_format.quantization);
124 tpg_s_xfer_func(&vsen->tpg, vsen->mbus_format.xfer_func);
203 tpg_fill_plane_buffer(&vsen->tpg, 0, 0, vsen->frame);
204 tpg_calc_text_basep(&vsen->tpg, basep, 0, vsen->frame);
207 const char *order = tpg_g_color_order(&vsen->tpg);
209 tpg_gen_text(&vsen->tpg, basep, line++ * line_height,
213 vsen->tpg.brightness,
214 vsen->tpg.contrast,
215 vsen->tpg.saturation,
216 vsen->tpg.hue);
217 tpg_gen_text(&vsen->tpg, basep, line++ * line_height, 16, str);
221 tpg_gen_text(&vsen->tpg, basep, line++ * line_height, 16, str);
233 tpg_gen_text(&vsen->tpg, basep, line++ * line_height, 16, str);
303 tpg_s_pattern(&vsen->tpg, ctrl->val);
306 tpg_s_hflip(&vsen->tpg, ctrl->val);
309 tpg_s_vflip(&vsen->tpg, ctrl->val);
312 tpg_s_brightness(&vsen->tpg, ctrl->val);
315 tpg_s_contrast(&vsen->tpg, ctrl->val);
318 tpg_s_hue(&vsen->tpg, ctrl->val);
321 tpg_s_saturation(&vsen->tpg, ctrl->val);
342 tpg_free(&vsen->tpg);
416 tpg_init(&vsen->tpg, vsen->mbus_format.width,
418 ret = tpg_alloc(&vsen->tpg, VIMC_FRAME_MAX_WIDTH);
440 tpg_free(&vsen->tpg);