AnsweredAssumed Answered

read/write pointer returned by vpu_DecGetBitstreamBuffer error when two threads decode mjpeg with different resolution using vpu simultaneously

Question asked by Moon Yao on Jan 29, 2013
Latest reply on Jan 31, 2013 by Lauren Post

I write a mjpeg decoder which is using vpu to decode mjpeg.

when two threads decode simultaneously with different resolution, for example, one is 320x240, another is 640x480, then read/write pointer returned by vpu_DecGetBitstreamBuffer is erroneous, it will beyond the biggest address of bitstream buffer which I allocated. and size will return 0 always after several minutes;

when two threads decode simultaneously with same resolution, then it will work correctly.

 

Does hardware support decode different resolution simultaneously for mjpeg?

 

 

platform: [iMx53, linux]

Outcomes