Images 34

2018-10-18 Thread Nancy
We are an image team who can process 400+ images each day. If you need any image editing service, please let us know. Image cut out and clipping path, masking. Such as for ecommerce photos, jewelry photos retouching, beauty and skin images and wedding photos. We give test editing for your

[PATCH 2/2] vicodec: Implement spec-compliant stop command

2018-10-18 Thread Ezequiel Garcia
Set up a statically-allocated, dummy buffer to be used as flush buffer, which signals a encoding (or decoding) stop. When the flush buffer is queued to the OUTPUT queue, the driver will send an V4L2_EVENT_EOS event, and mark the CAPTURE buffer with V4L2_BUF_FLAG_LAST. With this change, it's

[PATCH 0/2] vicodec: a couple fixes towards spec compliancy

2018-10-18 Thread Ezequiel Garcia
Given the stateful codec specification is still a moving target, it doesn't make any sense to try to comply fully with it. On the other side, we can still comply with some basic userspace expectations, with just a couple small changes. This series implements proper resolution changes

[PATCH 1/2] vicodec: Have decoder propagate changes to the CAPTURE queue

2018-10-18 Thread Ezequiel Garcia
The decoder interface (not yet merged) specifies that width and height values set on the OUTPUT queue, must be propagated to the CAPTURE queue. This is not enough to comply with the specification, which would require to properly support stream resolution changes detection and notification.

Photos 39

2018-10-18 Thread Nancy
We are an image team who can process 400+ images each day. If you need any image editing service, please let us know. Image cut out and clipping path, masking. Such as for ecommerce photos, jewelry photos retouching, beauty and skin images and wedding photos. We give test editing for your

Re: [RFC PATCH] media: ov5640: calculate PLL settings for modes

2018-10-18 Thread jacopo mondi
Hi Sam, some comments and questions. I still hope we find a way to merge our changes, but I need to understand something before. On Wed, Oct 17, 2018 at 10:31:48AM -0700, Sam Bobrowicz wrote: > Remove the PLL settings from the register blobs and > calculate them based on required clocks. This

[PATCH] media: Rename vb2_m2m_request_queue -> v4l2_m2m_request_queue

2018-10-18 Thread Ezequiel Garcia
To be consistent with the rest of the mem2mem helpers, rename vb2_m2m_request_queue to v4l2_m2m_request_queue. This is just a cosmetic change. Signed-off-by: Ezequiel Garcia --- drivers/media/platform/vim2m.c | 2 +- drivers/media/v4l2-core/v4l2-mem2mem.c | 4 ++--

Re: [PATCH v4 01/12] media: ov5640: Adjust the clock based on the expected rate

2018-10-18 Thread Samuel Bobrowicz
> On Oct 18, 2018, at 3:03 AM, jacopo mondi wrote: > >> On Thu, Oct 18, 2018 at 11:31:52AM +0200, Maxime Ripard wrote: >>> On Wed, Oct 17, 2018 at 09:51:43PM +0200, jacopo mondi wrote: >>> Hello Sam and Maxime (and other ov5640-ers :) >>> On Wed, Oct 17, 2018 at 10:54:01AM -0700, Sam

cron job: media_tree daily build: ERRORS

2018-10-18 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: Fri Oct 19 05:00:11 CEST 2018 media-tree git hash:490d84f6d73c12f4204241cff8651eed60aae914 media_build

[PATCH] media: rc: imon_raw: use fls rather than loop per bit

2018-10-18 Thread Sean Young
Previously, the code would loop for each of the 40 bits. Now it will branch for each edge in the IR, which will be much less. Signed-off-by: Sean Young --- drivers/media/rc/imon_raw.c | 47 ++--- 1 file changed, 23 insertions(+), 24 deletions(-) diff --git

Re: [PATCH v3 01/16] media: imx: add mem2mem device

2018-10-18 Thread Tim Harvey
On Tue, Sep 18, 2018 at 2:34 AM Philipp Zabel wrote: > > Add a single imx-media mem2mem video device that uses the IPU IC PP > (image converter post processing) task for scaling and colorspace > conversion. > On i.MX6Q/DL SoCs with two IPUs currently only the first IPU is used. > > The hardware

[PATCH v5 1/5] mem2mem: Require capture and output mutexes to match

