Searched refs:JpegHalCtx (Results 1 – 3 of 3) sorted by relevance
734 JpegdHalCtx *JpegHalCtx = (JpegdHalCtx *)hal; in hal_jpegd_vdpu1_init() local736 mpp_assert(JpegHalCtx); in hal_jpegd_vdpu1_init()740 JpegHalCtx->dec_cb = cfg->dec_cb; in hal_jpegd_vdpu1_init()741 JpegHalCtx->packet_slots = cfg->packet_slots; in hal_jpegd_vdpu1_init()742 JpegHalCtx->frame_slots = cfg->frame_slots; in hal_jpegd_vdpu1_init()743 JpegHalCtx->have_pp = cfg->hw_info->cap_jpg_pp_out; in hal_jpegd_vdpu1_init()746 if (JpegHalCtx->regs == NULL) { in hal_jpegd_vdpu1_init()747 JpegHalCtx->regs = mpp_calloc_size(void, sizeof(JpegdIocRegInfo)); in hal_jpegd_vdpu1_init()748 if (JpegHalCtx->regs == NULL) { in hal_jpegd_vdpu1_init()755 JpegdIocRegInfo *info = (JpegdIocRegInfo *)JpegHalCtx->regs; in hal_jpegd_vdpu1_init()[all …]
723 JpegdHalCtx *JpegHalCtx = (JpegdHalCtx *)hal; in hal_jpegd_vdpu2_init() local725 mpp_assert(JpegHalCtx); in hal_jpegd_vdpu2_init()729 JpegHalCtx->dec_cb = cfg->dec_cb; in hal_jpegd_vdpu2_init()730 JpegHalCtx->packet_slots = cfg->packet_slots; in hal_jpegd_vdpu2_init()731 JpegHalCtx->frame_slots = cfg->frame_slots; in hal_jpegd_vdpu2_init()732 JpegHalCtx->have_pp = cfg->hw_info->cap_jpg_pp_out; in hal_jpegd_vdpu2_init()742 JpegHalCtx->regs = (void *)info; in hal_jpegd_vdpu2_init()745 if (JpegHalCtx->group == NULL) { in hal_jpegd_vdpu2_init()746 ret = mpp_buffer_group_get_internal(&JpegHalCtx->group, in hal_jpegd_vdpu2_init()754 ret = mpp_buffer_get(JpegHalCtx->group, &JpegHalCtx->pTableBase, in hal_jpegd_vdpu2_init()[all …]
801 JpegdHalCtx *JpegHalCtx = (JpegdHalCtx *)hal; in hal_jpegd_rkv_control() local803 if (NULL == JpegHalCtx) { in hal_jpegd_rkv_control()845 JpegHalCtx->output_fmt = output_fmt; in hal_jpegd_rkv_control()846 JpegHalCtx->set_output_fmt_flag = 1; in hal_jpegd_rkv_control()847 jpegd_dbg_hal("output_format: 0x%x\n", JpegHalCtx->output_fmt); in hal_jpegd_rkv_control()