37 #define PIX_FMT_NAME_MAXSIZE 32
42 const char *cur, *sep;
48 for (cur = args; cur; cur = sep ? sep+1 :
NULL) {
49 if (!(sep = strchr(cur,
':')))
50 pix_fmt_name_len = strlen(cur);
52 pix_fmt_name_len = sep - cur;
58 memcpy(pix_fmt_name, cur, pix_fmt_name_len);
59 pix_fmt_name[pix_fmt_name_len] = 0;
81 for (pix_fmt = 0; pix_fmt <
PIX_FMT_NB; pix_fmt++)
88 #if CONFIG_FORMAT_FILTER
97 .description =
NULL_IF_CONFIG_SMALL(
"Convert the input video to one of the specified pixel formats."),
101 .query_formats = query_formats_format,
118 #if CONFIG_NOFORMAT_FILTER
127 .description =
NULL_IF_CONFIG_SMALL(
"Force libavfilter not to use any of the specified pixel formats for the input to the next filter."),
131 .query_formats = query_formats_noformat,