swscale: Add p016 output support and generalise yuv420p1x to p010
To make the best use of existing code, I generalised the wrapper that currently does yuv420p10 to p010 to support any mixture of input and output sizes between 10 and 16 bits. This had the side effect of yielding a working code path for all yuv420p1x formats to p01x.
This commit is contained in:
parent
e990713ff9
commit
9d5aff09a7
16 changed files with 80 additions and 13 deletions
|
@ -254,8 +254,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 },
|
||||
[AV_PIX_FMT_P016LE] = { 1, 1 },
|
||||
[AV_PIX_FMT_P016BE] = { 1, 1 },
|
||||
};
|
||||
|
||||
int sws_isSupportedInput(enum AVPixelFormat pix_fmt)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue