Lines Matching defs:tpg
20 #include <media/tpg/v4l2-tpg.h>
22 static void *plane_vaddr(struct tpg_data *tpg, struct vb2_buffer *buf,
28 if (p == 0 || tpg_g_buffers(tpg) > 1)
32 vbuf += bpl[i] * h / tpg->vdownsampling[i];
231 for (p = 0; p < tpg_g_planes(&ctx->tpg); p++) {
232 void *vbuf = plane_vaddr(&ctx->tpg,
234 ctx->tpg.bytesperline,
235 ctx->tpg.buf_height);
237 tpg_calc_text_basep(&ctx->tpg, basep, p, vbuf);
238 tpg_fill_plane_buffer(&ctx->tpg, 0, p, vbuf);
242 tpg_gen_text(&ctx->tpg, basep, line++ * line_height, 16, buf);
250 tpg_gen_text(&ctx->tpg, basep, line++ * line_height, 16, line_str);
268 tpg_gen_text(&ctx->tpg, basep, line++ * line_height, 16, buf);
279 tpg_gen_text(&ctx->tpg, basep, line++ * line_height, 16, buf);
286 tpg_gen_text(&ctx->tpg, basep, line++ * line_height, 16, buf);
303 tpg_gen_text(&ctx->tpg, basep, line++ * line_height, 16, &buf[old_len]);
321 tpg_gen_text(&ctx->tpg, basep, line++ * line_height, 16, buf);
332 tpg_gen_text(&ctx->tpg, basep, line++ * line_height, 16, buf);
339 tpg_gen_text(&ctx->tpg, basep, line++ * line_height, 16, buf);
353 tpg_gen_text(&ctx->tpg, basep, line++ * line_height, 16, &buf[old_len]);