media_module: CB1 mpeg4 and vp9 resolution switching anomaly. [1/1]
authorkuan.hu <kuan.hu@amlogic.com>
Thu, 9 Sep 2021 07:20:53 +0000 (15:20 +0800)
committerHongguang Chen <hgchen@google.com>
Sun, 12 Sep 2021 03:37:09 +0000 (03:37 +0000)
commit728643b855d1e6a7c2da78306d44f534e75bbe8c
tree9dae00dbe35ffa22b4aa22cf9b656c1243d0428f
parent76cdbb73eedc8cb2259f52729875710375c33fb8
media_module: CB1 mpeg4 and vp9 resolution switching anomaly. [1/1]

PD#SWPL-59072

Problem:
1.mpeg4:The set resolution was used when
outputting the frame, not the actual resolution.
2.vp9,av1:Since pts has entered the error correction
process,the normal pts information has been modified.

Solution:
1.mpeg4:output the actual decoding resolution.
2.vp9,av1:optimize PTS error detection logic.

Verify:
ADT3

Signed-off-by: kuan.hu <kuan.hu@amlogic.com>
Change-Id: Idb9988e99cfebb7a145c48f871ec7a52b38fe11b
drivers/frame_provider/decoder/mpeg4/vmpeg4_multi.c
drivers/frame_provider/decoder/vav1/vav1.c
drivers/frame_provider/decoder/vp9/vvp9.c