Re: [PATCH RFC] V4L: Add s_rx_buffer subdev video operation

2012-09-27 Thread Sylwester Nawrocki
Hi Sakari, On 09/26/2012 10:49 PM, Sakari Ailus wrote: On 09/24/2012 03:44 PM, Sakari Ailus wrote: > How about useing a separate video buffer queue for the purpose? > That would > provide a nice way to pass it to the user space where it's needed. > It'd also > play nicel

Re: [PATCH RFC] V4L: Add s_rx_buffer subdev video operation

2012-09-26 Thread Sakari Ailus
Hi Sylwester, Sylwester Nawrocki wrote: On 09/24/2012 08:26 PM, Sakari Ailus wrote: On Mon, Sep 24, 2012 at 06:51:41PM +0200, Sylwester Nawrocki wrote: On 09/24/2012 03:44 PM, Sakari Ailus wrote: How about useing a separate video buffer queue for the purpose? That would provide a nice way to

Re: [PATCH RFC] V4L: Add s_rx_buffer subdev video operation

2012-09-25 Thread Sylwester Nawrocki
Hi Sakari, On 09/24/2012 08:26 PM, Sakari Ailus wrote: > On Mon, Sep 24, 2012 at 06:51:41PM +0200, Sylwester Nawrocki wrote: >> On 09/24/2012 03:44 PM, Sakari Ailus wrote: >>> How about useing a separate video buffer queue for the purpose? That would >>> provide a nice way to pass it to the user s

Re: [PATCH RFC] V4L: Add s_rx_buffer subdev video operation

2012-09-24 Thread Sakari Ailus
Hi Sylwester, On Mon, Sep 24, 2012 at 06:51:41PM +0200, Sylwester Nawrocki wrote: > Hi Sakari, > > On 09/24/2012 03:44 PM, Sakari Ailus wrote: > > How about useing a separate video buffer queue for the purpose? That would > > provide a nice way to pass it to the user space where it's needed. It'd

Re: [PATCH RFC] V4L: Add s_rx_buffer subdev video operation

2012-09-24 Thread Sylwester Nawrocki
Hi Laurent, On 09/24/2012 03:58 PM, Laurent Pinchart wrote: >> How about useing a separate video buffer queue for the purpose? That would >> provide a nice way to pass it to the user space where it's needed. It'd also >> play nicely together with the frame layout descriptors. > > Beside, a void *

Re: [PATCH RFC] V4L: Add s_rx_buffer subdev video operation

2012-09-24 Thread Sylwester Nawrocki
Hi Sakari, On 09/24/2012 03:44 PM, Sakari Ailus wrote: > How about useing a separate video buffer queue for the purpose? That would > provide a nice way to pass it to the user space where it's needed. It'd also > play nicely together with the frame layout descriptors. It's tempting, but doing fra

Re: [PATCH RFC] V4L: Add s_rx_buffer subdev video operation

2012-09-24 Thread Laurent Pinchart
On Monday 24 September 2012 16:44:54 Sakari Ailus wrote: > On Mon, Sep 24, 2012 at 03:26:53PM +0200, Sylwester Nawrocki wrote: > > The s_rx_buffer callback allows the host to set buffer for non-image > > (meta) data at a subdev. This callback can be implemented by an image > > sensor or a MIPI-CSI

Re: [PATCH RFC] V4L: Add s_rx_buffer subdev video operation

2012-09-24 Thread Sakari Ailus
Hi Sylwester, On Mon, Sep 24, 2012 at 03:26:53PM +0200, Sylwester Nawrocki wrote: > The s_rx_buffer callback allows the host to set buffer for non-image > (meta) data at a subdev. This callback can be implemented by an image > sensor or a MIPI-CSI receiver, allowing the host to retrieve the frame

[PATCH RFC] V4L: Add s_rx_buffer subdev video operation

2012-09-24 Thread Sylwester Nawrocki
The s_rx_buffer callback allows the host to set buffer for non-image (meta) data at a subdev. This callback can be implemented by an image sensor or a MIPI-CSI receiver, allowing the host to retrieve the frame embedded data from a subdev. Signed-off-by: Sylwester Nawrocki Signed-off-by: Kyungmin