[meta-freescale] gstreamer strange distorted image.

Dennis Han jshan at live.co.kr
Mon Sep 16 13:34:21 PDT 2013


I tested you patch more detail and found a problem.

In brief.

1. With original value
IC_RSZ_MAX_RESIZE_RATIO = 0x00004000
>> it's OK


2. With a new value
IC_RSZ_MAX_RESIZE_RATIO = 0x00002000
>> center pixels are overlapping


I think this patch has to be ignored.



-----Original Message-----
From: Sandoval Gonzalez Leonardo-B42214 [mailto:B42214 at freescale.com] 
Sent: Monday, September 16, 2013 1:20 PM
To: Otavio Salvador
Cc: Dennis Han; meta-freescale at yoctoproject.org
Subject: RE: [meta-freescale] gstreamer strange distorted image.

Sure Otavio, I will send the correct patch soon.

Dennis, in the meantime, can you try the one below:

>From 6ae2813aed1063143400de8fe111a9d9a6130a4a Mon Sep 17 00:00:00 2001
From: Oliver Brown <b37094 at b37094-vmlinux.(none)>
Date: Wed, 24 Jul 2013 00:20:26 -0500
Subject: [PATCH] ENGR00272541 [IPU] -  IC_RSZ_MAX_RESIZE_RATIO should be set
to 0x2000

The max resize ratio should be set to 0x2000 (or 8192).

Signed-off-by: Oliver Brown <b37094 at b37094-vmlinux.(none)>
---
 drivers/mxc/ipu3/ipu_regs.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)  mode change 100644 => 100755
drivers/mxc/ipu3/ipu_regs.h

diff --git a/drivers/mxc/ipu3/ipu_regs.h b/drivers/mxc/ipu3/ipu_regs.h old
mode 100644 new mode 100755 index 94c587e..f089f7d
--- a/drivers/mxc/ipu3/ipu_regs.h
+++ b/drivers/mxc/ipu3/ipu_regs.h
@@ -465,7 +465,7 @@ enum {
 	IC_CONF_RWS_EN = 0x40000000,
 	IC_CONF_CSI_MEM_WR_EN = 0x80000000,
 
-	IC_RSZ_MAX_RESIZE_RATIO = 0x00004000,
+	IC_RSZ_MAX_RESIZE_RATIO = 0x00002000,
 
 	IC_IDMAC_1_CB0_BURST_16 = 0x00000001,
 	IC_IDMAC_1_CB1_BURST_16 = 0x00000002,
--
1.7.9.5




________________________________________
From: otavio.salvador at gmail.com [otavio.salvador at gmail.com] on behalf of
Otavio Salvador [otavio at ossystems.com.br]
Sent: Sunday, September 15, 2013 6:55 PM
To: Sandoval Gonzalez Leonardo-B42214
Cc: Dennis Han; meta-freescale at yoctoproject.org
Subject: Re: [meta-freescale] gstreamer strange distorted image.

Hello Leonardo,

On Sun, Sep 15, 2013 at 1:52 AM, Sandoval Gonzalez Leonardo-B42214
<B42214 at freescale.com> wrote:
> Are you displaying it on HDMI? is it a high resolution video? If both yes,
> it is a known issue and there is a fix for it on the community.

Please send a patch so we avoid this problem for other users; Dennis,
please report a bug in bugzilla so this is not forgotten.

Regards,

--
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750






More information about the meta-freescale mailing list