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

vxe-vxd: decoder: Fix input buffer size

commit 4ec318c9c7f2ad8424823a8523ccdb59aee51cca from
git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git



Optimize decoder Input buffer size. The Input buffer was
allocated with size equal to raw frame size of YUV422 which is not supported
by the driver. The frame size is mainly dependent on the
resolution (width and height) and also the bit depth (8/10/12 etc).
As we only support NV12 format, width * height * 1.5 should be sufficient
for holding an encoded frame.

Signed-off-by: default avatarPrasanth Babu Mantena <p-mantena@ti.com>
Signed-off-by: default avatarXulin Sun <xulin.sun@windriver.com>
parent 9a656d75
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