mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-17 14:40:44 +08:00
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:
@@ -107,6 +107,10 @@ static MPP_RET hal_jpegd_init(void *hal, MppHalCfg *cfg)
|
|||||||
client_type = VPU_CLIENT_VDPU2;
|
client_type = VPU_CLIENT_VDPU2;
|
||||||
if (hw_flag & HAVE_VDPU1)
|
if (hw_flag & HAVE_VDPU1)
|
||||||
client_type = VPU_CLIENT_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)
|
if (hw_flag & HAVE_JPEG_DEC)
|
||||||
client_type = VPU_CLIENT_JPEG_DEC;
|
client_type = VPU_CLIENT_JPEG_DEC;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user