Lines Matching defs:tpg_data

133 struct tpg_data {
236 void tpg_init(struct tpg_data *tpg, unsigned w, unsigned h);
237 int tpg_alloc(struct tpg_data *tpg, unsigned max_w);
238 void tpg_free(struct tpg_data *tpg);
239 void tpg_reset_source(struct tpg_data *tpg, unsigned width, unsigned height,
241 void tpg_log_status(struct tpg_data *tpg);
244 void tpg_gen_text(const struct tpg_data *tpg,
246 void tpg_calc_text_basep(struct tpg_data *tpg,
248 unsigned tpg_g_interleaved_plane(const struct tpg_data *tpg, unsigned buf_line);
249 void tpg_fill_plane_buffer(struct tpg_data *tpg, v4l2_std_id std,
251 void tpg_fillbuffer(struct tpg_data *tpg, v4l2_std_id std,
253 bool tpg_s_fourcc(struct tpg_data *tpg, u32 fourcc);
254 void tpg_s_crop_compose(struct tpg_data *tpg, const struct v4l2_rect *crop,
256 const char *tpg_g_color_order(const struct tpg_data *tpg);
258 static inline void tpg_s_pattern(struct tpg_data *tpg, enum tpg_pattern pattern)
266 static inline void tpg_s_quality(struct tpg_data *tpg,
276 static inline enum tpg_quality tpg_g_quality(const struct tpg_data *tpg)
281 static inline void tpg_s_alpha_component(struct tpg_data *tpg,
290 static inline void tpg_s_alpha_mode(struct tpg_data *tpg,
299 static inline void tpg_s_brightness(struct tpg_data *tpg,
308 static inline void tpg_s_contrast(struct tpg_data *tpg,
317 static inline void tpg_s_saturation(struct tpg_data *tpg,
326 static inline void tpg_s_hue(struct tpg_data *tpg,
336 static inline void tpg_s_rgb_range(struct tpg_data *tpg,
345 static inline void tpg_s_real_rgb_range(struct tpg_data *tpg,
354 static inline void tpg_s_colorspace(struct tpg_data *tpg, u32 colorspace)
362 static inline u32 tpg_g_colorspace(const struct tpg_data *tpg)
367 static inline void tpg_s_ycbcr_enc(struct tpg_data *tpg, u32 ycbcr_enc)
375 static inline u32 tpg_g_ycbcr_enc(const struct tpg_data *tpg)
380 static inline void tpg_s_hsv_enc(struct tpg_data *tpg, u32 hsv_enc)
388 static inline u32 tpg_g_hsv_enc(const struct tpg_data *tpg)
393 static inline void tpg_s_xfer_func(struct tpg_data *tpg, u32 xfer_func)
401 static inline u32 tpg_g_xfer_func(const struct tpg_data *tpg)
406 static inline void tpg_s_quantization(struct tpg_data *tpg, u32 quantization)
414 static inline u32 tpg_g_quantization(const struct tpg_data *tpg)
419 static inline unsigned tpg_g_buffers(const struct tpg_data *tpg)
424 static inline unsigned tpg_g_planes(const struct tpg_data *tpg)
429 static inline bool tpg_g_interleaved(const struct tpg_data *tpg)
434 static inline unsigned tpg_g_twopixelsize(const struct tpg_data *tpg, unsigned plane)
439 static inline unsigned tpg_hdiv(const struct tpg_data *tpg,
446 static inline unsigned tpg_hscale(const struct tpg_data *tpg, unsigned x)
451 static inline unsigned tpg_hscale_div(const struct tpg_data *tpg,
457 static inline unsigned tpg_g_bytesperline(const struct tpg_data *tpg, unsigned plane)
462 static inline void tpg_s_bytesperline(struct tpg_data *tpg, unsigned plane, unsigned bpl)
481 static inline unsigned tpg_g_line_width(const struct tpg_data *tpg, unsigned plane)
496 static inline unsigned tpg_calc_line_width(const struct tpg_data *tpg,
513 static inline unsigned tpg_calc_plane_size(const struct tpg_data *tpg, unsigned plane)
522 static inline void tpg_s_buf_height(struct tpg_data *tpg, unsigned h)
527 static inline void tpg_s_field(struct tpg_data *tpg, unsigned field, bool alternate)
533 static inline void tpg_s_perc_fill(struct tpg_data *tpg,
539 static inline unsigned tpg_g_perc_fill(const struct tpg_data *tpg)
544 static inline void tpg_s_perc_fill_blank(struct tpg_data *tpg,
550 static inline void tpg_s_video_aspect(struct tpg_data *tpg,
559 static inline enum tpg_video_aspect tpg_g_video_aspect(const struct tpg_data *tpg)
564 static inline void tpg_s_pixel_aspect(struct tpg_data *tpg,
573 static inline void tpg_s_show_border(struct tpg_data *tpg,
579 static inline void tpg_s_show_square(struct tpg_data *tpg,
585 static inline void tpg_s_insert_sav(struct tpg_data *tpg, bool insert_sav)
590 static inline void tpg_s_insert_eav(struct tpg_data *tpg, bool insert_eav)
604 static inline void tpg_s_insert_hdmi_video_guard_band(struct tpg_data *tpg,
610 void tpg_update_mv_step(struct tpg_data *tpg);
612 static inline void tpg_s_mv_hor_mode(struct tpg_data *tpg,
619 static inline void tpg_s_mv_vert_mode(struct tpg_data *tpg,
626 static inline void tpg_init_mv_count(struct tpg_data *tpg)
631 static inline void tpg_update_mv_count(struct tpg_data *tpg, bool frame_is_field)
637 static inline void tpg_s_hflip(struct tpg_data *tpg, bool hflip)
646 static inline bool tpg_g_hflip(const struct tpg_data *tpg)
651 static inline void tpg_s_vflip(struct tpg_data *tpg, bool vflip)
656 static inline bool tpg_g_vflip(const struct tpg_data *tpg)
661 static inline bool tpg_pattern_is_static(const struct tpg_data *tpg)