AnsweredAssumed Answered

g2d_alloc: alloc memory fail with size 6220800

Question asked by yong tang on Nov 29, 2015
Latest reply on Dec 16, 2015 by yong tang

Hi, Freescale

 

   I use g2d for image scale,but failed on alloc g2d memory(size = 6220800):

g2d_open(&mhG2d);

nSrcBufSize = 6220800;     //1080p yuv444

g2d_alloc(nSrcBufSize, 0);

error log:

g2d_alloc: alloc memory fail with size 6220800!

 

Alloc 4608000 bytes success(1920x1200, yuv422).

 

How can i fixed this issue? How much hard memory for G2D can i alloc?

Outcomes