NvBufferColorFormat vs V4L2_PIX_FMT_ P010M

V4L2_PIX_FMT_P010M is NvBufferColorFormat_NV21_10LE or NvBufferColorFormat_NV12_10LE?

when i use NvBufferColorFormat_NV12_10LE dma buffer for decoder capture plane with V4L2_PIX_FMT_P010M plane format i see incorrect colors on decoded frame.

when i use NvBufferColorFormat_NV21_10LE dma buffer for decoder capture plane with V4L2_PIX_FMT_P010M plane format - colors ok

source for testing is:

Video: hevc (Main 10) (HEVC / 0x43564548), yuv420p10le(pc, bt2020nc/bt2020/bt2020-10), 3840x2160 [SAR 1:1 DAR 16:9]

Hi,
Please share your pipeline.
There are some 10-bit video files in http://jell.yfish.us/ Please check if it can be used to reproduce the issue.

Hi. I don’t use gstreamer. But i ready for test.

Please, tell me pipeline for testing.

Hi,
We will try to reproduce the issue and do further check. If 00_video_decode can be run to reproduce it, please share the steps.