fix[hal_jpegd]: add pp feature check

Change-Id: I3b2a032006411b387682795ca0b484b3fd09ecdb
Signed-off-by: xueman.ruan <xueman.ruan@rock-chips.com>
This commit is contained in:
xueman.ruan
2023-09-13 15:47:53 +08:00
parent e2df27b29f
commit de8ff555df

View File

@@ -107,6 +107,10 @@ static MPP_RET hal_jpegd_init(void *hal, MppHalCfg *cfg)
client_type = VPU_CLIENT_VDPU2;
if (hw_flag & HAVE_VDPU1)
client_type = VPU_CLIENT_VDPU1;
if (hw_flag & HAVE_VDPU2_PP)
client_type = VPU_CLIENT_VDPU2_PP;
if (hw_flag & HAVE_VDPU1_PP)
client_type = VPU_CLIENT_VDPU1_PP;
if (hw_flag & HAVE_JPEG_DEC)
client_type = VPU_CLIENT_JPEG_DEC;
}