Is it correct to say that to DECODE an H.264 INTERLACED stream, previously encoded with the H.264 encoder as discussed here, I have to call twice the decoding function with the same output buffer, in this way:
ret = Vdec2_process(hVd2, hInBuf1, hDstBuf);
(here ret should be Dmai_EFIRSTFIELD)
ret = Vdec2_process(hVd2, hInBuf2, hDstBuf);
(here ret should be Dmai_EOK)
Where hInBuf1and hInBuf2 are the two slices obtained from the two calls of the encoder function, one for each field.
In particular I wonder if the hDstBuf must be the same in the two calls.
Thank you.