Gstnvvconv NvBufferLayout_BlockLinear

Hi, I am modifying nvvidconv plugin to run Cuda Kernel on the omem->buf->dmabuf_fd.

I noticed the eglFrame.frameType == CU_EGL_FRAME_TYPE_ARRAY when the buffer is transformed to P010_10LE format. The reason being in lines 405-408:

if (space->enable_blocklinear_output &&
(space->out_pix_fmt == NvBufferColorFormat_NV12 ||
space->out_pix_fmt == NvBufferColorFormat_NV12_10LE))
input_params.layout = NvBufferLayout_BlockLinear;

Is there a particular reason to have blocklinear output? If I set bl-output=false, is there any difference in performance?


Block linear is the format used by VIC.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.