Re: [PATCH] media: v4l2-core: expose the device after it was registered.

2019-01-23 Thread Sakari Ailus
On Thu, Jan 24, 2019 at 03:11:53PM +0800, xinwu wrote: > Hi Sakari, > > Thanks for your response. > > > On 2019年01月22日 18:03, Sakari Ailus wrote: > > Hi Xinwu, > > > > On Tue, Jan 22, 2019 at 04:34:44PM +0800, Liu, Xinwu wrote: > > > device_register exposes the device to userspace. > > > > > >

Re: [PATCH] vb2: vb2_find_timestamp: drop restriction on buffer state

2019-01-23 Thread Hans Verkuil
On 1/24/19 6:49 AM, Tomasz Figa wrote: > Hi Hans, > > On Wed, Jan 23, 2019 at 5:30 PM Hans Verkuil wrote: >> >> There really is no reason why vb2_find_timestamp can't just find >> buffers in any state. Drop that part of the test. >> >> This also means that vb->timestamp should only be set to 0 wh

Re: [PATCH v9 0/4] Media Device Allocator API

2019-01-23 Thread Hans Verkuil
On 1/24/19 2:35 AM, shuah wrote: > On 1/21/19 7:46 AM, Hans Verkuil wrote: >> Hi Shuah, >> >> On 12/18/2018 06:59 PM, sh...@kernel.org wrote: >>> From: Shuah Khan >>> >>> Media Device Allocator API to allows multiple drivers share a media device. >>> This API solves a very common use-case for medi

Re: [PATCH v2] media: ipu3: update meta format documentation

2019-01-23 Thread Sakari Ailus
Hi Yong, On Wed, Jan 23, 2019 at 11:35:56AM -0800, Yong Zhi wrote: > Make changes based on Laurent's v8 review: > https://www.spinics.net/lists/linux-media/msg144408.html Could you outline the changes made by this patch, instead of referring to an e-mail on a list, please? A short summary is suff

Re: [PATCH] media: v4l2-core: expose the device after it was registered.

2019-01-23 Thread xinwu
Hi Sakari, Thanks for your response. On 2019年01月22日 18:03, Sakari Ailus wrote: Hi Xinwu, On Tue, Jan 22, 2019 at 04:34:44PM +0800, Liu, Xinwu wrote: device_register exposes the device to userspace. Therefore, while the register process is ongoing, the userspace program will fail to open the

Re: [PATCH] vb2: vb2_find_timestamp: drop restriction on buffer state

2019-01-23 Thread Tomasz Figa
Hi Hans, On Wed, Jan 23, 2019 at 5:30 PM Hans Verkuil wrote: > > There really is no reason why vb2_find_timestamp can't just find > buffers in any state. Drop that part of the test. > > This also means that vb->timestamp should only be set to 0 when a > capture buffer is queued AND when the drive

Re: [PATCHv2 3/3] Documentation/media: rename "Codec Interface"

2019-01-23 Thread Tomasz Figa
Hi Hans, On Wed, Jan 23, 2019 at 5:07 PM Hans Verkuil wrote: > > The "Codec Interface" chapter is poorly named since codecs are just one > use-case of the Memory-to-Memory Interface. Rename it and clean up the > text a bit. > > Signed-off-by: Hans Verkuil > --- > Incorporated Tomasz' comments. >

cron job: media_tree daily build: OK

2019-01-23 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 24 05:00:10 CET 2019 media-tree git hash:337e90ed028643c7acdfd0d31e3224d05ca03d66 media_build git

devicetree: media: Documentation of Bt.656 Bus DT bindings

2019-01-23 Thread Ken Sloat
There are a number of v4l2 subdevices in the kernel that support a Bt.656 bus also known as "embedded sync." Previously in older versions of the kernel (and in the current 4.14 LTS kernel), the standard way to enable this in device tree on a parallel bus was to simply omit all hysync and vsync flag

Re: [PATCH v9 0/4] Media Device Allocator API

