AnsweredAssumed Answered

[S32V234] isp_h264dec_single_stream

Question asked by Bruno Chen on Dec 16, 2018
Latest reply on Dec 17, 2018 by Bruno Chen

Hi, NXP,

I am trying to trace the isp demo app, isp_h264dec_single_stream, and I found this app would wait about 100us (#define SLEEP_USECS 100) every 720 bytes in function H264DataInput() in main.cpp. If I change this value to 0, there will be Sequence's error, like,

 

**  img_1280x960.h264 file will be used as input.

Press Ctrl+C to terminate the demo.

Framebuffer mapped at 0x7f7936a000.

Sequencer other error:*** Sequencer error text:

  Buffer overrun

Frm:0

Inp:0

Pro:HD

Max:64

Wrt:208

 

NULL pointer data.

Demo execution failed.

 

I would like to know why it need this delay?

BTW, I also found the other isp demo app, isp_jpeg_4stream, having similar delay (#define SLEEP_USECS 50).

And how to calculate(define) this delay time in my own apps?

 

Thanks,

Bruno

 

 

 

Outcomes