av1: CB2 fix scalable streams playback problems. [1/1]

PD#SWPL-161485

Problem:
1.Due to the lack of layer information in the decoder driver, all
decoded frames are output, resulting in display abnormal.
2.Due to the decoding driver reporting the same resolution twice to the
upper layer, playback is stuck.

Solution:
1.In the ucode, after parsing the layer-related information, it is
passed to the decoder driver. The decoder driver selects the maximum
resolution of the same temporal layer for output display.
2.If it is found that the maximum resolution information in the sequence
header has not changed, there is no need to report a resolution switch
event.

Verify:
ohm.

SourceCode:
ucode:
0.4.169-gd16e399
I8bfa9
I3cfbf
I66376
I6f63f
Idbdf0

Change-Id: I3cd3640b4540234ac5b8c4370eeb91a161449ee5
Signed-off-by: gan.zhang <gan.zhang@amlogic.com>
62 files changed