Home
last modified time | relevance | path

Searched refs:tpg_data (Results 1 – 4 of 4) sorted by relevance

/drivers/media/platform/vivid/
Dvivid-tpg.h94 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,
[all …]
Dvivid-tpg.c94 void tpg_init(struct tpg_data *tpg, unsigned w, unsigned h) in tpg_init()
115 int tpg_alloc(struct tpg_data *tpg, unsigned max_w) in tpg_alloc()
146 void tpg_free(struct tpg_data *tpg) in tpg_free()
166 bool tpg_s_fourcc(struct tpg_data *tpg, u32 fourcc) in tpg_s_fourcc()
236 void tpg_s_crop_compose(struct tpg_data *tpg, const struct v4l2_rect *crop, in tpg_s_crop_compose()
251 void tpg_reset_source(struct tpg_data *tpg, unsigned width, unsigned height, in tpg_reset_source()
274 static enum tpg_color tpg_get_textbg_color(struct tpg_data *tpg) in tpg_get_textbg_color()
286 static enum tpg_color tpg_get_textfg_color(struct tpg_data *tpg) in tpg_get_textfg_color()
299 static u16 color_to_y(struct tpg_data *tpg, int r, int g, int b) in color_to_y()
315 static u16 color_to_cb(struct tpg_data *tpg, int r, int g, int b) in color_to_cb()
[all …]
Dvivid-core.h347 struct tpg_data tpg;
Dvivid-kthread-cap.c236 struct tpg_data *tpg = &dev->tpg; in vivid_copy_buffer()
577 struct tpg_data *tpg = &dev->tpg; in vivid_overlay()