Lines Matching refs:in_count

588                              const AudioData * in_param, int in_count){
602 &in, in_count, &s->in_buffer_index, &s->in_buffer_count);
609 in_count -= border;
624 if(!in_count)
628 in_count += s->in_buffer_count;
635 if((s->flushed || in_count > padless) && !s->in_buffer_count){
637 ret= s->resampler->multiple_resample(s->resample, &out, out_count, &in, FFMAX(in_count-padless, 0), &consumed);
641 in_count -= consumed;
646 size= s->in_buffer_index + s->in_buffer_count + in_count;
648 && s->in_buffer_count + in_count <= s->in_buffer_index){
656 if(in_count){
657 int count= in_count;
663 in_count -= count;
667 if(s->in_buffer_count != count || in_count)
683 AudioData *in , int in_count){
690 swri_audio_convert(s->full_convert, out, in, in_count);
695 // in_count= FFMIN(in_count, in_in + 2 - s->hist_buffer_count);
697 if((ret=swri_realloc_audio(&s->postin, in_count))<0)
705 if((ret=swri_realloc_audio(&s->midbuf, in_count))<0)
730 out_count= FFMIN(out_count, in_count); //TODO check at the end if this is needed or redundant
741 swri_audio_convert(s->in_convert, postin, in, in_count);
746 if ((out_count = resample(s, midbuf, out_count, postin, in_count)) < 0)
752 swri_rematrix(s, midbuf, postin, in_count, midbuf==out);
754 if ((out_count = resample(s, preout, out_count, midbuf, in_count)) < 0)
818 const uint8_t **in_arg, int in_count)
829 max_output = swr_get_out_samples(s, in_count);
841 ret = swr_convert(s, tmp_arg, FFMIN(-s->drop_output, MAX_DROP_STEP), in_arg, in_count); //FIXME optimize but this is as good as never called so maybe it doesn't matter
843 in_count = 0;
870 int ret = swr_convert_internal(s, out, out_count, in, in_count);
896 if(in_count){
897 size= s->in_buffer_index + s->in_buffer_count + in_count - out_count;
899 if(in_count > out_count) { //FIXME move after swr_convert_internal
901 && s->in_buffer_count + in_count - out_count <= s->in_buffer_index){
911 size = FFMIN(in_count, out_count);
916 in_count -= ret;
919 if(in_count){
921 copy(&tmp, in, in_count);
922 s->in_buffer_count += in_count;