Home
last modified time | relevance | path

Searched refs:data_ir (Results 1 – 2 of 2) sorted by relevance

/third_party/ffmpeg/libavfilter/
Daf_headphone.c70 float *data_ir[2]; member
340 td.ir = s->data_ir; td.n_clippings = n_clippings; in headphone_frame()
433 s->data_ir[0] = av_calloc(nb_hrir_channels * s->air_len, sizeof(*s->data_ir[0])); in convert_coeffs()
434 s->data_ir[1] = av_calloc(nb_hrir_channels * s->air_len, sizeof(*s->data_ir[1])); in convert_coeffs()
435 if (!s->data_ir[0] || !s->data_ir[1] || !s->temp_src[0] || !s->temp_src[1]) { in convert_coeffs()
465 float *data_ir_l = s->data_ir[0] + idx * s->air_len; in convert_coeffs()
466 float *data_ir_r = s->data_ir[1] + idx * s->air_len; in convert_coeffs()
498 float *data_ir_l = s->data_ir[0] + idx * s->air_len; in convert_coeffs()
499 float *data_ir_r = s->data_ir[1] + idx * s->air_len; in convert_coeffs()
723 av_freep(&s->data_ir[0]); in uninit()
[all …]
Daf_sofalizer.c90 float *data_ir[2]; /* IRs for all channels to be convolved */ member
589 td.delay = s->delay; td.ir = s->data_ir; td.n_clippings = n_clippings; in filter_frame()
749 s->data_ir[0] = av_calloc(n_samples, sizeof(float) * s->n_conv); in load_data()
750 s->data_ir[1] = av_calloc(n_samples, sizeof(float) * s->n_conv); in load_data()
752 if (!s->data_ir[0] || !s->data_ir[1]) { in load_data()
912 s->data_ir[0][offset + j] = lir[ir_samples - 1 - j] * gain_lin; in load_data()
913 s->data_ir[1][offset + j] = rir[ir_samples - 1 - j] * gain_lin; in load_data()
1037 av_freep(&s->data_ir[0]); in uninit()
1038 av_freep(&s->data_ir[1]); in uninit()