>what kind of streaming do you need to decode?
I said in my OP that my input is H264 data
>I don't think raw P frame append to the I frame is correct procedure, you also can refer to the nxp source code for reference
Input H264 data is set to VpuBufferNode then passed to VPU_DecDecodeBuf().
If originally the H264 data has both I and P Frames before setting to VpuBufferNode, decoding works.
(1st call of VPU_DecDecodeBuf() decodes I, then 2nd call decodes P)
However, if original input H264 data only has I frame, then P frame was created separately so it has to be reflected to VpuBufferNode, I wanted to know what to change before calling VPU_DecDecodeBuf() for the 2nd time.
After some trial and error, I found the following code to solve the above problem.
/** Change address of input set in VpuBufferNode to the address of P-Frame */
m_vpuBufferNode.pVirAddr = <P-Frame address>;
/** Change input data size */
m_vpuBufferNode.nSize = <P-Frame size>;