Home
last modified time | relevance | path

Searched refs:ch_count (Results 1 – 10 of 10) sorted by relevance

/third_party/ffmpeg/libswresample/
Dswresample.c105 if (a->ch_count == 1) in set_audiodata_fmt()
175 s->out.ch_count = s-> user_out_ch_count; in swr_init()
176 s-> in.ch_count = s-> user_in_ch_count; in swr_init()
207 s->used_ch_count= s->in.ch_count; in swr_init()
217 s->out_ch_layout= av_get_default_channel_layout(s->out.ch_count); in swr_init()
293 if(!s-> in.ch_count) in swr_init()
294 s-> in.ch_count= av_get_channel_layout_nb_channels(s-> in_ch_layout); in swr_init()
296 s->used_ch_count= s->in.ch_count; in swr_init()
297 if(!s->out.ch_count) in swr_init()
298 s->out.ch_count= av_get_channel_layout_nb_channels(s->out_ch_layout); in swr_init()
[all …]
Daudioconvert.c195 const int os= (out->planar ? 1 :out->ch_count) *out->bps; in swri_audio_convert()
198 av_assert0(ctx->channels == out->ch_count); in swri_audio_convert()
201 int planes = in->planar ? in->ch_count : 1; in swri_audio_convert()
208 int planes = out->planar ? out->ch_count : 1; in swri_audio_convert()
224 int planes = out->planar ? out->ch_count : 1; in swri_audio_convert()
226 … ctx->simd_f(out->ch+ch, (const uint8_t **)in->ch+ch, off * (out->planar ? 1 :out->ch_count)); in swri_audio_convert()
238 const int is= ich < 0 ? 0 : (in->planar ? 1 : in->ch_count) * in->bps; in swri_audio_convert()
Drematrix.c398 int nb_out = s->out.ch_count; in swri_rematrix_init()
522 …av_assert0(!s->out_ch_layout || out->ch_count == av_get_channel_layout_nb_channels(s->out_ch_layou… in swri_rematrix()
523 …av_assert0(!s-> in_ch_layout || in ->ch_count == av_get_channel_layout_nb_channels(s-> in_ch_layou… in swri_rematrix()
525 for(out_i=0; out_i<out->ch_count; out_i++){ in swri_rematrix()
535 …1_simd(out->ch[out_i] , in->ch[in_i] , s->native_simd_matrix, in->ch_count*out_i + in_i, len… in swri_rematrix()
537 …ix_1_1_f (out->ch[out_i]+off, in->ch[in_i]+off, s->native_matrix, in->ch_count*out_i + in_i, len… in swri_rematrix()
548 …in_i1] , in->ch[in_i2] , s->native_simd_matrix, in->ch_count*out_i + in_i1, in->ch_count*out… in swri_rematrix()
550 …->ch[in_i1] , in->ch[in_i2] , s->native_matrix, in->ch_count*out_i + in_i1, in->ch_count*out… in swri_rematrix()
552 …->ch[in_i1]+off, in->ch[in_i2]+off, s->native_matrix, in->ch_count*out_i + in_i1, in->ch_count*out… in swri_rematrix()
Dresample.c472 for (i = 0; i < dst->ch_count; i++) { in multiple_resample()
474 if (i+1 == dst->ch_count) { in multiple_resample()
497 for (i = 0; i < dst->ch_count; i++) in multiple_resample()
498 … *consumed = resample_func(c, dst->ch[i], src->ch[i], dst_size, i+1 == dst->ch_count); in multiple_resample()
555 for(i=0; i<a->ch_count; i++){ in resample_flush()
579 for (ch = 0; ch < src->ch_count; ch++) { in invert_initial_buffer()
594 for (ch = 0; ch < src->ch_count; ch++) { in invert_initial_buffer()
Ddither_template.c53 for (ch=0; ch<srcs->ch_count; ch++) { in RENAME()
Dsoxr_resample.c88 soxr_error_t error = soxr_set_error((soxr_t)c, soxr_set_num_channels((soxr_t)c, src->ch_count)); in process()
Dswresample_internal.h48 int ch_count; ///< number of channels member
/third_party/ffmpeg/libswresample/tests/
Dswresample.c39 static double get(uint8_t *a[], int ch, int index, int ch_count, enum AVSampleFormat f){ in get() argument
46 index= ch + index*ch_count; in get()
59 static void set(uint8_t *a[], int ch, int index, int ch_count, enum AVSampleFormat f, double v){ in set() argument
66 index= ch + index*ch_count; in set()
78 static void shift(uint8_t *a[], int index, int ch_count, enum AVSampleFormat f){ in shift() argument
83 for(ch= 0; ch<ch_count; ch++) in shift()
86 a[0] += index*ch_count*av_get_bytes_per_sample(f); in shift()
/third_party/ffmpeg/libavfilter/
Dbuffersrc.c77 #define CHECK_AUDIO_PARAM_CHANGE(s, c, srate, ch_layout, ch_count, format, pts)\ argument
79 c->channel_layout != ch_layout || c->channels != ch_count) {\
82 …av_get_sample_fmt_name(format), srate, ch_layout, ch_count, av_ts2timestr(pts, &s->outputs[0]->tim…
/third_party/ffmpeg/libswresample/x86/
Drematrix_init.c37 int nb_out = s->out.ch_count; in D()