diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2016-06-14 22:27:30 +0300 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2016-06-14 22:38:59 +0300 |
commit | e2fd7dff3621132d94e41002b38ca720cb40f55d (patch) | |
tree | 26652a7c4eb60472adc372ee886e09d8b6888a27 /py | |
parent | 22b0d9f08105e235c666865099b85a043761357d (diff) |
py: add missing pixelformats
Diffstat (limited to 'py')
-rw-r--r-- | py/pykmsbase.cpp | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/py/pykmsbase.cpp b/py/pykmsbase.cpp index d63d4fc..c218c81 100644 --- a/py/pykmsbase.cpp +++ b/py/pykmsbase.cpp @@ -99,8 +99,22 @@ void init_pykmsbase(py::module &m) ; py::enum_<PixelFormat>(m, "PixelFormat") - .value("XRGB8888", PixelFormat::XRGB8888) + .value("Undefined", PixelFormat::Undefined) + + .value("NV12", PixelFormat::NV12) + .value("NV21", PixelFormat::NV21) + + .value("UYVY", PixelFormat::UYVY) .value("YUYV", PixelFormat::YUYV) + .value("YVYU", PixelFormat::YVYU) + .value("VYUY", PixelFormat::VYUY) + + .value("XRGB8888", PixelFormat::XRGB8888) + .value("XBGR8888", PixelFormat::XBGR8888) + .value("ARGB8888", PixelFormat::ARGB8888) + .value("ABGR8888", PixelFormat::ABGR8888) + + .value("RGB565", PixelFormat::RGB565) ; py::class_<Videomode>(m, "Videomode") |