RE: [PATCH 1/2] V4L: soc-camera: switch to using the existing .enum_framesizes()

2012-05-09 Thread Qing Xu
Thanks for the patch! I am ok with it. -Original Message- From: Guennadi Liakhovetski [mailto:g.liakhovet...@gmx.de] Sent: Wednesday, May 09, 2012 5:01 AM To: Linux Media Mailing List Cc: Qing Xu Subject: [PATCH 1/2] V4L: soc-camera: switch to using the existing .enum_framesizes

RE: [PATCH 2/2] V4L: remove unused .enum_mbus_fsizes() subdev video operation

2012-05-09 Thread Qing Xu
Hi Guennadi, Thanks for the patch! I am ok with it. -Original Message- From: Guennadi Liakhovetski [mailto:g.liakhovet...@gmx.de] Sent: Wednesday, May 09, 2012 5:01 AM To: Linux Media Mailing List Cc: Qing Xu Subject: [PATCH 2/2] V4L: remove unused .enum_mbus_fsizes() subdev video

RE: [RFD] frame-size switching: preview / single-shot use-case

2011-02-15 Thread Qing Xu
queue-id for each fmt, then it could allocate/release the required buffer queue by new ioctl. Is my understanding correct? Thanks! -Qing -Original Message- From: Guennadi Liakhovetski [mailto:g.liakhovet...@gmx.de] Sent: 2011年2月16日 1:34 To: Linux Media Mailing List Cc: Qing Xu; Hans Verkuil

RE: soc-camera: RGB888, RBG8888 and JPEG formats not supported in v4l2_mbus_pixelcode

2011-02-08 Thread Qing Xu
Yes, we have the similar JPEG issue, I will currently provide the patch of JPEG for review, thanks! -Qing -Original Message- From: Guennadi Liakhovetski [mailto:g.liakhovet...@gmx.de] Sent: 2011年2月4日 16:11 To: Bhupesh SHARMA Cc: linux-media@vger.kernel.org; Qing Xu Subject: Re: soc

RE: How to support MIPI CSI-2 controller in soc-camera framework?

2011-02-08 Thread Qing Xu
() to find out which is the common property supported by both. What do you think? -Qing -Original Message- From: Guennadi Liakhovetski [mailto:g.liakhovet...@gmx.de] Sent: 2011年2月4日 15:45 To: Qing Xu Cc: Laurent Pinchart; Linux Media Mailing List Subject: RE: How to support MIPI CSI-2

RE: soc-camera s_fmt question?

2011-01-29 Thread Qing Xu
Thanks for your information! I could try it on our driver. -Qing -Original Message- From: Guennadi Liakhovetski [mailto:g.liakhovet...@gmx.de] Sent: 2011年1月30日 2:10 To: Hans Verkuil Cc: Qing Xu; Laurent Pinchart; linux-media@vger.kernel.org Subject: Re: soc-camera s_fmt question? On Mon

RE: [PATCH] [media] v4l: soc-camera: add enum-frame-size ioctl

2011-01-21 Thread Qing Xu
-Original Message- From: Guennadi Liakhovetski [mailto:g.liakhovet...@gmx.de] Sent: 2011年1月21日 18:43 To: Hans Verkuil Cc: Qing Xu; linux-media@vger.kernel.org; Laurent Pinchart Subject: Re: [PATCH] [media] v4l: soc-camera: add enum-frame-size ioctl On Fri, 21 Jan 2011, Hans Verkuil wrote

[PATCH] [media] v4l: soc-camera: add enum-frame-size ioctl

2011-01-20 Thread Qing Xu
add vidioc_enum_framesizes implementation, follow default_g_parm() and g_mbus_fmt() method Signed-off-by: Qing Xu qi...@marvell.com --- drivers/media/video/soc_camera.c | 37 + include/media/soc_camera.h |1 + include/media/v4l2-subdev.h

RE: [PATCH] [media] v4l: soc-camera: add enum-frame-size ioctl

2011-01-20 Thread Qing Xu
Hi Guennadi, Thanks for your careful review and patient and your time!! -Qing -Original Message- From: Guennadi Liakhovetski [mailto:g.liakhovet...@gmx.de] Sent: 2011年1月20日 16:28 To: Qing Xu Cc: Linux Media Mailing List; Hans Verkuil Subject: Re: [PATCH] [media] v4l: soc-camera: add

[PATCH] [media] v4l: soc-camera: add enum-frame-size ioctl

2011-01-20 Thread Qing Xu
add vidioc_enum_framesizes implementation, follow default_g_parm() and g_mbus_fmt() method Signed-off-by: Qing Xu qi...@marvell.com --- drivers/media/video/soc_camera.c | 37 + include/media/soc_camera.h |1 + 2 files changed, 38 insertions(+), 0

RE: [PATCH] [media] v4l: soc-camera: add enum-frame-size ioctl

2011-01-20 Thread Qing Xu
Hi Guennadi, Hans, I update this patch, I use enum_framesizes instead of enum_mbus_fsizes, which is already defined in v4l2-subdev.h, so, do not need to modify v4l2-subdev.h now. Are you ok with it? -Qing -Original Message- From: Qing Xu [mailto:qi...@marvell.com] Sent: 2011年1月21日 9:48

