Lines Matching full:alpha
132 * On Gen2 use the alpha channel (extended to 8 bits) when available or in rpf_configure_stream()
133 * a fixed alpha value set through the V4L2_CID_ALPHA_COMPONENT control in rpf_configure_stream()
136 * The Gen3 RPF has extended alpha capability and can both multiply the in rpf_configure_stream()
137 * alpha channel by a fixed global alpha value, and multiply the pixel in rpf_configure_stream()
138 * components to convert the input to premultiplied alpha. in rpf_configure_stream()
140 * As alpha premultiplication is available in the BRx for both Gen2 and in rpf_configure_stream()
141 * Gen3 we handle it there and use the Gen3 alpha multiplier for global in rpf_configure_stream()
142 * alpha multiplication only. This however prevents conversion to in rpf_configure_stream()
143 * premultiplied alpha if no BRx is present in the pipeline. If that use in rpf_configure_stream()
147 * We enable alpha multiplication on Gen3 using the fixed alpha value in rpf_configure_stream()
149 * contains an alpha channel. On Gen2 the global alpha is ignored in in rpf_configure_stream()
155 (fmtinfo->alpha ? VI6_RPF_ALPH_SEL_ASEL_PACKED in rpf_configure_stream()
161 if (fmtinfo->alpha) { in rpf_configure_stream()
163 * When the input contains an alpha channel enable the in rpf_configure_stream()
164 * alpha multiplier. If the input is premultiplied we in rpf_configure_stream()
165 * need to multiply both the alpha channel and the pixel in rpf_configure_stream()
166 * components by the global alpha value to keep them in rpf_configure_stream()
167 * premultiplied. Otherwise multiply the alpha channel in rpf_configure_stream()
179 * When the input doesn't contain an alpha channel the in rpf_configure_stream()
180 * global alpha value is applied in the unpacking unit, in rpf_configure_stream()
181 * the alpha multiplier isn't needed and must be in rpf_configure_stream()
234 rpf->alpha << VI6_RPF_VRTCOL_SET_LAYA_SHIFT); in rpf_configure_frame()
236 (rpf->alpha << VI6_RPF_MULT_ALPHA_RATIO_SHIFT)); in rpf_configure_frame()
238 vsp1_pipeline_propagate_alpha(pipe, dlb, rpf->alpha); in rpf_configure_frame()