Hi,
I'm not sure the meaning of variables in v4l2_pix_format and v4l2_plane.
Especially bytesperline, sizeimage, length and bytesused.
v4l2_pix_format.width = width
v4l2_pix_format.height = height
v4l2_pix_format.bytesperline= bytesperline [in bytes]
v4l2_pix_format.sizeim
When satisfied with the try results, applications can set the active formats
by setting the which argument to V4L2_SUBDEV_FORMAT_ACTIVE
not V4L2_SUBDEV_FORMAT_TRY.
Signed-off-by: Jonghun Han
---
Documentation/DocBook/v4l/dev-subdev.xml |2 +-
1 files changed, 1 insertions(+), 1 deletions
From: Jonghun Han
When satisfied with the try results, applications can set the active formats
by setting the which argument to V4L2_SUBDEV_FORMAT_ACTIVE
not V4L2_SUBDEV_FORMAT_TRY.
Signed-off-by: Jonghun Han
---
Documentation/DocBook/v4l/dev-subdev.xml |2 +-
1 files changed, 1
From: Jonghun Han
When satisfied with the try results, applications can set the active formats
by setting the which argument to V4L2_SUBDEV_FORMAT_ACTIVE
not V4L2_SUBDEV_FORMAT_TRY.
Signed-off-by: Jonghun Han
---
Documentation/DocBook/v4l/dev-subdev.xml |2 +-
1 files changed, 1
/* crop means compose for output devices */
> + if (p->type == V4L2_BUF_TYPE_VIDEO_OUTPUT)
> + s.target = V4L2_SEL_COMPOSE_ACTIVE;
> +
If it also supports V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE,
how about using Macro like V4L2_TYPE_IS_OUTPUT(type) ?
[snip]
.
Best regards,
Jonghun Han
On Tuesday, April 05, 2011 11:07 PM Marek Szyprowski wrote:
> This patch adds basic support for pm_runtime to s5p-fimc driver. PM
runtime
> support is required to enable the driver on S5PV310 series with power
domain
> driver enabled.
>
> Signed-off-by: M
Hi Marek,
On Wednesday, March 30, 2011 4:01 PM Marek Szyprowski wrote:
> Hello,
>
> On V4L2 brainstorming meeting in Warsaw we discussed the need of a
> framebuffer userspace interface for video output devices. Such
> framebuffer interface is aimed mainly for legacy applications and/or
> interop
Hi Marek,
Here is my comments.
On Wednesday, March 30, 2011 4:01 PM Marek Szyprowski wrote:
>
> This patch adds generic frame buffer emulator for any video output device
> that uses videobuf2 framework. This emulator assumes that the driver is
> capable of working in single-buffering mode and u
e.org/gmane.linux.kernel.samsung-soc/3909
- Submitted by Sangbeom Kim
- Merged by Kukjin Kim, ARM/S5P ARM ARCHITECTURES maintainer
- implementation
arch/arm/plat-s5p/sysmmu.c
arch/arm/plat-s5p/include/plat/sysmmu.h
Best regards,
Jonghun Han
> -Original Message-
> From: lin
quite
> reasonable to me.
> >
> > But for snapshot and codec type streams this behavior doesn't make
sense.
> > The main difference is that in this case the DMA is not driven by an
> > external input, but by internal (userspace) demand.
> >
> > Something for our meeting to discuss.
>
> --
> Regards,
>
> Laurent Pinchart
> --
> 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
Best regards,
Jonghun Han
--
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
without copy operation.
For example, video playback application can share the buffer even though it
consists of multiple process.
Best regards,
Jonghun Han
> -Original Message-
> From: linux-media-ow...@vger.kernel.org [mailto:linux-media-
> ow...@vger.kernel.org] On Behalf Of Kyun
==
Introduction
==
The purpose of this RFC is to discuss the vb2-allocator
for multimedia devices available in upcoming Samsung SoC Exynos.
Not all of them are merged or submitted by now,
but I decided to post this for starting discussion about buffer management.
vb
), suggested by ARM.
VCM (Virtual Contiguous Memory framework), submitted by Samsung
CMA (Contiguous Memory Allocator), submitted by Samsung
SYS.MMU (System MMU), submitted by Samsung.
Signed-off-by: Jonghun Han
---
drivers/media/video/videobuf2-sdvmm.c | 659
Hi,
There are two solutions. But it never looks nice.
Does anyone have no idea ?
1. Save the struct s3c_fb in the v4l2_subdev.priv like:
In the s3cfb_probe:
v4l2_set_subdevdata(&sfb->sd, sfb);
platform_set_drvdata(pdev, &sfb->sd);
In the s3cfb_remove:
struct v4l2_subdev
Hi,
Maybe VCM is helpful for you. Please refer to the following URL.
http://marc.info/?l=linux-mm&m=129255940319217&w=2
Best regards,
Jonghun Han
Wednesday, February 09, 2011 4:52 PM Hans Verkuil wrote:
> -Original Message-
> From: linux-media-ow...@v
Hello,
I don't know whether the way to restart m2m device after suspend is
right or not.
To go to suspend state, I think m2m device should stop the job even if
there are remained jobs in ready queue.
After suspend, driver should restart remained jobs in resume function
without ioctl command like:
Thanks for interesting.
Ok, I will submit it using VIDIOC_S_CTRL.
Best regards,
> -Original Message-
> From: Hans Verkuil [mailto:hverk...@xs4all.nl]
> Sent: Monday, January 17, 2011 3:52 PM
> To: Jonghun Han
> Cc: linux-media@vger.kernel.org; pa...@osciak.com;
Hello,
How to set global alpha to V4L2_BUF_TYPE_CAPTURE ?
Samsung SoC S5PC210 has Camera interface and Video post processor named FIMC
which can set the alpha value to V4L2_BUF_TYPE_CAPTURE.
For example during color space conversion from YUV422 to ARGB,
FIMC can set the alpha value to V4L2
ards,
> -Original Message-
> From: Kamil Debski [mailto:k.deb...@samsung.com]
> Sent: Friday, January 14, 2011 4:24 PM
> To: 'Jonghun Han'; linux-media@vger.kernel.org; linux-samsung-
> s...@vger.kernel.org
> Cc: Marek Szyprowski; pa...@osciak.com; kyungmin.p...@sa
Hello,
How do you think about adding a new callback function which makes allocator
for vb2 fill the reserved field in v4l2_buffer as below.
As-Is: VIDIOC_QUERYBUF -> v4l2_m2m_querybuf -> vb2_querybuf ->
__fill_v4l2_buffer
To-Be: VIDIOC_QUERYBUF -> v4l2_m2m_querybuf -> vb2_querybuf ->
__fill_v4l
Hi,
Kamil Debski wrote:
> +/* Reqeust buffers */
> +static int vidioc_reqbufs(struct file *file, void *priv,
> + struct v4l2_requestbuffers
*reqbufs)
> +{
> + struct s5p_mfc_dev *dev = video_drvdata(file);
> + struct s5p_mfc_ctx *ctx = priv;
> +
media IPs.
Thank you for interesting.
Best regards,
> -Original Message-
> From: linux-fbdev-ow...@vger.kernel.org [mailto:linux-fbdev-
> ow...@vger.kernel.org] On Behalf Of Konrad Rzeszutek Wilk
> Sent: Wednesday, January 12, 2011 2:35 AM
> To: Jonghun Han
> Cc:
-
> From: linux-media-ow...@vger.kernel.org [mailto:linux-media-
> ow...@vger.kernel.org] On Behalf Of InKi Dae
> Sent: Friday, January 07, 2011 11:17 AM
> To: Jonghun Han
> Cc: linux-media@vger.kernel.org; linux-arm-ker...@lists.infradead.org;
linux-fbdev;
> kyungmin.p...@samsung
Hi Kamil,
Kamil Debski wrote:
> Hi,
>
> Thanks for the comment. Some of them include my code, which will I comment
> below.
>
> > My review also imply Kamil's original patch.
>
> >
> > > +#define MFC_NUM_CONTEXTS 4
> >
> > How about use MFC_NUM_INSTANT instead MFC_NUM_CONTEXTS ?
> > Becaus
Hello,
There are two reasons why malloc isn't suitable for it.
The first is that malloc doesn't allocate memory when malloc is called.
So driver or vb2 cannot find PFN for it in the VIDIOC_QBUF.
The second is that malloc uses 4KB page allocation.
SYS.MMU(IO-MMU) can handle scattered memory. But
My review also imply Kamil's original patch.
Jeongtae Park wrote:
> Multi Format Codec v5.1 is a module available on S5PC110 and S5PC210
> Samsung SoCs. Hardware is capable of handling a range of video codecs
> and this driver provides V4L2 interface for video decoding & encoding.
>
> Reviewed-b
Hi Laurent Pinchart,
Thanks you for reply.
It makes sense.
Best regards,
Jonghun Han
> -Original Message-
> From: linux-media-ow...@vger.kernel.org [mailto:linux-media-
> ow...@vger.kernel.org] On Behalf Of Laurent Pinchart
> Sent: Tuesday, December 14, 2010 8:00 PM
>
there is no comment in QBUF and DQBUF part about index.
So I am confused. If an index isn't needed, how to driver handle it ?
Best regards,
Jonghun Han,
> -Original Message-
> From: linux-media-ow...@vger.kernel.org [mailto:linux-media-
> ow...@vger.kernel.org] On Behalf
AGAIN) {
idx = dp_idx;
ret = DQBUF(&dq_idx);
}
if (idx < -1) {
poll
DQBUF(&idx)
}
memcpy to FB
QBUF
}
Best regards,
Jonghun Han,
--
To unsubscribe from this list: send the line "unsub
Hi,
I wonder that a index should be passed on the fly with the VIDIOC_QBUF
ioctl in V4L2_MEMORY_USERPTR case.
If it isn't needed, should driver return virtual address gotten from
application on the fly with the VIDIOC_DQBUF ioctl ?
Best regards,
Jonghun Han,
--
To unsubscribe from this
Sylwester Nawrocki wrote:
> -Original Message-
> From: linux-media-ow...@vger.kernel.org [mailto:linux-media-
> ow...@vger.kernel.org] On Behalf Of Sylwester Nawrocki
> Sent: Wednesday, December 01, 2010 11:36 PM
> To: linux-media@vger.kernel.org; linux-samsung-...@vger.kernel.org
> Cc: m
evice node.
--
Best regards,
Jonghun Han
--
> -Original Message-
> From: linux-media-ow...@vger.kernel.org [mailto:linux-media-
> ow...@vger.kernel.org] On Behalf Of Pawel Osciak
> Sent: Sunday, December 05, 2010 7:55 AM
> To: Kamil Debski
> Cc: Hans Verkuil; Jonghu
Pawel Osciak wrote:
> -Original Message-
> From: Pawel Osciak [mailto:pa...@osciak.com]
> Sent: Sunday, December 05, 2010 7:47 AM
> To: Marek Szyprowski; Jonghun Han
> Cc: linux-media@vger.kernel.org; kyungmin.p...@samsung.com
> Subject: Re: [PATCH 7/7] v4l: videobuf2:
Marek Szyprowski wrote:
2010/11/20 Marek Szyprowski :
> From: Pawel Osciak
>
> Add support for the CMA contiguous memory allocator to videobuf2.
>
> Signed-off-by: Pawel Osciak
> Signed-off-by: Kyungmin Park
> Signed-off-by: Marek Szyprowski
> CC: Pawel Osciak
> ---
Hi Marek,
> +static vo
9:17 PM
> To: Jonghun Han
> Cc: 'Laurent Pinchart'; jaeryul...@samsung.com;
linux-media@vger.kernel.org
> Subject: RE: RFC: Problem of using v4l2 spec with codec function
>
>
> >
> > Hi,
> >
> > In two nodes case, application cannot know the fea
dia-ow...@vger.kernel.org [mailto:linux-media-
> ow...@vger.kernel.org] On Behalf Of Jonghun Han
> Sent: Monday, November 29, 2010 8:49 PM
> To: 'Laurent Pinchart'; 'Hans Verkuil'
> Cc: jaeryul...@samsung.com; linux-media@vger.kernel.org
> Subject: RE: RFC: Problem of using v4l2
Laurent Pinchart wrote:
> -Original Message-
> From: linux-media-ow...@vger.kernel.org [mailto:linux-media-
> ow...@vger.kernel.org] On Behalf Of Laurent Pinchart
> Sent: Monday, November 29, 2010 6:20 PM
> To: Hans Verkuil
> Cc: jaeryul...@samsung.com; linux-media@vger.kernel.org
> Subje
37 matches
Mail list logo