Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/media/platform/verisilicon/
Dhantro_hevc.c30 struct hantro_hevc_dec_hw_ctx *hevc_dec = &ctx->hevc_dec; in hantro_hevc_ref_init() local
32 hevc_dec->ref_bufs_used = 0; in hantro_hevc_ref_init()
38 struct hantro_hevc_dec_hw_ctx *hevc_dec = &ctx->hevc_dec; in hantro_hevc_get_ref_buf() local
43 if (hevc_dec->ref_bufs_poc[i] == poc) { in hantro_hevc_get_ref_buf()
44 hevc_dec->ref_bufs_used |= 1 << i; in hantro_hevc_get_ref_buf()
45 return hevc_dec->ref_bufs[i].dma; in hantro_hevc_get_ref_buf()
54 struct hantro_hevc_dec_hw_ctx *hevc_dec = &ctx->hevc_dec; in hantro_hevc_add_ref_buf() local
59 if (!(hevc_dec->ref_bufs_used & 1 << i)) { in hantro_hevc_add_ref_buf()
60 hevc_dec->ref_bufs_used |= 1 << i; in hantro_hevc_add_ref_buf()
61 hevc_dec->ref_bufs_poc[i] = poc; in hantro_hevc_add_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 compute_header_skip_length()
157 const struct hantro_hevc_dec_ctrls *ctrls = &ctx->hevc_dec.ctrls; in set_params()
302 const struct hantro_hevc_dec_ctrls *ctrls = &ctx->hevc_dec.ctrls; in set_ref_pic_list()
379 const struct hantro_hevc_dec_ctrls *ctrls = &ctx->hevc_dec.ctrls; in set_ref()
522 hantro_write_addr(vpu, G2_TILE_SIZES_ADDR, ctx->hevc_dec.tile_sizes.dma); in set_buffers()
523 hantro_write_addr(vpu, G2_TILE_FILTER_ADDR, ctx->hevc_dec.tile_filter.dma); in set_buffers()
524 hantro_write_addr(vpu, G2_TILE_SAO_ADDR, ctx->hevc_dec.tile_sao.dma); in set_buffers()
525 hantro_write_addr(vpu, G2_TILE_BSD_ADDR, ctx->hevc_dec.tile_bsd.dma); in set_buffers()
[all …]
Dhantro.h273 struct hantro_hevc_dec_hw_ctx hevc_dec; member