Lines Matching defs:tpg
89 void tpg_init(struct tpg_data *tpg, unsigned w, unsigned h) in tpg_init()
112 int tpg_alloc(struct tpg_data *tpg, unsigned max_w) in tpg_alloc()
186 void tpg_free(struct tpg_data *tpg) in tpg_free()
211 bool tpg_s_fourcc(struct tpg_data *tpg, u32 fourcc) in tpg_s_fourcc()
507 void tpg_s_crop_compose(struct tpg_data *tpg, const struct v4l2_rect *crop, in tpg_s_crop_compose()
523 void tpg_reset_source(struct tpg_data *tpg, unsigned width, unsigned height, in tpg_reset_source()
548 static enum tpg_color tpg_get_textbg_color(struct tpg_data *tpg) in tpg_get_textbg_color()
560 static enum tpg_color tpg_get_textfg_color(struct tpg_data *tpg) in tpg_get_textfg_color()
585 static void color_to_hsv(struct tpg_data *tpg, int r, int g, int b, in color_to_hsv()
658 static void color_to_ycbcr(struct tpg_data *tpg, int r, int g, int b, in color_to_ycbcr()
772 static void ycbcr_to_color(struct tpg_data *tpg, int y, int cb, int cr, in ycbcr_to_color()
883 static void precalculate_color(struct tpg_data *tpg, int k) in precalculate_color()
1124 static void tpg_precalculate_colors(struct tpg_data *tpg) in tpg_precalculate_colors()
1133 static void gen_twopix(struct tpg_data *tpg, in gen_twopix()
1545 unsigned tpg_g_interleaved_plane(const struct tpg_data *tpg, unsigned buf_line) in tpg_g_interleaved_plane()
1572 static unsigned tpg_get_pat_lines(const struct tpg_data *tpg) in tpg_get_pat_lines()
1594 static unsigned tpg_get_pat_line(const struct tpg_data *tpg, unsigned line) in tpg_get_pat_line()
1624 static enum tpg_color tpg_get_color(const struct tpg_data *tpg, in tpg_get_color()
1710 static void tpg_calculate_square_border(struct tpg_data *tpg) in tpg_calculate_square_border()
1790 static void tpg_precalculate_line(struct tpg_data *tpg) in tpg_precalculate_line()
1969 static noinline void tpg_print_str_2(const struct tpg_data *tpg, u8 *basep[TPG_MAX_PLANES][2], in tpg_print_str_2()
1976 static noinline void tpg_print_str_4(const struct tpg_data *tpg, u8 *basep[TPG_MAX_PLANES][2], in tpg_print_str_4()
1983 static noinline void tpg_print_str_6(const struct tpg_data *tpg, u8 *basep[TPG_MAX_PLANES][2], in tpg_print_str_6()
1990 static noinline void tpg_print_str_8(const struct tpg_data *tpg, u8 *basep[TPG_MAX_PLANES][2], in tpg_print_str_8()
1997 void tpg_gen_text(const struct tpg_data *tpg, u8 *basep[TPG_MAX_PLANES][2], in tpg_gen_text()
2052 const char *tpg_g_color_order(const struct tpg_data *tpg) in tpg_g_color_order()
2076 void tpg_update_mv_step(struct tpg_data *tpg) in tpg_update_mv_step()
2126 static unsigned tpg_calc_frameline(const struct tpg_data *tpg, unsigned src_y, in tpg_calc_frameline()
2143 static unsigned tpg_calc_buffer_line(const struct tpg_data *tpg, unsigned y, in tpg_calc_buffer_line()
2161 static void tpg_recalc(struct tpg_data *tpg) in tpg_recalc()
2197 void tpg_calc_text_basep(struct tpg_data *tpg, in tpg_calc_text_basep()
2217 static int tpg_pattern_avg(const struct tpg_data *tpg, in tpg_pattern_avg()
2246 void tpg_log_status(struct tpg_data *tpg) in tpg_log_status()
2298 static void tpg_fill_params_pattern(const struct tpg_data *tpg, unsigned p, in tpg_fill_params_pattern()
2311 static void tpg_fill_params_extras(const struct tpg_data *tpg, in tpg_fill_params_extras()
2349 static void tpg_fill_plane_extras(const struct tpg_data *tpg, in tpg_fill_plane_extras()
2486 static void tpg_fill_plane_pattern(const struct tpg_data *tpg, in tpg_fill_plane_pattern()
2629 void tpg_fill_plane_buffer(struct tpg_data *tpg, v4l2_std_id std, in tpg_fill_plane_buffer()
2713 void tpg_fillbuffer(struct tpg_data *tpg, v4l2_std_id std, unsigned p, u8 *vbuf) in tpg_fillbuffer()