Hi,
On Fri, May 19, 2017 at 1:08 AM, Hugues FRUCHET wrote:
> Before merging this work Hans would like to have feedback from peers, in
> order to be sure that this is inline with other SoC vendors drivers
> expectations.
>
> Thomasz, Pawel, could you give your view
Hi,
On Wed, Mar 25, 2015 at 2:46 AM, Philipp Zabel p.za...@pengutronix.de wrote:
If the last buffer was dequeued from a capture queue, let poll return
immediately and let DQBUF return -EPIPE to signal there will no more
buffers to dequeue until STREAMOFF.
The driver signals the last buffer by
Hi,
Thanks for working on this!
On Wed, Mar 25, 2015 at 2:46 AM, Philipp Zabel p.za...@pengutronix.de wrote:
From: Peter Seiderer ps.rep...@gmx.net
This v4l2_buffer flag can be used by drivers to mark a capture buffer
as the last generated buffer, for example after a V4L2_DEC_CMD_STOP
Hi,
On Tue, Apr 7, 2015 at 11:44 PM, Kamil Debski k.deb...@samsung.com wrote:
Hi,
From: Hans Verkuil [mailto:hverk...@xs4all.nl]
Sent: Tuesday, March 17, 2015 5:09 PM
On 03/17/2015 11:46 AM, Philipp Zabel wrote:
Hi,
Am Freitag, den 06.03.2015, 11:18 +0100 schrieb Philipp Zabel:
At
Hi Philipp,
On Thu, Jan 22, 2015 at 11:58 PM, Philipp Zabel p.za...@pengutronix.de wrote:
Hi,
Are you planning to pour the workshop's codec API document into a V4L2
documentation patch?
Yes, definitely, I am a bit delayed, but will do this eventually, this
is in progress. Sorry for the
On Tue, Nov 18, 2014 at 9:51 PM, Hans Verkuil hverk...@xs4all.nl wrote:
From: Hans Verkuil hans.verk...@cisco.com
Don't try to free a pointer containing an ERR_PTR().
Signed-off-by: Hans Verkuil hans.verk...@cisco.com
Acked-by: Pawel Osciak pa...@osciak.com
--
Best regards,
Pawel Osciak
hans.verk...@cisco.com
Acked-by: Pawel Osciak pa...@osciak.com
--
Best regards,
Pawel Osciak
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
hansv...@cisco.com
Acked-by: Pawel Osciak pa...@osciak.com
---
drivers/media/v4l2-core/videobuf2-vmalloc.c | 171
1 file changed, 171 insertions(+)
diff --git a/drivers/media/v4l2-core/videobuf2-vmalloc.c
b/drivers/media/v4l2-core/videobuf2-vmalloc.c
index
Acked-by: Pawel Osciak pa...@osciak.com
---
include/media/videobuf2-core.h | 32 +---
1 file changed, 17 insertions(+), 15 deletions(-)
diff --git a/include/media/videobuf2-core.h b/include/media/videobuf2-core.h
index 6ef2d01..70ace7c 100644
--- a/include/media
.
The reverse is true for dma_unmap_sg, buf_finish and the finish
memop.
To prevent unnecessary syncs we ask dma_(un)map_sg to skip the
sync.
Signed-off-by: Hans Verkuil hans.verk...@cisco.com
Acked-by: Pawel Osciak pa...@osciak.com
---
drivers/media/v4l2-core/videobuf2-dma-contig.c | 24
related */
+ struct dma_buf_attachment *db_attach;
Unused?
--
Best regards,
Pawel Osciak
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
On Mon, Nov 10, 2014 at 8:49 PM, Hans Verkuil hverk...@xs4all.nl wrote:
From: Hans Verkuil hans.verk...@cisco.com
Signed-off-by: Hans Verkuil hans.verk...@cisco.com
Reviewed-by: Pawel Osciak pa...@osciak.com
---
drivers/media/platform/vim2m.c | 1 +
1 file changed, 1 insertion(+)
diff
Reviewed-by: Pawel Osciak pa...@osciak.com
---
drivers/media/platform/vivid/vivid-core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/media/platform/vivid/vivid-core.c
b/drivers/media/platform/vivid/vivid-core.c
index 2c61a62..7de8d9d 100644
--- a/drivers/media
, sgt-orig_nents, dma_dir);
+ /* Mapping to the client with new direction */
+ ret = dma_map_sg(db_attach-dev, sgt-sgl, sgt-orig_nents,
+dma_dir);
Do we need this chunk?
--
Best regards,
Pawel Osciak
--
To unsubscribe from this list: send the line unsubscribe
value anyway it is now replaced by
the correct dma_dir value which is unambiguous.
Signed-off-by: Hans Verkuil hans.verk...@cisco.com
Acked-by: Pawel Osciak pa...@osciak.com
--
Best regards,
Pawel Osciak
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body
On Mon, Nov 10, 2014 at 8:49 PM, Hans Verkuil hverk...@xs4all.nl wrote:
From: Hans Verkuil hans.verk...@cisco.com
This is needed for the next patch where the dma-sg alloc memop needs
to know the dma_dir.
Signed-off-by: Hans Verkuil hans.verk...@cisco.com
Acked-by: Pawel Osciak pa
;
+
+ return conf;
+}
+EXPORT_SYMBOL_GPL(vb2_dma_sg_init_ctx);
+
+void vb2_dma_sg_cleanup_ctx(void *alloc_ctx)
+{
+ if (!IS_ERR_OR_NULL(alloc_ctx))
I would prefer not doing this, it's very weird and would really just
be a programming bug.
--
Best regards,
Pawel Osciak
On Mon, Nov 10, 2014 at 8:49 PM, Hans Verkuil hverk...@xs4all.nl wrote:
From: Hans Verkuil hans.verk...@cisco.com
Add support for importing dmabuf to videobuf2-dma-sg.
Signed-off-by: Hans Verkuil hans.verk...@cisco.com
Acked-by: Pawel Osciak pa...@osciak.com
--
Best regards,
Pawel Osciak
On Mon, Nov 10, 2014 at 8:49 PM, Hans Verkuil hverk...@xs4all.nl wrote:
From: Hans Verkuil hansv...@cisco.com
Add DMABUF export support to vb2-dma-sg.
Signed-off-by: Hans Verkuil hansv...@cisco.com
Acked-by: Pawel Osciak pa...@osciak.com
--
Best regards,
Pawel Osciak
--
To unsubscribe from
);
}
+void *vb2_dma_sg_init_ctx(struct device *dev);
+void vb2_dma_sg_cleanup_ctx(void *alloc_ctx);
+
extern const struct vb2_mem_ops vb2_dma_sg_memops;
#endif
--
2.1.1
--
Best regards,
Pawel Osciak
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body
-by: Hans Verkuil hans.verk...@cisco.com
Acked-by: Pawel Osciak pa...@osciak.com
--
Best regards,
Pawel Osciak
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo
,
+ .unmap_dmabuf = vb2_dma_sg_unmap_dmabuf,
+ .attach_dmabuf = vb2_dma_sg_attach_dmabuf,
+ .detach_dmabuf = vb2_dma_sg_detach_dmabuf,
.cookie = vb2_dma_sg_cookie,
};
EXPORT_SYMBOL_GPL(vb2_dma_sg_memops);
--
2.1.1
--
Best regards,
Pawel Osciak
On Sat, Nov 8, 2014 at 7:20 PM, Pawel Osciak pa...@osciak.com wrote:
Hi Hans,
Thank you for the patch.
On Fri, Nov 7, 2014 at 5:50 PM, Hans Verkuil hverk...@xs4all.nl wrote:
From: Hans Verkuil hans.verk...@cisco.com
Add support for dmabuf to vb2-dma-sg.
importing dmabuf into videobuf2-dma
vb2_dma_sg_buf *buf = dbuf-priv;
+
+ return buf-vaddr + pgnum * PAGE_SIZE;
As opposed to contig, which assigns vaddr on alloc(), vaddr can very
well be NULL here for sg.
--
Best regards,
Pawel Osciak
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body
the dma_dir value anyway it is now replaced by
the correct dma_dir value which is unambiguous.
Do we need the first patch adding write then? Maybe we could squash
somehow and redo the series please?
--
Best regards,
Pawel Osciak
--
To unsubscribe from this list: send the line unsubscribe linux-media
and I don't see and need for anything
else. The last option would make it impossible to have different allocation
contexts for different planes, but that might be something that Samsumg needs.
Regards,
Hans
--
Best regards,
Pawel Osciak
--
To unsubscribe from this list: send the line
they are copied from dma-contig, but I think we should remove them.
Others include detach, create attachment, etc.
--
Best regards,
Pawel Osciak
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at http
.
Perhaps I'm missing something, but couldn't we just dma_map_sg on
allocation/get in dma-sg and unmap on put?
--
Best regards,
Pawel Osciak
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at http
.
--
Best regards,
Pawel Osciak
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
we alloc
(or get) and put a buffer, while prepare and finish should only sync.
--
Best regards,
Pawel Osciak
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo
On Thu, Sep 4, 2014 at 4:40 AM, Vincent Palatin vpala...@chromium.org wrote:
Map V4L2_CID_TILT_SPEED and V4L2_CID_PAN_SPEED to the standard UVC
CT_PANTILT_RELATIVE_CONTROL terminal control request.
Tested by plugging a Logitech ConferenceCam C3000e USB camera
and controlling pan/tilt from the
On Sat, Aug 16, 2014 at 4:08 AM, Vincent Palatin vpala...@chromium.org wrote:
The V4L2_CID_PAN_SPEED and V4L2_CID_TILT_SPEED controls allow to move the
camera by setting its rotation speed around its axis.
Signed-off-by: Vincent Palatin vpala...@chromium.org
Reviewed-by: Pawel Osciak posc
the userspace using the VIDIOC_S_CTRL ioctl.
Verified that it can pan and tilt at the same time in both directions.
Signed-off-by: Vincent Palatin vpala...@chromium.org
Reviewed-by: Pawel Osciak posc...@chromium.org
Change-Id: I7b70b228e5c0126683f5f0be34ffd2807f5783dc
---
drivers/media/usb/uvc
Hi Philipp,
On Fri, Aug 22, 2014 at 10:09 PM, Philipp Zabel p.za...@pengutronix.de wrote:
- Helping userspace to use mem2mem devices; clarification of
encoder/decoder handling, clarification of format/size setting
in case of dependencies between input and output formats,
possibly broad
;
}
return false;
--
1.7.9.5
--
Thanks,
Pawel Osciak
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
On Thu, Aug 7, 2014 at 12:10 AM, Vincent Palatin vpala...@chromium.org wrote:
On Sun, Aug 3, 2014 at 10:52 PM, Pawel Osciak posc...@chromium.org wrote:
This looks good to me in general (with one comment below). I don't think we
can easily implement current V4L2 pan and tilt controls
to the videobuf2-core.h header that explains what drivers are supposed
to do in these situations. That should help point developers in the
right direction if they see these warnings.
Signed-off-by: Hans Verkuil hans.verk...@cisco.com
Acked-by: Pawel Osciak pa...@osciak.com
---
drivers/media/v4l2-core
underruns during
streaming are not treated specially anymore and just result in poll()
blocking until the next event.
Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com
Acked-by: Hans Verkuil hans.verk...@cisco.com
Acked-by: Pawel Osciak pa...@osciak.com
---
drivers/media/v4l2-core
Hi Laurent,
Thanks for the patch. Did you test this to work in fileio mode? Looks
like it should, but would like to make sure.
Thanks,
Pawel
On Thu, Jun 5, 2014 at 9:23 PM, Laurent Pinchart
laurent.pinch...@ideasonboard.com wrote:
When a fatal error occurs that render the device unusable, the
Hi Kamil,
I like the solution as well. Two suggestions to consider below.
On Fri, May 16, 2014 at 9:03 PM, Kamil Debski k.deb...@samsung.com wrote:
MFC versions support a different set of formats, this specially applies
to the raw YUV formats. This patch changes enum_fmt, so that it only
...@chromium.org;
arunkk.sams...@gmail.com
Subject: [PATCH] [media] s5p-mfc: Add a control for IVF format for VP8
encoder
From: Pawel Osciak posc...@chromium.org
Add a control to enable/disable IVF output stream format for VP8 encode.
Set the IVF format output to disabled as default
Hi Kamil,
On Fri, May 9, 2014 at 1:22 AM, Kamil Debski k.deb...@samsung.com wrote:
Hi,
From: Arun Kumar K [mailto:arunkk.sams...@gmail.com] On Behalf Of Arun
Kumar K
Sent: Friday, March 21, 2014 9:37 AM
From: Pawel Osciak posc...@chromium.org
Currently, we allocate private codec buffers
the function name in addition to the vb2:
prefix. Superfluous prefixes elsewhere in the code have been removed.
Signed-off-by: Hans Verkuil hans.verk...@cisco.com
Acked-by: Pawel Osciak pa...@osciak.com
---
drivers/media/v4l2-core/videobuf2-core.c | 133
+++
1 file
-by: Hans Verkuil hans.verk...@cisco.com
Acked-by: Pawel Osciak pa...@osciak.com
---
drivers/media/v4l2-core/videobuf2-core.c | 13 -
1 file changed, 4 insertions(+), 9 deletions(-)
diff --git a/drivers/media/v4l2-core/videobuf2-core.c
b/drivers/media/v4l2-core/videobuf2-core.c
index
if V4L2_BUF_FLAG_TIMESTAMP_COPY is set. Nobody
else is able to provide this information with the write() operation.
Signed-off-by: Hans Verkuil hans.verk...@cisco.com
Acked-by: Pawel Osciak pa...@osciak.com
---
drivers/media/v4l2-core/videobuf2-core.c | 6 ++
1 file changed, 6 insertions(+)
diff --git
it is.
+*/
+ dprintk(1, the field is incorrectly set to ALTERNATE for an
output buffer\n);
+ return -EINVAL;
+ }
vb-state = VB2_BUF_STATE_PREPARING;
vb-v4l2_buf.timestamp.tv_sec = 0;
--
1.9.1
--
Best regards,
Pawel Osciak
--
To unsubscribe from
--
Best regards,
Pawel Osciak
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
were created...
Signed-off-by: Hans Verkuil hans.verk...@cisco.com
Acked-by: Pawel Osciak pa...@osciak.com
---
drivers/media/v4l2-core/videobuf2-core.c | 39
include/media/videobuf2-core.h | 17 ++
2 files changed, 41 insertions
...@cisco.com
Acked-by: Pawel Osciak pa...@osciak.com
---
drivers/media/v4l2-core/videobuf2-core.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/media/v4l2-core/videobuf2-core.c
b/drivers/media/v4l2-core/videobuf2-core.c
index 08152dd..ef7ef82 100644
--- a/drivers/media/v4l2
Ah, alas, Sakari is right. This should not be needed, since we memcpy
vb-v4l2_buf to this, also overwriting bytesused.
On Thu, Apr 10, 2014 at 10:08 AM, Pawel Osciak pa...@osciak.com wrote:
On Mon, Apr 7, 2014 at 10:11 PM, Hans Verkuil hverk...@xs4all.nl wrote:
From: Hans Verkuil hans.verk
of the messages.
Signed-off-by: Hans Verkuil hans.verk...@cisco.com
Acked-by: Pawel Osciak pa...@osciak.com
---
drivers/media/v4l2-core/videobuf2-core.c | 58
1 file changed, 29 insertions(+), 29 deletions(-)
diff --git a/drivers/media/v4l2-core/videobuf2
the buffer length instead.
Signed-off-by: Hans Verkuil hans.verk...@cisco.com
Acked-by: Pawel Osciak pa...@osciak.com
---
drivers/media/v4l2-core/videobuf2-core.c | 32
+++-
1 file changed, 27 insertions(+), 5 deletions(-)
diff --git a/drivers/media/v4l2-core/videobuf2
--
Best regards,
Pawel Osciak
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
On Mon, Apr 7, 2014 at 4:39 PM, Hans Verkuil hverk...@xs4all.nl wrote:
On 04/07/2014 09:20 AM, Pawel Osciak wrote:
I'm thinking, that if we are doing this, perhaps we should just update
the API to allow this case, i.e. say that if the bytesused is not set
With 'not set' you mean 'is 0', right
these memory models are implemented: first
mmap, then userptr, then dmabuf.
Signed-off-by: Hans Verkuil hans.verk...@cisco.com
Acked-by: Pawel Osciak pa...@osciak.com
---
drivers/media/v4l2-core/videobuf2-core.c | 28 ++--
1 file changed, 14 insertions(+), 14 deletions
)
+ v4l2_get_timestamp(fileio-b.timestamp);
ret = vb2_internal_qbuf(q, fileio-b);
dprintk(5, file io: vb2_internal_qbuf result: %d\n, ret);
if (ret)
--
1.9.0
--
Best regards,
Pawel Osciak
--
To unsubscribe from this list: send the line
.
+*/
+ return -EINVAL;
+ }
vb-state = VB2_BUF_STATE_PREPARING;
vb-v4l2_buf.timestamp.tv_sec = 0;
--
1.9.0
--
Best regards,
Pawel Osciak
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message
On Tue, Mar 11, 2014 at 6:20 AM, Hans Verkuil hverk...@xs4all.nl wrote:
From: Hans Verkuil hans.verk...@cisco.com
q-start_streaming_called is always true, so the WARN_ON check against
it being false can be dropped.
Signed-off-by: Hans Verkuil hans.verk...@cisco.com
Acked-by: Pawel Osciak pa
in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
--
Best regards,
Pawel Osciak
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo
;
This has been updated to just call mutex_lock(). The stop_streaming op
expects this to really stop streaming and I very much doubt this will
work reliably if stop_streaming just returns without really stopping the
DMA.
Signed-off-by: Hans Verkuil hans.verk...@cisco.com
Acked-by: Pawel Osciak
,
plane);
ret = -EINVAL;
--
1.9.0
--
Best regards,
Pawel Osciak
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
, buffer,
plane);
return 0;
--
1.9.0
--
Best regards,
Pawel Osciak
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
to a situation where if he calls
close() before calling streamoff() the device is kept streaming.
Signed-off-by: Ricardo Ribalda Delgado ricardo.riba...@gmail.com
Signed-off-by: Hans Verkuil hans.verk...@cisco.com
Acked-by: Pawel Osciak pa...@osciak.com
---
drivers/media/v4l2-core/videobuf2
by removing callback).
Signed-off-by: Hans Verkuil hans.verk...@cisco.com
Acked-by: Laurent Pinchart laurent.pinch...@ideasonboard.com
Acked-by: Pawel Osciak pa...@osciak.com
---
drivers/media/v4l2-core/videobuf2-core.c | 8 ++--
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git
with buf_queue(). I know later patches in this series will require it,
but at this point it's not true. Perhaps we should move this to the
8th patch or after it? I don't feel too strong about this though.
One more nit inline.
But in general:
Acked-by: Pawel Osciak pa...@osciak.com
On Thu, Feb 6, 2014
Thanks!
vb2 parts:
Acked-by: Pawel Osciak pa...@osciak.com
others:
Reviewed-by: Pawel Osciak pa...@osciak.com
On Thu, Feb 13, 2014 at 6:40 PM, Hans Verkuil hverk...@xs4all.nl wrote:
From: Hans Verkuil hans.verk...@cisco.com
The buf_finish op should always work, so change the return type
Thanks Hans.
Acked-by: Pawel Osciak pa...@osciak.com
On Thu, Feb 13, 2014 at 6:40 PM, Hans Verkuil hverk...@xs4all.nl wrote:
From: Hans Verkuil hans.verk...@cisco.com
Drivers need to be aware that buf_finish can be called when there is no
streaming going on, so make a note of that.
Also
will not be called and any driver cleanup
will not happen.
Signed-off-by: Hans Verkuil hans.verk...@cisco.com
Acked-by: Pawel Osciak pa...@osciak.com
---
drivers/media/v4l2-core/videobuf2-core.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/media/v4l2-core/videobuf2
? VB2_BUF_STATE_DEQUEUED : VB2_BUF_STATE_PREPARED;
--
1.8.4.rc3
--
Best regards,
Pawel Osciak
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
.
Signed-off-by: Hans Verkuil hans.verk...@cisco.com
Acked-by: Pawel Osciak pa...@osciak.com
---
drivers/media/v4l2-core/videobuf2-core.c | 10 +-
include/media/videobuf2-core.h | 4 ++--
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/drivers/media/v4l2
vb2_queue *q,
char __user *data, size_
fileio-q_count += 1;
if (fileio-index q-num_buffers)
fileio-index++;
+ fileio-buf_index = fileio-index;
}
/*
--
1.8.4.rc3
--
Best regards,
Pawel Osciak
retry_start_streaming:1;
+ unsigned intstart_streaming_called:1;
struct vb2_fileio_data *fileio;
--
1.8.4.rc3
--
Best regards,
Pawel Osciak
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord
Hi Arun,
On Mon, Dec 9, 2013 at 10:16 PM, Arun Kumar K arun...@samsung.com wrote:
Add v4l2 controls to set desired profile for VP8 encoder.
Acceptable levels for VP8 encoder are
0: Version 0
1: Version 1
2: Version 2
3: Version 3
Signed-off-by: Pawel Osciak posc...@chromium.org
Sorry
Mauro Carvalho Chehab m.che...@samsung.com
Michael Krufky mkru...@kernellabs.com
Oliver Schinagl oliver+l...@schinagl.nl
Pawel Osciak posc...@chromium.org
Peter Senna Tschudin peter.se...@gmail.com
Ricardo Ribalda Delgado ricardo.riba...@gmail.com
Thanks Philipp.
Acked-by: Pawel Osciak pa...@osciak.com
On Thu, Sep 19, 2013 at 5:30 PM, Philipp Zabel p.za...@pengutronix.de wrote:
Hi Pawel,
Am Donnerstag, den 19.09.2013, 16:54 +0900 schrieb Pawel Osciak:
On Thu, Sep 19, 2013 at 4:37 PM, Philipp Zabel p.za...@pengutronix.de
wrote
);
+ if (memory == V4L2_MEMORY_MMAP)
+ __setup_offsets(q, buffer);
dprintk(1, Allocated %d buffers, %d plane(s) each\n,
buffer, num_planes);
--
1.8.4.rc3
--
Best regards,
Pawel Osciak
--
To unsubscribe from this list: send the line unsubscribe
On Tue, Sep 10, 2013 at 6:17 PM, Hans Verkuil hverk...@xs4all.nl wrote:
On Mon 9 September 2013 11:09:57 Sylwester Nawrocki wrote:
On 09/09/2013 11:00 AM, Kamil Debski wrote:
[...]
We have QP controls separately for H264, H263 and MPEG4. Why is that?
Which one should I use for VP8?
On Mon, Sep 9, 2013 at 4:52 PM, Hans Verkuil hverk...@xs4all.nl wrote:
On 09/09/2013 05:48 AM, Pawel Osciak wrote:
Hi Hans,
Thanks for the comments, one question inline.
On Fri, Aug 30, 2013 at 3:48 PM, Hans Verkuil hverk...@xs4all.nl wrote:
On 08/30/2013 04:17 AM, Pawel Osciak wrote:
Add
Hi Hans,
Thanks for the comments, one question inline.
On Fri, Aug 30, 2013 at 3:48 PM, Hans Verkuil hverk...@xs4all.nl wrote:
On 08/30/2013 04:17 AM, Pawel Osciak wrote:
Add defines for controls found in UVC 1.5 encoding cameras.
Signed-off-by: Pawel Osciak posc...@chromium.org
On Fri, Sep 6, 2013 at 10:45 PM, Laurent Pinchart
laurent.pinch...@ideasonboard.com wrote:
Hi Hugues,
On Thursday 05 September 2013 13:37:49 Hugues FRUCHET wrote:
Hi Mauro,
For floating point issue, we have not encountered such issue while
integrating various codec (currently H264,
Add interface number to debugfs entry name to be able to create separate
entries for each streaming interface for devices exposing more than one,
instead of failing to create more than one.
Signed-off-by: Pawel Osciak posc...@chromium.org
---
drivers/media/usb/uvc/uvc_debugfs.c | 3 ++-
1 file
Move getting the first buffer from the current queue to a uvc_queue function
and out of the USB completion handler.
Signed-off-by: Pawel Osciak posc...@chromium.org
---
drivers/media/usb/uvc/uvc_isight.c | 6 --
drivers/media/usb/uvc/uvc_queue.c | 14 ++
drivers/media/usb/uvc
UVC 1.5 introduces the concept of runtime controls, which can be set during
streaming. Non-runtime controls can only be changed while device is idle.
Signed-off-by: Pawel Osciak posc...@chromium.org
---
drivers/media/usb/uvc/uvc_ctrl.c | 45 +---
drivers/media
Add defines for controls found in UVC 1.5 encoding cameras.
Signed-off-by: Pawel Osciak posc...@chromium.org
---
drivers/media/v4l2-core/v4l2-ctrls.c | 29 +
include/uapi/linux/v4l2-controls.h | 31 +++
2 files changed, 60 insertions
Signed-off-by: Pawel Osciak posc...@chromium.org
---
drivers/media/usb/uvc/uvc_ctrl.c | 18 ++
1 file changed, 18 insertions(+)
diff --git a/drivers/media/usb/uvc/uvc_ctrl.c b/drivers/media/usb/uvc/uvc_ctrl.c
index b0a19b9..a0493d6 100644
--- a/drivers/media/usb/uvc/uvc_ctrl.c
,
Pawel Osciak
Pawel Osciak (19):
uvcvideo: Add UVC query tracing.
uvcvideo: Return 0 when setting probe control succeeds.
uvcvideo: Add support for multiple chains with common roots.
uvcvideo: Create separate debugfs entries for each streaming interface.
uvcvideo
Add detection and parsing of VP8 format and frame descriptors and
reorganize format parsing code.
Signed-off-by: Pawel Osciak posc...@chromium.org
---
drivers/media/usb/uvc/uvc_driver.c | 120 -
drivers/media/usb/uvc/uvcvideo.h | 4 +-
include/uapi/linux
These controls allow modifying encoding parameters.
Signed-off-by: Pawel Osciak posc...@chromium.org
---
drivers/media/usb/uvc/uvc_ctrl.c | 445 +++
include/uapi/linux/usb/video.h | 23 ++
2 files changed, 468 insertions(+)
diff --git a/drivers/media/usb
Signed-off-by: Pawel Osciak posc...@chromium.org
---
drivers/media/usb/uvc/uvc_video.c | 18 +-
drivers/media/usb/uvc/uvcvideo.h | 10 ++
2 files changed, 27 insertions(+), 1 deletion(-)
diff --git a/drivers/media/usb/uvc/uvc_video.c
b/drivers/media/usb/uvc/uvc_video.c
extract control locking into __uvc_ctrl_{lock,unlock} functions.
Signed-off-by: Pawel Osciak posc...@chromium.org
---
drivers/media/usb/uvc/uvc_ctrl.c | 70 -
drivers/media/usb/uvc/uvc_driver.c | 210 +
drivers/media/usb/uvc/uvc_entity.c | 15
Add common error handling paths for format parsing failures.
Signed-off-by: Pawel Osciak posc...@chromium.org
---
drivers/media/usb/uvc/uvc_driver.c | 35 ++-
1 file changed, 14 insertions(+), 21 deletions(-)
diff --git a/drivers/media/usb/uvc/uvc_driver.c
b
Add bits for previous, golden and altref frame types.
Signed-off-by: Pawel Osciak posc...@chromium.org
---
include/uapi/linux/videodev2.h | 4
1 file changed, 4 insertions(+)
diff --git a/include/uapi/linux/videodev2.h b/include/uapi/linux/videodev2.h
index 437f1b0..c011ee0 100644
Return 0 instead of returning size of the probe control on successful set.
Signed-off-by: Pawel Osciak posc...@chromium.org
---
drivers/media/usb/uvc/uvc_video.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/media/usb/uvc/uvc_video.c
b/drivers/media/usb/uvc/uvc_video.c
index
Create a separate function for parsing UVC payload headers and extract code
from other functions into it. Store the parsed values in a header struct.
Signed-off-by: Pawel Osciak posc...@chromium.org
---
drivers/media/usb/uvc/uvc_video.c | 270 +++---
drivers/media
Signed-off-by: Pawel Osciak posc...@chromium.org
---
drivers/media/usb/uvc/uvc_ctrl.c | 62
1 file changed, 37 insertions(+), 25 deletions(-)
diff --git a/drivers/media/usb/uvc/uvc_ctrl.c b/drivers/media/usb/uvc/uvc_ctrl.c
index 72d6724..d735c88 100644
Add a new trace argument enabling UVC query details and contents logging.
Signed-off-by: Pawel Osciak posc...@chromium.org
---
drivers/media/usb/uvc/uvc_video.c | 45 +--
drivers/media/usb/uvc/uvcvideo.h | 9
2 files changed, 38 insertions(+), 16
Add support for UVC 1.5 Probe Commit control.
Signed-off-by: Pawel Osciak posc...@chromium.org
---
drivers/media/usb/uvc/uvc_video.c | 52 ---
include/uapi/linux/usb/video.h| 7 ++
2 files changed, 55 insertions(+), 4 deletions(-)
diff --git
on the
camera capabilities.
Signed-off-by: Pawel Osciak posc...@chromium.org
---
include/uapi/linux/videodev2.h | 4
1 file changed, 4 insertions(+)
diff --git a/include/uapi/linux/videodev2.h b/include/uapi/linux/videodev2.h
index c011ee0..8b0d4ad 100644
--- a/include/uapi/linux/videodev2.h
+++ b
Add encoding unit definitions and descriptor parsing code and allow them to
be added to chains.
Signed-off-by: Pawel Osciak posc...@chromium.org
---
drivers/media/usb/uvc/uvc_ctrl.c | 37 ++---
drivers/media/usb/uvc/uvc_driver.c | 67
John, thanks for the patch.
On Thu, May 23, 2013 at 5:41 PM, John Sheu s...@google.com wrote:
Save flags correctly when taking spinlocks in v4l2_m2m_try_schedule.
Signed-off-by: John Sheu s...@google.com
Acked-by: Pawel Osciak pa...@osciak.com
---
drivers/media/v4l2-core/v4l2-mem2mem.c
1 - 100 of 342 matches
Mail list logo