Searched refs:w_fz (Results 1 – 4 of 4) sorted by relevance
/third_party/pulseaudio/src/pulsecore/resampler/ |
D | trivial.c | 55 pa_assert_fp(o_index * r->w_fz < pa_memblock_get_length(output->memblock)); in trivial_resample() 57 … memcpy((uint8_t*) dst + r->w_fz * o_index, (uint8_t*) src + r->w_fz * i_index, (int) r->w_fz); in trivial_resample()
|
D | peaks.c | 59 pa_assert_fp(o_index * r->w_fz < pa_memblock_get_length(output->memblock)); in peaks_resample()
|
/third_party/pulseaudio/src/pulsecore/ |
D | resampler.c | 438 r->w_fz = pa_sample_size_of_format(r->work_format) * r->work_channels; in pa_resampler_new() 628 pa_assert(frames >= (r->leftover_buf->length / r->w_fz)); in pa_resampler_max_block_size() 630 frames -= r->leftover_buf->length / r->w_fz; in pa_resampler_max_block_size() 1507 out_n_frames += leftover_length / r->w_fz; in remap_channels() 1558 in_n_frames = (unsigned) (input->length / r->w_fz); in resample() 1561 fit_buf(r, &r->resample_buf, r->w_fz * out_n_frames, &r->resample_buf_size, 0); in resample() 1566 …_data = (uint8_t *) pa_memblock_acquire_chunk(input) + (in_n_frames - leftover_n_frames) * r->w_fz; in resample() 1567 save_leftover(r, leftover_data, leftover_n_frames * r->w_fz); in resample() 1571 r->resample_buf.length = out_n_frames * r->w_fz; in resample()
|
D | resampler.h | 88 size_t i_fz, o_fz, w_fz, w_sz; member
|