53 if (!aresample->
swr) {
83 uint64_t out_layout =
av_get_int(aresample->
swr,
"ocl", NULL);
101 int ratelist[] = { out_rate, -1 };
109 int formatlist[] = { out_format, -1 };
116 int64_t layout_list[] = { out_layout, -1 };
135 char inchl_buf[128], outchl_buf[128];
177 int n_out = n_in * aresample->
ratio + 32;
254 outsamplesref->
pts = pts;
269 return prev ? NULL : s->
swr;
272 #define OFFSET(x) offsetof(AResampleContext, x)
273 #define FLAGS AV_OPT_FLAG_AUDIO_PARAM|AV_OPT_FLAG_FILTERING_PARAM
315 .priv_class = &aresample_class,
316 .
inputs = aresample_inputs,