We don't need to request the sizeimage or num_planes
in try_fmt.
Signed-off-by: ayaka
---
drivers/media/platform/s5p-mfc/s5p_mfc_enc.c | 9 -
1 file changed, 9 deletions(-)
diff --git a/drivers/media/platform/s5p-mfc/s5p_mfc_enc.c
It is a cosmetic commit.
Signed-off-by: ayaka
---
drivers/media/platform/s5p-mfc/s5p_mfc_dec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/media/platform/s5p-mfc/s5p_mfc_dec.c
b/drivers/media/platform/s5p-mfc/s5p_mfc_dec.c
index
A user-space application will follow the V4l2 document, but I meet
a problem when I test it with Gstreamer. I look at the V4l2
document, the driver check the external setting which the
document not cover, so that is what the second patch do.
The first patch comes from chromium project, but I
The encoder forget the work to call hardware to release its buffers.
This patch came from chromium project. I just change its code
style and make the API match with new kernel.
Signed-off-by: ayaka
---
drivers/media/platform/s5p-mfc/s5p_mfc_enc.c | 3 +++
1 file changed, 3
Please also notice those patches (A few patches make s5p-mfc work with
Gstreamer)
I resent to mail recently.
Without them, the encoder won't work with Gstreamer either. I hope it
will be
merged as soon as possible.
在 2016年05月07日 06:11, Javier Martinez Canillas 写道:
From: ayaka
My name is Miss Zara did you receive the mail i send to you last time? please
get back to me ok my email zar...@live.com to enable me to resend it back to
you
Zara
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
Thanks for re-submitting. See inline two typos to fix in teh comment.
cheers,
Nicolas
Le vendredi 06 mai 2016 à 18:11 -0400, Javier Martinez Canillas a écrit :
> From: ayaka
>
> User-space applications can use the VIDIOC_REQBUFS ioctl to determine if a
> memory mapped, user
From: ayaka
User-space applications can use the VIDIOC_REQBUFS ioctl to determine if a
memory mapped, user pointer or DMABUF based I/O is supported by the driver.
So a set of VIDIOC_REQBUFS ioctl calls will be made with count 0 and then
the real VIDIOC_REQBUFS call with count
Hi Nicolas,
On Fri, May 06, 2016 at 12:33:11PM -0400, Nicolas Dufresne wrote:
> Le vendredi 06 mai 2016 à 13:53 +0300, Sakari Ailus a écrit :
> > From: Laurent Pinchart
> >
> > Let userspace specify a request ID when getting or setting formats.
> > The
Em Wed, 04 May 2016 11:00:03 +0200
Marek Szyprowski escreveu:
> This patch lets vb2-dma-contig memory allocator to configure DMA max
> segment size properly for the client device. Setting it is needed to let
> DMA-mapping subsystem to create a single, contiguous mapping
Em Fri, 6 May 2016 18:26:10 +0200
Markus Heiser escreveu:
> Hi Mauro,
>
> Am 06.05.2016 um 13:03 schrieb Mauro Carvalho Chehab
> :
> > Yeah, it looks better, however table truncation seem to be
> > happening also on other parts, like the
Hi Mauro,
Am 06.05.2016 um 13:03 schrieb Mauro Carvalho Chehab :
> Yeah, it looks better, however table truncation seem to be
> happening also on other parts, like the tables on this page:
>
>
>
Le vendredi 06 mai 2016 à 13:53 +0300, Sakari Ailus a écrit :
> From: Laurent Pinchart
>
> Let userspace specify a request ID when getting or setting formats.
> The
> support is limited to the multi-planar API at the moment, extending
> it
> to the
The following changes since commit 45c175c4ae9695d6d2f30a45ab7f3866cfac184b:
[media] tw686x: avoid going past array (2016-04-26 06:38:53 -0300)
are available in the git repository at:
git://linuxtv.org/anttip/media_tree.git af9035
for you to fetch changes up to
On Fri, 06 May 2016, Markus Heiser wrote:
> Am 06.05.2016 um 17:06 schrieb Jani Nikula :
>
>> On Fri, 06 May 2016, Markus Heiser wrote:
>>> @Jonathan: what do you think? Should I prepare a patch
>>> with a basic reST
Am 06.05.2016 um 17:06 schrieb Jani Nikula :
> On Fri, 06 May 2016, Markus Heiser wrote:
>> @Jonathan: what do you think? Should I prepare a patch
>> with a basic reST (sphinx) build infrastructure, including
>>
>> * a folder for sphinx docs:
On Fri, May 06, 2016 at 01:53:09PM +0300, Sakari Ailus wrote:
> My open questions and to-do items I'm aware of:
>
> - Global ID space vs. file handles. Should requests be referred to by
> global IDs or file handles specific to a process? V4L2 uses IDs but V4L2
> devices (other than m2m) can
Em Fri, 6 May 2016 18:06:49 +0300
Jani Nikula escreveu:
> On Fri, 06 May 2016, Markus Heiser wrote:
> > @Jonathan: what do you think? Should I prepare a patch
> > with a basic reST (sphinx) build infrastructure, including
> >
> > * a folder for
Em Fri, 6 May 2016 16:27:21 +0200
Markus Heiser escreveu:
> Hi all, hi Jonathan,
>
> Am 06.05.2016 um 15:42 schrieb Mauro Carvalho Chehab
> :
>
> > Em Fri, 6 May 2016 15:32:35 +0200
> > Markus Heiser escreveu:
> >
On Fri, 06 May 2016, Markus Heiser wrote:
> @Jonathan: what do you think? Should I prepare a patch
> with a basic reST (sphinx) build infrastructure, including
>
> * a folder for sphinx docs:
>
> ./Documentation/sphinx/
I'm already working on a patch series taking a
Hi all, hi Jonathan,
Am 06.05.2016 um 15:42 schrieb Mauro Carvalho Chehab :
> Em Fri, 6 May 2016 15:32:35 +0200
> Markus Heiser escreveu:
>
>> Hi Mauro,
>>
>> Am 06.05.2016 um 13:35 schrieb Mauro Carvalho Chehab
>>
Hi Jani,
I forget to mentioning, with a local copy of my kernel-doc script:
https://github.com/return42/sphkerneldoc/blob/master/scripts/kernel-doc
You could do reST markup in the source code comments and extract them.
This might be a interim workaround which helps you not to edit source
code
Hy Jani,
Am 04.05.2016 um 18:13 schrieb Jani Nikula :
>> Am 04.05.2016 um 17:09 schrieb Jonathan Corbet :
>>
>>> I think all of this makes sense. It would be really nice to have the
>>> directives in the native sphinx language like that. I *don't* think
On Fri, May 06, 2016 at 01:53:24PM +0300, Sakari Ailus wrote:
> Add flags to requests. The first defined flag, MEDIA_REQ_FL_COMPLETE_EVENT
> is used to tell whether to queue an event on request completion. Unless
> the flag is set, no event is generated when a request completes.
>
>
From: Hans Verkuil
When queuing buffers allow for passing the request ID that
should be associated with this buffer. Split the u32 reserved2 field
into two u16 fields, one for request, one with the old reserved2 name.
Signed-off-by: Hans Verkuil
Add flags to requests. The first defined flag, MEDIA_REQ_FL_COMPLETE_EVENT
is used to tell whether to queue an event on request completion. Unless
the flag is set, no event is generated when a request completes.
Signed-off-by: Sakari Ailus
---
Implement poll for events. POLLPRI is used to notify users on incoming
events.
Signed-off-by: Sakari Ailus
---
drivers/media/media-device.c | 27 +++
1 file changed, 27 insertions(+)
diff --git a/drivers/media/media-device.c
From: Laurent Pinchart
Now that the subdev crop API is considered obsolete, the selection API
that replaces it deserves a full documentation instead of referring to
the crop API documentation.
Signed-off-by: Laurent Pinchart
From: Laurent Pinchart
Let userspace specify a request ID when getting or setting formats. The
support is limited to the multi-planar API at the moment, extending it
to the single-planar API is possible if needed.
>From a userspace point of view the
Signed-off-by: Sakari Ailus
---
.../DocBook/media/v4l/media-ioc-request-cmd.xml| 24 ++
1 file changed, 24 insertions(+)
diff --git a/Documentation/DocBook/media/v4l/media-ioc-request-cmd.xml
Once the request has been queued and later on completed, a driver will
mark the request complete by calling media_device_request_complete().
Signed-off-by: Sakari Ailus
---
drivers/media/media-device.c | 7 +++
include/media/media-device.h | 3 +++
2 files
Add DocBook documentation for media events.
Signed-off-by: Sakari Ailus
---
.../DocBook/media/v4l/media-controller.xml | 1 +
.../DocBook/media/v4l/media-ioc-dqevent.xml| 155 +
2 files changed, 156 insertions(+)
create mode
From: Laurent Pinchart
Allow subsystems to associate data with entities in each request. This
will be used by the V4L2 subdev core to store pad formats in requests.
Signed-off-by: Laurent Pinchart
---
From: Hans Verkuil
The driver has to set allow_requests explicitly in order to allow
queuing or preparing buffers for a specific request ID.
Signed-off-by: Hans Verkuil
---
drivers/media/v4l2-core/videobuf2-v4l2.c | 5 +
From: Laurent Pinchart
Let userspace specify a request ID when getting or setting formats or
selection rectangles.
>From a userspace point of view the API change is minimized and doesn't
require any new ioctl.
Signed-off-by: Laurent Pinchart
From: Laurent Pinchart
The V4L2 request API consists in extensions to existing V4L2 ioctls.
Document it.
Signed-off-by: Laurent Pinchart
---
Documentation/DocBook/media/v4l/common.xml | 2 +
Verify that the request state is IDLE before queueing it. Also mark
requests queued when they're queued, and return the request to IDLE if
queueing it failed.
Signed-off-by: Sakari Ailus
---
drivers/media/media-device.c | 43
From: Laurent Pinchart
The V4L2 subdev request API consists in extensions to existing V4L2
subdev ioctls. Document it.
Signed-off-by: Laurent Pinchart
---
.../DocBook/media/v4l/vidioc-subdev-g-fmt.xml |
From: Laurent Pinchart
The media request API is made of a new ioctl to implement request
management. Document it.
Signed-off-by: Laurent Pinchart
Strip off the reserved fields.
Signed-off-by: Sakari Ailus
From: Laurent Pinchart
Store the formats and selection rectangles in per-entity request data.
This minimizes changes to drivers by reusing the v4l2_subdev_pad_config
infrastructure.
Signed-off-by: Laurent Pinchart
From: Laurent Pinchart
The request API allows bundling media device parameters with request
objects and applying them atomically, either synchronously or
asynchronously.
Signed-off-by: Laurent Pinchart
---
Hello all,
Here's a set of patches to implement support for the request API that has
been discussed many, many times over the past few years. Some of the
patches are my own while some have been written by Laurent and Hans.
I've made a few changes to these patches and added more, mainly:
-
From: Laurent Pinchart
Store the formats in per-entity request data. The get and set format
operations are completely handled by the V4L2 core with help of the try
format driver operation.
Signed-off-by: Laurent Pinchart
Signed-off-by: Sakari Ailus
---
include/media/media-device.h | 8
1 file changed, 8 insertions(+)
diff --git a/include/media/media-device.h b/include/media/media-device.h
index 49c3367a..acb2481 100644
--- a/include/media/media-device.h
+++
Events on a media device tell about completion of requests. Blocking and
non-blocking operation is supported.
Signed-off-by: Sakari Ailus
---
drivers/media/media-device.c | 114 +--
include/media/media-device.h | 11 +
From: Laurent Pinchart
The vb2_queue_has_request() function will check whether a buffer has
been prepared for the given request ID.
Signed-off-by: Laurent Pinchart
---
Prevent deleting queued requests. Also mark deleted requests as such by
adding a new state for them.
Signed-off-by: Sakari Ailus
---
drivers/media/media-device.c | 14 --
include/media/media-device.h | 1 +
2 files changed, 13 insertions(+), 2
Hi Mauro,
Am 04.05.2016 um 18:15 schrieb Mauro Carvalho Chehab :
> Em Wed, 4 May 2016 11:34:08 +0200
> Markus Heiser escreveu:
>
>> Hi all, (hi Jonathan, please take note of my offer below)
>>
>> Am 03.05.2016 um 16:31 schrieb Daniel Vetter
48 matches
Mail list logo