OVG 0.4.0 Driver vgCreateConstImageFSL width change

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

OVG 0.4.0 Driver vgCreateConstImageFSL width change

ソリューションへジャンプ
2,117件の閲覧回数
jasonwilliamson
Contributor II

The vgCreateConstImageFSL() extension requires a stride and width parameter when creating the image.  In OVG driver 0.3.0 these values could be different.  For example:

Allowed in 0.3.0:

Format: VG_sRGB_565_

Width: 17 pixels

Stride: 40 bytes

For OVG driver 0.4.0 there's a requirement that the stride and width match.  This forces the same image to be created as follows:

Required in 0.4.0:

Format: VG_sRGB_565_

Width: 20 pixels

Stride: 40 bytes

In driver 0.4.0 this forces the "pad" on the right edge of the image to be visible.  This pad (3 pixels in the example above) was only required to achieve the 64-bit stride alignment requirement.  For a RGB565 image the pad is not transparent.

This is a major problem for us as we create all our images using the vgCreateConstImageFSL() extension.

1 解決策
1,952件の閲覧回数
ioseph_martinez
NXP Employee
NXP Employee

I also tried on the latest OpenVG 0.5.0 and seems it is solved.

元の投稿で解決策を見る

0 件の賞賛
返信
7 返答(返信)
1,952件の閲覧回数
ioseph_martinez
NXP Employee
NXP Employee

I talked to R&D, it seems we have an issue with vg const images stride. I have tested and stride was not used at all. They sent me some code probably will be able to take a look on Monday to check if it fixes it.

0 件の賞賛
返信
1,952件の閲覧回数
karina_valencia
NXP Apps Support
NXP Apps Support

Hi ioseph_martinez , do you have an update of this case?

0 件の賞賛
返信
1,952件の閲覧回数
ioseph_martinez
NXP Employee
NXP Employee

Well, I did test the patch and didn't work. This has been raised to the R&D team and will be working close with you guys to have the different bugs priorized and worked out.

1,952件の閲覧回数
karina_valencia
NXP Apps Support
NXP Apps Support

Do you have any progress on this case?

0 件の賞賛
返信
1,953件の閲覧回数
ioseph_martinez
NXP Employee
NXP Employee

I also tried on the latest OpenVG 0.5.0 and seems it is solved.

0 件の賞賛
返信
1,952件の閲覧回数
jimmikola
Contributor I

Verified that 0.5.0 has the desired operation where stride and width can be different values.

0 件の賞賛
返信
1,952件の閲覧回数
fengwei
NXP Employee
NXP Employee

I need the sample to check the issue. My case just works.

0 件の賞賛
返信