Re: [RFC/PATCH 3/6] V4L: Add g_embedded_data subdev callback

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

 



Hi Laurent,

On 02/18/2012 12:23 AM, Laurent Pinchart wrote:
  struct v4l2_subdev_video_ops {
  	int (*s_routing)(struct v4l2_subdev *sd, u32 input, u32 output, u32
config); @@ -321,6 +329,8 @@ struct v4l2_subdev_video_ops {
  			     struct v4l2_mbus_config *cfg);
  	int (*s_mbus_config)(struct v4l2_subdev *sd,
  			     const struct v4l2_mbus_config *cfg);
+	int (*g_embedded_data)(struct v4l2_subdev *sd, unsigned int *size,
+			       void **buf);
  };

How is the embedded data transferred from the sensor to the host in your case
? Over I2C ?

It's transferred over MIPI-CSI2 bus and is intercepted by the MIPI-CSI2
receiver, before the image data DMA. The MIPI-CSI2 doesn't have its own
DMA engine. More details can be found in patch 6/6.

--

Regards,
Sylwester
--
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