| /rockchip-linux_mpp/osal/ |
| H A D | mpp_platform.c | 36 rk_u32 vcodec_type; member 133 check_mpp_service_cap(&srv->vcodec_type, srv->hw_ids, cap); in mpp_plat_srv_init() 135 srv->vcodec_type, srv->soc_info->vcodec_type); in mpp_plat_srv_init() 138 if (!srv->vcodec_type) { in mpp_plat_srv_init() 139 srv->vcodec_type = srv->soc_info->vcodec_type; in mpp_plat_srv_init() 142 rk_u32 diff_type = srv->vcodec_type ^ srv->soc_info->vcodec_type; in mpp_plat_srv_init() 153 if (srv->soc_info->vcodec_type & mask) { in mpp_plat_srv_init() 158 srv->vcodec_type &= ~mask; in mpp_plat_srv_init() 163 mpp_dbg_platform("vcode_type 0x%08x\n", srv->vcodec_type); in mpp_plat_srv_init() 225 if (srv && srv->vcodec_type & (1 << client_type)) in mpp_get_client_hw_id() [all …]
|
| H A D | mpp_soc.c | 1088 rk_u32 vcodec_type = 0; in mpp_soc_srv_init() local 1116 vcodec_type |= (1 << cap->type); in mpp_soc_srv_init() 1125 vcodec_type |= (1 << cap->type); in mpp_soc_srv_init() 1132 vcodec_type, srv->soc_info->vcodec_type); in mpp_soc_srv_init() 1133 mpp_assert(srv->soc_info->vcodec_type == vcodec_type); in mpp_soc_srv_init()
|
| /rockchip-linux_mpp/osal/test/ |
| H A D | mpp_platform_test.c | 15 RK_U32 vcodec_type = mpp_get_vcodec_type(); in main() local 35 mpp_log("chip vcodec type %08x\n", vcodec_type); in main() 37 if (vcodec_type & (HAVE_VDPU1 | HAVE_VEPU1)) in main() 40 if (vcodec_type & (HAVE_VDPU2 | HAVE_VEPU2)) in main() 43 if (vcodec_type & HAVE_HEVC_DEC) in main() 46 if (vcodec_type & HAVE_RKVDEC) in main() 49 if (vcodec_type & HAVE_AVSDEC) in main() 52 if (vcodec_type & HAVE_JPEG_DEC) in main() 55 if (vcodec_type & HAVE_JPEG_ENC) in main() 58 if (vcodec_type & HAVE_RKVENC) in main() [all …]
|
| /rockchip-linux_mpp/mpp/hal/common/jpeg/ |
| H A D | hal_jpege_api_v2.c | 50 RK_U32 vcodec_type = mpp_get_vcodec_type(); in hal_jpege_init() local 54 if (vcodec_type & (HAVE_VEPU2 | HAVE_VEPU2_JPEG)) { in hal_jpege_init() 56 } else if (vcodec_type & HAVE_VEPU1) { in hal_jpege_init() 58 } else if (vcodec_type & HAVE_JPEG_ENC) { in hal_jpege_init() 60 } else if (vcodec_type & HAVE_RKVENC) { in hal_jpege_init() 70 mpp_err("vcodec type %08x can not find JPEG encoder device\n", vcodec_type); in hal_jpege_init()
|
| /rockchip-linux_mpp/mpp/hal/rkdec/avsd/ |
| H A D | hal_avsd_api.c | 41 RK_U32 vcodec_type = mpp_get_vcodec_type(); in init_hard_platform() local 46 if (!(vcodec_type & HAVE_AVSDEC)) in init_hard_platform() 48 coding, vcodec_type, HAVE_AVSDEC); in init_hard_platform() 52 if (!(vcodec_type & hw_flag )) in init_hard_platform() 54 coding, vcodec_type, hw_flag); in init_hard_platform() 58 (vcodec_type & HAVE_AVSDEC)) { in init_hard_platform() 69 (vcodec_type & (HAVE_VDPU1 | HAVE_VDPU1_PP))) { in init_hard_platform() 80 (vcodec_type & (HAVE_VDPU2 | HAVE_VDPU2_PP))) { in init_hard_platform() 95 AVSD_HAL_DBG(AVSD_DBG_HARD_MODE, "hw_spt %08x, coding %d\n", vcodec_type, coding); in init_hard_platform()
|
| /rockchip-linux_mpp/mpp/hal/rkdec/h264d/ |
| H A D | hal_h264d_api.c | 257 RK_U32 vcodec_type = mpp_get_vcodec_type(); in hal_h264d_init() local 260 if (!(vcodec_type & (HAVE_RKVDEC | HAVE_VDPU1 | HAVE_VDPU2))) { in hal_h264d_init() 261 mpp_err_f("can not found H.264 decoder hardware on platform %x\n", vcodec_type); in hal_h264d_init() 272 if (vcodec_type & (1 << hw_type)) { in hal_h264d_init() 277 hw_type, vcodec_type); in hal_h264d_init() 282 if ((mode <= RKVDEC_MODE) && (vcodec_type & HAVE_RKVDEC)) { in hal_h264d_init() 284 } else if (vcodec_type & HAVE_VDPU1) { in hal_h264d_init() 286 } else if (vcodec_type & HAVE_VDPU2) { in hal_h264d_init()
|
| /rockchip-linux_mpp/mpp/hal/common/h264/ |
| H A D | hal_h264e_api_v2.c | 52 RK_U32 vcodec_type = mpp_get_vcodec_type(); in hal_h264e_init() local 56 if (vcodec_type & HAVE_RKVENC) { in hal_h264e_init() 76 } else if (vcodec_type & HAVE_VEPU2) { in hal_h264e_init() 78 } else if (vcodec_type & HAVE_VEPU1) { in hal_h264e_init() 82 vcodec_type); in hal_h264e_init()
|
| /rockchip-linux_mpp/mpp/hal/common/h265/ |
| H A D | hal_h265e_api_v2.c | 49 RK_U32 vcodec_type = mpp_get_vcodec_type(); in hal_h265ev2_init() local 51 if (vcodec_type & HAVE_RKVENC) { in hal_h265ev2_init() 73 vcodec_type); in hal_h265ev2_init()
|
| /rockchip-linux_mpp/mpp/hal/rkdec/h265d/ |
| H A D | hal_h265d_api.c | 41 RK_U32 vcodec_type = mpp_get_vcodec_type(); in hal_h265d_init() local 45 if (!(vcodec_type & (HAVE_RKVDEC | HAVE_HEVC_DEC))) { in hal_h265d_init() 46 mpp_err_f("Can not found valid H.265 decoder hardware on platform %08x\n", vcodec_type); in hal_h265d_init() 50 client_type = (vcodec_type & HAVE_HEVC_DEC) ? in hal_h265d_init()
|
| /rockchip-linux_mpp/mpp/hal/common/av1/ |
| H A D | hal_av1d_api_v2.c | 43 RK_U32 vcodec_type = mpp_get_vcodec_type(); in hal_av1d_init() local 52 if (!(vcodec_type & (HAVE_RKVDEC | HAVE_AV1DEC))) { in hal_av1d_init() 53 mpp_err_f("can not found av1 decoder hardware on platform %x\n", vcodec_type); in hal_av1d_init()
|
| /rockchip-linux_mpp/mpp/legacy/ |
| H A D | vpu.c | 69 RK_U32 vcodec_type; in vpu_api_set_client_type() local 72 vcodec_type = mpp_get_vcodec_type(); in vpu_api_set_client_type() 76 if (vcodec_type & HAVE_VDPU1) in vpu_api_set_client_type() 78 else if (vcodec_type & HAVE_VDPU2) in vpu_api_set_client_type()
|
| /rockchip-linux_mpp/osal/inc/ |
| H A D | mpp_soc.h | 79 const rk_u32 vcodec_type; member
|
| /rockchip-linux_mpp/osal/driver/ |
| H A D | vcodec_service.c | 405 RK_U32 vcodec_type = mpp_get_vcodec_type(); in mpp_get_vcodec_dev_name() local 407 dev = mpp_get_platform_dev_name(type, coding, vcodec_type); in mpp_get_vcodec_dev_name()
|
| /rockchip-linux_mpp/mpp/hal/vpu/jpege/ |
| H A D | hal_jpege_vepu2_v2.c | 67 RK_U32 vcodec_type = mpp_get_vcodec_type(); in hal_jpege_vepu2_init() local 73 type = (vcodec_type & HAVE_VEPU2_JPEG) ? in hal_jpege_vepu2_init()
|
| /rockchip-linux_mpp/ |
| H A D | CHANGELOG.md | 452 - [osal]: rv1109/rv1126 vcodec_type mismatch problem
|