Skip to content

Commit

Permalink
formats: Add NV16
Browse files Browse the repository at this point in the history
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
  • Loading branch information
tomba committed Oct 10, 2024
1 parent 584a372 commit 7b3090e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pixutils/formats/pixelformats.py
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,14 @@ def get_formats():
( ( 2, 1 ), ( 2, 2 ), ),
)

NV16 = PixelFormat('NV16',
'NV16', 'NM16',
PixelColorEncoding.YUV,
False,
2,
( ( 2, 1 ), ( 2, 1 ), ),
)

YUYV = PixelFormat('YUYV',
'YUYV', 'YUYV',
PixelColorEncoding.YUV,
Expand Down

0 comments on commit 7b3090e

Please sign in to comment.