NvBufferColorFormat_YUV420 range difference in new Tegra Release?

Hello Everyone,

I am seeing an issue with the new Jetson Linux R32.6.1 release where suddenly the Y range for NvBufferColorFormat::YUV420 has reduced to [16…235] from the earlier releases which had full range [0…255]. Alternatively, trying to use NvBufferColorFormat::YUV420_ER (Extened Range) to be able to use full range for Y plane, it fails while creating the nv buffer using the function NvBufferCreateEx(int* dmabuf_fd, NvBufferCreateParams* input_params).

  1. What exactly in the new release (32.6.1) is causing the Y ranges to reduce from [0…255] to [16…235]?
  2. While creating new NvBuffer using NvBufferColorFormat::YUV420_ER format, what should be the correct set of parameters? For example, what should be the payload type of the buffer, layout of the buffer, memsize?
  3. There is no documentation for YUV420_ER at all, how does the memory layout changes from YUV420 to YUV420_ER. YUV420 natively uses 12 bits/pixel, but with extended range does the bits/pixel change or not? If so, how?

It would be fantastic if anyone has more visibility on this topic and can help me out! Thank you very much for your time in advance!