MPEG2 video codecs spits out 32 byte alignment of data buffers. This data is in
Video encoder also understands 32 byte align data and input as NV12 format. But
the DMAI buffer is a 32 byte align this information was never send earlier. So
we put 32 byte align information in the DMAI buffer to be send to the encoder or
whoever uses the DMAI buffer.
The decoder send out NV12 format and this data is received by encoder in
transcode use case. However if we set the ouput format as NV12 from decoder the
video sink component doesnot expect it. The video sink component has taken UYVY
format. Due to the availability of color conversion at the video sink component
we added the NV12 color format in Video sink component.