2019-01-23 Thread shuah
On 1/21/19 7:46 AM, Hans Verkuil wrote: Hi Shuah, On 12/18/2018 06:59 PM, sh...@kernel.org wrote: From: Shuah Khan Media Device Allocator API to allows multiple drivers share a media device. This API solves a very common use-case for media devices where one physical device (an USB stick) prov

[PATCH v1] media: smipcie: add universal ir capability

2019-01-23 Thread Patrick Lerda
smipcie: switch to RC_DRIVER_IR_RAW. Signed-off-by: Patrick Lerda --- drivers/media/pci/smipcie/smipcie-ir.c | 133 + drivers/media/pci/smipcie/smipcie.h| 1 - 2 files changed, 46 insertions(+), 88 deletions(-) diff --git a/drivers/media/pci/smipcie/smipcie-ir.c b

IMX CSI capture issues with tda1997x HDMI receiver

2019-01-23 Thread Tim Harvey
Steve, I'm testing IMX6 capture again with the tda1997x HDMI receiver found on Gateworks GW54xx and GW551x boards. This is hooked up to the IMX6 CSI in a way where it can be configured for 8bit BT656 mode (UYVY8_2X8) or 16bit YUV mode (UYVY8_1X16). Also I have a Marshall Electronics V-SG4K-HDI HDM

Re: [PATCH 1/7] Input: document meanings of KEY_SCREEN and KEY_ZOOM

2019-01-23 Thread Dmitry Torokhov
On Mon, Jan 21, 2019 at 11:41:32AM +0100, Benjamin Tissoires wrote: > On Mon, Jan 21, 2019 at 11:11 AM Jiri Kosina wrote: > > > > On Fri, 18 Jan 2019, Dmitry Torokhov wrote: > > > > > It is hard to say what KEY_SCREEN and KEY_ZOOM mean, but historically DVB > > > folks have used them to indicate s

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

2019-01-23 Thread Tim Harvey
On Tue, Jan 22, 2019 at 4:10 PM Steve Longerbeam wrote: > > > > On 1/21/19 12:24 PM, Tim Harvey wrote: > > On Tue, Jan 15, 2019 at 3:54 PM Steve Longerbeam > > wrote: > >> Hi Tim, > >> > >> On 1/15/19 1:58 PM, Tim Harvey wrote: > >>> On Wed, Jan 9, 2019 at 10:30 AM Steve Longerbeam > >>> wrote

Want to edit your photos

2019-01-23 Thread Judy
We want to work for you to edit your photos. We can do your photos with white background, sharpen, retouching is included for all your photos. Waiting for the test photos to start with. Thanks, Judy

Want to edit your photos

2019-01-23 Thread Judy
We want to work for you to edit your photos. We can do your photos with white background, sharpen, retouching is included for all your photos. Waiting for the test photos to start with. Thanks, Judy

Want to edit your photos

2019-01-23 Thread Judy
We want to work for you to edit your photos. We can do your photos with white background, sharpen, retouching is included for all your photos. Waiting for the test photos to start with. Thanks, Judy

Re: [PATCH v2] Input: Add missing event codes for common IR remote buttons

2019-01-23 Thread VDR User
Hi Bastian, > > There are multiple MENU keys I assume for clarity purposes and to > > give > > some kind of relation between the key definition and the action/event > > that occurs when you use it. I would say it's more a matter of > > convenience rather that need, similar to KEY_ROOT_MENU & > > K

Re: [PATCH v6 2/6] media: sun6i: Add mod_rate quirk

2019-01-23 Thread Maxime Ripard
On Fri, Jan 18, 2019 at 10:01:54PM +0530, Jagan Teki wrote: > Unfortunately default CSI_SCLK rate cannot work properly to > drive the connected sensor interface, particularly on few > Allwinner SoC's like A64. > > So, add mod_rate quirk via driver data so-that the respective > SoC's which require

RE: Awaiting your urgent response

2019-01-23 Thread Miss Julian Mene
Good day!!! I am Miss Julian Mene, 24 year old, an orphan from Democratic Republic of Congo (DRC), but presently in Benin Republic. I have something very urgent and important to discuss with you. I assure you that you will not regret anything. Please send your reply to my personal email: me...@r

