summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorBenoit Parrot <bparrot@ti.com>2019-09-11 12:04:27 -0500
committerTomi Valkeinen <tomi.valkeinen@iki.fi>2019-09-16 09:19:45 +0300
commit339e794dc14740d3628bac988e33e48d20551df4 (patch)
treec0512d2b303cf5e4e2ecaaa9c440306cdfa00290 /utils
parenta5545df02b40414c2bf3abc60cf629c5f59d00ec (diff)
videodevice: handle NV12 <-> NM12 translation
V4L2 and DRM differ in their interpretation of YUV420::NV12 V4L2 NV12 is a Y and UV co-located planes in a single plane buffer. DRM NV12 is a Y and UV planes presented as dual plane buffer, which is known as NM12 in V4L2. Since here we have hybrid DRM/V4L2 user space helper functions we need to translate DRM::NV12 to V4L2:NM12 pixel format back and forth to keep the data view consistent. Signed-off-by: Benoit Parrot <bparrot@ti.com>
Diffstat (limited to 'utils')
0 files changed, 0 insertions, 0 deletions