Home
last modified time | relevance | path

Searched refs:dec_ctx (Results 1 – 2 of 2) sorted by relevance

/rockchip-linux_mpp/test/
H A Dmpi_dec_multi_test.c385 MpiDecMultiCtx *dec_ctx = &info->ctx; in multi_dec_decode() local
411 dec_ctx->fp_output = fopen(cmd->file_output, "w+b"); in multi_dec_decode()
412 if (NULL == dec_ctx->fp_output) { in multi_dec_decode()
418 ret = dec_buf_mgr_init(&dec_ctx->buf_mgr); in multi_dec_decode()
440dec_ctx->frm_grp = dec_buf_mgr_setup(dec_ctx->buf_mgr, hor_stride * ver_stride * 2, 4, cmd->buf_mo… in multi_dec_decode()
441 if (!dec_ctx->frm_grp) { in multi_dec_decode()
454 ret = mpp_buffer_get(dec_ctx->frm_grp, &frm_buf, hor_stride * ver_stride * 2); in multi_dec_decode()
504 dec_ctx->cmd = cmd; in multi_dec_decode()
505 dec_ctx->ctx = ctx; in multi_dec_decode()
506 dec_ctx->mpi = mpi; in multi_dec_decode()
[all …]
H A Dmpi_rc2_test.c585 MppCtx dec_ctx = NULL; in mpi_rc_post_dec_init() local
598 dec_ctx = ctx->dec_ctx_post; in mpi_rc_post_dec_init()
607 ret = dec_mpi->control(dec_ctx, MPP_DEC_SET_PARSER_SPLIT_MODE, &need_split); in mpi_rc_post_dec_init()
612 ret = dec_mpi->control(dec_ctx, MPP_SET_INPUT_TIMEOUT, (MppParam)&block); in mpi_rc_post_dec_init()
619 ret = dec_mpi->control(dec_ctx, MPP_SET_OUTPUT_TIMEOUT, (MppParam)&block); in mpi_rc_post_dec_init()
625 ret = mpp_init(dec_ctx, MPP_CTX_DEC, enc_cmd->type); in mpi_rc_post_dec_init()
708 MppCtx dec_ctx = NULL; in mpi_rc_pre_dec_init() local
727 dec_ctx = ctx->dec_ctx_pre; in mpi_rc_pre_dec_init()
735 ret = dec_mpi->control(dec_ctx, MPP_DEC_SET_PARSER_SPLIT_MODE, &need_split); in mpi_rc_pre_dec_init()
741 ret = dec_mpi->control(dec_ctx, MPP_DEC_SET_PARSER_FAST_MODE, &fast_en); in mpi_rc_pre_dec_init()
[all …]