Re: [PATCH v3 1/3] media: mt9m111: make VIDIOC_SUBDEV_G_FMT ioctl work with V4L2_SUBDEV_FORMAT_TRY

2019-01-23 Thread Marco Felsch
Hi Akinobu, sorry for the delayed response. On 19-01-15 23:05, Akinobu Mita wrote: > The VIDIOC_SUBDEV_G_FMT ioctl for this driver doesn't recognize > V4L2_SUBDEV_FORMAT_TRY and always works as if V4L2_SUBDEV_FORMAT_ACTIVE > is specified. > > Cc: Enrico Scholz > Cc: Michael Grzeschik > Cc: Mar

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

2019-01-23 Thread Michael Tretter
Hi Hans, On Wed, 23 Jan 2019 11:44:05 +0100, Hans Verkuil wrote: > Hi Michael, > > Review comments follow: > > On 01/18/19 14:37, Michael Tretter wrote: > > 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+ De

Re: [PATCH AUTOSEL 4.20 056/117] media: cedrus: don't initialize pointers with zero

2019-01-23 Thread Sasha Levin
On Wed, Jan 09, 2019 at 11:48:54AM +0300, Dan Carpenter wrote: This is a pure cleanup patch, it doesn't affect runtime. On Tue, Jan 08, 2019 at 02:25:24PM -0500, Sasha Levin wrote: From: Mauro Carvalho Chehab [ Upstream commit e4d7b113fdccde1acf8638c5879f2a450d492303 ] A common mistake is to

[GIT PULL for v5.1] Venus various fixes

2019-01-23 Thread Stanimir Varbanov
Hi Mauro, Please pull these Venus fixes. regards, Stan The following changes since commit 337e90ed028643c7acdfd0d31e3224d05ca03d66: media: imx-csi: Input connections to CSI should be optional (2019-01-21 16:46:02 -0200) are available in the Git repository at: git://linuxtv.org/svarbanov/

Re: [PATCH v2 2/2] media: docs-rst: Document memory-to-memory video encoder interface

2019-01-23 Thread Hans Verkuil
On 01/23/19 10:52, Tomasz Figa wrote: > On Mon, Nov 12, 2018 at 10:23 PM Hans Verkuil wrote: >> >> On 10/22/2018 04:49 PM, Tomasz Figa wrote: >>> Due to complexity of the video encoding process, the V4L2 drivers of >>> stateful encoder hardware require specific sequences of V4L2 API calls >>> to b

Re: [PATCH 0/3] media: add Toshiba TC358746 Bridge support

2019-01-23 Thread Marco Felsch
Hi, Just a ping. The kbuilder reports some warning which I will fix in a v2 but I still waiting for feedback from you. Regards, Marco On 18-12-18 15:12, Marco Felsch wrote: > Hi, > > this patch set adds the support for the Toshiba TC358746 Parallel > MIPI-CSI2 bridge device. > > The last patc

Re: [PATCH v2 2/2] media: atmel-isc: Update device tree binding documentation

2019-01-23 Thread Sakari Ailus
On Fri, Jan 18, 2019 at 06:05:23PM +, Ken Sloat wrote: > > -Original Message- > > From: eugen.hris...@microchip.com > > Sent: Friday, January 18, 2019 9:40 AM > > To: Ken Sloat > > Cc: mche...@kernel.org; nicolas.fe...@microchip.com; > > alexandre.bell...@bootlin.com; ludovic.desroc..

Re: [PATCH v2 2/2] media: docs-rst: Document memory-to-memory video encoder interface

2019-01-23 Thread Hans Verkuil
On 01/23/19 11:00, Tomasz Figa wrote: > On Sat, Nov 17, 2018 at 8:37 PM Hans Verkuil wrote: >> >> On 11/17/2018 05:18 AM, Nicolas Dufresne wrote: >>> Le lundi 12 novembre 2018 à 14:23 +0100, Hans Verkuil a écrit : On 10/22/2018 04:49 PM, Tomasz Figa wrote: > [snip] > + rely on it. Th

