tpg_data           89 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c void tpg_init(struct tpg_data *tpg, unsigned w, unsigned h)
tpg_data          112 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c int tpg_alloc(struct tpg_data *tpg, unsigned max_w)
tpg_data          154 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c void tpg_free(struct tpg_data *tpg)
tpg_data          179 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c bool tpg_s_fourcc(struct tpg_data *tpg, u32 fourcc)
tpg_data          471 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c void tpg_s_crop_compose(struct tpg_data *tpg, const struct v4l2_rect *crop,
tpg_data          487 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c void tpg_reset_source(struct tpg_data *tpg, unsigned width, unsigned height,
tpg_data          512 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c static enum tpg_color tpg_get_textbg_color(struct tpg_data *tpg)
tpg_data          524 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c static enum tpg_color tpg_get_textfg_color(struct tpg_data *tpg)
tpg_data          549 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c static void color_to_hsv(struct tpg_data *tpg, int r, int g, int b,
tpg_data          622 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c static void color_to_ycbcr(struct tpg_data *tpg, int r, int g, int b,
tpg_data          736 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c static void ycbcr_to_color(struct tpg_data *tpg, int y, int cb, int cr,
tpg_data          847 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c static void precalculate_color(struct tpg_data *tpg, int k)
tpg_data         1088 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c static void tpg_precalculate_colors(struct tpg_data *tpg)
tpg_data         1097 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c static void gen_twopix(struct tpg_data *tpg,
tpg_data         1507 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c unsigned tpg_g_interleaved_plane(const struct tpg_data *tpg, unsigned buf_line)
tpg_data         1534 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c static unsigned tpg_get_pat_lines(const struct tpg_data *tpg)
tpg_data         1556 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c static unsigned tpg_get_pat_line(const struct tpg_data *tpg, unsigned line)
tpg_data         1586 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c static enum tpg_color tpg_get_color(const struct tpg_data *tpg,
tpg_data         1672 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c static void tpg_calculate_square_border(struct tpg_data *tpg)
tpg_data         1752 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c static void tpg_precalculate_line(struct tpg_data *tpg)
tpg_data         1928 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c static noinline void tpg_print_str_2(const struct tpg_data *tpg, u8 *basep[TPG_MAX_PLANES][2],
tpg_data         1935 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c static noinline void tpg_print_str_4(const struct tpg_data *tpg, u8 *basep[TPG_MAX_PLANES][2],
tpg_data         1942 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c static noinline void tpg_print_str_6(const struct tpg_data *tpg, u8 *basep[TPG_MAX_PLANES][2],
tpg_data         1949 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c static noinline void tpg_print_str_8(const struct tpg_data *tpg, u8 *basep[TPG_MAX_PLANES][2],
tpg_data         1956 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c void tpg_gen_text(const struct tpg_data *tpg, u8 *basep[TPG_MAX_PLANES][2],
tpg_data         2009 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c void tpg_update_mv_step(struct tpg_data *tpg)
tpg_data         2059 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c static unsigned tpg_calc_frameline(const struct tpg_data *tpg, unsigned src_y,
tpg_data         2076 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c static unsigned tpg_calc_buffer_line(const struct tpg_data *tpg, unsigned y,
tpg_data         2094 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c static void tpg_recalc(struct tpg_data *tpg)
tpg_data         2130 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c void tpg_calc_text_basep(struct tpg_data *tpg,
tpg_data         2150 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c static int tpg_pattern_avg(const struct tpg_data *tpg,
tpg_data         2179 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c void tpg_log_status(struct tpg_data *tpg)
tpg_data         2231 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c static void tpg_fill_params_pattern(const struct tpg_data *tpg, unsigned p,
tpg_data         2244 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c static void tpg_fill_params_extras(const struct tpg_data *tpg,
tpg_data         2282 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c static void tpg_fill_plane_extras(const struct tpg_data *tpg,
tpg_data         2381 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c static void tpg_fill_plane_pattern(const struct tpg_data *tpg,
tpg_data         2524 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c void tpg_fill_plane_buffer(struct tpg_data *tpg, v4l2_std_id std,
tpg_data         2608 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c void tpg_fillbuffer(struct tpg_data *tpg, v4l2_std_id std, unsigned p, u8 *vbuf)
tpg_data           27 drivers/media/platform/vimc/vimc-sensor.c 	struct tpg_data tpg;
tpg_data          377 drivers/media/platform/vivid/vivid-core.h 	struct tpg_data			tpg;
tpg_data          221 drivers/media/platform/vivid/vivid-kthread-cap.c static void *plane_vaddr(struct tpg_data *tpg, struct vivid_buffer *buf,
tpg_data          239 drivers/media/platform/vivid/vivid-kthread-cap.c 	struct tpg_data *tpg = &dev->tpg;
tpg_data          407 drivers/media/platform/vivid/vivid-kthread-cap.c 	struct tpg_data *tpg = &dev->tpg;
tpg_data          593 drivers/media/platform/vivid/vivid-kthread-cap.c 	struct tpg_data *tpg = &dev->tpg;
tpg_data          235 include/media/tpg/v4l2-tpg.h void tpg_init(struct tpg_data *tpg, unsigned w, unsigned h);
tpg_data          236 include/media/tpg/v4l2-tpg.h int tpg_alloc(struct tpg_data *tpg, unsigned max_w);
tpg_data          237 include/media/tpg/v4l2-tpg.h void tpg_free(struct tpg_data *tpg);
tpg_data          238 include/media/tpg/v4l2-tpg.h void tpg_reset_source(struct tpg_data *tpg, unsigned width, unsigned height,
tpg_data          240 include/media/tpg/v4l2-tpg.h void tpg_log_status(struct tpg_data *tpg);
tpg_data          243 include/media/tpg/v4l2-tpg.h void tpg_gen_text(const struct tpg_data *tpg,
tpg_data          245 include/media/tpg/v4l2-tpg.h void tpg_calc_text_basep(struct tpg_data *tpg,
tpg_data          247 include/media/tpg/v4l2-tpg.h unsigned tpg_g_interleaved_plane(const struct tpg_data *tpg, unsigned buf_line);
tpg_data          248 include/media/tpg/v4l2-tpg.h void tpg_fill_plane_buffer(struct tpg_data *tpg, v4l2_std_id std,
tpg_data          250 include/media/tpg/v4l2-tpg.h void tpg_fillbuffer(struct tpg_data *tpg, v4l2_std_id std,
tpg_data          252 include/media/tpg/v4l2-tpg.h bool tpg_s_fourcc(struct tpg_data *tpg, u32 fourcc);
tpg_data          253 include/media/tpg/v4l2-tpg.h void tpg_s_crop_compose(struct tpg_data *tpg, const struct v4l2_rect *crop,
tpg_data          256 include/media/tpg/v4l2-tpg.h static inline void tpg_s_pattern(struct tpg_data *tpg, enum tpg_pattern pattern)
tpg_data          264 include/media/tpg/v4l2-tpg.h static inline void tpg_s_quality(struct tpg_data *tpg,
tpg_data          274 include/media/tpg/v4l2-tpg.h static inline enum tpg_quality tpg_g_quality(const struct tpg_data *tpg)
tpg_data          279 include/media/tpg/v4l2-tpg.h static inline void tpg_s_alpha_component(struct tpg_data *tpg,
tpg_data          288 include/media/tpg/v4l2-tpg.h static inline void tpg_s_alpha_mode(struct tpg_data *tpg,
tpg_data          297 include/media/tpg/v4l2-tpg.h static inline void tpg_s_brightness(struct tpg_data *tpg,
tpg_data          306 include/media/tpg/v4l2-tpg.h static inline void tpg_s_contrast(struct tpg_data *tpg,
tpg_data          315 include/media/tpg/v4l2-tpg.h static inline void tpg_s_saturation(struct tpg_data *tpg,
tpg_data          324 include/media/tpg/v4l2-tpg.h static inline void tpg_s_hue(struct tpg_data *tpg,
tpg_data          333 include/media/tpg/v4l2-tpg.h static inline void tpg_s_rgb_range(struct tpg_data *tpg,
tpg_data          342 include/media/tpg/v4l2-tpg.h static inline void tpg_s_real_rgb_range(struct tpg_data *tpg,
tpg_data          351 include/media/tpg/v4l2-tpg.h static inline void tpg_s_colorspace(struct tpg_data *tpg, u32 colorspace)
tpg_data          359 include/media/tpg/v4l2-tpg.h static inline u32 tpg_g_colorspace(const struct tpg_data *tpg)
tpg_data          364 include/media/tpg/v4l2-tpg.h static inline void tpg_s_ycbcr_enc(struct tpg_data *tpg, u32 ycbcr_enc)
tpg_data          372 include/media/tpg/v4l2-tpg.h static inline u32 tpg_g_ycbcr_enc(const struct tpg_data *tpg)
tpg_data          377 include/media/tpg/v4l2-tpg.h static inline void tpg_s_hsv_enc(struct tpg_data *tpg, u32 hsv_enc)
tpg_data          385 include/media/tpg/v4l2-tpg.h static inline u32 tpg_g_hsv_enc(const struct tpg_data *tpg)
tpg_data          390 include/media/tpg/v4l2-tpg.h static inline void tpg_s_xfer_func(struct tpg_data *tpg, u32 xfer_func)
tpg_data          398 include/media/tpg/v4l2-tpg.h static inline u32 tpg_g_xfer_func(const struct tpg_data *tpg)
tpg_data          403 include/media/tpg/v4l2-tpg.h static inline void tpg_s_quantization(struct tpg_data *tpg, u32 quantization)
tpg_data          411 include/media/tpg/v4l2-tpg.h static inline u32 tpg_g_quantization(const struct tpg_data *tpg)
tpg_data          416 include/media/tpg/v4l2-tpg.h static inline unsigned tpg_g_buffers(const struct tpg_data *tpg)
tpg_data          421 include/media/tpg/v4l2-tpg.h static inline unsigned tpg_g_planes(const struct tpg_data *tpg)
tpg_data          426 include/media/tpg/v4l2-tpg.h static inline bool tpg_g_interleaved(const struct tpg_data *tpg)
tpg_data          431 include/media/tpg/v4l2-tpg.h static inline unsigned tpg_g_twopixelsize(const struct tpg_data *tpg, unsigned plane)
tpg_data          436 include/media/tpg/v4l2-tpg.h static inline unsigned tpg_hdiv(const struct tpg_data *tpg,
tpg_data          443 include/media/tpg/v4l2-tpg.h static inline unsigned tpg_hscale(const struct tpg_data *tpg, unsigned x)
tpg_data          448 include/media/tpg/v4l2-tpg.h static inline unsigned tpg_hscale_div(const struct tpg_data *tpg,
tpg_data          454 include/media/tpg/v4l2-tpg.h static inline unsigned tpg_g_bytesperline(const struct tpg_data *tpg, unsigned plane)
tpg_data          459 include/media/tpg/v4l2-tpg.h static inline void tpg_s_bytesperline(struct tpg_data *tpg, unsigned plane, unsigned bpl)
tpg_data          478 include/media/tpg/v4l2-tpg.h static inline unsigned tpg_g_line_width(const struct tpg_data *tpg, unsigned plane)
tpg_data          493 include/media/tpg/v4l2-tpg.h static inline unsigned tpg_calc_line_width(const struct tpg_data *tpg,
tpg_data          510 include/media/tpg/v4l2-tpg.h static inline unsigned tpg_calc_plane_size(const struct tpg_data *tpg, unsigned plane)
tpg_data          519 include/media/tpg/v4l2-tpg.h static inline void tpg_s_buf_height(struct tpg_data *tpg, unsigned h)
tpg_data          524 include/media/tpg/v4l2-tpg.h static inline void tpg_s_field(struct tpg_data *tpg, unsigned field, bool alternate)
tpg_data          530 include/media/tpg/v4l2-tpg.h static inline void tpg_s_perc_fill(struct tpg_data *tpg,
tpg_data          536 include/media/tpg/v4l2-tpg.h static inline unsigned tpg_g_perc_fill(const struct tpg_data *tpg)
tpg_data          541 include/media/tpg/v4l2-tpg.h static inline void tpg_s_perc_fill_blank(struct tpg_data *tpg,
tpg_data          547 include/media/tpg/v4l2-tpg.h static inline void tpg_s_video_aspect(struct tpg_data *tpg,
tpg_data          556 include/media/tpg/v4l2-tpg.h static inline enum tpg_video_aspect tpg_g_video_aspect(const struct tpg_data *tpg)
tpg_data          561 include/media/tpg/v4l2-tpg.h static inline void tpg_s_pixel_aspect(struct tpg_data *tpg,
tpg_data          570 include/media/tpg/v4l2-tpg.h static inline void tpg_s_show_border(struct tpg_data *tpg,
tpg_data          576 include/media/tpg/v4l2-tpg.h static inline void tpg_s_show_square(struct tpg_data *tpg,
tpg_data          582 include/media/tpg/v4l2-tpg.h static inline void tpg_s_insert_sav(struct tpg_data *tpg, bool insert_sav)
tpg_data          587 include/media/tpg/v4l2-tpg.h static inline void tpg_s_insert_eav(struct tpg_data *tpg, bool insert_eav)
tpg_data          592 include/media/tpg/v4l2-tpg.h void tpg_update_mv_step(struct tpg_data *tpg);
tpg_data          594 include/media/tpg/v4l2-tpg.h static inline void tpg_s_mv_hor_mode(struct tpg_data *tpg,
tpg_data          601 include/media/tpg/v4l2-tpg.h static inline void tpg_s_mv_vert_mode(struct tpg_data *tpg,
tpg_data          608 include/media/tpg/v4l2-tpg.h static inline void tpg_init_mv_count(struct tpg_data *tpg)
tpg_data          613 include/media/tpg/v4l2-tpg.h static inline void tpg_update_mv_count(struct tpg_data *tpg, bool frame_is_field)
tpg_data          619 include/media/tpg/v4l2-tpg.h static inline void tpg_s_hflip(struct tpg_data *tpg, bool hflip)
tpg_data          628 include/media/tpg/v4l2-tpg.h static inline bool tpg_g_hflip(const struct tpg_data *tpg)
tpg_data          633 include/media/tpg/v4l2-tpg.h static inline void tpg_s_vflip(struct tpg_data *tpg, bool vflip)
tpg_data          638 include/media/tpg/v4l2-tpg.h static inline bool tpg_g_vflip(const struct tpg_data *tpg)
tpg_data          643 include/media/tpg/v4l2-tpg.h static inline bool tpg_pattern_is_static(const struct tpg_data *tpg)