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()
154 void tpg_free(struct tpg_data *tpg) in tpg_free()
179 bool tpg_s_fourcc(struct tpg_data *tpg, u32 fourcc) in tpg_s_fourcc()
475 void tpg_s_crop_compose(struct tpg_data *tpg, const struct v4l2_rect *crop, in tpg_s_crop_compose()
491 void tpg_reset_source(struct tpg_data *tpg, unsigned width, unsigned height, in tpg_reset_source()
516 static enum tpg_color tpg_get_textbg_color(struct tpg_data *tpg) in tpg_get_textbg_color()
528 static enum tpg_color tpg_get_textfg_color(struct tpg_data *tpg) in tpg_get_textfg_color()
553 static void color_to_hsv(struct tpg_data *tpg, int r, int g, int b, in color_to_hsv()
626 static void color_to_ycbcr(struct tpg_data *tpg, int r, int g, int b, in color_to_ycbcr()
740 static void ycbcr_to_color(struct tpg_data *tpg, int y, int cb, int cr, in ycbcr_to_color()
851 static void precalculate_color(struct tpg_data *tpg, int k) in precalculate_color()
1092 static void tpg_precalculate_colors(struct tpg_data *tpg) in tpg_precalculate_colors()
1101 static void gen_twopix(struct tpg_data *tpg, in gen_twopix()
1513 unsigned tpg_g_interleaved_plane(const struct tpg_data *tpg, unsigned buf_line) in tpg_g_interleaved_plane()
1540 static unsigned tpg_get_pat_lines(const struct tpg_data *tpg) in tpg_get_pat_lines()
1562 static unsigned tpg_get_pat_line(const struct tpg_data *tpg, unsigned line) in tpg_get_pat_line()
1592 static enum tpg_color tpg_get_color(const struct tpg_data *tpg, in tpg_get_color()
1678 static void tpg_calculate_square_border(struct tpg_data *tpg) in tpg_calculate_square_border()
1758 static void tpg_precalculate_line(struct tpg_data *tpg) in tpg_precalculate_line()
1934 static noinline void tpg_print_str_2(const struct tpg_data *tpg, u8 *basep[TPG_MAX_PLANES][2], in tpg_print_str_2()
1941 static noinline void tpg_print_str_4(const struct tpg_data *tpg, u8 *basep[TPG_MAX_PLANES][2], in tpg_print_str_4()
1948 static noinline void tpg_print_str_6(const struct tpg_data *tpg, u8 *basep[TPG_MAX_PLANES][2], in tpg_print_str_6()
1955 static noinline void tpg_print_str_8(const struct tpg_data *tpg, u8 *basep[TPG_MAX_PLANES][2], in tpg_print_str_8()
1962 void tpg_gen_text(const struct tpg_data *tpg, u8 *basep[TPG_MAX_PLANES][2], in tpg_gen_text()
2017 const char *tpg_g_color_order(const struct tpg_data *tpg) in tpg_g_color_order()
2041 void tpg_update_mv_step(struct tpg_data *tpg) in tpg_update_mv_step()
2091 static unsigned tpg_calc_frameline(const struct tpg_data *tpg, unsigned src_y, in tpg_calc_frameline()
2108 static unsigned tpg_calc_buffer_line(const struct tpg_data *tpg, unsigned y, in tpg_calc_buffer_line()
2126 static void tpg_recalc(struct tpg_data *tpg) in tpg_recalc()
2162 void tpg_calc_text_basep(struct tpg_data *tpg, in tpg_calc_text_basep()
2182 static int tpg_pattern_avg(const struct tpg_data *tpg, in tpg_pattern_avg()
2211 void tpg_log_status(struct tpg_data *tpg) in tpg_log_status()
2263 static void tpg_fill_params_pattern(const struct tpg_data *tpg, unsigned p, in tpg_fill_params_pattern()
2276 static void tpg_fill_params_extras(const struct tpg_data *tpg, in tpg_fill_params_extras()
2314 static void tpg_fill_plane_extras(const struct tpg_data *tpg, in tpg_fill_plane_extras()
2451 static void tpg_fill_plane_pattern(const struct tpg_data *tpg, in tpg_fill_plane_pattern()
2594 void tpg_fill_plane_buffer(struct tpg_data *tpg, v4l2_std_id std, in tpg_fill_plane_buffer()
2678 void tpg_fillbuffer(struct tpg_data *tpg, v4l2_std_id std, unsigned p, u8 *vbuf) in tpg_fillbuffer()