Home
last modified time | relevance | path

Searched refs:vcodec_type (Results 1 – 14 of 14) sorted by relevance

/OK3568_Linux_fs/external/mpp/osal/test/
H A Dmpp_platform_test.c26 RK_U32 vcodec_type = mpp_get_vcodec_type(); in main() local
45 mpp_log("chip vcodec type %08x\n", vcodec_type); in main()
47 if (vcodec_type & (HAVE_VDPU1 | HAVE_VEPU1)) in main()
50 if (vcodec_type & (HAVE_VDPU2 | HAVE_VEPU2)) in main()
53 if (vcodec_type & HAVE_HEVC_DEC) in main()
56 if (vcodec_type & HAVE_RKVDEC) in main()
59 if (vcodec_type & HAVE_AVSDEC) in main()
62 if (vcodec_type & HAVE_JPEG_DEC) in main()
65 if (vcodec_type & HAVE_RKVENC) in main()
68 if (vcodec_type & HAVE_VEPU2) in main()
[all …]
/OK3568_Linux_fs/external/mpp/osal/
H A Dmpp_platform.cpp85 RK_U32 vcodec_type; member in MppPlatformService
102 RK_U32 get_vcodec_type(void) { return vcodec_type; }; in get_vcodec_type()
108 vcodec_type(0), in MppPlatformService()
135 check_mpp_service_cap(&vcodec_type, hw_ids, cap); in MppPlatformService()
138 if (!vcodec_type) in MppPlatformService()
139 vcodec_type = soc_info->vcodec_type; in MppPlatformService()
146 if (vcodec_type & (1 << client_type)) in get_hw_id()
187 static RK_U32 vcodec_type = 0; in mpp_get_vcodec_type() local
189 if (!vcodec_type) in mpp_get_vcodec_type()
190 vcodec_type = MppPlatformService::get_instance()->get_vcodec_type(); in mpp_get_vcodec_type()
[all …]
H A Dmpp_soc.cpp938 RK_U32 vcodec_type = 0; in MppSocService() local
952 vcodec_type |= (1 << cap->type); in MppSocService()
961 vcodec_type |= (1 << cap->type); in MppSocService()
967 mpp_dbg_platform("vcodec type: %08x\n", soc_info->vcodec_type); in MppSocService()
968 mpp_assert(soc_info->vcodec_type == vcodec_type); in MppSocService()
/OK3568_Linux_fs/external/mpp/mpp/hal/rkdec/avsd/
H A Dhal_avsd_api.c41 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()
/OK3568_Linux_fs/external/mpp/mpp/hal/rkdec/h264d/
H A Dhal_h264d_api.c96 RK_U32 vcodec_type = mpp_get_vcodec_type(); in hal_h264d_init() local
99 if (!(vcodec_type & (HAVE_RKVDEC | HAVE_VDPU1 | HAVE_VDPU2))) { in hal_h264d_init()
100 mpp_err_f("can not found H.264 decoder hardware on platform %x\n", vcodec_type); in hal_h264d_init()
111 if (vcodec_type & (1 << hw_type)) { in hal_h264d_init()
116 hw_type, vcodec_type); in hal_h264d_init()
121 if ((mode <= RKVDEC_MODE) && (vcodec_type & HAVE_RKVDEC)) { in hal_h264d_init()
123 } else if (vcodec_type & HAVE_VDPU1) { in hal_h264d_init()
125 } else if (vcodec_type & HAVE_VDPU2) { in hal_h264d_init()
/OK3568_Linux_fs/external/mpp/mpp/hal/common/jpeg/
H A Dhal_jpege_api_v2.c48 RK_U32 vcodec_type = mpp_get_vcodec_type(); in hal_jpege_init() local
52 if ((vcodec_type & HAVE_RKVENC) && in hal_jpege_init()
55 } else if (vcodec_type & (HAVE_VEPU2 | HAVE_VEPU2_JPEG)) { in hal_jpege_init()
57 } else if (vcodec_type & HAVE_VEPU1) { in hal_jpege_init()
61 vcodec_type); in hal_jpege_init()
/OK3568_Linux_fs/external/mpp/mpp/hal/common/h264/
H A Dhal_h264e_api_v2.c50 RK_U32 vcodec_type = mpp_get_vcodec_type(); in hal_h264e_init() local
54 if (vcodec_type & HAVE_RKVENC) { in hal_h264e_init()
68 } else if (vcodec_type & HAVE_VEPU2) { in hal_h264e_init()
70 } else if (vcodec_type & HAVE_VEPU1) { in hal_h264e_init()
74 vcodec_type); in hal_h264e_init()
/OK3568_Linux_fs/external/mpp/mpp/hal/rkdec/h265d/
H A Dhal_h265d_api.c39 RK_U32 vcodec_type = mpp_get_vcodec_type(); in hal_h265d_init() local
42 if (!(vcodec_type & (HAVE_RKVDEC | HAVE_HEVC_DEC))) { in hal_h265d_init()
43 mpp_err_f("Can not found valid H.265 decoder hardware on platform %08x\n", vcodec_type); in hal_h265d_init()
47 client_type = (vcodec_type & HAVE_HEVC_DEC) ? in hal_h265d_init()
/OK3568_Linux_fs/external/mpp/mpp/hal/common/h265/
H A Dhal_h265e_api_v2.c47 RK_U32 vcodec_type = mpp_get_vcodec_type(); in hal_h265ev2_init() local
49 if (vcodec_type & HAVE_RKVENC) { in hal_h265ev2_init()
65 vcodec_type); in hal_h265ev2_init()
/OK3568_Linux_fs/external/mpp/mpp/legacy/
H A Dvpu.c70 RK_U32 vcodec_type; in vpu_api_set_client_type() local
73 vcodec_type = mpp_get_vcodec_type(); in vpu_api_set_client_type()
77 if (vcodec_type & HAVE_VDPU1) in vpu_api_set_client_type()
79 else if (vcodec_type & HAVE_VDPU2) in vpu_api_set_client_type()
/OK3568_Linux_fs/external/mpp/mpp/hal/vpu/av1d/
H A Dhal_av1d_api.c42 RK_U32 vcodec_type = mpp_get_vcodec_type(); in hal_av1d_init() local
50 if (!(vcodec_type & (HAVE_RKVDEC | HAVE_VDPU1 | HAVE_VDPU2))) { in hal_av1d_init()
51 mpp_err_f("can not found av1 decoder hardware on platform %x\n", vcodec_type); in hal_av1d_init()
/OK3568_Linux_fs/external/mpp/osal/inc/
H A Dmpp_soc.h87 const RK_U32 vcodec_type; member
/OK3568_Linux_fs/external/mpp/osal/driver/
H A Dvcodec_service.c397 RK_U32 vcodec_type = mpp_get_vcodec_type(); in mpp_get_vcodec_dev_name() local
399 dev = mpp_get_platform_dev_name(type, coding, vcodec_type); in mpp_get_vcodec_dev_name()
/OK3568_Linux_fs/external/mpp/mpp/hal/vpu/jpege/
H A Dhal_jpege_vepu2_v2.c66 RK_U32 vcodec_type = mpp_get_vcodec_type(); in hal_jpege_vepu2_init() local
72 type = (vcodec_type & HAVE_VEPU2_JPEG) ? in hal_jpege_vepu2_init()