[PATCH v10 11/13] media: staging/imx: add i.MX7 entries to TODO file

2019-01-23 Thread Rui Miguel Silva
Add some i.MX7 related entries to TODO file. Signed-off-by: Rui Miguel Silva --- drivers/staging/media/imx/TODO | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/staging/media/imx/TODO b/drivers/staging/media/imx/TODO index aeeb15494a49..6f29b5ca5324 100644 --- a/drivers/stagi

[PATCH v10 02/13] media: staging/imx: rearrange group id to take in account IPU

2019-01-23 Thread Rui Miguel Silva
Some imx system do not have IPU, so prepare the imx media drivers to support this kind of devices. Rename the group ids to include an _IPU_ prefix, add a new group id to support systems with only a CSI without IPU, and also rename the create internal links to make it clear that only systems with IP

[PATCH v10 07/13] ARM: dts: imx7s: add multiplexer controls

2019-01-23 Thread Rui Miguel Silva
The IOMUXC General Purpose Register has bitfield to control video bus multiplexer to control the CSI input between the MIPI-CSI2 and parallel interface. Add that register and mask. Signed-off-by: Rui Miguel Silva Reviewed-by: Philipp Zabel --- arch/arm/boot/dts/imx7s.dtsi | 9 - 1 file

[PATCH v10 12/13] media: video-mux: add bayer formats

2019-01-23 Thread Rui Miguel Silva
Add non vendor bayer formats to the allowed format array. Signed-off-by: Rui Miguel Silva --- drivers/media/platform/video-mux.c | 20 1 file changed, 20 insertions(+) diff --git a/drivers/media/platform/video-mux.c b/drivers/media/platform/video-mux.c index c33900e3c23e.

[PATCH v10 06/13] ARM: dts: imx7s: add mipi phy power domain

2019-01-23 Thread Rui Miguel Silva
Add power domain index 0 related with mipi-phy to imx7s. While at it rename pcie power-domain node to remove pgc prefix. Signed-off-by: Rui Miguel Silva --- arch/arm/boot/dts/imx7s.dtsi | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/imx7s.dtsi b/arc

[PATCH v10 08/13] ARM: dts: imx7: Add video mux, csi and mipi_csi and connections

2019-01-23 Thread Rui Miguel Silva
This patch adds the device tree nodes for csi, video multiplexer and mipi-csi besides the graph connecting the necessary endpoints to make the media capture entities to work in imx7 Warp board. Signed-off-by: Rui Miguel Silva --- arch/arm/boot/dts/imx7s-warp.dts | 51

[PATCH v10 10/13] media: imx7.rst: add documentation for i.MX7 media driver

2019-01-23 Thread Rui Miguel Silva
Add rst document to describe the i.MX7 media driver and also a working example from the Warp7 board usage with a OV2680 sensor. Signed-off-by: Rui Miguel Silva --- Documentation/media/v4l-drivers/imx7.rst | 157 ++ Documentation/media/v4l-drivers/index.rst | 1 + 2 files c

[PATCH v10 01/13] media: staging/imx: refactor imx media device probe

2019-01-23 Thread Rui Miguel Silva
Refactor and move media device initialization code to a new common module, so it can be used by other devices, this will allow for example a near to introduce imx7 CSI driver, to use this media device. Signed-off-by: Rui Miguel Silva --- drivers/staging/media/imx/Makefile| 1 + ...

[PATCH v10 09/13] ARM: dts: imx7s-warp: add ov2680 sensor node

2019-01-23 Thread Rui Miguel Silva
Warp7 comes with a Omnivision OV2680 sensor, add the node here to make complete the camera data path for this system. Add the needed regulator to the analog voltage supply, the port and endpoints in mipi_csi node and the pinctrl for the reset gpio. Signed-off-by: Rui Miguel Silva --- arch/arm/bo

[PATCH v10 13/13] media: MAINTAINERS: add entry for Freescale i.MX7 media driver

