Lines Matching defs:desc
57 const LADSPA_Descriptor *desc;
92 const LADSPA_PortRangeHint *h = s->desc->PortRangeHints + map[ctl];
94 av_log(ctx, level, "c%i: %s [", ctl, s->desc->PortNames[map[ctl]]);
149 !(s->desc->Properties & LADSPA_PROPERTY_INPLACE_BROKEN))) {
162 s->desc->connect_port(s->handles[h], s->ipmap[i],
167 s->desc->connect_port(s->handles[h], s->opmap[i],
171 s->desc->run(s->handles[h], in->nb_samples);
203 s->desc->connect_port(s->handles[0], s->opmap[i],
206 s->desc->run(s->handles[0], s->nb_samples);
221 const LADSPA_PortRangeHint *h = s->desc->PortRangeHints + map[ctl];
266 s->handles[i] = s->desc->instantiate(s->desc, link->sample_rate);
274 s->desc->connect_port(s->handles[i], s->icmap[j], s->ictlv + j);
278 s->desc->connect_port(s->handles[i], s->ocmap[j], &s->octlv[j]);
280 if (s->desc->activate)
281 s->desc->activate(s->handles[i]);
320 static void count_ports(const LADSPA_Descriptor *desc,
326 for (i = 0; i < desc->PortCount; i++) {
327 pd = desc->PortDescriptors[i];
355 const char *label = s->desc->Label;
356 LADSPA_PortRangeHint *h = (LADSPA_PortRangeHint *)s->desc->PortRangeHints +
390 const LADSPA_Descriptor *desc;
448 for (i = 0; desc = descriptor_fn(i); i++) {
451 count_ports(desc, &inputs, &outputs);
452 av_log(ctx, AV_LOG_INFO, "%lu:%lu %-25s %s\n", inputs, outputs, desc->Label,
453 (char *)av_x_if_null(desc->Name, "?"));
455 (char *)av_x_if_null(desc->Maker, "?"));
457 (char *)av_x_if_null(desc->Copyright, "?"));
462 desc = descriptor_fn(i);
463 if (!desc) {
468 if (desc->Label && !strcmp(desc->Label, s->plugin))
473 s->desc = desc;
474 nb_ports = desc->PortCount;
488 pd = desc->PortDescriptors[i];
502 if (LADSPA_IS_HINT_HAS_DEFAULT(desc->PortRangeHints[i].HintDescriptor))
520 desc->Label);
524 desc->Label);
563 pad.name = av_asprintf("in0:%s%lu", desc->Label, s->nb_inputs);
649 if (s->desc->deactivate)
650 s->desc->deactivate(s->handles[i]);
651 if (s->desc->cleanup)
652 s->desc->cleanup(s->handles[i]);