Lines Matching defs:out

66     int nb_in, nb_out, in, out;
98 for (out = 0; out < nb_out; out++) {
100 s->matrix_flt[out][in] = s->matrix[out][in] = matrix[in];
113 static int clean_layout(AVChannelLayout *out, const AVChannelLayout *in, void *s)
121 *out = (AVChannelLayout)AV_CHANNEL_LAYOUT_MONO;
123 ret = av_channel_layout_copy(out, in);
472 int nb_out = s->out.ch_count;
582 int swri_rematrix(SwrContext *s, AudioData *out, AudioData *in, int len, int mustcopy){
588 s->mix_any_f(out->ch, (const uint8_t **)in->ch, s->native_matrix, len);
594 off = len1 * out->bps;
597 av_assert0(s->out_ch_layout.order == AV_CHANNEL_ORDER_UNSPEC || out->ch_count == s->out_ch_layout.nb_channels);
600 for(out_i=0; out_i<out->ch_count; out_i++){
604 memset(out->ch[out_i], 0, len * av_get_bytes_per_sample(s->int_sample_fmt));
610 s->mix_1_1_simd(out->ch[out_i] , in->ch[in_i] , s->native_simd_matrix, in->ch_count*out_i + in_i, len1);
612 s->mix_1_1_f (out->ch[out_i]+off, in->ch[in_i]+off, s->native_matrix, in->ch_count*out_i + in_i, len-len1);
614 memcpy(out->ch[out_i], in->ch[in_i], len*out->bps);
616 out->ch[out_i]= in->ch[in_i];
623 s->mix_2_1_simd(out->ch[out_i] , in->ch[in_i1] , in->ch[in_i2] , s->native_simd_matrix, in->ch_count*out_i + in_i1, in->ch_count*out_i + in_i2, len1);
625 s->mix_2_1_f (out->ch[out_i] , in->ch[in_i1] , in->ch[in_i2] , s->native_matrix, in->ch_count*out_i + in_i1, in->ch_count*out_i + in_i2, len1);
627 s->mix_2_1_f (out->ch[out_i]+off, in->ch[in_i1]+off, in->ch[in_i2]+off, s->native_matrix, in->ch_count*out_i + in_i1, in->ch_count*out_i + in_i2, len-len1);
637 ((float*)out->ch[out_i])[i]= v;
646 ((double*)out->ch[out_i])[i]= v;
655 ((int16_t*)out->ch[out_i])[i]= (v + 16384)>>15;