Lines Matching full:alpha

176 	 * On Gen2 use the alpha channel (extended to 8 bits) when available or  in rpf_configure_stream()
177 * a fixed alpha value set through the V4L2_CID_ALPHA_COMPONENT control in rpf_configure_stream()
180 * The Gen3+ RPF has extended alpha capability and can both multiply the in rpf_configure_stream()
181 * alpha channel by a fixed global alpha value, and multiply the pixel in rpf_configure_stream()
182 * components to convert the input to premultiplied alpha. in rpf_configure_stream()
184 * As alpha premultiplication is available in the BRx for both Gen2 and in rpf_configure_stream()
185 * Gen3+ we handle it there and use the Gen3 alpha multiplier for global in rpf_configure_stream()
186 * alpha multiplication only. This however prevents conversion to in rpf_configure_stream()
187 * premultiplied alpha if no BRx is present in the pipeline. If that use in rpf_configure_stream()
191 * We enable alpha multiplication on Gen3+ using the fixed alpha value in rpf_configure_stream()
193 * contains an alpha channel. On Gen2 the global alpha is ignored in in rpf_configure_stream()
199 (fmtinfo->alpha ? VI6_RPF_ALPH_SEL_ASEL_PACKED in rpf_configure_stream()
205 if (fmtinfo->alpha) { in rpf_configure_stream()
207 * When the input contains an alpha channel enable the in rpf_configure_stream()
208 * alpha multiplier. If the input is premultiplied we in rpf_configure_stream()
209 * need to multiply both the alpha channel and the pixel in rpf_configure_stream()
210 * components by the global alpha value to keep them in rpf_configure_stream()
211 * premultiplied. Otherwise multiply the alpha channel in rpf_configure_stream()
223 * When the input doesn't contain an alpha channel the in rpf_configure_stream()
224 * global alpha value is applied in the unpacking unit, in rpf_configure_stream()
225 * the alpha multiplier isn't needed and must be in rpf_configure_stream()
278 rpf->alpha << VI6_RPF_VRTCOL_SET_LAYA_SHIFT); in rpf_configure_frame()
280 (rpf->alpha << VI6_RPF_MULT_ALPHA_RATIO_SHIFT)); in rpf_configure_frame()
282 vsp1_pipeline_propagate_alpha(pipe, dlb, rpf->alpha); in rpf_configure_frame()