swscale: add P210/P410/P216/P416 input

This commit is contained in:
rcombs
2021-11-13 13:34:21 -06:00
parent b2cd1fb2ec
commit f0204de47d
3 changed files with 25 additions and 1 deletions

View File

@@ -268,6 +268,14 @@ static const FormatEntry format_entries[] = {
[AV_PIX_FMT_Y210LE] = { 1, 0 },
[AV_PIX_FMT_X2RGB10LE] = { 1, 1 },
[AV_PIX_FMT_X2BGR10LE] = { 1, 1 },
[AV_PIX_FMT_P210BE] = { 1, 0 },
[AV_PIX_FMT_P210LE] = { 1, 0 },
[AV_PIX_FMT_P410BE] = { 1, 0 },
[AV_PIX_FMT_P410LE] = { 1, 0 },
[AV_PIX_FMT_P216BE] = { 1, 0 },
[AV_PIX_FMT_P216LE] = { 1, 0 },
[AV_PIX_FMT_P416BE] = { 1, 0 },
[AV_PIX_FMT_P416LE] = { 1, 0 },
};
int sws_isSupportedInput(enum AVPixelFormat pix_fmt)