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>
This commit is contained in:
@@ -66,6 +66,7 @@ static const u32 msm_vdec_subscribe_for_psc_av1[] = {
|
|||||||
HFI_PROP_PROFILE,
|
HFI_PROP_PROFILE,
|
||||||
HFI_PROP_LEVEL,
|
HFI_PROP_LEVEL,
|
||||||
HFI_PROP_TIER,
|
HFI_PROP_TIER,
|
||||||
|
HFI_PROP_SIGNAL_COLOR_INFO,
|
||||||
};
|
};
|
||||||
|
|
||||||
static const u32 msm_vdec_input_subscribe_for_properties[] = {
|
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;
|
return -EINVAL;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (inst->codec != MSM_VIDC_H264 &&
|
if (inst->codec == MSM_VIDC_VP9)
|
||||||
inst->codec != MSM_VIDC_HEVC &&
|
|
||||||
inst->codec != MSM_VIDC_HEIC)
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
if (inst->fmts[port].fmt.pix_mp.colorspace != V4L2_COLORSPACE_DEFAULT ||
|
if (inst->fmts[port].fmt.pix_mp.colorspace != V4L2_COLORSPACE_DEFAULT ||
|
||||||
|
Reference in New Issue
Block a user