2019-01-23 Thread Rui Miguel Silva
Add maintainer entry for the imx7 media csi, mipi csis driver, dt-bindings and documentation. Signed-off-by: Rui Miguel Silva --- MAINTAINERS | 11 +++ 1 file changed, 11 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 51029a425dbe..ad267b3dd18b 100644 --- a/MAINTAINERS +++ b

[PATCH v10 03/13] media: dt-bindings: add bindings for i.MX7 media driver

2019-01-23 Thread Rui Miguel Silva
Add bindings documentation for i.MX7 media drivers. The imx7 MIPI CSI2 and imx7 CMOS Sensor Interface. Signed-off-by: Rui Miguel Silva Reviewed-by: Rob Herring Acked-by: Sakari Ailus --- .../devicetree/bindings/media/imx7-csi.txt| 45 ++ .../bindings/media/imx7-mipi-csi2.txt

[PATCH v10 00/13] media: staging/imx7: add i.MX7 media driver

2019-01-23 Thread Rui Miguel Silva
Hi, This series introduces the Media driver to work with the i.MX7 SoC. it uses the already existing imx media core drivers but since the i.MX7, contrary to i.MX5/6, do not have an IPU and because of that some changes in the imx media core are made along this series to make it support that case. T

[PATCH v10 04/13] media: staging/imx7: add imx7 CSI subdev driver

2019-01-23 Thread Rui Miguel Silva
This add the media entity subdevice and control driver for the i.MX7 CMOS Sensor Interface. Signed-off-by: Rui Miguel Silva --- drivers/staging/media/imx/Kconfig |9 +- drivers/staging/media/imx/Makefile |2 + drivers/staging/media/imx/imx7-media-csi.c | 1354 +++

[PATCH v10 05/13] media: staging/imx7: add MIPI CSI-2 receiver subdev for i.MX7

2019-01-23 Thread Rui Miguel Silva
Adds MIPI CSI-2 subdev for i.MX7 to connect with sensors with a MIPI CSI-2 interface. Signed-off-by: Rui Miguel Silva --- drivers/staging/media/imx/Makefile |1 + drivers/staging/media/imx/imx7-mipi-csis.c | 1184 2 files changed, 1185 insertions(+) create mode

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

2019-01-23 Thread Hans Verkuil
On 01/21/19 11:42, Michael Tretter wrote: > Hi Hans, > > On Fri, 18 Jan 2019 15:11:32 +0100, Hans Verkuil wrote: >> Hi Michael, >> >> On 1/18/19 2:37 PM, Michael Tretter wrote: >>> This is v2 of the series to add support for the Allegro DVT H.264 encoder >>> found in the EV family of the Xilinx Zy

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

2019-01-23 Thread Hans Verkuil
Hi Michael, Review comments follow: On 01/18/19 14:37, Michael Tretter wrote: > 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 >

Re: [PATCH] media: docs-rst: Document m2m stateless video decoder interface

2019-01-23 Thread Paul Kocialkowski
Hi Alex, On Wed, 2019-01-23 at 18:43 +0900, Alexandre Courbot wrote: > On Tue, Jan 22, 2019 at 7:10 PM Paul Kocialkowski > wrote: > > Hi, > > > > On Tue, 2019-01-22 at 17:19 +0900, Tomasz Figa wrote: > > > Hi Paul, > > > > > > On Fri, Dec 7, 2018 at 5:30 PM Paul Kocialkowski > > > wrote: > > >

[PATCH v2 2/4] venus: core: correct maximum hardware load for sdm845

2019-01-23 Thread Stanimir Varbanov
This correct maximum hardware load constant in per SoC resources for sdm845 aka Venus v4. Reviewed-by: Alexandre Courbot Tested-by: Alexandre Courbot Signed-off-by: Stanimir Varbanov --- drivers/media/platform/qcom/venus/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v2 3/4] venus: core: correct frequency table for sdm845

