media_module: h265 dvb playback crash and mosaic [1/1]
authorPeng Yixin <yixin.peng@amlogic.com>
Fri, 26 Jun 2020 08:31:32 +0000 (16:31 +0800)
committerPeng Yixin <yixin.peng@amlogic.com>
Mon, 29 Jun 2020 09:12:23 +0000 (17:12 +0800)
commit8109bb00b4bd754d8c9e9b71b34d88879680dbb2
tree02089e729e08f4b668b7e408263118b2e0d43b90
parent52e97be13afeb59d1af208dfba72d4a2c76d159f
media_module: h265 dvb playback crash and mosaic [1/1]

PD#SWPL-27621

Problem:
1.other memory violation caused by decoder
2.playback show mosaic picture

Solution:
1.Optimize detection width and height information logic
to fixed memory violation caused by decoder.
2.First frame is detected whether has an over
decode error to reduce mosaic picture.
3.When the decode timeout current frame is marked
error.

Verify:
U215

Change-Id: I405ed24cf18af23eb194675e788bf702fd1a4fc1
Signed-off-by: Peng Yixin <yixin.peng@amlogic.com>
drivers/frame_provider/decoder/h265/vh265.c