Fix The camera has a blurry screen phenomenon when
we video chat with apprtc using vp9 codec
Signed-off-by: Tiffany Lin
---
.../media/platform/mtk-vcodec/vdec/vdec_vp9_if.c | 37 --
1 file changed, 35 insertions(+), 2 deletions(-)
diff --git a/drivers/media/platform/mtk
On Tue, 2017-05-30 at 18:53 +0900, Hirokazu Honda wrote:
> A driver error message is shown without DEBUG definition
> to find an error and debug easily.
>
> Signed-off-by: Hirokazu Honda
Acked-by: Tiffany Lin
> ---
> drivers/media/platform/mtk-vcodec/mtk_
On Wed, 2017-04-19 at 07:56 -0300, Mauro Carvalho Chehab wrote:
> Em Wed, 5 Apr 2017 19:09:59 +0800
> Tiffany Lin escreveu:
>
> > On Wed, 2017-04-05 at 18:54 +0800, Minghsiu Tsai wrote:
> > > Driver is stable. Remove DEBUG definition from driver.
> > >
> >
; -#define mtk_vcodec_debug(h, fmt, args...)
> -#define mtk_vcodec_err(h, fmt, args...)
> -#define mtk_vcodec_debug_enter(h)
> -#define mtk_vcodec_debug_leave(h)
> +#define mtk_vcodec_debug(h, fmt, args...) {}
> +#define mtk_vcodec_err(h, fmt, args...) {}
> +#define mtk_vcodec_debug_enter(h) {}
> +#define mtk_vcodec_debug_leave(h) {}
>
> #endif
>
Acked-by: Tiffany Lin
On Wed, 2017-04-05 at 18:54 +0800, Minghsiu Tsai wrote:
> Driver is stable. Remove DEBUG definition from driver.
>
> There are debug message in /var/log/messages if DEBUG is defined,
> such as:
> [MTK_V4L2] level=0 fops_vcodec_open(),170: decoder capability 0
> [MTK_V4L2] level=0 fops_vcodec_open(
On Wed, 2017-03-08 at 11:40 +0800, Wu-Cheng Li wrote:
> From: Wu-Cheng Li
>
> VPU firmware has a bug and may return invalid buffer index for
> some vp9 videos. Check the buffer indexes before accessing the
> buffer.
>
Acked-by: Tiffany Lin
> Signed-off-by: Wu-Cheng Li
&
On Tue, 2017-03-07 at 22:42 +0800, Wu-Cheng Li wrote:
> From: Wu-Cheng Li
>
> VPU firmware has a bug and may return invalid buffer index for
> some vp9 videos. Check the buffer indexes before accessing the
> buffer.
>
> Signed-off-by: Wu-Cheng Li
> ---
> drivers/media/platform/mtk-vcodec/mtk_v
On Tue, 2017-03-07 at 14:03 +0800, Wu-Cheng Li wrote:
> From: Wu-Cheng Li
>
> VPU firmware has a bug and may return invalid buffer index for
> some vp9 videos. Check the buffer indexes before accessing the
> buffer.
>
> Signed-off-by: Wu-Cheng Li
> ---
> drivers/media/platform/mtk-vcodec/mtk_v
On Tue, 2017-02-07 at 15:16 +, Wei Yongjun wrote:
> From: Wei Yongjun
>
> Remove unneeded error handling on the result of a call
> to platform_get_resource() when the value is passed to
> devm_ioremap_resource().
>
> Signed-off-by: Wei Yongjun
Acked-by:Tiffany Lin
> ---
> drivers/media/p
Hi Hans, Dan,
On Wed, 2016-11-09 at 14:45 +0100, Hans Verkuil wrote:
> On 11/09/16 14:28, Dan Carpenter wrote:
> > Hello Tiffany Lin,
> >
> > The patch 590577a4e525: "[media] vcodec: mediatek: Add Mediatek V4L2
> > Video Decoder Driver" from Sep 2, 2016, lead
Hi Mauro,
On Mon, 2016-10-24 at 07:05 -0200, Mauro Carvalho Chehab wrote:
> Em Mon, 24 Oct 2016 11:22:08 +0800
> Tiffany Lin escreveu:
>
> > Hi Mauro,
> >
> > On Fri, 2016-10-21 at 11:01 -0200, Mauro Carvalho Chehab wrote:
> > > Em Fri, 2 Sep 2016 20:19:
dev;
>^~~
>
> Signed-off-by: Mauro Carvalho Chehab
Acked-by: Tiffany Lin
> ---
> drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_pm.c | 2 --
> drivers/media/platform/mtk-vcodec/vdec_drv_if.c | 1 +
> 2 files changed, 1 insertion(+), 2 deletions
Hi Mauro,
On Fri, 2016-10-21 at 11:01 -0200, Mauro Carvalho Chehab wrote:
> Em Fri, 2 Sep 2016 20:19:54 +0800
> Tiffany Lin escreveu:
>
> > Add v4l2 layer decoder driver for MT8173
> >
> > Signed-off-by: Tiffany Lin
>
> > +int vdec_if_init(struct mtk_
Hi Hans,
On Mon, 2016-09-19 at 09:22 +0200, Hans Verkuil wrote:
> Improve the MT21C documentation, making it clearer that this format requires
> the MDP
> for further processing.
>
> Also fix the fourcc (it was a fivecc :-) )
>
reviewed-by: Tiffany Lin
Thanks. I did no
Hi Hans,
On Wed, 2016-09-14 at 13:51 +0200, Hans Verkuil wrote:
> Hi Tiffany,
>
> On 09/09/2016 05:48 PM, Tiffany Lin wrote:
> > Add V4L2_PIX_FMT_MT21C documentation
> >
> > Signed-off-by: Tiffany Lin
> > ---
> > Documentation/media/uapi/v4l/pixfmt-res
Hi Hans,
On Thu, 2016-09-08 at 11:27 +0200, Hans Verkuil wrote:
> On 09/08/16 11:11, Tiffany Lin wrote:
> > Hi Hans,
> >
> > On Thu, 2016-09-08 at 09:21 +0200, Hans Verkuil wrote:
> >> Hi Tiffany,
> >>
> >> On 09/07/2016 08:56 AM, Tiffany Lin wrote:
Add video decoder node for MT8173
Signed-off-by: Tiffany Lin
---
arch/arm64/boot/dts/mediatek/mt8173.dtsi | 44 ++
1 file changed, 44 insertions(+)
diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi
b/arch/arm64/boot/dts/mediatek/mt8173.dtsi
index 10f638f
Add V4L2_PIX_FMT_MT21C format used on MT8173 driver.
It is compressed format and need MT8173 MDP driver to transfer to other
standard format.
Signed-off-by: Tiffany Lin
---
drivers/media/v4l2-core/v4l2-ioctl.c |1 +
include/uapi/linux/videodev2.h |1 +
2 files changed, 2
Add V4L2_PIX_FMT_MT21C support
Signed-off-by: Tiffany Lin
---
drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c |7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c
b/drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c
Add V4L2_PIX_FMT_MT21C documentation
Signed-off-by: Tiffany Lin
---
Documentation/media/uapi/v4l/pixfmt-reserved.rst | 10 ++
1 file changed, 10 insertions(+)
diff --git a/Documentation/media/uapi/v4l/pixfmt-reserved.rst
b/Documentation/media/uapi/v4l/pixfmt-reserved.rst
index
2M/NV21M/YUV420M/YVU420M -> Encoder -> H264/VP8
When playback, the pipeline will be:
H264/VP8/VP9 -> Decoder driver -> MT21C -> MDP Driver -> DRM
[1]https://patchwork.kernel.org/patch/9305329/
---
v2: add more information for MT21C in docs-rst
---
Tiffany Lin (4):
v4l: add Mediate
Hi Hans,
On Thu, 2016-09-08 at 09:21 +0200, Hans Verkuil wrote:
> Hi Tiffany,
>
> On 09/07/2016 08:56 AM, Tiffany Lin wrote:
> > This patch series add Mediatek compressed block format V4L2_PIX_FMT_MT21C,
> > the
> > decoder driver will decoded bitstream t
Hi Hans,
On Wed, 2016-09-07 at 11:23 +0200, Hans Verkuil wrote:
> On 09/07/16 08:56, Tiffany Lin wrote:
> > Add V4L2_PIX_FMT_MT21C documentation
> >
> > Signed-off-by: Tiffany Lin
> > ---
> > Documentation/media/uapi/v4l/pixfmt-reserved.rst |6 ++
On Wed, 2016-09-07 at 18:10 +0100, Colin King wrote:
> From: Colin Ian King
>
> pdev is being null checked, however, prior to that it is being
> dereferenced by platform_get_drvdata. Move the assignments of
> vpu and run to after the pdev null check to avoid a potential
> null pointer dereferenc
Add Tiffany Lin and Andrew-CT Chen as maintainers for
Mediatek MT8173 vcodec drivers
Signed-off-by: Tiffany Lin
Signed-off-by: Andrew-CT Chen
---
v3: Move MEDIATEK MEDIA DRIVER after MEDIATEK ETHERNET DRIVER to follow
alphabet sequence
v2: Rename MT8173 MEDIA DRIVER to MEDIATEK MEDIA DRIVER
Add V4L2_PIX_FMT_MT21C support
Signed-off-by: Tiffany Lin
---
drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c |7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c
b/drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c
2M/NV21M/YUV420M/YVU420M -> Encoder -> H264/VP8
When playback, the pipeline will be:
H264/VP8/VP9 -> Decoder driver -> MT21C -> MDP Driver -> DRM
[1]https://patchwork.kernel.org/patch/9305329/
Tiffany Lin (4):
v4l: add Mediatek compressed video block format
docs-rst: Add compressed
Add video decoder node for MT8173
Signed-off-by: Tiffany Lin
---
arch/arm64/boot/dts/mediatek/mt8173.dtsi | 44 ++
1 file changed, 44 insertions(+)
diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi
b/arch/arm64/boot/dts/mediatek/mt8173.dtsi
index 10f638f
Add V4L2_PIX_FMT_MT21C format used on MT8173 driver.
It is compressed format and need MT8173 MDP driver to transfer to other
standard format.
Signed-off-by: Tiffany Lin
---
drivers/media/v4l2-core/v4l2-ioctl.c |1 +
include/uapi/linux/videodev2.h |1 +
2 files changed, 2
Add V4L2_PIX_FMT_MT21C documentation
Signed-off-by: Tiffany Lin
---
Documentation/media/uapi/v4l/pixfmt-reserved.rst |6 ++
1 file changed, 6 insertions(+)
diff --git a/Documentation/media/uapi/v4l/pixfmt-reserved.rst
b/Documentation/media/uapi/v4l/pixfmt-reserved.rst
index 0dd2f7f
Add Tiffany Lin and Andrew-CT Chen as maintainers for
Mediatek MT8173 vcodec drivers
Signed-off-by: Tiffany Lin
Signed-off-by: Andrew-CT Chen
---
v2: Rename MT8173 MEDIA DRIVER to MEDIATEK MEDIA DRIVER
---
MAINTAINERS |9 +
1 file changed, 9 insertions(+)
diff --git a/MAINTAINERS
This patch fix decoder compiler/sparse warnings
Signed-off-by: Tiffany Lin
---
.../media/platform/mtk-vcodec/vdec/vdec_h264_if.c |7 ---
.../media/platform/mtk-vcodec/vdec/vdec_vp8_if.c |1 +
.../media/platform/mtk-vcodec/vdec/vdec_vp9_if.c |4 ++--
drivers/media/platform
On Tue, 2016-09-06 at 22:51 +0800, Julia Lawall wrote:
> PTR_ERR should access the value just tested by IS_ERR
>
> Generated by: scripts/coccinelle/tests/odd_ptr_err.cocci
>
> CC: Tiffany Lin
> Signed-off-by: Julia Lawall
> Signed-off-by: Fengguang Wu
Re
Add Tiffany Lin and Andrew-CT Chen as maintainers for
Mediatek MT8173 vcodec drivers
Signed-off-by: Tiffany Lin
Signed-off-by: Andrew-CT Chen
---
MAINTAINERS |9 +
1 file changed, 9 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 0a16a82..ed830c7 100644
--- a
This patch setting V4L2_CAP_TIMEPERFRAME capability in
vidioc_venc_s/g_parm functions
Signed-off-by: Tiffany Lin
---
drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c |3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c
b/drivers/media
Hi Hans,
On Mon, 2016-09-05 at 13:26 +0200, Hans Verkuil wrote:
> On 09/05/2016 12:52 PM, Tiffany Lin wrote:
> > Hi Hans,
> >
> > On Mon, 2016-09-05 at 12:09 +0200, Hans Verkuil wrote:
> >> On 09/05/2016 11:53 AM, Hans Verkuil wrote:
> >>> On 09/05/2
Hi Hans,
On Mon, 2016-09-05 at 12:09 +0200, Hans Verkuil wrote:
> On 09/05/2016 11:53 AM, Hans Verkuil wrote:
> > On 09/05/2016 11:50 AM, Tiffany Lin wrote:
> >> Hi Hans,
> >>
> >> On Mon, 2016-09-05 at 11:33 +0200, Hans Verkuil wrote:
> >&g
Hi Hans,
On Mon, 2016-09-05 at 11:33 +0200, Hans Verkuil wrote:
> On 09/02/2016 02:19 PM, Tiffany Lin wrote:
> > ==
> > Introduction
> > ==
> >
> > The purpose of this series is to add the driver for video codec hw embedded
Add documentation for V4L2_PIX_FMT_VP9.
Signed-off-by: Tiffany Lin
Signed-off-by: Wu-Cheng Li
---
Documentation/media/uapi/v4l/pixfmt-013.rst |8
1 file changed, 8 insertions(+)
diff --git a/Documentation/media/uapi/v4l/pixfmt-013.rst
b/Documentation/media/uapi/v4l/pixfmt-013
Add vp8 decoder driver for MT8173
Signed-off-by: PC Chen
Signed-off-by: Tiffany Lin
---
drivers/media/platform/mtk-vcodec/Makefile |1 +
.../media/platform/mtk-vcodec/vdec/vdec_vp8_if.c | 633
drivers/media/platform/mtk-vcodec/vdec_drv_if.c|3 +
3
From: Wu-Cheng Li
This adds VP9 video coding format, a successor to VP8.
Signed-off-by: Wu-Cheng Li
Signed-off-by: Tiffany Lin
---
include/uapi/linux/videodev2.h |1 +
1 file changed, 1 insertion(+)
diff --git a/include/uapi/linux/videodev2.h b/include/uapi/linux/videodev2.h
index
c hw clock setting
2. Refine vp9 codec driver
3. Refine v4l2 codec driver
Change in v2:
1. Add documentation for V4L2_PIX_FMT_MT21 2. Remove DRM_FORMAT_MT21 2. Refine
code according to review comments
Andrew-CT Chen (1):
VPU: mediatek: Add decode support
Tiffany Lin (10):
dt-bindings: Add a b
Add a DT binding documentation of Video Decoder for the
MT8173 SoC from Mediatek.
Signed-off-by: Tiffany Lin
Acked-by: Rob Herring
---
.../devicetree/bindings/media/mediatek-vcodec.txt | 57 ++--
1 file changed, 53 insertions(+), 4 deletions(-)
diff --git a/Documentation
From: Wu-Cheng Li
VP9 is a video coding format and a successor to VP8.
Signed-off-by: Wu-Cheng Li
Signed-off-by: Tiffany Lin
---
drivers/media/v4l2-core/v4l2-ioctl.c |1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/media/v4l2-core/v4l2-ioctl.c
b/drivers/media/v4l2-core/v4l2
Add v4l2 layer decoder driver for MT8173
Signed-off-by: Tiffany Lin
---
drivers/media/platform/mtk-vcodec/Makefile | 12 +-
drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c | 1433
drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.h | 88 ++
.../media/platform
From: Andrew-CT Chen
VPU driver add decode support
Signed-off-by: Andrew-CT Chen
Signed-off-by: Tiffany Lin
---
drivers/media/platform/mtk-vpu/mtk_vpu.c | 12
drivers/media/platform/mtk-vpu/mtk_vpu.h | 27 +++
2 files changed, 39 insertions(+)
diff
Add vp9 decoder driver for MT8173
Signed-off-by: Tiffany Lin
---
drivers/media/platform/mtk-vcodec/Makefile |1 +
drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c | 10 +
.../media/platform/mtk-vcodec/vdec/vdec_vp9_if.c | 967
drivers/media/platform/mtk
Add h264 decoder driver for MT8173
Signed-off-by: PC Chen
Signed-off-by: Tiffany Lin
---
drivers/media/platform/mtk-vcodec/Makefile |3 +-
.../media/platform/mtk-vcodec/vdec/vdec_h264_if.c | 506
drivers/media/platform/mtk-vcodec/vdec_drv_if.c|3 +
3
Hi Hans,
On Mon, 2016-08-15 at 11:07 +0200, Hans Verkuil wrote:
> On 08/15/2016 11:03 AM, Tiffany Lin wrote:
> > Hi Hans,
> >
> > I upstream v4 on 8/10, I don't know why this version is not shown in
> > https://patchwork.kernel.org.
> > But
hose
> needs to be updated as well due to the move to sphinx.
>
> Thanks!
>
> Hans
>
> On 05/30/2016 02:29 PM, Tiffany Lin wrote:
> > ==
> > Introduction
> > ==
> >
> > The purpose of this series is to add the driver fo
Hi Hans,
On Sun, 2016-08-14 at 13:40 +0200, Hans Verkuil wrote:
> On 08/12/2016 04:35 PM, Tiffany Lin wrote:
> > This patch include fixs:
> > 1. Remove unused include in mtk_vcodec_drv.h
> > 2. Fix visible_height larger than coded_height issue in s_fmt_out
> &g
This patch remove field and function that unused anymore
Signed-off-by: Tiffany Lin
---
.../media/platform/mtk-vcodec/venc/venc_vp8_if.c | 16 +++-
1 file changed, 7 insertions(+), 9 deletions(-)
diff --git a/drivers/media/platform/mtk-vcodec/venc/venc_vp8_if.c
b/drivers/media
This patch :
1. remove field and function that unused anymore
2. add support V4L2_MPEG_VIDEO_H264_LEVEL_4_2
Signed-off-by: Tiffany Lin
---
.../media/platform/mtk-vcodec/venc/venc_h264_if.c | 16
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/drivers/media
This patch change default H264 profile from V4L2_MPEG_VIDEO_H264_PROFILE_MAIN
to V4L2_MPEG_VIDEO_H264_PROFILE_HIGH
Signed-off-by: Tiffany Lin
---
drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/media/platform/mtk
This patch add copying timestamp and timecode from src buffer to dst buffer
Signed-off-by: Tiffany Lin
---
drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c | 23
1 file changed, 19 insertions(+), 4 deletions(-)
diff --git a/drivers/media/platform/mtk-vcodec
)
So remove extend visible_height or coded_height, user space should just
use sizeimage to get real buffer size needed
Signed-off-by: Tiffany Lin
---
drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c | 10 --
1 file changed, 10 deletions(-)
diff --git a/drivers/media/platform/mtk
This patch fix that mtk_vcodec_venc_release should be called after
v4l2_m2m_ctx_release
Signed-off-by: Tiffany Lin
---
drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c |7 ++-
.../media/platform/mtk-vcodec/mtk_vcodec_enc_drv.c |6 +-
2 files changed, 11 insertions(+), 2
This patch remove unused header and define from haeder files
Signed-off-by: Tiffany Lin
---
drivers/media/platform/mtk-vcodec/mtk_vcodec_drv.h |1 -
.../media/platform/mtk-vcodec/mtk_vcodec_intr.h|1 -
2 files changed, 2 deletions(-)
diff --git a/drivers/media/platform/mtk-vcodec
This patch add g/s_selection for MT8173 V4L2 Encoder.
Only output queue support g/s_selection to configure crop.
The top/left of active rectangle should always be (0,0)
Signed-off-by: Tiffany Lin
---
v6:
- remove unused err variable from s_selection
v5:
- remove visible_height change to a
MTK_INST_WORK_THREAD_ABORT_DONE
6. Add support V4L2_MPEG_VIDEO_H264_LEVEL_4_2
4. Refine venc_h264_if.c and venc_vp8_if.c
Signed-off-by: Tiffany Lin
---
drivers/media/platform/mtk-vcodec/mtk_vcodec_drv.h |1 -
drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c | 42
This patch add g/s_selection for MT8173 V4L2 Encoder.
Only output queue support g/s_selection to configure crop.
The top/left of active rectangle should always be (0,0).
Signed-off-by: Tiffany Lin
---
v5:
- remove visible_height change to a separate patch
v4:
- do not return -ERANGE and just
Hi Matthias,
On Thu, 2016-08-11 at 17:44 +0200, Matthias Brugger wrote:
>
> On 10/08/16 16:48, Tiffany Lin wrote:
> > Add video decoder node for MT8173
> >
> > Signed-off-by: Tiffany Lin
> > ---
> > arch/arm64/boot/dts/mediatek/mt8173.dtsi | 44
> >
Hi Hans,
On Fri, 2016-08-05 at 15:57 +0200, Hans Verkuil wrote:
> Hi Tiffany,
>
> We just had a long discussion about whether or not -ERANGE should be returned
> if the constraint flags could not be satisfied, and the end result was that
> the driver should not return an error in that case, but j
Hi Hans,
On Thu, 2016-08-04 at 15:00 +0200, Hans Verkuil wrote:
>
> On 08/04/2016 12:08 PM, Tiffany Lin wrote:
> > This patch add g/s_selection support for MT8173 v4l2 encoder
> >
> > Signed-off-by: Tiffany Lin
> > ---
> > v3:
> > - add v4l2_s_select
This patch add g/s_selection support for MT8173 v4l2 encoder
Signed-off-by: Tiffany Lin
---
v3:
- add v4l2_s_selection to check constraint flags
- remove visible_height modification in s_fmt_out
---
drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c | 81 +---
1 file changed
Hi Hans,
On Mon, 2016-08-01 at 12:39 +0200, Hans Verkuil wrote:
> Hi Tiffany,
>
> On 08/01/2016 11:38 AM, Tiffany Lin wrote:
> > Hi Hans,
>
>
>
> >>> +static int vidioc_vdec_g_selection(struct file *file, void *priv,
> >>> + s
Hi Hans,
On Fri, 2016-07-08 at 13:06 +0200, Hans Verkuil wrote:
> On 05/30/2016 02:29 PM, Tiffany Lin wrote:
> > Add v4l2 layer decoder driver for MT8173
> >
> > Signed-off-by: Tiffany Lin
> > ---
> > drivers/media/platform/mtk-vcodec/Makefile | 10 +
Signed-off-by: Tiffany Lin
---
drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c | 83 ++--
1 file changed, 78 insertions(+), 5 deletions(-)
diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c
b/drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c
index 3ed3f2d
Hi Hans,
On Fri, 2016-07-08 at 13:44 +0200, Hans Verkuil wrote:
> On 07/07/2016 12:16 PM, tiffany lin wrote:
> > Hi Hans,
> >
> >
> > On Wed, 2016-07-06 at 15:19 +0200, Hans Verkuil wrote:
> >> Hi Tiffany,
> >>
> >> I plan to review th
Hi Hans,
On Mon, 2016-07-18 at 14:44 +0200, Hans Verkuil wrote:
> On 07/18/2016 02:28 PM, tiffany lin wrote:
> > Understood now.
> >
> > Now I am trying to figure out how to make this function right.
> > Our encoder only support crop range from (0, 0) to (width, height
On Fri, 2016-07-15 at 19:50 +0200, Hans Verkuil wrote:
> On 07/14/2016 08:27 AM, tiffany lin wrote:
> > Hi Hans,
> >
> >
> > On Mon, 2016-07-11 at 06:32 +0200, Hans Verkuil wrote:
> >> Hi Tiffany,
> >>
> >> My apologies for the delay, but he
On Mon, 2016-07-11 at 23:37 +0200, Arnd Bergmann wrote:
> The newly added mtk-vcodec driver produces a number of warnings in an ARM
> allmodconfig build, mainly since it assumes that dma_addr_t is 32-bit wide:
>
> mtk-vcodec/venc/venc_vp8_if.c: In function 'vp8_enc_alloc_work_buf':
> mtk-vcodec/ve
Hi Nicolas,
On Wed, 2016-07-13 at 09:55 -0400, Nicolas Dufresne wrote:
> Le mercredi 13 juillet 2016 à 10:00 +0800, tiffany lin a écrit :
> > Hi Nicolas,
> >
> > On Tue, 2016-07-12 at 15:14 -0400, Nicolas Dufresne wrote:
> > > Le mardi 12 juillet 2016 à 15:08 -
Hi Hans,
On Mon, 2016-07-11 at 06:32 +0200, Hans Verkuil wrote:
> Hi Tiffany,
>
> My apologies for the delay, but here is my review at last:
>
> On 05/30/2016 09:52 AM, Tiffany Lin wrote:
> > This patch add g/s_selection support for MT8173
> >
>
Hi Arnd,
On Wed, 2016-07-13 at 15:08 +0200, Arnd Bergmann wrote:
> On Wednesday, July 13, 2016 5:56:26 PM CEST tiffany lin wrote:
> > > diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c
> > > b/drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c
>
Hi Arnd,
On Mon, 2016-07-11 at 23:37 +0200, Arnd Bergmann wrote:
> The newly added mtk-vcodec driver produces a number of warnings in an ARM
> allmodconfig build, mainly since it assumes that dma_addr_t is 32-bit wide:
>
> mtk-vcodec/venc/venc_vp8_if.c: In function 'vp8_enc_alloc_work_buf':
> mtk
When calculate OUTPUT buffer size in vidioc_try_fmt, it will
add more size hw need in each plane.
But in mtk_vcodec_enc_set_default_params, it do not add
same size in each plane.
This makes v4l2-compliance test fail.
This patch fix the issue.
Signed-off-by: Tiffany Lin
---
drivers/media
On Tue, 2016-07-12 at 16:16 +0800, Wu-Cheng Li (李務誠) wrote:
> On Mon, Jul 11, 2016 at 10:56 AM, tiffany lin
> wrote:
> > Hi Hans,
> >
> > On Fri, 2016-07-08 at 12:23 +0200, Hans Verkuil wrote:
> >> On 05/30/2016 02:29 PM, Tiffany Lin wrote:
> >
Hi Nicolas,
On Tue, 2016-07-12 at 15:14 -0400, Nicolas Dufresne wrote:
> Le mardi 12 juillet 2016 à 15:08 -0400, Nicolas Dufresne a écrit :
> > Le mardi 12 juillet 2016 à 16:16 +0800, Wu-Cheng Li (李務誠) a écrit :
> > > Decoder hardware produces MT21 (compressed). Image processor can
> > > convert i
Hi Nicolas,
On Tue, 2016-07-12 at 15:08 -0400, Nicolas Dufresne wrote:
> Le mardi 12 juillet 2016 à 16:16 +0800, Wu-Cheng Li (李務誠) a écrit :
> > Decoder hardware produces MT21 (compressed). Image processor can
> > convert it to a format that can be input of display driver. Tiffany.
> > When do you
Reviewed-by: Tiffany Lin
On Tue, 2016-07-12 at 11:02 +, weiyj...@163.com wrote:
> From: Wei Yongjun
>
> There is a error message within devm_ioremap_resource
> already, so remove the dev_err call to avoid redundant
> error message.
>
> Signed-off-by: Wei Yongjun
&
Reviewed-by:Tiffany Lin
On Tue, 2016-07-12 at 11:02 +, weiyj...@163.com wrote:
> From: Wei Yongjun
>
> In case of error, the function devm_clk_get() returns ERR_PTR()
> and not returns NULL. The NULL test in the return value check
> should be replaced with IS_ERR().
>
> Signed-off-by: Wei
Hi Hans,
On Mon, 2016-07-11 at 06:32 +0200, Hans Verkuil wrote:
> Hi Tiffany,
>
> My apologies for the delay, but here is my review at last:
>
> On 05/30/2016 09:52 AM, Tiffany Lin wrote:
> > This patch add g/s_selection support for MT8173
> >
>
Hi Hans,
On Fri, 2016-07-08 at 13:44 +0200, Hans Verkuil wrote:
> On 07/07/2016 12:16 PM, tiffany lin wrote:
> > Hi Hans,
> >
> >
> > On Wed, 2016-07-06 at 15:19 +0200, Hans Verkuil wrote:
> >> Hi Tiffany,
> >>
> >> I plan to review th
reviewed-by: Tiffany Lin
May I know why and how we use struct device *alloc_devs[] in queue_setup
callback function?
best regards,
Tiffany
On Fri, 2016-07-08 at 21:11 +0200, Hans Verkuil wrote:
> From: Hans Verkuil
>
> The patch dropping the vb2_dma_contig_init_ctx() and _cl
> config VIDEO_MEDIATEK_VCODEC
> tristate "Mediatek Video Codec driver"
> - depends on MTK_IOMMU
> + depends on MTK_IOMMU || COMPILE_TEST
> depends on VIDEO_DEV && VIDEO_V4L2
> depends on ARCH_MEDIATEK || COMPILE_TEST
> select VIDEO
>
> mtk_v4l2_debug(2,
> - "Framebuf VA=%p PA=%llx Size=0x%lx;VA=%p PA=0x%llx
> Size=0x%lx;VA=%p PA=0x%llx Size=%zu",
> + "Framebuf VA=%p PA=%llx Size=0x%zx;VA=%p PA=0x%llx
> Size=0x%zx;VA=%p PA=0x%llx Size=%zu",
&g
oid *data)
> static void vpu_enc_ipi_handler(void *data, unsigned int len, void *priv)
> {
> struct venc_vpu_ipi_msg_common *msg = data;
> - struct venc_vpu_inst *vpu = (struct venc_vpu_inst *)msg->venc_inst;
> + struct venc_vpu_inst *vpu =
> +
Hi Hans,
On Fri, 2016-07-08 at 12:23 +0200, Hans Verkuil wrote:
> On 05/30/2016 02:29 PM, Tiffany Lin wrote:
> > Add V4L2_PIX_FMT_MT21 documentation
> >
> > Signed-off-by: Tiffany Lin
> > ---
> > Documentation/DocBook/media/v4l/pixfmt.xml |6 ++
Hi Hans,
On Fri, 2016-07-08 at 12:18 +0200, Hans Verkuil wrote:
> On 05/12/2016 01:24 PM, Tiffany Lin wrote:
> > Add V4L2_PIX_FMT_MT21 format used on MT8173 driver.
> > It is compressed format and need MT8173 MDP driver to transfer to other
> > standard format.
> >
Hi Hans,
On Wed, 2016-07-06 at 15:19 +0200, Hans Verkuil wrote:
> Hi Tiffany,
>
> I plan to review this patch series on Friday, but one obvious question is
> what the reason for these failures is:
>
> > Input/Output configuration ioctls:
> > test VIDIOC_ENUM/G/S/QUERY_STD: OK (Not Suppo
Hi Mauro,
On Wed, 2016-06-08 at 07:13 +0900, Hans Verkuil wrote:
>
> On 06/07/2016 11:22 PM, Mauro Carvalho Chehab wrote:
> > Em Mon, 30 May 2016 20:29:14 +0800
> > Tiffany Lin escreveu:
> >
> >> ==
> >> Introduction
> >> ==
test VIDIOC_REQBUFS/CREATE_BUFS/QUERYBUF: OK
fail:
../../../v4l-utils-1.6.0/utils/v4l2-compliance/v4l2-test-buffers.cpp(500):
q.has_expbuf(node)
test VIDIOC_EXPBUF: FAIL
Total: 38, Succeeded: 33, Failed: 5, Warnings: 0
Andrew-CT Chen (1):
VPU: mediatek: Ad
Add a DT binding documentation of Video Decoder for the
MT8173 SoC from Mediatek.
Signed-off-by: Tiffany Lin
Acked-by: Rob Herring
---
.../devicetree/bindings/media/mediatek-vcodec.txt | 57 ++--
1 file changed, 53 insertions(+), 4 deletions(-)
diff --git a/Documentation
Add video decoder node for MT8173
Signed-off-by: Tiffany Lin
---
arch/arm64/boot/dts/mediatek/mt8173.dtsi | 44 ++
1 file changed, 44 insertions(+)
diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi
b/arch/arm64/boot/dts/mediatek/mt8173.dtsi
index 348ce0e
Add V4L2_PIX_FMT_MT21 documentation
Signed-off-by: Tiffany Lin
---
Documentation/DocBook/media/v4l/pixfmt.xml |6 ++
1 file changed, 6 insertions(+)
diff --git a/Documentation/DocBook/media/v4l/pixfmt.xml
b/Documentation/DocBook/media/v4l/pixfmt.xml
index 5a08aee..d40e0ce 100644
--- a
Add V4L2_PIX_FMT_MT21 format used on MT8173 driver.
It is compressed format and need MT8173 MDP driver to transfer to other
standard format.
Signed-off-by: Tiffany Lin
---
include/uapi/linux/videodev2.h |1 +
1 file changed, 1 insertion(+)
diff --git a/include/uapi/linux/videodev2.h b
Add vp8 decoder driver for MT8173
Signed-off-by: PC Chen
Signed-off-by: Tiffany Lin
---
drivers/media/platform/mtk-vcodec/Makefile |1 +
.../media/platform/mtk-vcodec/vdec/vdec_vp8_if.c | 630
drivers/media/platform/mtk-vcodec/vdec_drv_if.c|3 +
3
Add h264 decoder driver for MT8173
Signed-off-by: PC Chen
Signed-off-by: Tiffany Lin
---
drivers/media/platform/mtk-vcodec/Makefile |5 +-
.../media/platform/mtk-vcodec/vdec/vdec_h264_if.c | 503
drivers/media/platform/mtk-vcodec/vdec_drv_if.c|4
Add vp9 decoder driver for MT8173
Signed-off-by: Tiffany Lin
---
drivers/media/platform/mtk-vcodec/Makefile |1 +
.../media/platform/mtk-vcodec/vdec/vdec_vp9_if.c | 967
drivers/media/platform/mtk-vcodec/vdec_drv_if.c|3 +
3 files changed, 971
1 - 100 of 227 matches
Mail list logo