Home
last modified time | relevance | path

Searched refs:nb_outputs (Results 1 – 25 of 27) sorted by relevance

12

/third_party/ffmpeg/libavfilter/
Davf_concat.c111 idx += ctx->nb_outputs; in query_formats()
137 inlink = ctx->inputs[in_no + seg * ctx->nb_outputs]; in config_output()
148 inlink = ctx->inputs[in_no + seg * ctx->nb_outputs]; in config_output()
177 unsigned out_no = in_no % ctx->nb_outputs; in push_frame()
203 AVFilterLink *outlink = ctx->outputs[in_no % ctx->nb_outputs]; in get_video_buffer()
212 AVFilterLink *outlink = ctx->outputs[in_no % ctx->nb_outputs]; in get_audio_buffer()
231 unsigned imax = i + ctx->nb_outputs; in find_next_delta_ts()
286 cat->cur_idx += ctx->nb_outputs; in flush_segment()
287 cat->nb_in_active = ctx->nb_outputs; in flush_segment()
296 ret = send_silence(ctx, cat->cur_idx - ctx->nb_outputs + str, str, in flush_segment()
[all …]
Dsplit.c43 int nb_outputs; member
51 for (i = 0; i < s->nb_outputs; i++) { in split_init()
72 for (i = 0; i < ctx->nb_outputs; i++) in split_uninit()
81 for (i = 0; i < ctx->nb_outputs; i++) { in filter_frame()
103 …{ "outputs", "set number of outputs", OFFSET(nb_outputs), AV_OPT_TYPE_INT, { .i64 = 2 }, 1, INT_MA…
Daf_ladspa.c51 unsigned long nb_outputs; member
170 if (!s->nb_outputs || in filter_frame()
171 (av_frame_is_writable(in) && s->nb_inputs == s->nb_outputs && in filter_frame()
184 av_assert0(!s->nb_outputs || out->channels == (s->nb_outputs * s->nb_handles)); in filter_frame()
193 for (i = 0; i < s->nb_outputs; i++) { in filter_frame()
263 for (i = 0; i < s->nb_outputs; i++) in request_frame()
321 s->nb_handles = s->nb_inputs == 1 && s->nb_outputs == 1 ? link->channels : 1; in connect_ports()
368 if (s->nb_inputs == s->nb_outputs) { in config_output()
385 unsigned long *nb_inputs, unsigned long *nb_outputs) in count_ports() argument
397 (*nb_outputs)++; in count_ports()
[all …]
Davfiltergraph.c111 for (j = 0; j<filter->nb_outputs; j++) in ff_filter_graph_remove_filter()
233 for (j = 0; j < filt->nb_outputs; j++) { in graph_check_validity()
260 if (!filt->nb_outputs) { in graph_config_links()
278 for (j = 0; j < f->nb_outputs; j++) { in graph_check_links()
355 for (i = 0; i < ctx->nb_outputs; i++) { in filter_check_formats()
385 for (i = 0; i < ctx->nb_outputs; i++) in filter_query_formats()
414 for (i = 0; i < f->nb_outputs; i++) { in formats_declared()
750 for (j = 0; j < filter->nb_outputs; j++) { \
796 for (j = 0; j < filter->nb_outputs; j++) { in reduce_formats_on_filter()
862 for (i = 0; i < filter->nb_outputs; i++) { in swap_samplerates_on_filter()
[all …]
Dvf_extractplanes.c207 for (i = 0; i < ctx->nb_outputs; i++) in query_formats()
292 for (i = 0; i < ctx->nb_outputs; i++) { in filter_frame()
327 if (eof == ctx->nb_outputs) in filter_frame()
347 name = av_asprintf("out%d", ctx->nb_outputs); in init()
350 s->map[ctx->nb_outputs] = i; in init()
355 if ((ret = ff_insert_outpad(ctx, ctx->nb_outputs, &pad)) < 0) { in init()
368 for (i = 0; i < ctx->nb_outputs; i++) in uninit()
Daf_acrossover.c189 name = av_asprintf("out%d", ctx->nb_outputs); in init()
394 const int nb_outs = ctx->nb_outputs; \ in BIQUAD_PROCESS()
501 s->xover = ff_get_audio_buffer(inlink, 2 * (ctx->nb_outputs * 10 + ctx->nb_outputs * 10 +
502 ctx->nb_outputs * ctx->nb_outputs * 10));
516 for (i = 0; i < ctx->nb_outputs; i++) { in filter_frame()
534 for (i = 0; i < ctx->nb_outputs; i++) { in filter_frame()
542 for (i = 0; i < ctx->nb_outputs; i++) in filter_frame()
558 for (i = 0; i < ctx->nb_outputs; i++) in uninit()
Daf_lv2.c51 unsigned nb_outputs; member
207 if (!s->nb_outputs || in filter_frame()
208 (av_frame_is_writable(in) && s->nb_inputs == s->nb_outputs)) { in filter_frame()
291 if (s->nb_inputs == s->nb_outputs) { in config_output()
455 s->nb_outputs++; in init()
510 if (s->nb_inputs == 2 && s->nb_outputs == 2) { in query_formats()
531 if (!s->nb_outputs) { in query_formats()
538 if (s->nb_outputs >= 1) { in query_formats()
539 uint64_t outlayout = FF_COUNT2LAYOUT(s->nb_outputs); in query_formats()
Dgraphdump.c82 for (j = 0; j < filter->nb_outputs; j++) { in avfilter_graph_dump_to_buf()
92 height = FFMAX3(2, filter->nb_inputs, filter->nb_outputs); in avfilter_graph_dump_to_buf()
99 unsigned out_no = j - (height - filter->nb_outputs) / 2; in avfilter_graph_dump_to_buf()
131 if (out_no < filter->nb_outputs) { in avfilter_graph_dump_to_buf()
Df_streamselect.c260 int ret, nb_outputs = 0; in init() local
272 nb_outputs++; in init()
281 (ret = parse_definition(ctx, nb_outputs, 0, s->is_audio)) < 0) in init()
285 ctx->nb_inputs, ctx->nb_outputs); in init()
302 for (int i = 0; i < ctx->nb_outputs; i++) in uninit()
Df_select.c159 int nb_outputs; member
167 …{ "outputs", "set the number of outputs", OFFSET(nb_outputs), AV_OPT_TYPE_INT, {.i64 = 1}, 1, INT_…
168 …{ "n", "set the number of outputs", OFFSET(nb_outputs), AV_OPT_TYPE_INT, {.i64 = 1}, 1, INT_…
187 for (i = 0; i < select->nb_outputs; i++) { in init()
394 select->select_out = FFMIN(ceilf(res)-1, select->nb_outputs-1); /* other outputs */ in select_frame()
440 for (i = 0; i < ctx->nb_outputs; i++) in uninit()
Dsrc_movie.c336 for (i = 0; i < ctx->nb_outputs; i++) { in movie_uninit()
354 for (i = 0; i < ctx->nb_outputs; i++) { in movie_query_formats()
447 for (i = 0; i < ctx->nb_outputs; i++) { in rewind_file()
463 for (int i = 0; i < ctx->nb_outputs; i++) { in movie_decode_packet()
562 for (int i = 0; i < ctx->nb_outputs; i++) { in movie_request_frame()
612 for (i = 0; i < ctx->nb_outputs; i++) { in process_command()
Davfilter.c144 if (src->nb_outputs <= srcpad || dst->nb_inputs <= dstpad || in avfilter_link()
206 for (i = 0; i < filter->nb_outputs; i++) in filter_unblock()
711 ret->nb_outputs = avfilter_pad_count(filter->outputs); in ff_filter_alloc()
712 if (ret->nb_outputs) { in ff_filter_alloc()
713 ret->output_pads = av_malloc_array(ret->nb_outputs, sizeof(AVFilterPad)); in ff_filter_alloc()
716 memcpy(ret->output_pads, filter->outputs, sizeof(AVFilterPad) * ret->nb_outputs); in ff_filter_alloc()
717 ret->outputs = av_mallocz_array(ret->nb_outputs, sizeof(AVFilterLink*)); in ff_filter_alloc()
732 ret->nb_outputs = 0; in ff_filter_alloc()
776 for (i = 0; i < filter->nb_outputs; i++) { in avfilter_free()
1250 if (!filter->nb_outputs) { in forward_status_change()
[all …]
Daf_channelsplit.c123 for (i = 0; i < ctx->nb_outputs; i++) { in query_formats()
141 for (i = 0; i < ctx->nb_outputs; i++) { in filter_frame()
Dfilters.h244 for (i = 0; i < filter->nb_outputs; i++) \
Dinternal.h251 return ff_insert_pad(index, &f->nb_outputs, offsetof(AVFilterLink, srcpad), in ff_insert_outpad()
Df_graphmonitor.c161 for (int j = 0; j < filter->nb_outputs; j++) { in filter_have_queued()
292 for (int j = 0; j < filter->nb_outputs; j++) { in create_frame()
Davfilter.h354 unsigned nb_outputs; ///< number of output pads member
Dformats.c553 for (i = 0; i < ctx->nb_outputs; i++) { \
598 ctx->nb_outputs ? ctx->outputs[0]->type : in ff_default_query_formats()
Dframesync.c89 av_assert0(parent->nb_outputs == 1); in ff_framesync_init()
Dgraphparser.c292 pad = filt_ctx->nb_outputs; in link_filter_inouts()
/third_party/ffmpeg/fftools/
Dffmpeg_filter.c184 GROW_ARRAY(fg->outputs, fg->nb_outputs); in DEF_CHOOSE_FORMAT()
217 int nb_pads = in ? ctx->nb_inputs : ctx->nb_outputs; in describe_filter_link()
340 GROW_ARRAY(fg->outputs, fg->nb_outputs); in init_complex_filtergraph()
341 fg->outputs[fg->nb_outputs - 1] = av_mallocz(sizeof(*fg->outputs[0])); in init_complex_filtergraph()
342 if (!fg->outputs[fg->nb_outputs - 1]) in init_complex_filtergraph()
345 fg->outputs[fg->nb_outputs - 1]->graph = fg; in init_complex_filtergraph()
346 fg->outputs[fg->nb_outputs - 1]->out_tmp = cur; in init_complex_filtergraph()
347 … fg->outputs[fg->nb_outputs - 1]->type = avfilter_pad_get_type(cur->filter_ctx->output_pads, in init_complex_filtergraph()
349 fg->outputs[fg->nb_outputs - 1]->name = describe_filter_link(fg, cur, 0); in init_complex_filtergraph()
351 fg->outputs[fg->nb_outputs - 1]->out_tmp->next = NULL; in init_complex_filtergraph()
[all …]
Dffmpeg.h297 int nb_outputs; member
/third_party/ffmpeg/tools/
Duncoded_frame.c90 for (j = 0; j < f->nb_outputs; j++) in main()
114 for (j = 0; j < f->nb_outputs; j++) { in main()
Dgraph2dot.c69 for (j = 0; j < filter_ctx->nb_outputs; j++) { in print_digraph()
/third_party/ffmpeg/libavfilter/tests/
Dfiltfmts.c129 for (i = 0; i < filter_ctx->nb_outputs; i++) { in main()

12