video: driver: Subscribe to color info for AV1

Subscribe to HFI_PROP_SIGNAL_COLOR_INFO to receive
color info from bitstream AV1 bitstreams.

Change-Id: I3c76bc651160b701078bd73725f7060388ad9125
Signed-off-by: Mihir Ganu <quic_mganu@quicinc.com>
Dieser Commit ist enthalten in:
Mihir Ganu
2022-05-13 08:00:01 -07:00
Ursprung 2f361417ab
Commit 888ecb9f1b

Datei anzeigen

@@ -66,6 +66,7 @@ static const u32 msm_vdec_subscribe_for_psc_av1[] = {
HFI_PROP_PROFILE,
HFI_PROP_LEVEL,
HFI_PROP_TIER,
HFI_PROP_SIGNAL_COLOR_INFO,
};
static const u32 msm_vdec_input_subscribe_for_properties[] = {
@@ -469,9 +470,7 @@ static int msm_vdec_set_colorspace(struct msm_vidc_inst *inst,
return -EINVAL;
}
if (inst->codec != MSM_VIDC_H264 &&
inst->codec != MSM_VIDC_HEVC &&
inst->codec != MSM_VIDC_HEIC)
if (inst->codec == MSM_VIDC_VP9)
return 0;
if (inst->fmts[port].fmt.pix_mp.colorspace != V4L2_COLORSPACE_DEFAULT ||