Hi, On Wednesday 21 August 2013 16:17:37 Sakari Ailus wrote: > On Wed, Aug 07, 2013 at 05:43:56PM +0000, Thomas Vajzovic wrote: > > It defines the exact size of the physical frame. The JPEG data is padded > > to this size. The size of the JPEG before it was padded is also written > > into the last word of the physical frame. That would require either using a custom pixel format and have userspace reading the size from the buffer, or mapping the buffer in kernel space and reading the size there. The latter is easier for userspace, but might it hinder performances ? > In that case, I think the issue is much lesser than we thought originally: > the image may still well be smaller than the buffer even if the buffer is > e.g. page aligned. -- Regards, Laurent Pinchart -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html