Home
last modified time | relevance | path

Searched refs:hevc_dec (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.15/drivers/staging/media/hantro/
Dhantro_hevc.c66 const struct hantro_hevc_dec_ctrls *ctrls = &ctx->hevc_dec.ctrls; in hantro_hevc_ref_size()
74 struct hantro_hevc_dec_hw_ctx *hevc_dec = &ctx->hevc_dec; in hantro_hevc_ref_free() local
79 if (hevc_dec->ref_bufs[i].cpu) in hantro_hevc_ref_free()
80 dma_free_coherent(vpu->dev, hevc_dec->ref_bufs[i].size, in hantro_hevc_ref_free()
81 hevc_dec->ref_bufs[i].cpu, in hantro_hevc_ref_free()
82 hevc_dec->ref_bufs[i].dma); in hantro_hevc_ref_free()
88 struct hantro_hevc_dec_hw_ctx *hevc_dec = &ctx->hevc_dec; in hantro_hevc_ref_init() local
92 hevc_dec->ref_bufs_poc[i] = UNUSED_REF; in hantro_hevc_ref_init()
98 struct hantro_hevc_dec_hw_ctx *hevc_dec = &ctx->hevc_dec; in hantro_hevc_get_ref_buf() local
103 if (hevc_dec->ref_bufs_poc[i] == poc) { in hantro_hevc_get_ref_buf()
[all …]
Dhantro_g2_hevc_dec.c28 const struct hantro_hevc_dec_ctrls *ctrls = &ctx->hevc_dec.ctrls; in prepare_tile_info_buffer()
31 u16 *p = (u16 *)((u8 *)ctx->hevc_dec.tile_sizes.cpu); in prepare_tile_info_buffer()
122 const struct hantro_hevc_dec_ctrls *ctrls = &ctx->hevc_dec.ctrls; in set_params()
286 const struct hantro_hevc_dec_ctrls *ctrls = &ctx->hevc_dec.ctrls; in set_ref_pic_list()
364 const struct hantro_hevc_dec_ctrls *ctrls = &ctx->hevc_dec.ctrls; in set_ref()
435 ctx->hevc_dec.ref_bufs_used = 0; in set_ref()
488 const struct hantro_hevc_dec_ctrls *ctrls = &ctx->hevc_dec.ctrls; in set_buffers()
513 hantro_write_addr(vpu, G2_ADDR_TILE_SIZE, ctx->hevc_dec.tile_sizes.dma); in set_buffers()
514 hantro_write_addr(vpu, G2_TILE_FILTER, ctx->hevc_dec.tile_filter.dma); in set_buffers()
515 hantro_write_addr(vpu, G2_TILE_SAO, ctx->hevc_dec.tile_sao.dma); in set_buffers()
[all …]
Dhantro.h251 struct hantro_hevc_dec_hw_ctx hevc_dec; member
Dhantro_drv.c304 ctx->hevc_dec.ctrls.hevc_hdr_skip_length = ctrl->val; in hantro_hevc_s_ctrl()