st/omx/dec/h265: decoder size should follow from sps
authorLeo Liu <leo.liu@amd.com>
Fri, 23 Sep 2016 15:33:31 +0000 (11:33 -0400)
committerLeo Liu <leo.liu@amd.com>
Tue, 4 Oct 2016 15:09:59 +0000 (11:09 -0400)
commit091aae0265caa82bc975e18946fd091e91b72602
tree244ad1198b559de92e912dda7a20b9877a4f22ec
parent2371119db99a4513024430723f421f15f934c656
st/omx/dec/h265: decoder size should follow from sps

The video size from format container is not always compatible with
the size from codec bitstream, the HW decoder should take the size
information from bitstream, otherwise the corruption appears with clip
that has different size info between bitstream and format container

So we are passing width(height)_in_samples from sequence parameter
set to video decoder.

Signed-off-by: Leo Liu <leo.liu@amd.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/gallium/state_trackers/omx/vid_dec.h
src/gallium/state_trackers/omx/vid_dec_h265.c