Am 07.05.2018 um 18:25 schrieb Oscar Amoros Huguet:
Have a look at this, looks pretty interesting:/** * @brief This function decodes a frame and returns the locked frame buffers * This makes the buffers available for use by the application without the buffers * getting overwritten, even if subsequent decode calls are made. The frame buffers * remain locked, until ::UnlockFrame() is called */ bool DecodeLockFrame(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); Oscar
I'm not sure what API docs you are referring to here. Google has never seen them either. But CUVIDPROCPARAMS, which is passed to cuvidMapVideoFrame, does indeed have CUstream output_stream;/**< IN: stream object used by cuvidMapVideoFrame */ So setting the stream there would be easily possible.
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel