Hi,
I am doing hardware encoding (avc) of NV12 stream using Android MediaCodec API.
Resolutions 1280x720 and 640x480 work fine, others (i.e. 640x360, 320x240, 800x480) produce output where chroma component seems shifted (please see snapshot).
I have double-checked that the input image is correct by saving it to a jpeg file.
This problem only occurs on QualComm devices.
Is there anything I can do to rectify the problem? Any additional setup of the encoder?
Any help much appreciated.
Regards, Paul