]> git.baikalelectronics.ru Git - kernel.git/commit
[media] soc-camera: Add soc_mbus_image_size
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Wed, 21 Mar 2012 11:03:25 +0000 (08:03 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 15 May 2012 19:10:20 +0000 (16:10 -0300)
commitb8a0217c9556d4d4dfedf8a6df156aa3ec7c2c8f
treee5fad4df40a1e6848b370e34e9d072058c44ccde
parent9a2b2523b0f28e71bdd6441154d45bfebeb18645
[media] soc-camera: Add soc_mbus_image_size

The function returns the minimum size of an image for a given number of
bytes per line (as per the V4L2 specification), width and format.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/soc_mediabus.c
include/media/soc_mediabus.h