Re: I wonder the difference with mbus_pixelcode and v4l2_colorspace.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi

On Wed, 8 Dec 2010, Kim, HeungJun wrote:

> Hi Guennadi,
> 
> I wonder the difference with pixelcode mediabus and v4l2_colorspace.
> In mt9m001.c subdev driver, the "format" seems be determined using the 
> combination pixelcode & colorspace. In the previous kernel 
> version(before using Media Controller),
> somtimes the pixelformat is used for defining format of isp device. But, 
> I gonna change to use Media Controller.

The change to mediabus pixelcodes has happened a while ago, whereas media 
controller is still not in the mainline. Mediabus is physically a bus 
between various parts of the media (video) subsystem, e.g., between a 
sensor and an SoC, or between resizers, format converters, etc., as long 
as data between them is exchanged directly over a set of data and sync 
lines, and not via mamory buffers. Original V4L2 fourcc codes on the other 
side describe data format in _memory_.

The use of a pixelcode and a colorspace has been selected for the new 
mediabus API, so, that's what we have to use now in drivers, using this 
API.

> So, can you tell me where I find about Media Controller, especially 
> pixelcode and colorspace?

Again - these are not directly related things. The MC API has adopted, 
extended and is using the mediabus API, Laurent has documented many things 
wonderfully, have a look at 
http://www.ideasonboard.org/media/media/subdev.html#v4l2-mbus-format

Thanks
Guennadi
---
Guennadi Liakhovetski, Ph.D.
Freelance Open-Source Software Developer
http://www.open-technology.de/
--
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


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux