Lines Matching refs:out_i

174     int i, j, out_i, ret;
383 for(out_i=i=0; i<64; i++){
392 matrix_param[stride*out_i + in_i] = matrix[i][j];
394 matrix_param[stride*out_i + in_i] = i == j &&
397 sum += fabs(matrix_param[stride*out_i + in_i]);
401 out_i++;
583 int out_i, in_i, i, j;
600 for(out_i=0; out_i<out->ch_count; out_i++){
601 switch(s->matrix_ch[out_i][0]){
604 memset(out->ch[out_i], 0, len * av_get_bytes_per_sample(s->int_sample_fmt));
607 in_i= s->matrix_ch[out_i][1];
608 if(s->matrix[out_i][in_i]!=1.0){
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];
620 int in_i1 = s->matrix_ch[out_i][1];
621 int in_i2 = s->matrix_ch[out_i][2];
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);
633 for(j=0; j<s->matrix_ch[out_i][0]; j++){
634 in_i= s->matrix_ch[out_i][1+j];
635 v+= ((float*)in->ch[in_i])[i] * s->matrix_flt[out_i][in_i];
637 ((float*)out->ch[out_i])[i]= v;
642 for(j=0; j<s->matrix_ch[out_i][0]; j++){
643 in_i= s->matrix_ch[out_i][1+j];
644 v+= ((double*)in->ch[in_i])[i] * s->matrix[out_i][in_i];
646 ((double*)out->ch[out_i])[i]= v;
651 for(j=0; j<s->matrix_ch[out_i][0]; j++){
652 in_i= s->matrix_ch[out_i][1+j];
653 v+= ((int16_t*)in->ch[in_i])[i] * s->matrix32[out_i][in_i];
655 ((int16_t*)out->ch[out_i])[i]= (v + 16384)>>15;