Hi Community
I am making an encoder app using VPU wrapper. (Input: YUV420 NV12, Output: H264)
The app can encode without a problem (if the encoded data is converted from H264 to AVI via ffmpeg, the expected picture can be played)
However, checking the binary values of the encoded data, it seems that each NALu 's nal_ref_idc byte (NRI) is set to 1 instead of 3 ("important")
+---------------+
|0|1|2|3|4|5|6|7|
+-+-+-+-+-+-+-+-+
|F|NRI| Type |
+---------------+So encoded SPS's NRI is 0x27 instead of 0x67, PPS's is 0x28 instead of 0x68, IDR's is 0x25 instead of 0x65.
Which parameters should be set to encode with an NRI of 3?