[PATCH v6 23/23] modetest: Allocate NV buffers large enough for the two planes

2013-06-15 Thread Laurent Pinchart
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 --- tests/modetest/buffers.c | 19 ++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/tests/modetest/buffers.c

[PATCH v6 23/23] modetest: Allocate NV buffers large enough for the two planes

2013-06-14 Thread Laurent Pinchart
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.pinch...@ideasonboard.com --- tests/modetest/buffers.c | 19 ++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git