Lines Matching refs:in_buffer
123 free_temp(&s->in_buffer); in clear_context()
331 s->in_buffer= s->in; in swr_init()
362 s->in_buffer.ch_count= s->used_ch_count; in swr_init()
367 s->in_buffer.ch_count = s->out.ch_count; in swr_init()
375 set_audiodata_fmt(&s->in_buffer, s->int_sample_fmt); in swr_init()
494 av_assert1(s->in_buffer.ch_count == in_param->ch_count); in resample()
495 av_assert1(s->in_buffer.planar == in_param->planar); in resample()
496 av_assert1(s->in_buffer.fmt == in_param->fmt); in resample()
501 border = s->resampler->invert_initial_buffer(s->resample, &s->in_buffer, in resample()
516 buf_set(&tmp, &s->in_buffer, s->in_buffer_index); in resample()
547 if( size > s->in_buffer.count in resample()
549 buf_set(&tmp, &s->in_buffer, s->in_buffer_index); in resample()
550 copy(&s->in_buffer, &tmp, s->in_buffer_count); in resample()
553 if((ret=swri_realloc_audio(&s->in_buffer, size)) < 0) in resample()
560 buf_set(&tmp, &s->in_buffer, s->in_buffer_index + s->in_buffer_count); in resample()
711 return !!s->in_buffer.ch_count; in swr_is_initialized()
779 buf_set(&tmp, &s->in_buffer, s->in_buffer_index); in swr_convert()
796 if( size > s->in_buffer.count in swr_convert()
798 buf_set(&tmp, &s->in_buffer, s->in_buffer_index); in swr_convert()
799 copy(&s->in_buffer, &tmp, s->in_buffer_count); in swr_convert()
802 if((ret=swri_realloc_audio(&s->in_buffer, size)) < 0) in swr_convert()
816 buf_set(&tmp, &s->in_buffer, s->in_buffer_index + s->in_buffer_count); in swr_convert()