2018-10-18 Thread Ezequiel Garcia
Currently, all the mem2mem driver either use a single mutex to lock the capture and output videobuf2 queues, or don't set any mutex. This means the mutexes match, and so the mem2mem framework is able to set the m2m context lock. Enforce this by making it mandatory for drivers to set the same

[PATCH v5 5/5] media: cedrus: Get rid of interrupt bottom-half

2018-10-18 Thread Ezequiel Garcia
Now that the mem2mem framework guarantees that .device_run won't be called from interrupt context, it is safe to call v4l2_m2m_job_finish directly in the top-half. So this means the bottom-half is no longer needed and we can get rid of it. Signed-off-by: Ezequiel Garcia ---

Re: i.MX6 IPU CSI analog video input on Ventana

2018-10-18 Thread Tim Harvey
On Wed, Oct 17, 2018 at 4:37 PM Steve Longerbeam wrote: > > > On 10/17/18 4:05 PM, Tim Harvey wrote: > > On Wed, Oct 17, 2018 at 2:33 PM Steve Longerbeam > > wrote: > >> Hi Tim, > >> > >> On 10/17/18 1:38 PM, Tim Harvey wrote: > >> > >> On Mon, Jun 4, 2018 at 1:58 AM Krzysztof Hałasa wrote: >

[PATCH v5 3/5] v4l2-mem2mem: Simplify exiting the function in __v4l2_m2m_try_schedule

2018-10-18 Thread Ezequiel Garcia
From: Sakari Ailus The __v4l2_m2m_try_schedule function acquires and releases multiple spinlocks. Simplify unlocking the job lock by adding labels to unlock the lock and exit the function. Signed-off-by: Sakari Ailus Signed-off-by: Ezequiel Garcia --- drivers/media/v4l2-core/v4l2-mem2mem.c |

[PATCH v5 2/5] v4l2-ioctl.c: Simplify locking for m2m devices

2018-10-18 Thread Ezequiel Garcia
Now that the mutexes for output and capture vb2 queues match, it is possible to refer to the context q_lock as the m2m lock for a given m2m context. Remove the output/capture lock selection. Signed-off-by: Ezequiel Garcia --- drivers/media/v4l2-core/v4l2-ioctl.c | 47

[PATCH v5 4/5] v4l2-mem2mem: Avoid calling .device_run in v4l2_m2m_job_finish

2018-10-18 Thread Ezequiel Garcia
v4l2_m2m_job_finish() is typically called when DMA operations complete, in interrupt handlers or DMA completion callbacks. Calling .device_run from v4l2_m2m_job_finish creates a nasty re-entrancy path into the driver. Moreover, some implementation of .device_run might need to sleep, as is the

RFC: kernelCI media subsystem pilot (Test results for gtucker/kernelci-media - gtucker-kernelci-media-001-6-g1b2c6e5844d8)

2018-10-18 Thread Ezequiel Garcia
Hi everyone, In Collabora, and as part of our kernelci work, we are doing research on kernel functional testing with kernelci. For those new to kernelci, see https://github.com/kernelci/kernelci-doc/wiki/KernelCI and https://kernelci.org/. The goal is to lay down the infrastructure required

[PATCH v5 0/5] Make sure .device_run is always called in non-atomic context

2018-10-18 Thread Ezequiel Garcia
This series goal is to avoid drivers from having ad-hoc code to call .device_run in non-atomic context. Currently, .device_run can be called via v4l2_m2m_job_finish(), not only running in interrupt context, but also creating a nasty re-entrant path into mem2mem drivers. The proposed solution is

Re: [PATCH v4 01/12] media: ov5640: Adjust the clock based on the expected rate

2018-10-18 Thread Samuel Bobrowicz
Hey Jacobi, Not a lot of time to respond right now, these days I’m bouncing around between a couple jobs. I’ll be trying your and Maximes patches and responding to tech details this weekend. Just want to say that as long as we get the driver working I’m happy :) The VAST majority of time put

Re: [PATCH 1/2] media: ov5640: Add check for PLL1 output max frequency

