Lines Matching defs:tpg_data
133 struct tpg_data { struct
135 unsigned src_width, src_height;
137 unsigned buf_height;
139 unsigned scaled_width;
140 u32 field;
141 bool field_alternate;
143 struct v4l2_rect crop;
145 struct v4l2_rect compose;
147 struct v4l2_rect border;
148 struct v4l2_rect square;
151 enum tpg_quality qual;
152 unsigned qual_offset;
153 u8 alpha_component;
154 bool alpha_red_only;
155 u8 brightness;
156 u8 contrast;
157 u8 saturation;
158 s16 hue;
159 u32 fourcc;
160 enum tgp_color_enc color_enc;
161 u32 colorspace;
162 u32 xfer_func;
163 u32 ycbcr_enc;
164 u32 hsv_enc;
169 u32 real_xfer_func;
174 u32 real_hsv_enc;
175 u32 real_ycbcr_enc;
176 u32 quantization;
181 u32 real_quantization;
182 enum tpg_video_aspect vid_aspect;
183 enum tpg_pixel_aspect pix_aspect;
184 unsigned rgb_range;
185 unsigned real_rgb_range;
186 unsigned buffers;
187 unsigned planes;
188 bool interleaved;
189 u8 vdownsampling[TPG_MAX_PLANES];
190 u8 hdownsampling[TPG_MAX_PLANES];
195 unsigned hmask[TPG_MAX_PLANES];
197 u8 colors[TPG_COLOR_MAX][3];
198 u8 textfg[TPG_MAX_PLANES][8], textbg[TPG_MAX_PLANES][8];
200 unsigned twopixelsize[TPG_MAX_PLANES];
201 unsigned bytesperline[TPG_MAX_PLANES];
204 enum tpg_pattern pattern;
205 bool hflip;
206 bool vflip;
207 unsigned perc_fill;
208 bool perc_fill_blank;
209 bool show_border;
210 bool show_square;
211 bool insert_sav;
235 void tpg_init(struct tpg_data *tpg, unsigned w, unsigned h); argument