Commit 4fa4f1d7 authored by Philip Langdale's avatar Philip Langdale

swscale: Add test for isSemiPlanarYUV to pixdesc_query

Lauri had asked me what the semi planar formats were and that reminded
me that we could add it to pixdesc_query so we know exactly what the
list is.
parent cd483180
...@@ -32,6 +32,7 @@ static const struct { ...@@ -32,6 +32,7 @@ static const struct {
{"isBE", isBE}, {"isBE", isBE},
{"isYUV", isYUV}, {"isYUV", isYUV},
{"isPlanarYUV", isPlanarYUV}, {"isPlanarYUV", isPlanarYUV},
{"isSemiPlanarYUV", isSemiPlanarYUV},
{"isRGB", isRGB}, {"isRGB", isRGB},
{"Gray", isGray}, {"Gray", isGray},
{"RGBinInt", isRGBinInt}, {"RGBinInt", isRGBinInt},
......
...@@ -347,6 +347,19 @@ isPlanarYUV: ...@@ -347,6 +347,19 @@ isPlanarYUV:
yuvj440p yuvj440p
yuvj444p yuvj444p
isSemiPlanarYUV:
nv12
nv16
nv20be
nv20le
nv21
nv24
nv42
p010be
p010le
p016be
p016le
isRGB: isRGB:
0bgr 0bgr
0rgb 0rgb
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment