As far as I can see the function:
bool Decode(const uint8_t *pData, int nSize, uint8_t ***pppFrame, int *pnFrameReturned, uint32_t flags = 0, int64_t **ppTimestamp = NULL, int64_t timestamp = 0, CUstream stream = 0);
gets the header and the video data inside the pData var. However, in my app I receive the video header and the video data separately. Thus, I would like to be able to feed the decoder these setting separately, to save myself of doing the recombining of the data. Is this possible?
I tried to feed the decoder the header data and video data one by one, but this resulted in a crash as the decoder had 0 size video data (as far as I understand).
In addition, I couldn’t find where this function documentation is located, or in general where the documentation for the Nvidia decoder sdk function are documented.