2018-10-18 Thread Maxime Ripard
On Wed, Oct 17, 2018 at 09:37:17PM +0200, Jacopo Mondi wrote: > Check that the PLL1 output frequency does not exceed the maximum allowed 1GHz > frequency. > > Signed-off-by: Jacopo Mondi > --- > drivers/media/i2c/ov5640.c | 23 +++ > 1 file changed, 19 insertions(+), 4

Re: [PATCH v4 01/12] media: ov5640: Adjust the clock based on the expected rate

2018-10-18 Thread Maxime Ripard
Hi Jacopo, Thanks for reviewing this patch On Tue, Oct 16, 2018 at 06:54:50PM +0200, jacopo mondi wrote: > > +static unsigned long ov5640_compute_sys_clk(struct ov5640_dev *sensor, > > + u8 pll_prediv, u8 pll_mult, > > +

Re: [PATCH v4 01/12] media: ov5640: Adjust the clock based on the expected rate

2018-10-18 Thread jacopo mondi
On Thu, Oct 18, 2018 at 11:31:52AM +0200, Maxime Ripard wrote: > On Wed, Oct 17, 2018 at 09:51:43PM +0200, jacopo mondi wrote: > > Hello Sam and Maxime (and other ov5640-ers :) > > > > On Wed, Oct 17, 2018 at 10:54:01AM -0700, Sam Bobrowicz wrote: > > > Hello Maxime and Jacopo (and other

Re: [PATCH v4 01/12] media: ov5640: Adjust the clock based on the expected rate

2018-10-18 Thread Maxime Ripard
On Wed, Oct 17, 2018 at 09:51:43PM +0200, jacopo mondi wrote: > Hello Sam and Maxime (and other ov5640-ers :) > > On Wed, Oct 17, 2018 at 10:54:01AM -0700, Sam Bobrowicz wrote: > > Hello Maxime and Jacopo (and other ov5640-ers), > > > > I just submitted my version of this patch to the mailing

[PATCH] media: rc: XBox DVD Remote uses 12 bits scancodes

2018-10-18 Thread Sean Young
The xbox dvd remote sends 24 bits, the first 12 bits are repeated and inverted so only 12 bits are used. The upper 4 bits can be read at offset 3. Ensure we pass this to rc-core and update the keymap accordingly. Signed-off-by: Sean Young --- drivers/media/rc/keymaps/rc-xbox-dvd.c | 58

[PATCH v4l-utils] keytable: bpf decoder and keymap for XBox DVD Remote

2018-10-18 Thread Sean Young
This uses a modified nec protocol, where 24 bits are sent and the first 12 bits are inverted. Signed-off-by: Sean Young --- utils/keytable/bpf_protocols/Makefile.am | 2 +- utils/keytable/bpf_protocols/xbox.c | 129 ++ .../rc_keymaps_userspace/xbox_dvd.toml

Re: [PATCH 1/2] media: ov5640: Add check for PLL1 output max frequency

2018-10-18 Thread jacopo mondi
Hi Maxime, On Thu, Oct 18, 2018 at 11:15:50AM +0200, Maxime Ripard wrote: > On Wed, Oct 17, 2018 at 09:37:17PM +0200, Jacopo Mondi wrote: > > Check that the PLL1 output frequency does not exceed the maximum allowed > > 1GHz > > frequency. > > > > Signed-off-by: Jacopo Mondi > > --- > >

Re: [PATCH] media: rc: XBox DVD Remote uses 12 bits scancodes

2018-10-18 Thread Benjamin Valentin
Tested-by: Benjamin Valentin On Thu, 18 Oct 2018 12:27:17 +0100 Sean Young wrote: > The xbox dvd remote sends 24 bits, the first 12 bits are repeated > and inverted so only 12 bits are used. The upper 4 bits can be read > at offset 3. Ensure we pass this to rc-core and update the keymap >

Re: [PATCH v4 01/12] media: ov5640: Adjust the clock based on the expected rate

2018-10-18 Thread jacopo mondi
Hello Maxime, On Thu, Oct 18, 2018 at 11:29:12AM +0200, Maxime Ripard wrote: > Hi Jacopo, > > Thanks for reviewing this patch > > On Tue, Oct 16, 2018 at 06:54:50PM +0200, jacopo mondi wrote: > > > +static unsigned long ov5640_compute_sys_clk(struct ov5640_dev *sensor, > > > +