Re: why frameformat instead pixelformat?

2014-03-26 Thread Tom
Tom Bassai_Dai at gmx.net writes:

 
 Hello,
 
 ... 
 For that I found the negotiation rfc of that topic, but I don't really get 
 the relevance of a frameformat.
 
 http://www.spinics.net/lists/linux-media/msg10006.html
 
 Can anyone explain why the media-api uses the frameformat instead of the 
 pixelformat and what the main differences are?
 ...

Can really nobody explain me why the media-api uses the v4l2_mbus_framefmt 
instead of the v4l2_format??


--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: why frameformat instead pixelformat?

2014-03-26 Thread Hans Verkuil
On 03/24/14 17:52, Tom wrote:
 Hello,
 
 while reading into the media-api issue I found out that for configuring the 
 entity pads a frameformat is used.
 
 For that I found the negotiation rfc of that topic, but I don't really get 
 the relevance of a frameformat.
 
 http://www.spinics.net/lists/linux-media/msg10006.html
 
 Can anyone explain why the media-api uses the frameformat instead of the 
 pixelformat and what the main differences are?

The pixelformat describes the image format in memory, the mbus_framefmt
describes the image data as it is transferred over a hardware bus.

It's as simple as that. While the two are related (i.e. to get a certain
pixelformat you probably need to set up a specific mbus_framefmt), the
details of this relationship are board or even use-case dependent.

Regards,

Hans
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


why frameformat instead pixelformat?

2014-03-24 Thread Tom
Hello,

while reading into the media-api issue I found out that for configuring the 
entity pads a frameformat is used.

For that I found the negotiation rfc of that topic, but I don't really get 
the relevance of a frameformat.

http://www.spinics.net/lists/linux-media/msg10006.html

Can anyone explain why the media-api uses the frameformat instead of the 
pixelformat and what the main differences are?

Thanks in advance.

Best regards,
Tom

--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html