HDR 10 support

Hi,
We have the full implementation of 10-bit YUV420 encoding/decoding on r32.3.1/Xavier, TX2.
For decoding, please check #2
For encoding, please refer to 01_video_encode and run the following steps:

$ gst-launch-1.0 videotestsrc num-buffers=300 ! video/x-raw,width=3840,height=2160,format=P010_10LE ! filesink location=raw_10bit_p010.yuv
$ ./video_encode raw_10bit_p010.yuv 3840 2160 H265 test_10bit.265 -p main10

You can run $ ./video_encode --help to get all options. ‘-br 50000000’ is to set bitrate=50Mbps

Document of tegra_multimedia_api is in
https://docs.nvidia.com/jetson/archives/l4t-multimedia-archived/l4t-multimedia-3231/index.html

The input buffer format is in NvBufferColorFormat_NV12_10LE and it reads input frames from a file( raw_10bit_p010.yuv in the example ) in 01_video_encode. You would need to investigate on how to put your input signal into the allocated NvBuffers.