Hi all,

I ran a video through G2D in order to use the G2D palette mode to alter 
some colors. For start, I just ran a BITBLT which just does a CSC to same 
color space (both source and destination are set to G2D_FMT_IYUV422), so 
that I can see how video looks like after G2D rendering. The video coming 
from CSI is 720p60. I'm using sunxi 3.4.75 kernel where display and CSI 
drivers are a bit modded to suit my needs, but G2D driver is stock from 
kernel. All on Olinuxino A20. I'm facing two issues:

1. Vertical tearing - not so bad, but a horizontal line goes slowly over 
time from the top of screen to the bottom and then again. Don't really know 
why it comes - it is there even if I set the wrong output color format, so 
it comes from the G2D driver. Anyone knows why this is happening?
2. "Screen door effect" - hard to explain unless you own a newer ThinkPad 
:) But basically it looks like a fine vertical grid over the video. I think 
the cause of this is that video is not rendered properly - I don't know if 
the underlying cause is a bad driver or me not setting the BLT struct 
properly. But since there are not many settings and since I've tried most 
of them (makes no diffenernce), I'm thinking it comes from the driver. Also 
colors are a bit weird and video looks a bit smudged/blurred.

Don't know if that is important, but CSI format is V4L2_PIX_FMT_NV16, while 
display driver format is DISP_FORMAT_YUV422 with 
DISP_MOD_NON_MB_UV_COMBINED mode.

Anyone has some experience with this?

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to