modetest: Allocate NV buffers large enough for the two planes
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Fri, 14 Jun 2013 20:57:49 +0000 (22:57 +0200)
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Mon, 5 Aug 2013 12:21:45 +0000 (14:21 +0200)
commit3c967e715528ee52195c178c4d09d03b643f0c06
tree92a15950c4a9a31258c66e5f8a3f5f849bc9b852
parent1ef179d09c465248db47f62f00e718f4911e0e34
modetest: Allocate NV buffers large enough for the two planes

Multiple the image height by 1.5 for NV12/NV21 and by 2 for NV16/NV61 to
make room for the chroma plane.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
tests/modetest/buffers.c