|
|
@ -340,8 +340,8 @@ static int query_formats(AVFilterContext *ctx) |
|
|
|
#define PF_ALPHA(suf) AV_PIX_FMT_YUVA420##suf, AV_PIX_FMT_YUVA422##suf, AV_PIX_FMT_YUVA444##suf |
|
|
|
#define PF_ALPHA(suf) AV_PIX_FMT_YUVA420##suf, AV_PIX_FMT_YUVA422##suf, AV_PIX_FMT_YUVA444##suf |
|
|
|
#define PF(suf) PF_NOALPHA(suf), PF_ALPHA(suf) |
|
|
|
#define PF(suf) PF_NOALPHA(suf), PF_ALPHA(suf) |
|
|
|
PF(P), PF(P9), PF(P10), PF_NOALPHA(P12), PF_NOALPHA(P14), PF(P16), |
|
|
|
PF(P), PF(P9), PF(P10), PF_NOALPHA(P12), PF_NOALPHA(P14), PF(P16), |
|
|
|
AV_PIX_FMT_YUV411P, AV_PIX_FMT_YUV410P, |
|
|
|
AV_PIX_FMT_YUV440P, AV_PIX_FMT_YUV411P, AV_PIX_FMT_YUV410P, |
|
|
|
AV_PIX_FMT_GRAY8, |
|
|
|
AV_PIX_FMT_GRAY8, AV_PIX_FMT_GRAY16, |
|
|
|
AV_PIX_FMT_NONE |
|
|
|
AV_PIX_FMT_NONE |
|
|
|
}; |
|
|
|
}; |
|
|
|
ff_set_common_formats(ctx, ff_make_format_list(pix_fmts)); |
|
|
|
ff_set_common_formats(ctx, ff_make_format_list(pix_fmts)); |
|
|
|