How are G2D tiled formats used?

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

How are G2D tiled formats used?

834件の閲覧回数
crg7475
Contributor III

The g2d_surfaceEx structure provides extra fields, most importantly, it allows for specifying the tile mode. For Amphion de-tiling, this works well. But when I try to use this to de-tile Hantro 4x4 tiled frames, I have problems. I guess I need to set the `tiling` field of the `g2d_surfaceEx` source surface to `G2D_TILED` and the `tiling` field of the destination surface to `G2D_LINEAR`, but this does not produce a correct result.

Any hints at what might be wrong? Do the surface stride values need to be set to something specific perhaps? So far I've been setting them to the usual values (so, for example, 1920 for the first plane and 960 for the second plane with 1920x1080 frames).

0 件の賞賛
返信
2 返答(返信)

799件の閲覧回数
jimmychan
NXP TechSupport
NXP TechSupport

Which version of BSP are you using?

 

FYI. https://www.nxp.com/docs/en/user-guide/IMX_GRAPHICS_USERS_GUIDE.pdf

0 件の賞賛
返信

793件の閲覧回数
crg7475
Contributor III

I'm not sure about the exact BSP version. I use meta-freescale from github, git master branch (HEAD is at commit e7a87526ae38d7b23982d061cfbbead8d1bed151 at this time). Found it: It is the NXP release 5.15.52-2.1.0, integrated into meta-freescale.

 I have seen this PDF, but it does not tell me about the tiling through G2D.

0 件の賞賛
返信