Lines Matching refs:tpg_data
94 struct tpg_data { struct
165 void tpg_init(struct tpg_data *tpg, unsigned w, unsigned h); argument
166 int tpg_alloc(struct tpg_data *tpg, unsigned max_w);
167 void tpg_free(struct tpg_data *tpg);
168 void tpg_reset_source(struct tpg_data *tpg, unsigned width, unsigned height,
172 void tpg_gen_text(struct tpg_data *tpg,
174 void tpg_calc_text_basep(struct tpg_data *tpg,
176 void tpg_fillbuffer(struct tpg_data *tpg, v4l2_std_id std, unsigned p, u8 *vbuf);
177 bool tpg_s_fourcc(struct tpg_data *tpg, u32 fourcc);
178 void tpg_s_crop_compose(struct tpg_data *tpg, const struct v4l2_rect *crop,
181 static inline void tpg_s_pattern(struct tpg_data *tpg, enum tpg_pattern pattern) in tpg_s_pattern()
189 static inline void tpg_s_quality(struct tpg_data *tpg, in tpg_s_quality()
199 static inline enum tpg_quality tpg_g_quality(const struct tpg_data *tpg) in tpg_g_quality()
204 static inline void tpg_s_alpha_component(struct tpg_data *tpg, in tpg_s_alpha_component()
213 static inline void tpg_s_alpha_mode(struct tpg_data *tpg, in tpg_s_alpha_mode()
222 static inline void tpg_s_brightness(struct tpg_data *tpg, in tpg_s_brightness()
231 static inline void tpg_s_contrast(struct tpg_data *tpg, in tpg_s_contrast()
240 static inline void tpg_s_saturation(struct tpg_data *tpg, in tpg_s_saturation()
249 static inline void tpg_s_hue(struct tpg_data *tpg, in tpg_s_hue()
258 static inline void tpg_s_rgb_range(struct tpg_data *tpg, in tpg_s_rgb_range()
267 static inline void tpg_s_real_rgb_range(struct tpg_data *tpg, in tpg_s_real_rgb_range()
276 static inline void tpg_s_colorspace(struct tpg_data *tpg, u32 colorspace) in tpg_s_colorspace()
284 static inline u32 tpg_g_colorspace(const struct tpg_data *tpg) in tpg_g_colorspace()
289 static inline unsigned tpg_g_planes(const struct tpg_data *tpg) in tpg_g_planes()
294 static inline unsigned tpg_g_twopixelsize(const struct tpg_data *tpg, unsigned plane) in tpg_g_twopixelsize()
299 static inline unsigned tpg_g_bytesperline(const struct tpg_data *tpg, unsigned plane) in tpg_g_bytesperline()
304 static inline void tpg_s_bytesperline(struct tpg_data *tpg, unsigned plane, unsigned bpl) in tpg_s_bytesperline()
309 static inline void tpg_s_buf_height(struct tpg_data *tpg, unsigned h) in tpg_s_buf_height()
314 static inline void tpg_s_field(struct tpg_data *tpg, unsigned field) in tpg_s_field()
319 static inline void tpg_s_perc_fill(struct tpg_data *tpg, in tpg_s_perc_fill()
325 static inline unsigned tpg_g_perc_fill(const struct tpg_data *tpg) in tpg_g_perc_fill()
330 static inline void tpg_s_perc_fill_blank(struct tpg_data *tpg, in tpg_s_perc_fill_blank()
336 static inline void tpg_s_video_aspect(struct tpg_data *tpg, in tpg_s_video_aspect()
345 static inline enum tpg_video_aspect tpg_g_video_aspect(const struct tpg_data *tpg) in tpg_g_video_aspect()
350 static inline void tpg_s_pixel_aspect(struct tpg_data *tpg, in tpg_s_pixel_aspect()
359 static inline void tpg_s_show_border(struct tpg_data *tpg, in tpg_s_show_border()
365 static inline void tpg_s_show_square(struct tpg_data *tpg, in tpg_s_show_square()
371 static inline void tpg_s_insert_sav(struct tpg_data *tpg, bool insert_sav) in tpg_s_insert_sav()
376 static inline void tpg_s_insert_eav(struct tpg_data *tpg, bool insert_eav) in tpg_s_insert_eav()
381 void tpg_update_mv_step(struct tpg_data *tpg);
383 static inline void tpg_s_mv_hor_mode(struct tpg_data *tpg, in tpg_s_mv_hor_mode()
390 static inline void tpg_s_mv_vert_mode(struct tpg_data *tpg, in tpg_s_mv_vert_mode()
397 static inline void tpg_init_mv_count(struct tpg_data *tpg) in tpg_init_mv_count()
402 static inline void tpg_update_mv_count(struct tpg_data *tpg, bool frame_is_field) in tpg_update_mv_count()
408 static inline void tpg_s_hflip(struct tpg_data *tpg, bool hflip) in tpg_s_hflip()
417 static inline bool tpg_g_hflip(const struct tpg_data *tpg) in tpg_g_hflip()
422 static inline void tpg_s_vflip(struct tpg_data *tpg, bool vflip) in tpg_s_vflip()
427 static inline bool tpg_g_vflip(const struct tpg_data *tpg) in tpg_g_vflip()
432 static inline bool tpg_pattern_is_static(const struct tpg_data *tpg) in tpg_pattern_is_static()