First pixel written by PXP has wrong color

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

First pixel written by PXP has wrong color

686件の閲覧回数
mod42
Contributor III

We have written our own driver for PXP which works quite well. But there is one problem left for which we didn't find a solution. The first pixel which is written to the output buffer has a wrong color. It makes no difference if PXP write the configured background color or content of the processed surface to the output buffer. Always one pixel is written in the wrong color.

pixel.jpg

Here you see an image which should illustrate the problem. You see the output surface (background, black) part of the processed surface (gray) and background color of the PXP (dark red). The bright dot in the upper left corner is the first pixel written by PXP. We always see this bright pixel. It makes no difference if we just copy pixels, rotate/flip the processed surface, use YUV -> RGB color conversion or add scaling. The first pixel is always wrong.

ラベル(2)
0 件の賞賛
1 返信

617件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Matthias

one can look at linux pxp driver implementation described in

i.MX Software and Development Tools | NXP 

pxp_v4l2_test\test - imx-test - i.MX Driver Test Application Software 

or baremetal sdk and compare them with custom driver

rt-thread/pxp_drv.c at master · RT-Thread/rt-thread · GitHub 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