Lines Matching defs:tpg
21 #include <media/tpg/v4l2-tpg.h>
31 static void *plane_vaddr(struct tpg_data *tpg, struct vb2_buffer *buf,
37 if (p == 0 || tpg_g_buffers(tpg) > 1)
41 vbuf += bpl[i] * h / tpg->vdownsampling[i];
343 for (p = 0; p < tpg_g_planes(&ctx->tpg); p++) {
344 void *vbuf = plane_vaddr(&ctx->tpg,
346 ctx->tpg.bytesperline,
347 ctx->tpg.buf_height);
349 tpg_calc_text_basep(&ctx->tpg, basep, p, vbuf);
350 tpg_fill_plane_buffer(&ctx->tpg, 0, p, vbuf);
354 tpg_gen_text(&ctx->tpg, basep, line++ * line_height, 16, buf);
360 tpg_gen_text(&ctx->tpg, basep, line++ * line_height, 16, buf);
369 tpg_gen_text(&ctx->tpg, basep, line++ * line_height, 16, line_str);
387 tpg_gen_text(&ctx->tpg, basep, line++ * line_height, 16, buf);
398 tpg_gen_text(&ctx->tpg, basep, line++ * line_height, 16, buf);
406 tpg_gen_text(&ctx->tpg, basep, line++ * line_height, 16, buf);
430 tpg_gen_text(&ctx->tpg, basep, line++ * line_height, 16, &buf[old_len]);
449 tpg_gen_text(&ctx->tpg, basep, line++ * line_height, 16, buf);
460 tpg_gen_text(&ctx->tpg, basep, line++ * line_height, 16, buf);
468 tpg_gen_text(&ctx->tpg, basep, line++ * line_height, 16, buf);
489 tpg_gen_text(&ctx->tpg, basep, line++ * line_height, 16, &buf[old_len]);