Lines Matching defs:tpg_data

133 struct tpg_data {
235 void tpg_init(struct tpg_data *tpg, unsigned w, unsigned h);
236 int tpg_alloc(struct tpg_data *tpg, unsigned max_w);
237 void tpg_free(struct tpg_data *tpg);
238 void tpg_reset_source(struct tpg_data *tpg, unsigned width, unsigned height,
240 void tpg_log_status(struct tpg_data *tpg);
243 void tpg_gen_text(const struct tpg_data *tpg,
245 void tpg_calc_text_basep(struct tpg_data *tpg,
247 unsigned tpg_g_interleaved_plane(const struct tpg_data *tpg, unsigned buf_line);
248 void tpg_fill_plane_buffer(struct tpg_data *tpg, v4l2_std_id std,
250 void tpg_fillbuffer(struct tpg_data *tpg, v4l2_std_id std,
252 bool tpg_s_fourcc(struct tpg_data *tpg, u32 fourcc);
253 void tpg_s_crop_compose(struct tpg_data *tpg, const struct v4l2_rect *crop,
255 const char *tpg_g_color_order(const struct tpg_data *tpg);
257 static inline void tpg_s_pattern(struct tpg_data *tpg, enum tpg_pattern pattern)
265 static inline void tpg_s_quality(struct tpg_data *tpg,
275 static inline enum tpg_quality tpg_g_quality(const struct tpg_data *tpg)
280 static inline void tpg_s_alpha_component(struct tpg_data *tpg,
289 static inline void tpg_s_alpha_mode(struct tpg_data *tpg,
298 static inline void tpg_s_brightness(struct tpg_data *tpg,
307 static inline void tpg_s_contrast(struct tpg_data *tpg,
316 static inline void tpg_s_saturation(struct tpg_data *tpg,
325 static inline void tpg_s_hue(struct tpg_data *tpg,
335 static inline void tpg_s_rgb_range(struct tpg_data *tpg,
344 static inline void tpg_s_real_rgb_range(struct tpg_data *tpg,
353 static inline void tpg_s_colorspace(struct tpg_data *tpg, u32 colorspace)
361 static inline u32 tpg_g_colorspace(const struct tpg_data *tpg)
366 static inline void tpg_s_ycbcr_enc(struct tpg_data *tpg, u32 ycbcr_enc)
374 static inline u32 tpg_g_ycbcr_enc(const struct tpg_data *tpg)
379 static inline void tpg_s_hsv_enc(struct tpg_data *tpg, u32 hsv_enc)
387 static inline u32 tpg_g_hsv_enc(const struct tpg_data *tpg)
392 static inline void tpg_s_xfer_func(struct tpg_data *tpg, u32 xfer_func)
400 static inline u32 tpg_g_xfer_func(const struct tpg_data *tpg)
405 static inline void tpg_s_quantization(struct tpg_data *tpg, u32 quantization)
413 static inline u32 tpg_g_quantization(const struct tpg_data *tpg)
418 static inline unsigned tpg_g_buffers(const struct tpg_data *tpg)
423 static inline unsigned tpg_g_planes(const struct tpg_data *tpg)
428 static inline bool tpg_g_interleaved(const struct tpg_data *tpg)
433 static inline unsigned tpg_g_twopixelsize(const struct tpg_data *tpg, unsigned plane)
438 static inline unsigned tpg_hdiv(const struct tpg_data *tpg,
445 static inline unsigned tpg_hscale(const struct tpg_data *tpg, unsigned x)
450 static inline unsigned tpg_hscale_div(const struct tpg_data *tpg,
456 static inline unsigned tpg_g_bytesperline(const struct tpg_data *tpg, unsigned plane)
461 static inline void tpg_s_bytesperline(struct tpg_data *tpg, unsigned plane, unsigned bpl)
480 static inline unsigned tpg_g_line_width(const struct tpg_data *tpg, unsigned plane)
495 static inline unsigned tpg_calc_line_width(const struct tpg_data *tpg,
512 static inline unsigned tpg_calc_plane_size(const struct tpg_data *tpg, unsigned plane)
521 static inline void tpg_s_buf_height(struct tpg_data *tpg, unsigned h)
526 static inline void tpg_s_field(struct tpg_data *tpg, unsigned field, bool alternate)
532 static inline void tpg_s_perc_fill(struct tpg_data *tpg,
538 static inline unsigned tpg_g_perc_fill(const struct tpg_data *tpg)
543 static inline void tpg_s_perc_fill_blank(struct tpg_data *tpg,
549 static inline void tpg_s_video_aspect(struct tpg_data *tpg,
558 static inline enum tpg_video_aspect tpg_g_video_aspect(const struct tpg_data *tpg)
563 static inline void tpg_s_pixel_aspect(struct tpg_data *tpg,
572 static inline void tpg_s_show_border(struct tpg_data *tpg,
578 static inline void tpg_s_show_square(struct tpg_data *tpg,
584 static inline void tpg_s_insert_sav(struct tpg_data *tpg, bool insert_sav)
589 static inline void tpg_s_insert_eav(struct tpg_data *tpg, bool insert_eav)
594 void tpg_update_mv_step(struct tpg_data *tpg);
596 static inline void tpg_s_mv_hor_mode(struct tpg_data *tpg,
603 static inline void tpg_s_mv_vert_mode(struct tpg_data *tpg,
610 static inline void tpg_init_mv_count(struct tpg_data *tpg)
615 static inline void tpg_update_mv_count(struct tpg_data *tpg, bool frame_is_field)
621 static inline void tpg_s_hflip(struct tpg_data *tpg, bool hflip)
630 static inline bool tpg_g_hflip(const struct tpg_data *tpg)
635 static inline void tpg_s_vflip(struct tpg_data *tpg, bool vflip)
640 static inline bool tpg_g_vflip(const struct tpg_data *tpg)
645 static inline bool tpg_pattern_is_static(const struct tpg_data *tpg)