From: Tuukka Toivonen
Signed-off-by: Tuukka Toivonen
---
drivers/media/video/isp/isp.c |3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/drivers/media/video/isp/isp.c b/drivers/media/video/isp/isp.c
index ab40110..809b846 100644
--- a/drivers/media/video/isp/isp.c
+++
From: Tuukka Toivonen
When the image size (bytesperline*height) is not multiple
of PAGE_SIZE, v4l2 rounded the required buffer size to
be multiple of PAGE_SIZE. This prevented user space
to store images directly into userptr buffers which were
not multiple of PAGE_SIZE. This constraint is removed
From: Tuukka Toivonen
When restricting the required memory for video buffers,
take into account that each buffer allocation takes multiple
of PAGE_SIZE bytes.
Signed-off-by: Tuukka Toivonen
---
drivers/media/video/omap34xxcam.c |3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff
This patchset removes the constraint which enforced image buffer
size to be multiple of PAGE_SIZE. It improves efficiency by allowing
storing images directly to Ximage buffers removing the need to copy
image data.
It is tested with mmap and userptr methods, changes to V4L1
compatibility layer are