34 AVBPrint dummy_buffer = { 0 };
68 unsigned max_src_name = 0, max_dst_name = 0;
69 unsigned max_in_name = 0, max_out_name = 0;
70 unsigned max_in_fmt = 0, max_out_fmt = 0;
72 unsigned lname = strlen(filter->
name);
78 max_src_name =
FFMAX(max_src_name, ln);
85 max_dst_name =
FFMAX(max_dst_name, ln);
89 in_indent = max_src_name + max_in_name + max_in_fmt;
90 in_indent += in_indent ? 4 : 0;
91 width =
FFMAX(lname + 2, ltype + 4);
97 for (j = 0; j <
height; j++) {
98 unsigned in_no = j - (height - filter->
nb_inputs ) / 2;
99 unsigned out_no = j - (height - filter->
nb_outputs) / 2;
102 if (in_no < filter->nb_inputs) {
104 e = buf->len + max_src_name + 2;
107 e = buf->len + max_in_fmt + 2 +
118 if (j == (height - 2) / 2) {
119 x = (width - lname) / 2;
121 }
else if (j == (height - 2) / 2 + 1) {
122 x = (width - ltype - 2) / 2;
124 width - ltype - 2 - x,
"");
131 if (out_no < filter->nb_outputs) {
133 unsigned ln = strlen(l->
dst->
name) + 1 +
135 e = buf->len + max_out_name + 2;
138 e = buf->len + max_out_fmt + 2 +