exact image size with eglCreateImageKHR

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

exact image size with eglCreateImageKHR

ソリューションへジャンプ
1,293件の閲覧回数
tselmeci
Contributor IV

On iMX53 my program creates an image with eglCreateImageKHR(...). The required size is 720x576. Getting the stride parameter of the image with eglQueryImageFSL(...) I've noticed that stride is 736. It looks like eglCreateImageKHR(...) creates images with a width of integer multiple of 32. This is not appropriate to me.

Is there any way to make eglCreateImageKHR(...) create exactly the requested image size for me? If it's impossible, can I force it to work e.g. work multiple of 16?

タグ(3)
1 解決策
960件の閲覧回数
andre_silva
NXP Employee
NXP Employee

You are right, eglCreateImageKHR only works with multiples of 32, any other value will not work, and there is no way to force it.

regards,

Andre

元の投稿で解決策を見る

2 返答(返信)
960件の閲覧回数
Bio_TICFSL
NXP TechSupport
NXP TechSupport

As far as I know, multiples of 16 can not be forced, since YUV textures does not render when using eglQueryImageFSL, but maybe AndreSilva can clarify this situation.

Regards

0 件の賞賛
返信
961件の閲覧回数
andre_silva
NXP Employee
NXP Employee

You are right, eglCreateImageKHR only works with multiples of 32, any other value will not work, and there is no way to force it.

regards,

Andre