Home
last modified time | relevance | path

Searched refs:in_buffer_count (Results 1 – 4 of 4) sorted by relevance

/third_party/ffmpeg/libswresample/
Dswresample.c116 s->in_buffer_count= 0; in clear_context()
502 &in, in_count, &s->in_buffer_index, &s->in_buffer_count); in resample()
515 if(!s->resample_in_constraint && s->in_buffer_count){ in resample()
517 …s->resampler->multiple_resample(s->resample, &out, out_count, &tmp, s->in_buffer_count, &consumed); in resample()
521 s->in_buffer_count -= consumed; in resample()
526 if(s->in_buffer_count <= border){ in resample()
527 buf_set(&in, &in, -s->in_buffer_count); in resample()
528 in_count += s->in_buffer_count; in resample()
529 s->in_buffer_count=0; in resample()
535 if((s->flushed || in_count > padless) && !s->in_buffer_count){ in resample()
[all …]
Dresample.c519 int64_t num = s->in_buffer_count - (c->filter_length-1)/2; in get_delay()
532 int64_t num = s->in_buffer_count + 2LL + in_samples; in get_out_samples()
550 int reflection = (FFMIN(s->in_buffer_count, c->filter_length) + 1) / 2; in resample_flush()
552 if((ret = swri_realloc_audio(a, s->in_buffer_index + s->in_buffer_count + reflection)) < 0) in resample_flush()
557 memcpy(a->ch[i] + (s->in_buffer_index+s->in_buffer_count+j )*a->bps, in resample_flush()
558 a->ch[i] + (s->in_buffer_index+s->in_buffer_count-j-1)*a->bps, a->bps); in resample_flush()
561 s->in_buffer_count += reflection; in resample_flush()
Dswresample_internal.h157 int in_buffer_count; ///< cached buffer length member
/third_party/gstreamer/gstplugins_base/tests/check/elements/
Daudioresample.c923 guint64 in_buffer_count, out_buffer_count; member
957 if (ctx->in_buffer_count != ctx->out_buffer_count) { in fakesink_handoff_cb()
962 if (ctx->in_ts != GST_CLOCK_TIME_NONE && ctx->in_buffer_count > 1 in fakesink_handoff_cb()
963 && ctx->in_buffer_count == ctx->out_buffer_count) { in fakesink_handoff_cb()
988 ctx->in_buffer_count++; in identity_handoff_cb()