vxe-vxd: encoder: Fix Buffer Alignment of Encoder buffer
commit c4db4901a26b4cea9b4957c046fb463e87c04906 from git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git The Non 16 multiple resolutions were rounded up to lower 16 multiple, and so the buffers were also getting rounded up to lower 16 multiple. This make the output resolution also getting lower than expected resolution. This patch fixes the buffer alignment for resolution which are non-multiple of 16, ceil to multiple of 16 and set crop parameters used to parsei correct resolution by decoder for Non 16 multiple resolutions. Alignment is done with respect to the macro MB_SIZE defined to 16. Signed-off-by: Prasanth Babu Mantena <p-mantena@ti.com> Signed-off-by: Xulin Sun <xulin.sun@windriver.com>
Please register or sign in to comment