We use DM8168 at UDWORKS based hardware design and a DVRRDK 03.00.00.00 basewd software.
We do decoding of IP-camera RTSP stream. Some IP-camera types sometimes create frame information of very huge frame size. We use FFMPEG for demultiplexing RTSP. The invalid frames are not catched from FFMPEG. This means we also request buffer (reqInfo.bufSize) for decoding of oversized frames. Vdec_requestBitstreamBuffer() does not check the size. I did try to find out how DECLINK handles the size parameter, but we want to limit the size as early as possible. (before Vdec_requestBitstreamBuffer is called).
The packet size depends on frame type, format, compression, ....
Is a max. reqInfo.bufSize useful ? Does DECLINK know a max. value ?