[Patch v2] uvcvideo: Add simple packed bayer 12-bit formats

2019-01-09 Thread Edgar Thier
These formats are compressed 12-bit raw bayer formats with four different pixel orders. They are similar to 10-bit bayer formats 'IPU3'. Signed-off-by: Edgar Thier --- drivers/media/usb/uvc/uvcvideo.h | 14 +- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/drivers/medi

[PATCH RFC] media: omap3isp: Fix high idle current

2019-01-09 Thread Andreas Kemnade
On the GTA04, current consumption rose by about 30mA when the omap3_isp module was loaded and the v4l device was not accessed and even no camera attached. Module removal fixed it again. Slowing down the removal process reveals that calling isp_detach_iommu() is required to have low current. So isp_

Re: [PATCH 2/3] [media] allegro: add Allegro DVT video IP core driver

2019-01-09 Thread kbuild test robot
Hi Michael, I love your patch! Yet something to improve: [auto build test ERROR on linuxtv-media/master] [also build test ERROR on v5.0-rc1 next-20190109] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci

cron job: media_tree daily build: OK

2019-01-09 Thread Hans Verkuil
This message is generated daily by a cron job that builds media_tree for the kernels and architectures in the list below. Results of the daily build of media_tree: date: Thu Jan 10 05:00:11 CET 2019 media-tree git hash:1e0d0a5fd38192f23304ea2fc2b531fea7c74247 media_build git

You have photos right?

2019-01-09 Thread Helen
We see your photos photos for editing. Please send us the details of this task. Do your photos need cut out? Or clipping path, and retouching? You may give us 1 photo, we will do test for you to check the quality. Thanks, Helen

Re: [PATCH 12/14] media: wl128x-radio: move from TI_ST to hci_ll driver

2019-01-09 Thread Rob Herring
On Wed, Jan 9, 2019 at 1:24 PM Marcel Holtmann wrote: > > Hi Sebastian, > > >>> +static int ll_register_fm(struct ll_device *lldev) > >>> +{ > >>> + struct device *dev = &lldev->serdev->dev; > >>> + int err; > >>> + > >>> + if (!of_device_is_compatible(dev->of_node, "ti,wl1281-st") && > >>>

Re: [RFC PATCH v2] media: rcar-vin: Allow independent VIN link enablement

2019-01-09 Thread Steve Longerbeam
On 1/9/19 2:40 PM, Niklas Söderlund wrote: Hi Steve, Thanks for your patch, I think it looks good. Thanks for the Ack! I'm not real familiar with the RFC patch process. Should this be submitted again with RFC stripped from the subject line? Steve On 2019-01-06 13:20:18 -0800, Steve Lon

Need help on your photos?

2019-01-09 Thread Helen
We see your photos photos for editing. Please send us the details of this task. Do your photos need cut out? Or clipping path, and retouching? You may give us 1 photo, we will do test for you to check the quality. Thanks, Helen

Re: [PATCH v2 2/3] media: imx: set compose rectangle to mbus format

2019-01-09 Thread Steve Longerbeam
Reviewed-by: Steve Longerbeam On 1/9/19 3:08 AM, Philipp Zabel wrote: Prepare for mbus format being smaller than the written rectangle due to burst size. Signed-off-by: Philipp Zabel --- Changes since v1: - Typo fixups, this time applied to the correct patch. --- drivers/staging/media/im

Re: [PATCH v2 1/3] media: imx: add capture compose rectangle

2019-01-09 Thread Steve Longerbeam
Reviewed-by: Steve Longerbeam On 1/9/19 3:08 AM, Philipp Zabel wrote: Allowing to compose captured images into larger memory buffers will let us lift alignment restrictions on CSI crop width. Signed-off-by: Philipp Zabel Acked-by: Sakari Ailus --- Changes since v1: - remove NATIVE_SIZE se

Enhancing the photos

2019-01-09 Thread Jane
Do you have photos for editing? We asked this because we see your photos on your website. We mainly supply service for photos cut out , clipping path, and retouching. You may just send us a photo, we can provide you test editing to check quality. Thanks, Jane

Want retouch photos?

2019-01-09 Thread Jane
Do you have photos for editing? We asked this because we see your photos on your website. We mainly supply service for photos cut out , clipping path, and retouching. You may just send us a photo, we can provide you test editing to check quality. Thanks, Jane

Want retouch photos?

2019-01-09 Thread Jane
Do you have photos for editing? We asked this because we see your photos on your website. We mainly supply service for photos cut out , clipping path, and retouching. You may just send us a photo, we can provide you test editing to check quality. Thanks, Jane

Re: [RFC PATCH v2] media: rcar-vin: Allow independent VIN link enablement

2019-01-09 Thread Niklas Söderlund
Hi Steve, Thanks for your patch, I think it looks good. On 2019-01-06 13:20:18 -0800, Steve Longerbeam wrote: > There is a block of code in rvin_group_link_notify() that loops through > all entities in the media graph, and prevents enabling a link to a VIN > node if any entity is in use. This pre

Re: [RFC PATCH 5/5] v4l2-ctl: add an option to list controls in a machine-readable format

2019-01-09 Thread Antonio Ospite
On Mon, 7 Jan 2019 11:18:58 +0100 Hans Verkuil wrote: > On 01/03/2019 07:01 PM, Antonio Ospite wrote: > > Add a new option --list-ctrls-values to list the values of controls in > > a format which can be passed again to --set-ctrl. > > > > This can be useful to save and restore device settings: >

Re: [PATCH] media: s5p-jpeg: Correct step and max values for V4L2_CID_JPEG_RESTART_INTERVAL

2019-01-09 Thread Jacek Anaszewski
Hi Paweł, Thank you for the patch. On 1/9/19 7:00 PM, Paweł Chmiel wrote: This commit corrects max and step values for v4l2 control for V4L2_CID_JPEG_RESTART_INTERVAL. Max should be 0x and step should be 1. It was found by using v4l2-compliance tool and checking result of VIDIOC_QUERY_EXT_C

One more step for your photos

2019-01-09 Thread Jane
Do you have photos for editing? We asked this because we see your photos on your website. We mainly supply service for photos cut out , clipping path, and retouching. You may just send us a photo, we can provide you test editing to check quality. Thanks, Jane

[PATCH v10 1/2] drm/fourcc: Add new P010, P016 video format

2019-01-09 Thread Randy Li
P010 is a planar 4:2:0 YUV with interleaved UV plane, 10 bits per channel video format. P012 is a planar 4:2:0 YUV 12 bits per channel P016 is a planar 4:2:0 YUV with interleaved UV plane, 16 bits per channel video format. V3: Added P012 and fixed cpp for P010. V4: format definition refined per

[PATCH v10 2/2] drm/fourcc: add a 10bits fully packed variant of NV12

2019-01-09 Thread Randy Li
This pixel format is a fully packed and 10bits variant of NV12. A luma pixel would take 10bits in memory, without any filled bits between pixels in a stride. Signed-off-by: Randy Li --- drivers/gpu/drm/drm_fourcc.c | 4 include/uapi/drm/drm_fourcc.h | 8 2 files changed, 12 insert

[PATCH v10 0/2] Add pixel format for 10 bits YUV video

2019-01-09 Thread Randy Li
As the requirement from: P010 fourcc format support - Was: Re: Kernel error "Unknown pixelformat 0x" occurs when I start capture video I don't know which device would support the P010, P012, P016 video pixel format, but Rockchip would support that NV12_10LE40 and a patch for that driver is

Path your photos?

2019-01-09 Thread Jane
Do you have photos for editing? We asked this because we see your photos on your website. We mainly supply service for photos cut out , clipping path, and retouching. You may just send us a photo, we can provide you test editing to check quality. Thanks, Jane

Path your photos?

2019-01-09 Thread Jane
Do you have photos for editing? We asked this because we see your photos on your website. We mainly supply service for photos cut out , clipping path, and retouching. You may just send us a photo, we can provide you test editing to check quality. Thanks, Jane

Re: [PATCH 12/14] media: wl128x-radio: move from TI_ST to hci_ll driver

2019-01-09 Thread Marcel Holtmann
Hi Sebastian, >>> +static int ll_register_fm(struct ll_device *lldev) >>> +{ >>> + struct device *dev = &lldev->serdev->dev; >>> + int err; >>> + >>> + if (!of_device_is_compatible(dev->of_node, "ti,wl1281-st") && >>> + !of_device_is_compatible(dev->of_node, "ti,wl1283-st") && >>> +

Re: [PATCH v2 3/3] media: imx: lift CSI and PRP ENC/VF width alignment restriction

2019-01-09 Thread Steve Longerbeam
On 1/9/19 3:08 AM, Philipp Zabel wrote: The CSI, PRP ENC, and PRP VF subdevices shouldn't have to care about IDMAC line start address alignment. With compose rectangle support in the capture driver, they don't have to anymore. If the direct CSI -> IC path is enabled, the CSI output width must

RE: [PATCH v7 00/16] Intel IPU3 ImgU patchset

2019-01-09 Thread Mani, Rajmohan
Hi Jacopo, > Subject: Re: [PATCH v7 00/16] Intel IPU3 ImgU patchset > > Hi Raj, > > On Wed, Jan 09, 2019 at 06:01:39PM +, Mani, Rajmohan wrote: > > Hi Jacopo, > > > > > Subject: Re: [PATCH v7 00/16] Intel IPU3 ImgU patchset > > > > > > Hello Raj, > > > > > > On Wed, Jan 09, 2019 at 05:00:21P

[PATCH] media: imx-csi: Input connections to CSI should be optional

2019-01-09 Thread Steve Longerbeam
Some imx platforms do not have fwnode connections to all CSI input ports, and should not be treated as an error. This includes the imx6q SabreAuto, which has no connections to ipu1_csi1 and ipu2_csi0. Return -ENOTCONN in imx_csi_parse_endpoint() so that v4l2-fwnode endpoint parsing will not treat a

[PATCH v8 05/11] media: imx-csi: Double crop height for alternate fields at sink

2019-01-09 Thread Steve Longerbeam
If the incoming sink field type is alternate, the reset crop height and crop height bounds must be set to twice the incoming height, because in alternate field mode, upstream will report only the lines for a single field, and the CSI captures the whole frame. Signed-off-by: Steve Longerbeam Revie

[PATCH v8 07/11] media: imx-csi: Allow skipping odd chroma rows for YVU420

2019-01-09 Thread Steve Longerbeam
Skip writing U/V components to odd rows for YVU420 in addition to YUV420 and NV12. Signed-off-by: Steve Longerbeam Reviewed-by: Philipp Zabel --- drivers/staging/media/imx/imx-media-csi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/media/imx/imx-media-csi.c b/drivers/st

[PATCH v8 03/11] gpu: ipu-v3: Add planar support to interlaced scan

2019-01-09 Thread Steve Longerbeam
To support interlaced scan with planar formats, cpmem SLUV must be programmed with the correct chroma line stride. For full and partial planar 4:2:2 (YUV422P, NV16), chroma line stride must be doubled. For full and partial planar 4:2:0 (YUV420, YVU420, NV12), chroma line stride must _not_ be double

[PATCH v8 02/11] gpu: ipu-csi: Swap fields according to input/output field types

2019-01-09 Thread Steve Longerbeam
The function ipu_csi_init_interface() was inverting the F-bit for NTSC case, in the CCIR_CODE_1/2 registers. The result being that for NTSC bottom-top field order, the CSI would swap fields and capture in top-bottom order. Instead, base field swap on the field order of the input to the CSI, and th

[PATCH v8 06/11] media: imx: interweave and odd-chroma-row skip are incompatible

2019-01-09 Thread Steve Longerbeam
If IDMAC interweaving is enabled in a write channel, the channel must write the odd chroma rows for 4:2:0 formats. Skipping writing the odd chroma rows produces corrupted captured 4:2:0 images when interweave is enabled. Reported-by: Krzysztof Hałasa Signed-off-by: Steve Longerbeam Reviewed-by:

[PATCH v8 08/11] media: imx: vdic: rely on VDIC for correct field order

2019-01-09 Thread Steve Longerbeam
prepare_vdi_in_buffers() was setting up the dma pointers as if the VDIC is always programmed to receive the fields in bottom-top order, i.e. as if ipu_vdi_set_field_order() only programs BT order in the VDIC. But that's not true, ipu_vdi_set_field_order() is working correctly. So fix prepare_vdi_i

[PATCH v8 10/11] media: imx: Allow interweave with top/bottom lines swapped

2019-01-09 Thread Steve Longerbeam
Allow sequential->interlaced interweaving but with top/bottom lines swapped to the output buffer. This can be accomplished by adding one line length to IDMAC output channel address, with a negative line length for the interlace offset. This is to allow the seq-bt -> interlaced-bt transformation,

[PATCH v8 11/11] media: imx.rst: Update doc to reflect fixes to interlaced capture

2019-01-09 Thread Steve Longerbeam
Also add an example pipeline for unconverted capture with interweave on SabreAuto. Cleanup some language in various places in the process. Signed-off-by: Steve Longerbeam Reviewed-by: Philipp Zabel --- Changes since v4: - Make clear that it is IDMAC channel that does pixel reordering and inte

[PATCH v8 00/11] imx-media: Fixes for interlaced capture

2019-01-09 Thread Steve Longerbeam
A set of patches that fixes some bugs with capturing from an interlaced source, and incompatibilites between IDMAC interlace interweaving and 4:2:0 data write reduction. History: v8: - Add some missing sign-offs. No functional changes. v7: - Remove regression-fix patch "media: imx-csi: Input conn

[PATCH v8 09/11] media: imx-csi: Move crop/compose reset after filling default mbus fields

2019-01-09 Thread Steve Longerbeam
If caller passes un-initialized field type V4L2_FIELD_ANY to CSI sink pad, the reset CSI crop window would not be correct, because the crop window depends on a valid input field type. To fix move the reset of crop and compose windows to after the call to imx_media_fill_default_mbus_fields(). Signe

[PATCH v8 01/11] media: videodev2.h: Add more field helper macros

2019-01-09 Thread Steve Longerbeam
Adds two helper macros: V4L2_FIELD_IS_SEQUENTIAL: returns true if the given field type is 'sequential', that is a full frame is transmitted, or exists in memory, as all top field lines followed by all bottom field lines, or vice-versa. V4L2_FIELD_IS_INTERLACED: returns true if the given field typ

[PATCH v8 04/11] media: imx: Fix field negotiation

2019-01-09 Thread Steve Longerbeam
IDMAC interlaced scan, a.k.a. interweave, should be enabled in the IDMAC output channels only if the IDMAC output pad field type is 'seq-bt' or 'seq-tb', and field type at the capture interface is 'interlaced*'. V4L2_FIELD_HAS_BOTH() macro should not be used on the input to determine enabling inte

Re: [PATCH v7 00/16] Intel IPU3 ImgU patchset

2019-01-09 Thread Jacopo Mondi
Hi Raj, On Wed, Jan 09, 2019 at 06:01:39PM +, Mani, Rajmohan wrote: > Hi Jacopo, > > > Subject: Re: [PATCH v7 00/16] Intel IPU3 ImgU patchset > > > > Hello Raj, > > > > On Wed, Jan 09, 2019 at 05:00:21PM +, Mani, Rajmohan wrote: > > > Hi Laurent, Tomasz, Jacopo, > > > > > > > Subject: Re:

Re: P010 fourcc format support - Was: Re: Kernel error "Unknown pixelformat 0x00000000" occurs when I start capture video

2019-01-09 Thread Nicolas Dufresne
Le mercredi 09 janvier 2019 à 15:28 -0200, Mauro Carvalho Chehab a écrit : > Em Wed, 09 Jan 2019 11:52:45 -0500 > Nicolas Dufresne escreveu: > > > Le jeudi 10 janvier 2019 à 00:42 +0800, Ayaka a écrit : > > > > There is a UVC media device that supports P010 device. We're discussing > > > > about

[PATCH v7 11/11] media: imx.rst: Update doc to reflect fixes to interlaced capture

2019-01-09 Thread Steve Longerbeam
Also add an example pipeline for unconverted capture with interweave on SabreAuto. Cleanup some language in various places in the process. Signed-off-by: Steve Longerbeam --- Changes since v4: - Make clear that it is IDMAC channel that does pixel reordering and interweave, not the CSI. Caught

[PATCH v7 01/11] media: videodev2.h: Add more field helper macros

2019-01-09 Thread Steve Longerbeam
Adds two helper macros: V4L2_FIELD_IS_SEQUENTIAL: returns true if the given field type is 'sequential', that is a full frame is transmitted, or exists in memory, as all top field lines followed by all bottom field lines, or vice-versa. V4L2_FIELD_IS_INTERLACED: returns true if the given field typ

[PATCH v7 02/11] gpu: ipu-csi: Swap fields according to input/output field types

2019-01-09 Thread Steve Longerbeam
The function ipu_csi_init_interface() was inverting the F-bit for NTSC case, in the CCIR_CODE_1/2 registers. The result being that for NTSC bottom-top field order, the CSI would swap fields and capture in top-bottom order. Instead, base field swap on the field order of the input to the CSI, and th

Re: [PATCH 10/14] media: wl128x-radio: simplify fmc_prepare/fmc_release

2019-01-09 Thread Sebastian Reichel
Hi Pavel, On Sat, Dec 22, 2018 at 08:29:34PM +0100, Pavel Machek wrote: > On Fri 2018-12-21 02:17:48, Sebastian Reichel wrote: > > From: Sebastian Reichel > > > > Remove unused return code from fmc_prepare() and fmc_release() to > > simplify the code a bit. > > > > /* > > * This function wi

[PATCH v7 09/11] media: imx-csi: Move crop/compose reset after filling default mbus fields

2019-01-09 Thread Steve Longerbeam
If caller passes un-initialized field type V4L2_FIELD_ANY to CSI sink pad, the reset CSI crop window would not be correct, because the crop window depends on a valid input field type. To fix move the reset of crop and compose windows to after the call to imx_media_fill_default_mbus_fields(). Signe

[PATCH v7 08/11] media: imx: vdic: rely on VDIC for correct field order

2019-01-09 Thread Steve Longerbeam
prepare_vdi_in_buffers() was setting up the dma pointers as if the VDIC is always programmed to receive the fields in bottom-top order, i.e. as if ipu_vdi_set_field_order() only programs BT order in the VDIC. But that's not true, ipu_vdi_set_field_order() is working correctly. So fix prepare_vdi_i

[PATCH v7 03/11] gpu: ipu-v3: Add planar support to interlaced scan

2019-01-09 Thread Steve Longerbeam
To support interlaced scan with planar formats, cpmem SLUV must be programmed with the correct chroma line stride. For full and partial planar 4:2:2 (YUV422P, NV16), chroma line stride must be doubled. For full and partial planar 4:2:0 (YUV420, YVU420, NV12), chroma line stride must _not_ be double

[PATCH v7 06/11] media: imx: interweave and odd-chroma-row skip are incompatible

2019-01-09 Thread Steve Longerbeam
If IDMAC interweaving is enabled in a write channel, the channel must write the odd chroma rows for 4:2:0 formats. Skipping writing the odd chroma rows produces corrupted captured 4:2:0 images when interweave is enabled. Reported-by: Krzysztof Hałasa Signed-off-by: Steve Longerbeam Reviewed-by:

[PATCH v7 05/11] media: imx-csi: Double crop height for alternate fields at sink

2019-01-09 Thread Steve Longerbeam
If the incoming sink field type is alternate, the reset crop height and crop height bounds must be set to twice the incoming height, because in alternate field mode, upstream will report only the lines for a single field, and the CSI captures the whole frame. Signed-off-by: Steve Longerbeam Revie

[PATCH v7 04/11] media: imx: Fix field negotiation

2019-01-09 Thread Steve Longerbeam
IDMAC interlaced scan, a.k.a. interweave, should be enabled in the IDMAC output channels only if the IDMAC output pad field type is 'seq-bt' or 'seq-tb', and field type at the capture interface is 'interlaced*'. V4L2_FIELD_HAS_BOTH() macro should not be used on the input to determine enabling inte

[PATCH v7 07/11] media: imx-csi: Allow skipping odd chroma rows for YVU420

2019-01-09 Thread Steve Longerbeam
Skip writing U/V components to odd rows for YVU420 in addition to YUV420 and NV12. Signed-off-by: Steve Longerbeam Reviewed-by: Philipp Zabel --- drivers/staging/media/imx/imx-media-csi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/media/imx/imx-media-csi.c b/drivers/st

[PATCH v7 10/11] media: imx: Allow interweave with top/bottom lines swapped

2019-01-09 Thread Steve Longerbeam
Allow sequential->interlaced interweaving but with top/bottom lines swapped to the output buffer. This can be accomplished by adding one line length to IDMAC output channel address, with a negative line length for the interlace offset. This is to allow the seq-bt -> interlaced-bt transformation,

[PATCH v7 00/11] imx-media: Fixes for interlaced capture

2019-01-09 Thread Steve Longerbeam
A set of patches that fixes some bugs with capturing from an interlaced source, and incompatibilites between IDMAC interlace interweaving and 4:2:0 data write reduction. History: v7: - Remove regression-fix patch "media: imx-csi: Input connections to CSI should be optional" which will be submitt

Re: [PATCH 12/14] media: wl128x-radio: move from TI_ST to hci_ll driver

2019-01-09 Thread Sebastian Reichel
Hi Marcel, First of all thanks for your review. On Sun, Dec 23, 2018 at 04:56:47PM +0100, Marcel Holtmann wrote: > Hi Sebastian, [...] > > +static int ll_register_fm(struct ll_device *lldev) > > +{ > > + struct device *dev = &lldev->serdev->dev; > > + int err; > > + > > + if (!of_device_i

RE: [PATCH v7 00/16] Intel IPU3 ImgU patchset

2019-01-09 Thread Mani, Rajmohan
Hi Jacopo, > Subject: Re: [PATCH v7 00/16] Intel IPU3 ImgU patchset > > Hello Raj, > > On Wed, Jan 09, 2019 at 05:00:21PM +, Mani, Rajmohan wrote: > > Hi Laurent, Tomasz, Jacopo, > > > > > Subject: Re: [PATCH v7 00/16] Intel IPU3 ImgU patchset > > > > > > Hello, > > > > > > On Tue, Jan 08, 2

Re: [PATCH 02/13] si2157: Check error status bit on cmd execute

2019-01-09 Thread Antti Palosaari
On 12/29/18 7:51 PM, Brad Love wrote: Check error status bit on command execute, if error bit is set return -EAGAIN. Ignore -EAGAIN in probe during device check. Signed-off-by: Brad Love --- drivers/media/tuners/si2157.c | 12 +--- 1 file changed, 9 insertions(+), 3 deletions(-) dif

[PATCH] media: s5p-jpeg: Correct step and max values for V4L2_CID_JPEG_RESTART_INTERVAL

2019-01-09 Thread Paweł Chmiel
This commit corrects max and step values for v4l2 control for V4L2_CID_JPEG_RESTART_INTERVAL. Max should be 0x and step should be 1. It was found by using v4l2-compliance tool and checking result of VIDIOC_QUERY_EXT_CTRL/QUERYMENU test. Previously it was complaining that step was bigger than di

Re: [PATCH 1/4] si2157: add detection of si2177 tuner

2019-01-09 Thread Antti Palosaari
On 12/20/18 11:57 PM, Brad Love wrote: Works in ATSC and QAM as is, DVB is completely untested. Firmware required. Signed-off-by: Brad Love --- drivers/media/tuners/si2157.c | 6 ++ drivers/media/tuners/si2157_priv.h | 3 ++- #define SI2158_A20_FIRMWARE "dvb-tuner-si2158-a20-0

Re: P010 fourcc format support - Was: Re: Kernel error "Unknown pixelformat 0x00000000" occurs when I start capture video

2019-01-09 Thread Mauro Carvalho Chehab
Em Wed, 09 Jan 2019 11:52:45 -0500 Nicolas Dufresne escreveu: > Le jeudi 10 janvier 2019 à 00:42 +0800, Ayaka a écrit : > > > There is a UVC media device that supports P010 device. We're discussing > > > about adding support for it on media. The full thread is at: > > > > > > https://lore.kernel

Re: [PATCH v6 05/12] media: imx-csi: Input connections to CSI should be optional

2019-01-09 Thread Steve Longerbeam
On 1/9/19 3:13 AM, Philipp Zabel wrote: On Tue, 2019-01-08 at 16:15 -0800, Steve Longerbeam wrote: Some imx platforms do not have fwnode connections to all CSI input ports, and should not be treated as an error. This includes the imx6q SabreAuto, which has no connections to ipu1_csi1 and ipu2

Re: [PATCH v7 00/16] Intel IPU3 ImgU patchset

2019-01-09 Thread Jacopo Mondi
Hello Raj, On Wed, Jan 09, 2019 at 05:00:21PM +, Mani, Rajmohan wrote: > Hi Laurent, Tomasz, Jacopo, > > > -Original Message- > > From: Jacopo Mondi [mailto:jac...@jmondi.org] > > Sent: Wednesday, January 09, 2019 8:41 AM > > To: Tomasz Figa > > Cc: Zhi, Yong ; Mani, Rajmohan > > ; Qi

RE: [PATCH v7 00/16] Intel IPU3 ImgU patchset

2019-01-09 Thread Mani, Rajmohan
Hi Laurent, Tomasz, Jacopo, > -Original Message- > From: Jacopo Mondi [mailto:jac...@jmondi.org] > Sent: Wednesday, January 09, 2019 8:41 AM > To: Tomasz Figa > Cc: Zhi, Yong ; Mani, Rajmohan > ; Qiu, Tian Shu ; Cao, > Bingbu ; Laurent Pinchart > ; Linux Media Mailing List me...@vger.ker

Re: P010 fourcc format support - Was: Re: Kernel error "Unknown pixelformat 0x00000000" occurs when I start capture video

2019-01-09 Thread Nicolas Dufresne
Le jeudi 10 janvier 2019 à 00:42 +0800, Ayaka a écrit : > > There is a UVC media device that supports P010 device. We're discussing > > about adding support for it on media. The full thread is at: > > > > https://lore.kernel.org/linux-media/20190109121900.hbrpttmxz3gao...@valkosipuli.retiisi.org.u

Re: P010 fourcc format support - Was: Re: Kernel error "Unknown pixelformat 0x00000000" occurs when I start capture video

2019-01-09 Thread Ayaka
Sent from my iPad > On Jan 9, 2019, at 9:01 PM, Mauro Carvalho Chehab > wrote: > > Em Wed, 9 Jan 2019 14:19:00 +0200 > Sakari Ailus escreveu: > >>> On Tue, Jan 08, 2019 at 04:49:16PM -0200, Mauro Carvalho Chehab wrote: >>> Em Tue, 8 Jan 2019 21:11:41 +0500 >>> Mikhail Gavrilov escreveu: >

Re: [PATCH v7 00/16] Intel IPU3 ImgU patchset

2019-01-09 Thread Jacopo Mondi
Hello, On Tue, Jan 08, 2019 at 03:54:34PM +0900, Tomasz Figa wrote: > Hi Raj, Yong, Bingbu, Tianshu, > > On Fri, Dec 21, 2018 at 12:04 PM Tomasz Figa wrote: > > > > On Fri, Dec 21, 2018 at 7:24 AM Laurent Pinchart > > wrote: > > > > > > Hellon > > > > > > On Sunday, 16 December 2018 09:26:18 EET

Re: [PATCH 2/2] media: cedrus: Allow using the current dst buffer as reference

2019-01-09 Thread Hans Verkuil
On 01/09/19 15:42, Paul Kocialkowski wrote: > Hi, > > On Wed, 2019-01-09 at 15:29 +0100, Hans Verkuil wrote: >> On 01/09/19 15:19, Paul Kocialkowski wrote: >>> It was reported that some cases of interleaved video decoding require >>> using the current destination buffer as a reference. However, th

[PATCH v2.1 08/13] media: mt9m001: remove remaining soc_camera specific code

2019-01-09 Thread Akinobu Mita
Remove remaining soc_camera specific code and drop soc_camera dependency from this driver. Cc: Guennadi Liakhovetski Cc: Sakari Ailus Cc: Mauro Carvalho Chehab Signed-off-by: Akinobu Mita --- * v2.1 - Fix misconversion while opencoding soc_camera_limit_side(). drivers/media/i2c/Kconfig |

Re: [PATCH 2/2] media: cedrus: Allow using the current dst buffer as reference

2019-01-09 Thread Paul Kocialkowski
Hi, On Wed, 2019-01-09 at 15:29 +0100, Hans Verkuil wrote: > On 01/09/19 15:19, Paul Kocialkowski wrote: > > It was reported that some cases of interleaved video decoding require > > using the current destination buffer as a reference. However, this is > > no longer possible after the move to vb2_

Re: [PATCH 2/2] media: cedrus: Allow using the current dst buffer as reference

2019-01-09 Thread Hans Verkuil
On 01/09/19 15:19, Paul Kocialkowski wrote: > It was reported that some cases of interleaved video decoding require > using the current destination buffer as a reference. However, this is > no longer possible after the move to vb2_find_timestamp because only > dequeued and done buffers are consider

[PATCH 2/2] media: cedrus: Allow using the current dst buffer as reference

2019-01-09 Thread Paul Kocialkowski
It was reported that some cases of interleaved video decoding require using the current destination buffer as a reference. However, this is no longer possible after the move to vb2_find_timestamp because only dequeued and done buffers are considered. Add a helper in our driver that also considers

[PATCH 1/2] media: cedrus: Cleanup duplicate declarations from cedrus_dec header

2019-01-09 Thread Paul Kocialkowski
Some leftover declarations are still in the cedrus_dec header although they were moved to cedrus_video already. Clean them up. Signed-off-by: Paul Kocialkowski --- drivers/staging/media/sunxi/cedrus/cedrus_dec.h | 6 -- 1 file changed, 6 deletions(-) diff --git a/drivers/staging/media/sunxi

Re: [PATCH v2 6/6] media: adv748x: Implement TX link_setup callback

2019-01-09 Thread Kieran Bingham
Hi Jacopo, One more comment below: On 07/01/2019 12:36, Kieran Bingham wrote: > Hi Jacopo, > > On 06/01/2019 15:54, Jacopo Mondi wrote: >> When the adv748x driver is informed about a link being created from HDMI or >> AFE to a CSI-2 TX output, the 'link_setup()' callback is invoked. Make >> sure

Re: [PATCH v2 6/6] media: adv748x: Implement TX link_setup callback

2019-01-09 Thread Kieran Bingham
On 09/01/2019 00:15, Laurent Pinchart wrote: > Hello, > > On Monday, 7 January 2019 14:36:28 EET Kieran Bingham wrote: >> On 06/01/2019 15:54, Jacopo Mondi wrote: >>> When the adv748x driver is informed about a link being created from HDMI >>> or AFE to a CSI-2 TX output, the 'link_setup()' callba

Re: cron job: media_tree daily build: OK

2019-01-09 Thread Hans Verkuil
On 01/03/19 05:33, Hans Verkuil wrote: > This message is generated daily by a cron job that builds media_tree for > the kernels and architectures in the list below. Sorry, the mail from the cron job stopped working. It should be fixed now. I also (hopefully) fixed compilation failures after the m

Re: [PATCH v2 08/13] media: mt9m001: remove remaining soc_camera specific code

2019-01-09 Thread Sakari Ailus
Hi Mita-san, On Wed, Jan 09, 2019 at 12:40:33AM +0900, Akinobu Mita wrote: > 2019年1月8日(火) 23:52 Akinobu Mita : > > > > Remove remaining soc_camera specific code and drop soc_camera dependency > > from this driver. > > > > Cc: Guennadi Liakhovetski > > Cc: Sakari Ailus > > Cc: Mauro Carvalho Cheh

Re: [PATCH v2 1/3] videobuf2-core: Prevent size alignment wrapping buffer size to 0

2019-01-09 Thread Sakari Ailus
Hi Mauro, On Wed, Jan 09, 2019 at 10:13:42AM -0200, Mauro Carvalho Chehab wrote: > Em Tue, 08 Jan 2019 18:05:57 +0200 > Laurent Pinchart escreveu: > > > On Tuesday, 8 January 2019 16:30:22 EET Mauro Carvalho Chehab wrote: > > > Em Tue, 8 Jan 2019 15:40:47 +0200 > > > > > > Sakari Ailus escreve

Re: [V3, 4/4] media: platform: dwc: Add MIPI CSI-2 controller driver

2019-01-09 Thread Eugen.Hristev
On 19.10.2018 15:52, Luis Oliveira wrote: > Add the Synopsys MIPI CSI-2 controller driver. This > controller driver is divided in platform dependent functions > and core functions. It also includes a platform for future > DesignWare drivers. > > Signed-off-by: Luis Oliveira > --- > Changelog >

P010 fourcc format support - Was: Re: Kernel error "Unknown pixelformat 0x00000000" occurs when I start capture video

2019-01-09 Thread Mauro Carvalho Chehab
Em Wed, 9 Jan 2019 14:19:00 +0200 Sakari Ailus escreveu: > On Tue, Jan 08, 2019 at 04:49:16PM -0200, Mauro Carvalho Chehab wrote: > > Em Tue, 8 Jan 2019 21:11:41 +0500 > > Mikhail Gavrilov escreveu: > > > > > On Tue, 8 Jan 2019 at 20:57, Laurent Pinchart > > > wrote: > > > > > > > > Thank

Re: [PATCH v4 8/9] phy: Add Cadence D-PHY support

2019-01-09 Thread Sakari Ailus
On Wed, Jan 09, 2019 at 10:33:25AM +0100, Maxime Ripard wrote: > Cadence has designed a D-PHY that can be used by the, currently in tree, > DSI bridge (DRM), CSI Transceiver and CSI Receiver (v4l2) drivers. > > Only the DSI driver has an ad-hoc driver for that phy at the moment, while > the v4l2 d

Re: [PATCH v4 7/9] dt-bindings: phy: Move the Cadence D-PHY bindings

2019-01-09 Thread Sakari Ailus
Hi Maxime, On Wed, Jan 09, 2019 at 10:33:24AM +0100, Maxime Ripard wrote: > The Cadence D-PHY bindings was defined as part of the DSI block so far. > However, since it's now going to be a separate driver, we need to move the > binding to a file of its own. > > Signed-off-by: Maxime Ripard Revie

Re: [PATCH v4 0/9] phy: Add configuration interface for MIPI D-PHY devices

2019-01-09 Thread Sakari Ailus
On Wed, Jan 09, 2019 at 10:33:17AM +0100, Maxime Ripard wrote: > Hi, > > Here is a set of patches to allow the phy framework consumers to test and > apply runtime configurations. > > This is needed to support more phy classes that require tuning based on > parameters depending on the current use

Re: Kernel error "Unknown pixelformat 0x00000000" occurs when I start capture video

2019-01-09 Thread Sakari Ailus
On Tue, Jan 08, 2019 at 04:49:16PM -0200, Mauro Carvalho Chehab wrote: > Em Tue, 8 Jan 2019 21:11:41 +0500 > Mikhail Gavrilov escreveu: > > > On Tue, 8 Jan 2019 at 20:57, Laurent Pinchart > > wrote: > > > > > > Thank you. > > > > > > Your device exposes five formats: YUY2 (YUYV), YV12 (YVU420),

Re: [PATCH v2 1/3] videobuf2-core: Prevent size alignment wrapping buffer size to 0

2019-01-09 Thread Mauro Carvalho Chehab
Em Tue, 08 Jan 2019 18:05:57 +0200 Laurent Pinchart escreveu: > On Tuesday, 8 January 2019 16:30:22 EET Mauro Carvalho Chehab wrote: > > Em Tue, 8 Jan 2019 15:40:47 +0200 > > > > Sakari Ailus escreveu: > > > On Tue, Jan 08, 2019 at 10:59:55AM -0200, Mauro Carvalho Chehab wrote: > > > > Em T

Re: Kernel error "Unknown pixelformat 0x00000000" occurs when I start capture video

2019-01-09 Thread Mauro Carvalho Chehab
Em Wed, 9 Jan 2019 08:51:29 +0500 Mikhail Gavrilov escreveu: > I upgraded kernel to 5.0 rc1 and the error message "Unknown > pixelformat 0x" are disappeared. > > Instead I see not obvious message "uvcvideo: Non-zero status (-71) in > video completion handler." This is unrelated. Usuall

[PATCH] keytable: add support for iMON RSC remote pointer

2019-01-09 Thread Sean Young
This remote has a small joystick which acts like a mouse. Support decoding this. Signed-off-by: Sean Young --- utils/keytable/bpf_protocols/Makefile.am | 2 +- utils/keytable/bpf_protocols/bpf_helpers.h| 192 +++--- utils/keytable/bpf_protocols/imon_rsc.c | 156 +

Re: [PATCH 2/2] media: v4l: xilinx: Add Xilinx MIPI CSI-2 Rx Subsystem driver

2019-01-09 Thread Sakari Ailus
Hi Vishal, Please see my comments below. On Wed, May 30, 2018 at 12:24:44AM +0530, Vishal Sagar wrote: > The Xilinx MIPI CSI-2 Rx Subsystem soft IP is used to capture images > from MIPI CSI-2 camera sensors and output AXI4-Stream video data ready > for image processing. > > It supports upto 4 la

Send the photos?

2019-01-09 Thread Helen
We see your photos photos for editing. Please send us the details of this task. Do your photos need cut out? Or clipping path, and retouching? You may give us 1 photo, we will do test for you to check the quality. Thanks, Helen

[PATCH 1/3] media: dt-bindings: media: document allegro-dvt bindings

2019-01-09 Thread Michael Tretter
Add device-tree bindings for the Allegro DVT video IP core found on the Xilinx ZynqMP EV family. Signed-off-by: Michael Tretter --- .../devicetree/bindings/media/allegro.txt | 35 +++ 1 file changed, 35 insertions(+) create mode 100644 Documentation/devicetree/bindings/media

[PATCH 0/3] Add ZynqMP VCU/Allegro DVT H.264 encoder driver

2019-01-09 Thread Michael Tretter
This series adds support for the Allegro DVT H.264 encoder found in the EV family of the Xilinx ZynqMP platform. The encoder is part of the ZynqMP VCU (video codec unit), which supports encoding and decoding of H.264 and H.265. I am planning to support decoding and H.265 as well in this driver. T

[PATCH 2/3] [media] allegro: add Allegro DVT video IP core driver

2019-01-09 Thread Michael Tretter
Add a V4L2 mem-to-mem driver for Allegro DVT video IP cores as found in the EV family of the Xilinx ZynqMP SoC. The Zynq UltraScale+ Device Technical Reference Manual uses the term VCU (Video Codec Unit) for the encoder, decoder and system integration block. This driver takes care of interacting w

[PATCH 3/3] [media] allegro: add SPS/PPS nal unit writer

2019-01-09 Thread Michael Tretter
The allegro hardware encoder does not write SPS/PPS nal units into the encoded video stream. Therefore, we need to write the units in software. The implementation follows Rec. ITU-T H.264 (04/2017) to allow to convert between a C struct and the RBSP representation of the SPS and PPS nal units. Th

[PATCH] media: saa7146: make use of i2c_8bit_addr_from_msg

2019-01-09 Thread Peter Rosin
Because it looks neater. Signed-off-by: Peter Rosin --- drivers/media/common/saa7146/saa7146_i2c.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/media/common/saa7146/saa7146_i2c.c b/drivers/media/common/saa7146/saa7146_i2c.c index 3feddc52c446..df9ebe2a168c 100

Re: [PATCH v5 1/1] media: rc: rcmm decoder

2019-01-09 Thread Sean Young
Hi Patrick, On Sat, Dec 08, 2018 at 02:18:05AM +0100, Patrick Lerda wrote: > media: add support for RCMM infrared remote controls. > > Signed-off-by: Patrick Lerda Sorry about the delay in getting this reviewed. December was a very busy month for me. > --- > MAINTAINERS

Re: [PATCH v6 12/12] media: imx.rst: Update doc to reflect fixes to interlaced capture

2019-01-09 Thread Philipp Zabel
On Tue, 2019-01-08 at 16:15 -0800, Steve Longerbeam wrote: > Also add an example pipeline for unconverted capture with interweave > on SabreAuto. > > Cleanup some language in various places in the process. > > Signed-off-by: Steve Longerbeam Reviewed-by: Philipp Zabel regards Philipp

Re: [PATCH v6 05/12] media: imx-csi: Input connections to CSI should be optional

2019-01-09 Thread Philipp Zabel
On Tue, 2019-01-08 at 16:15 -0800, Steve Longerbeam wrote: > Some imx platforms do not have fwnode connections to all CSI input > ports, and should not be treated as an error. This includes the > imx6q SabreAuto, which has no connections to ipu1_csi1 and ipu2_csi0. > Return -ENOTCONN in imx_csi_par

Re: [PATCH v6 02/12] gpu: ipu-csi: Swap fields according to input/output field types

2019-01-09 Thread Philipp Zabel
On Tue, 2019-01-08 at 16:15 -0800, Steve Longerbeam wrote: > The function ipu_csi_init_interface() was inverting the F-bit for > NTSC case, in the CCIR_CODE_1/2 registers. The result being that > for NTSC bottom-top field order, the CSI would swap fields and > capture in top-bottom order. > > Inst

[PATCH v2 3/3] media: imx: lift CSI and PRP ENC/VF width alignment restriction

2019-01-09 Thread Philipp Zabel
The CSI, PRP ENC, and PRP VF subdevices shouldn't have to care about IDMAC line start address alignment. With compose rectangle support in the capture driver, they don't have to anymore. If the direct CSI -> IC path is enabled, the CSI output width must still be aligned to 8 pixels (IC burst length

[PATCH v2 1/3] media: imx: add capture compose rectangle

2019-01-09 Thread Philipp Zabel
Allowing to compose captured images into larger memory buffers will let us lift alignment restrictions on CSI crop width. Signed-off-by: Philipp Zabel Acked-by: Sakari Ailus --- Changes since v1: - remove NATIVE_SIZE selection target - fixed typo in capture_s_fmt_vid_cap --- drivers/staging/m

[PATCH v2 2/3] media: imx: set compose rectangle to mbus format

2019-01-09 Thread Philipp Zabel
Prepare for mbus format being smaller than the written rectangle due to burst size. Signed-off-by: Philipp Zabel --- Changes since v1: - Typo fixups, this time applied to the correct patch. --- drivers/staging/media/imx/imx-media-capture.c | 56 +-- 1 file changed, 38 insertions

[PATCH v4 0/9] phy: Add configuration interface for MIPI D-PHY devices

2019-01-09 Thread Maxime Ripard
Hi, Here is a set of patches to allow the phy framework consumers to test and apply runtime configurations. This is needed to support more phy classes that require tuning based on parameters depending on the current use case of the device, in addition to the power state management already provide

  1   2   >