Lines Matching refs:tpg_data

96 struct tpg_data {  struct
190 void tpg_init(struct tpg_data *tpg, unsigned w, unsigned h); argument
191 int tpg_alloc(struct tpg_data *tpg, unsigned max_w);
192 void tpg_free(struct tpg_data *tpg);
193 void tpg_reset_source(struct tpg_data *tpg, unsigned width, unsigned height,
197 void tpg_gen_text(const struct tpg_data *tpg,
199 void tpg_calc_text_basep(struct tpg_data *tpg,
201 unsigned tpg_g_interleaved_plane(const struct tpg_data *tpg, unsigned buf_line);
202 void tpg_fill_plane_buffer(struct tpg_data *tpg, v4l2_std_id std,
204 void tpg_fillbuffer(struct tpg_data *tpg, v4l2_std_id std,
206 bool tpg_s_fourcc(struct tpg_data *tpg, u32 fourcc);
207 void tpg_s_crop_compose(struct tpg_data *tpg, const struct v4l2_rect *crop,
210 static inline void tpg_s_pattern(struct tpg_data *tpg, enum tpg_pattern pattern) in tpg_s_pattern()
218 static inline void tpg_s_quality(struct tpg_data *tpg, in tpg_s_quality()
228 static inline enum tpg_quality tpg_g_quality(const struct tpg_data *tpg) in tpg_g_quality()
233 static inline void tpg_s_alpha_component(struct tpg_data *tpg, in tpg_s_alpha_component()
242 static inline void tpg_s_alpha_mode(struct tpg_data *tpg, in tpg_s_alpha_mode()
251 static inline void tpg_s_brightness(struct tpg_data *tpg, in tpg_s_brightness()
260 static inline void tpg_s_contrast(struct tpg_data *tpg, in tpg_s_contrast()
269 static inline void tpg_s_saturation(struct tpg_data *tpg, in tpg_s_saturation()
278 static inline void tpg_s_hue(struct tpg_data *tpg, in tpg_s_hue()
287 static inline void tpg_s_rgb_range(struct tpg_data *tpg, in tpg_s_rgb_range()
296 static inline void tpg_s_real_rgb_range(struct tpg_data *tpg, in tpg_s_real_rgb_range()
305 static inline void tpg_s_colorspace(struct tpg_data *tpg, u32 colorspace) in tpg_s_colorspace()
313 static inline u32 tpg_g_colorspace(const struct tpg_data *tpg) in tpg_g_colorspace()
318 static inline void tpg_s_ycbcr_enc(struct tpg_data *tpg, u32 ycbcr_enc) in tpg_s_ycbcr_enc()
326 static inline u32 tpg_g_ycbcr_enc(const struct tpg_data *tpg) in tpg_g_ycbcr_enc()
331 static inline void tpg_s_quantization(struct tpg_data *tpg, u32 quantization) in tpg_s_quantization()
339 static inline u32 tpg_g_quantization(const struct tpg_data *tpg) in tpg_g_quantization()
344 static inline unsigned tpg_g_buffers(const struct tpg_data *tpg) in tpg_g_buffers()
349 static inline unsigned tpg_g_planes(const struct tpg_data *tpg) in tpg_g_planes()
354 static inline bool tpg_g_interleaved(const struct tpg_data *tpg) in tpg_g_interleaved()
359 static inline unsigned tpg_g_twopixelsize(const struct tpg_data *tpg, unsigned plane) in tpg_g_twopixelsize()
364 static inline unsigned tpg_hdiv(const struct tpg_data *tpg, in tpg_hdiv()
371 static inline unsigned tpg_hscale(const struct tpg_data *tpg, unsigned x) in tpg_hscale()
376 static inline unsigned tpg_hscale_div(const struct tpg_data *tpg, in tpg_hscale_div()
382 static inline unsigned tpg_g_bytesperline(const struct tpg_data *tpg, unsigned plane) in tpg_g_bytesperline()
387 static inline void tpg_s_bytesperline(struct tpg_data *tpg, unsigned plane, unsigned bpl) in tpg_s_bytesperline()
404 static inline unsigned tpg_g_line_width(const struct tpg_data *tpg, unsigned plane) in tpg_g_line_width()
419 static inline unsigned tpg_calc_line_width(const struct tpg_data *tpg, in tpg_calc_line_width()
436 static inline unsigned tpg_calc_plane_size(const struct tpg_data *tpg, unsigned plane) in tpg_calc_plane_size()
445 static inline void tpg_s_buf_height(struct tpg_data *tpg, unsigned h) in tpg_s_buf_height()
450 static inline void tpg_s_field(struct tpg_data *tpg, unsigned field, bool alternate) in tpg_s_field()
456 static inline void tpg_s_perc_fill(struct tpg_data *tpg, in tpg_s_perc_fill()
462 static inline unsigned tpg_g_perc_fill(const struct tpg_data *tpg) in tpg_g_perc_fill()
467 static inline void tpg_s_perc_fill_blank(struct tpg_data *tpg, in tpg_s_perc_fill_blank()
473 static inline void tpg_s_video_aspect(struct tpg_data *tpg, in tpg_s_video_aspect()
482 static inline enum tpg_video_aspect tpg_g_video_aspect(const struct tpg_data *tpg) in tpg_g_video_aspect()
487 static inline void tpg_s_pixel_aspect(struct tpg_data *tpg, in tpg_s_pixel_aspect()
496 static inline void tpg_s_show_border(struct tpg_data *tpg, in tpg_s_show_border()
502 static inline void tpg_s_show_square(struct tpg_data *tpg, in tpg_s_show_square()
508 static inline void tpg_s_insert_sav(struct tpg_data *tpg, bool insert_sav) in tpg_s_insert_sav()
513 static inline void tpg_s_insert_eav(struct tpg_data *tpg, bool insert_eav) in tpg_s_insert_eav()
518 void tpg_update_mv_step(struct tpg_data *tpg);
520 static inline void tpg_s_mv_hor_mode(struct tpg_data *tpg, in tpg_s_mv_hor_mode()
527 static inline void tpg_s_mv_vert_mode(struct tpg_data *tpg, in tpg_s_mv_vert_mode()
534 static inline void tpg_init_mv_count(struct tpg_data *tpg) in tpg_init_mv_count()
539 static inline void tpg_update_mv_count(struct tpg_data *tpg, bool frame_is_field) in tpg_update_mv_count()
545 static inline void tpg_s_hflip(struct tpg_data *tpg, bool hflip) in tpg_s_hflip()
554 static inline bool tpg_g_hflip(const struct tpg_data *tpg) in tpg_g_hflip()
559 static inline void tpg_s_vflip(struct tpg_data *tpg, bool vflip) in tpg_s_vflip()
564 static inline bool tpg_g_vflip(const struct tpg_data *tpg) in tpg_g_vflip()
569 static inline bool tpg_pattern_is_static(const struct tpg_data *tpg) in tpg_pattern_is_static()