2019-01-23 Thread Stanimir Varbanov
This corrects clock frequency table rates to be in sync with video clock controller frequency table. Reviewed-by: Alexandre Courbot Tested-by: Alexandre Courbot Signed-off-by: Stanimir Varbanov --- drivers/media/platform/qcom/venus/core.c | 10 ++ 1 file changed, 6 insertions(+), 4 del

[PATCH v2 1/4] venus: firmware: check fw size against DT memory region size

2019-01-23 Thread Stanimir Varbanov
By historical reasons we defined firmware memory size to be 6MB even that the firmware size for all supported Venus versions is 5MBs. Correct that by compare the required firmware size returned from mdt loader and the one provided by DT reserved memory region. We proceed further if the required fir

[PATCH v2 0/4] Venus various fixes

2019-01-23 Thread Stanimir Varbanov
Hello, Changes in v2: * in 1/4 make 'mapped' const - Alex * fixed typos in 2/4 and 4/4 - Alex * added Reviewed-by and Tested-by tags regards, Stan Stanimir Varbanov (4): venus: firmware: check fw size against DT memory region size venus: core: correct maximum hardware load for sdm845 ve

[PATCH v2 4/4] venus: helpers: drop setting of timestamp invalid flag

2019-01-23 Thread Stanimir Varbanov
The zero timestamp is really valid so fix that mistake by dropping the code which checks for zero timestamp. Reviewed-by: Alexandre Courbot Tested-by: Alexandre Courbot Signed-off-by: Stanimir Varbanov --- drivers/media/platform/qcom/venus/helpers.c | 3 --- 1 file changed, 3 deletions(-) dif

Re: [PATCH v2] Input: Add missing event codes for common IR remote buttons

2019-01-23 Thread Bastien Nocera
On Tue, 2019-01-22 at 23:50 -0800, VDR User wrote: > > > KEY_SCREEN_INPUT is used to bring up things like an on-screen > > > keyboard or other on-onscreen user input method. > > > > We already have KEY_ONSCREEN_KEYBOARD. > > > > > > > +#define KEY_SYSTEM_MENU 0x2ed /* Open

Re: [PATCH v2 2/2] media: docs-rst: Document memory-to-memory video encoder interface

2019-01-23 Thread Tomasz Figa
On Sat, Nov 17, 2018 at 8:37 PM Hans Verkuil wrote: > > On 11/17/2018 05:18 AM, Nicolas Dufresne wrote: > > Le lundi 12 novembre 2018 à 14:23 +0100, Hans Verkuil a écrit : > >> On 10/22/2018 04:49 PM, Tomasz Figa wrote: [snip] > >>> + rely on it. The ``V4L2_BUF_FLAG_LAST`` buffer flag should

Re: [PATCH 1/4] venus: firmware: check fw size against DT memory region size

2019-01-23 Thread Stanimir Varbanov
Hi Alex, Thanks for the review! On 1/23/19 8:10 AM, Alexandre Courbot wrote: > Sorry for the delayed review! >_< > > On Wed, Jan 9, 2019 at 5:46 PM Stanimir Varbanov > wrote: >> >> By historical reasons we defined firmware memory size to be 6MB even >> that the firmware size for all supported V

Re: [PATCH v2 2/2] media: docs-rst: Document memory-to-memory video encoder interface

2019-01-23 Thread Tomasz Figa
On Sun, Nov 18, 2018 at 10:34 AM Nicolas Dufresne wrote: > > Le samedi 17 novembre 2018 à 12:37 +0100, Hans Verkuil a écrit : > > > > Does V4L2_CID_MIN_BUFFERS_FOR_CAPTURE make any sense for encoders? > > > > > > We do account for it in GStreamer (the capture/output handling is > > > generic), but

Re: [PATCH] vb2: vb2_find_timestamp: drop restriction on buffer state

2019-01-23 Thread Hans Verkuil
On 01/23/19 10:48, Alexandre Courbot wrote: > On Wed, Jan 23, 2019 at 5:30 PM Hans Verkuil wrote: >> >> There really is no reason why vb2_find_timestamp can't just find >> buffers in any state. Drop that part of the test. >> >> This also means that vb->timestamp should only be set to 0 when a >> c

