Skip to content
Commit ca77b1d3 authored by Prasanth Babu Mantena's avatar Prasanth Babu Mantena Committed by Xulin Sun
Browse files

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: default avatarPrasanth Babu Mantena <p-mantena@ti.com>
Signed-off-by: default avatarXulin Sun <xulin.sun@windriver.com>
parent 7fabff49
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment