osdk 视频解码中的回调函数 H264ToRGBCb 前两个参数 是从哪里传递的呢
H264ToRGBCb 的参数 *buf和buflen
void H264ToRGBCb(uint8_t* buf, int bufLen, void* userData) {
DJICameraStreamDecoder *decoder = (DJICameraStreamDecoder *)userData;
decoder->decodeBuffer(buf, bufLen);
}
Please sign in to leave a comment.
Comments
1 comment