Re: [PATCH v2 2/2] media: docs-rst: Document memory-to-memory video encoder interface

2019-01-23 Thread Tomasz Figa
On Mon, Nov 12, 2018 at 10:23 PM Hans Verkuil wrote: > > On 10/22/2018 04:49 PM, Tomasz Figa wrote: > > Due to complexity of the video encoding process, the V4L2 drivers of > > stateful encoder hardware require specific sequences of V4L2 API calls > > to be followed. These include capability enume

Re: [PATCH] media: vicodec: ensure comp frame pointer kept in range

2019-01-23 Thread Hans Verkuil
Hi Dafna, On 01/22/19 16:00, Dafna Hirschfeld wrote: > Make sure that the pointer to the compressed frame does not > get out of the buffer. > > Signed-off-by: Dafna Hirschfeld > --- > drivers/media/platform/vicodec/codec-fwht.c | 73 +-- > drivers/media/platform/vicodec/codec-

Re: [PATCH] vb2: vb2_find_timestamp: drop restriction on buffer state

2019-01-23 Thread Alexandre Courbot
On Wed, Jan 23, 2019 at 5:30 PM Hans Verkuil wrote: > > There really is no reason why vb2_find_timestamp can't just find > buffers in any state. Drop that part of the test. > > This also means that vb->timestamp should only be set to 0 when a > capture buffer is queued AND when the driver doesn't

Re: [PATCH] media: docs-rst: Document m2m stateless video decoder interface

2019-01-23 Thread Alexandre Courbot
On Tue, Jan 22, 2019 at 7:10 PM Paul Kocialkowski wrote: > > Hi, > > On Tue, 2019-01-22 at 17:19 +0900, Tomasz Figa wrote: > > Hi Paul, > > > > On Fri, Dec 7, 2018 at 5:30 PM Paul Kocialkowski > > wrote: > > > Hi, > > > > > > Thanks for this new version! I only have one comment left, see below. >

Want to edit your photos

2019-01-23 Thread Judy
We want to work for you to edit your photos. We can do your photos with white background, sharpen, retouching is included for all your photos. Waiting for the test photos to start with. Thanks, Judy

[PATCH] vb2: vb2_find_timestamp: drop restriction on buffer state

2019-01-23 Thread Hans Verkuil
There really is no reason why vb2_find_timestamp can't just find buffers in any state. Drop that part of the test. This also means that vb->timestamp should only be set to 0 when a capture buffer is queued AND when the driver doesn't copy timestamps. This change allows for more efficient pipelini

Re: [Xen-devel][PATCH v4 1/1] cameraif: add ABI for para-virtual camera

2019-01-23 Thread Oleksandr Andrushchenko
Any comments from Xen community? Konrad? On 1/15/19 4:44 PM, Hans Verkuil wrote: > Hi Oleksandr, > > Just two remaining comments: > > On 1/15/19 10:38 AM, Oleksandr Andrushchenko wrote: >> From: Oleksandr Andrushchenko >> >> This is the ABI for the two halves of a para-virtualized >> camera drive

Re: [PATCH v2 1/2] media: docs-rst: Document memory-to-memory video decoder interface

2019-01-23 Thread Hans Verkuil
On 01/23/2019 06:27 AM, Tomasz Figa wrote: > On Tue, Jan 22, 2019 at 11:47 PM Hans Verkuil wrote: >> >> On 01/22/19 11:02, Tomasz Figa wrote: >>> On Mon, Nov 12, 2018 at 8:37 PM Hans Verkuil wrote: Hi Tomasz, A general note for the stateful and stateless patches: they describe

[PATCHv2 3/3] Documentation/media: rename "Codec Interface"

2019-01-23 Thread Hans Verkuil
The "Codec Interface" chapter is poorly named since codecs are just one use-case of the Memory-to-Memory Interface. Rename it and clean up the text a bit. Signed-off-by: Hans Verkuil --- Incorporated Tomasz' comments. Note that I moved the section about codec controls to the end. The idea is tha