RE: How to support MIPI CSI-2 controller in soc-camera framework?

2011-01-19 Thread Qing Xu
)) ? 0 : common_flags; } -Original Message- From: Guennadi Liakhovetski [mailto:g.liakhovet...@gmx.de] Sent: 2011年1月20日 0:20 To: Qing Xu Cc: Laurent Pinchart; Linux Media Mailing List Subject: Re: How to support MIPI CSI-2 controller in soc-camera framework? (a general

[PATCH] [media] v4l: soc-camera: add enum-frame-size ioctl

2011-01-19 Thread Qing Xu
add vidioc_enum_framesizes implementation, follow default_g_parm() and g_mbus_fmt() method Signed-off-by: Qing Xu qi...@marvell.com --- drivers/media/video/soc_camera.c | 36 include/media/soc_camera.h |1 + include/media/v4l2-subdev.h |2

[PATCH] [media] v4l: soc-camera: add enum-frame-size ioctl

2011-01-18 Thread Qing Xu
add vidioc_enum_framesizes implementation Signed-off-by: Qing Xu qi...@marvell.com --- drivers/media/video/soc_camera.c | 34 ++ include/media/soc_camera.h |1 + include/media/v4l2-subdev.h |2 ++ 3 files changed, 37 insertions(+), 0 deletions

RE: [PATCH] [media] v4l: soc-camera: add enum-frame-size ioctl

2011-01-18 Thread Qing Xu
Hi Guennadi, Thanks for reviewing my patch! I update it again following your suggestion, please take your time to review it again, Thanks a lot! -Qing Email: qi...@marvell.com Application Processor Systems Engineering, Marvell Technology Group Ltd. -Original Message- From: Qing Xu

RE: soc-camera jpeg support?

2011-01-18 Thread Qing Xu
driver. -Qing -Original Message- From: Guennadi Liakhovetski [mailto:g.liakhovet...@gmx.de] Sent: 2011年1月19日 1:31 To: Qing Xu Cc: Laurent Pinchart; Linux Media Mailing List Subject: RE: soc-camera jpeg support? Thanks for the code! With it at hand it is going to be easier to understand

[PATCH] [media] v4l: soc-camera: add enum-frame-size ioctl

2011-01-17 Thread Qing Xu
add vidioc_enum_framesizes implementation, follow default_g_parm() and g_mbus_fmt() method Signed-off-by: Qing Xu qi...@marvell.com --- drivers/media/video/soc_camera.c | 42 ++ include/media/soc_camera.h |1 + include/media/v4l2-subdev.h

soc-camera jpeg support?

2011-01-17 Thread Qing Xu
/v4l2-mediabus.h +++ b/include/media/v4l2-mediabus.h @@ -41,6 +41,7 @@ enum v4l2_mbus_pixelcode { V4L2_MBUS_FMT_SBGGR10_2X8_PADHI_BE, V4L2_MBUS_FMT_SBGGR10_2X8_PADLO_BE, V4L2_MBUS_FMT_SGRBG8_1X8, + V4L2_MBUS_FMT_JPEG_1X8, }; Any ideas will be appreciated! Thanks! Qing Xu

soc-camera s_fmt question?

2011-01-17 Thread Qing Xu
-reqbufs.html A count value of zero frees all buffers, after aborting or finishing any DMA in progress, an implicit VIDIOC_STREAMOFF. What do you think? Any ideas will be appreciated! Thanks! Qing Xu Email: qi...@marvell.com Application Processor Systems Engineering, Marvell Technology Group Ltd

RE: soc-camera s_fmt question?

2011-01-17 Thread Qing Xu
from preview to still capture. Thanks! -Qing -Original Message- From: Guennadi Liakhovetski [mailto:g.liakhovet...@gmx.de] Sent: 2011年1月18日 1:43 To: Qing Xu Cc: Laurent Pinchart; linux-media@vger.kernel.org Subject: Re: soc-camera s_fmt question? On Mon, 17 Jan 2011, Qing Xu wrote: Hi

RE: soc-camera s_fmt question?

2011-01-17 Thread Qing Xu
Hi, Thanks for your answer! So, we will be waiting and keeping sync with latest soc-camera + videobuf2 framework. -Qing -Original Message- From: Hans Verkuil [mailto:hverk...@xs4all.nl] Sent: 2011年1月18日 1:54 To: Guennadi Liakhovetski Cc: Qing Xu; Laurent Pinchart; linux-media

[PATCH] [media] v4l: soc-camera: add enum-frame-size ioctl

2011-01-06 Thread Qing Xu
pass VIDIOC_ENUM_FRAMESIZES down to sub device drivers. So far no special handling in soc-camera core. Signed-off-by: Kassey Lee y...@marvell.com Signed-off-by: Qing Xu qi...@marvell.com --- drivers/media/video/soc_camera.c | 11 +++ 1 files changed, 11 insertions(+), 0 deletions

SOC-Camera VIDIOC_ENUM_FRAMESIZES interface?

2011-01-04 Thread Qing Xu
vidioc_enum_framesizes, so that the application knows how many frame-size is supported by camera driver, and then show all the size options in UI, then allow user to choose one size from the list. Any ideas will be appreciated! Thanks! Qing Xu Email: qi...@marvell.com Application Processor Systems