Lines Matching refs:dxva_ctx
242 free_dxva_ctx(&p_Dec->mem->dxva_ctx); in free_dec_ctx()
266 p_Dec->mem->dxva_ctx.p_Dec = p_Dec; in init_dec_ctx()
267 FUN_CHECK(ret = init_dxva_ctx(&p_Dec->mem->dxva_ctx)); in init_dec_ctx()
268 p_Dec->dxva_ctx = &p_Dec->mem->dxva_ctx; in init_dec_ctx()
276 mpp_packet_init(&p_Dec->task_pkt, p_Dec->dxva_ctx->bitstream, p_Dec->dxva_ctx->max_strm_size); in init_dec_ctx()
458 p_Dec->dxva_ctx->strm_offset = 0; in h264d_reset()
459 p_Dec->dxva_ctx->slice_count = 0; in h264d_reset()
599 memset(p_Dec->dxva_ctx->bitstream + p_Dec->dxva_ctx->strm_offset, 0, in h264d_prepare()
600 MPP_ALIGN(p_Dec->dxva_ctx->strm_offset, 16) - p_Dec->dxva_ctx->strm_offset); in h264d_prepare()
601 mpp_packet_set_data(p_Dec->task_pkt, p_Dec->dxva_ctx->bitstream); in h264d_prepare()
602 mpp_packet_set_length(p_Dec->task_pkt, MPP_ALIGN(p_Dec->dxva_ctx->strm_offset, 16)); in h264d_prepare()
603 mpp_packet_set_size(p_Dec->task_pkt, p_Dec->dxva_ctx->max_strm_size); in h264d_prepare()
662 in_task->syntax.number = p_Dec->dxva_ctx->syn.num; in h264d_parse()
663 in_task->syntax.data = (void *)p_Dec->dxva_ctx->syn.buf; in h264d_parse()