Hi guys,
I need the following consumer to get the file descriptor of DMA buffer:
Argus::UniqueObj<EGLStream::FrameConsumer> consumer( EGLStream::FrameConsumer::create(eglDisplay , egl_str, &status));
For the above consumer, I need to create EGLStreamKHR using the code snippet below:
EGLint stream_attr[] = { EGL_STREAM_FIFO_LENGTH_KHR, 1 /*fifo*/, EGL_NONE}; egl_str = eglCreateStreamKHR(eglDisplay, stream_attr);
but I encounter “(Argus) Error BadParameter: propagating from src/eglstream/FrameConsumerImpl.cpp, function acquireFrame()”. It would be great if anyone can provide appropriate stream setting (EGLing stream_attr) for eglCreateStreamKHR(.)
function to resolve the bad parameter error. Any sample code would be highly appreciated.
Sincerely,
Please check the MMAPI sample code if any help on it.
Thanks
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.