Home | History | Annotate | Download | only in base

Lines Matching refs:Mix

108   void Mix(Channels input_ch, Channels output_ch, float scale);
134 // Stereo down mix should never be the output layout.
197 // Mix front LR into center.
205 Mix(LEFT, CENTER, scale);
206 Mix(RIGHT, CENTER, scale);
209 // Mix center into front LR.
215 Mix(CENTER, RIGHT, scale);
218 // Mix back LR into: side LR || back center || front LR || front center.
221 // If we have side LR, mix back LR into side LR, but instead if the input
224 Mix(BACK_LEFT, SIDE_LEFT, scale);
225 Mix(BACK_RIGHT, SIDE_RIGHT, scale);
227 // Mix back LR into back center.
228 Mix(BACK_LEFT, BACK_CENTER, kEqualPowerScale);
229 Mix(BACK_RIGHT, BACK_CENTER, kEqualPowerScale);
231 // Mix back LR into front LR.
232 Mix(BACK_LEFT, LEFT, kEqualPowerScale);
233 Mix(BACK_RIGHT, RIGHT, kEqualPowerScale);
235 // Mix back LR into front center.
236 Mix(BACK_LEFT, CENTER, kEqualPowerScale);
237 Mix(BACK_RIGHT, CENTER, kEqualPowerScale);
241 // Mix side LR into: back LR || back center || front LR || front center.
244 // If we have back LR, mix side LR into back LR, but instead if the input
247 Mix(SIDE_LEFT, BACK_LEFT, scale);
248 Mix(SIDE_RIGHT, BACK_RIGHT, scale);
250 // Mix side LR into back center.
251 Mix(SIDE_LEFT, BACK_CENTER, kEqualPowerScale);
252 Mix(SIDE_RIGHT, BACK_CENTER, kEqualPowerScale);
254 // Mix side LR into front LR.
255 Mix(SIDE_LEFT, LEFT, kEqualPowerScale);
256 Mix(SIDE_RIGHT, RIGHT, kEqualPowerScale);
258 // Mix side LR into front center.
259 Mix(SIDE_LEFT, CENTER, kEqualPowerScale);
260 Mix(SIDE_RIGHT, CENTER, kEqualPowerScale);
264 // Mix back center into: back LR || side LR || front LR || front center.
267 // Mix back center into back LR.
269 Mix(BACK_CENTER, BACK_RIGHT, kEqualPowerScale);
271 // Mix back center into side LR.
273 Mix(BACK_CENTER, SIDE_RIGHT, kEqualPowerScale);
275 // Mix back center into front LR.
278 Mix(BACK_CENTER, RIGHT, kEqualPowerScale);
280 // Mix back center into front center.
282 Mix(BACK_CENTER, CENTER, kEqualPowerScale);
286 // Mix LR of center into: front center || front LR.
289 // Mix LR of center into front LR.
290 Mix(LEFT_OF_CENTER, LEFT, kEqualPowerScale);
291 Mix(RIGHT_OF_CENTER, RIGHT, kEqualPowerScale);
293 // Mix LR of center into front center.
294 Mix(LEFT_OF_CENTER, CENTER, kEqualPowerScale);
295 Mix(RIGHT_OF_CENTER, CENTER, kEqualPowerScale);
299 // Mix LFE into: front LR || front center.
302 // Mix LFE into front LR.
304 Mix(LFE, RIGHT, kEqualPowerScale);
306 // Mix LFE into front center.
307 Mix(LFE, CENTER, kEqualPowerScale);
388 void MatrixBuilder::Mix(Channels input_ch, Channels output_ch, float scale) {