Lines Matching full:alpha

171 	 * On Gen2 use the alpha channel (extended to 8 bits) when available or  in rpf_configure_stream()
172 * a fixed alpha value set through the V4L2_CID_ALPHA_COMPONENT control in rpf_configure_stream()
175 * The Gen3+ RPF has extended alpha capability and can both multiply the in rpf_configure_stream()
176 * alpha channel by a fixed global alpha value, and multiply the pixel in rpf_configure_stream()
177 * components to convert the input to premultiplied alpha. in rpf_configure_stream()
179 * As alpha premultiplication is available in the BRx for both Gen2 and in rpf_configure_stream()
180 * Gen3+ we handle it there and use the Gen3 alpha multiplier for global in rpf_configure_stream()
181 * alpha multiplication only. This however prevents conversion to in rpf_configure_stream()
182 * premultiplied alpha if no BRx is present in the pipeline. If that use in rpf_configure_stream()
186 * We enable alpha multiplication on Gen3+ using the fixed alpha value in rpf_configure_stream()
188 * contains an alpha channel. On Gen2 the global alpha is ignored in in rpf_configure_stream()
194 (fmtinfo->alpha ? VI6_RPF_ALPH_SEL_ASEL_PACKED in rpf_configure_stream()
200 if (fmtinfo->alpha) { in rpf_configure_stream()
202 * When the input contains an alpha channel enable the in rpf_configure_stream()
203 * alpha multiplier. If the input is premultiplied we in rpf_configure_stream()
204 * need to multiply both the alpha channel and the pixel in rpf_configure_stream()
205 * components by the global alpha value to keep them in rpf_configure_stream()
206 * premultiplied. Otherwise multiply the alpha channel in rpf_configure_stream()
218 * When the input doesn't contain an alpha channel the in rpf_configure_stream()
219 * global alpha value is applied in the unpacking unit, in rpf_configure_stream()
220 * the alpha multiplier isn't needed and must be in rpf_configure_stream()
273 rpf->alpha << VI6_RPF_VRTCOL_SET_LAYA_SHIFT); in rpf_configure_frame()
275 (rpf->alpha << VI6_RPF_MULT_ALPHA_RATIO_SHIFT)); in rpf_configure_frame()
277 vsp1_pipeline_propagate_alpha(pipe, dlb, rpf->alpha); in rpf_configure_frame()