decoder: CB2 hdr information is acquired abnormally. [1/1]
authorkuan.hu <kuan.hu@amlogic.com>
Mon, 6 Jun 2022 12:44:07 +0000 (20:44 +0800)
committerLiang Ji <liang.ji@amlogic.com>
Fri, 17 Jun 2022 12:55:34 +0000 (20:55 +0800)
commit34e0f6d15f32256e998027b6774171d5a4d418e7
tree48aeea3386676d05b11bc43bc6a28b9e2e850c8d
parent47914e15db3810a9601e2310127bea2d8312e202
decoder: CB2 hdr information is acquired abnormally. [1/1]

PD#SWPL-83432
BUG=232905331

Problem:
The HDR parameter is read when the
color_description_present_flag is not recognized,
resulting in the wrong parameter being transmitted
when the color_description_present_flag is 0.

Solution:
According to the HDR protocol, adjust
the read logic of related parameters.

Verify:
adt3

Signed-off-by: kuan.hu <kuan.hu@amlogic.com>
Change-Id: I5694100d826afc32674074f1e5508ab05f7dadb0
drivers/frame_provider/decoder/h264_multi/vmh264.c
drivers/frame_provider/decoder/h265/vh265.c
drivers/frame_provider/decoder/vav1/vav1.c