Lines Matching defs:tpg
94 void tpg_init(struct tpg_data *tpg, unsigned w, unsigned h) in tpg_init()
115 int tpg_alloc(struct tpg_data *tpg, unsigned max_w) in tpg_alloc()
146 void tpg_free(struct tpg_data *tpg) in tpg_free()
166 bool tpg_s_fourcc(struct tpg_data *tpg, u32 fourcc) in tpg_s_fourcc()
236 void tpg_s_crop_compose(struct tpg_data *tpg, const struct v4l2_rect *crop, in tpg_s_crop_compose()
251 void tpg_reset_source(struct tpg_data *tpg, unsigned width, unsigned height, in tpg_reset_source()
274 static enum tpg_color tpg_get_textbg_color(struct tpg_data *tpg) in tpg_get_textbg_color()
286 static enum tpg_color tpg_get_textfg_color(struct tpg_data *tpg) in tpg_get_textfg_color()
299 static u16 color_to_y(struct tpg_data *tpg, int r, int g, int b) in color_to_y()
315 static u16 color_to_cb(struct tpg_data *tpg, int r, int g, int b) in color_to_cb()
331 static u16 color_to_cr(struct tpg_data *tpg, int r, int g, int b) in color_to_cr()
347 static u16 ycbcr_to_r(struct tpg_data *tpg, int y, int cb, int cr) in ycbcr_to_r()
372 static u16 ycbcr_to_g(struct tpg_data *tpg, int y, int cb, int cr) in ycbcr_to_g()
397 static u16 ycbcr_to_b(struct tpg_data *tpg, int y, int cb, int cr) in ycbcr_to_b()
423 static void precalculate_color(struct tpg_data *tpg, int k) in precalculate_color()
566 static void tpg_precalculate_colors(struct tpg_data *tpg) in tpg_precalculate_colors()
575 static void gen_twopix(struct tpg_data *tpg, in gen_twopix()
672 static unsigned tpg_get_pat_lines(struct tpg_data *tpg) in tpg_get_pat_lines()
691 static unsigned tpg_get_pat_line(struct tpg_data *tpg, unsigned line) in tpg_get_pat_line()
717 static enum tpg_color tpg_get_color(struct tpg_data *tpg, unsigned pat_line, unsigned x) in tpg_get_color()
793 static void tpg_calculate_square_border(struct tpg_data *tpg) in tpg_calculate_square_border()
873 static void tpg_precalculate_line(struct tpg_data *tpg) in tpg_precalculate_line()
980 void tpg_gen_text(struct tpg_data *tpg, u8 *basep[TPG_MAX_PLANES][2], in tpg_gen_text()
1066 void tpg_update_mv_step(struct tpg_data *tpg) in tpg_update_mv_step()
1115 static unsigned tpg_calc_frameline(struct tpg_data *tpg, unsigned src_y, in tpg_calc_frameline()
1132 static unsigned tpg_calc_buffer_line(struct tpg_data *tpg, unsigned y, in tpg_calc_buffer_line()
1150 static void tpg_recalc(struct tpg_data *tpg) in tpg_recalc()
1167 void tpg_calc_text_basep(struct tpg_data *tpg, in tpg_calc_text_basep()
1182 void tpg_fillbuffer(struct tpg_data *tpg, v4l2_std_id std, unsigned p, u8 *vbuf) in tpg_fillbuffer()