swscale: add P016 input support

This commit is contained in:
Philip Langdale
2016-11-20 14:32:49 -08:00
parent 15d7e31dcb
commit 4c2176d45b
3 changed files with 37 additions and 1 deletions

View File

@@ -252,6 +252,8 @@ static const FormatEntry format_entries[AV_PIX_FMT_NB] = {
[AV_PIX_FMT_AYUV64LE] = { 1, 1},
[AV_PIX_FMT_P010LE] = { 1, 1 },
[AV_PIX_FMT_P010BE] = { 1, 1 },
[AV_PIX_FMT_P016LE] = { 1, 0 },
[AV_PIX_FMT_P016BE] = { 1, 0 },
};
int sws_isSupportedInput(enum AVPixelFormat pix_fmt)