This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Samsung Nexus:nStride can't be set 4096

Hi all,

In my case when I set following parameters,

the function allocateBuffersOnPort() will be failed.

tInPortDef.nPortIndex = PORT_INDEX_IN;//0

tInPortDef.format.video.nStride =4096;

I can only set tInPortDef.format.video.nStride= (tInPortDef.format.video.nFrameWidth+15)/16*16;

How it happens in my case?

It is based on android 4.0 omap4460.

regards,

changwenliang

 

allocateBuffersOnPort