Home
last modified time | relevance | path

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

/linux/drivers/media/platform/verisilicon/
H A Dhantro_hevc.c35 struct hantro_hevc_dec_hw_ctx *hevc_dec = &ctx->hevc_dec; in hantro_hevc_ref_init() local
37 hevc_dec->ref_bufs_used = 0; in hantro_hevc_ref_init()
43 struct hantro_hevc_dec_hw_ctx *hevc_dec = &ctx->hevc_dec; in hantro_hevc_get_ref_buf() local
48 if (hevc_dec->ref_bufs_poc[i] == poc) { in hantro_hevc_get_ref_buf()
49 hevc_dec->ref_bufs_used |= 1 << i; in hantro_hevc_get_ref_buf()
50 return hevc_dec->ref_bufs[i].dma; in hantro_hevc_get_ref_buf()
59 struct hantro_hevc_dec_hw_ctx *hevc_dec = &ctx->hevc_dec; in hantro_hevc_add_ref_buf() local
64 if (!(hevc_dec->ref_bufs_used & 1 << i)) { in hantro_hevc_add_ref_buf()
65 hevc_dec->ref_bufs_used |= 1 << i; in hantro_hevc_add_ref_buf()
66 hevc_dec->ref_bufs_poc[i] = poc; in hantro_hevc_add_ref_buf()
[all …]
H A Dhantro_g2_hevc_dec.c16 const struct hantro_hevc_dec_ctrls *ctrls = &ctx->hevc_dec.ctrls; in prepare_tile_info_buffer()
19 u16 *p = (u16 *)((u8 *)ctx->hevc_dec.tile_sizes.cpu); in prepare_tile_info_buffer()
110 const struct hantro_hevc_dec_ctrls *ctrls = &ctx->hevc_dec.ctrls; in compute_header_skip_length()
145 const struct hantro_hevc_dec_ctrls *ctrls = &ctx->hevc_dec.ctrls; in set_params()
299 const struct hantro_hevc_dec_ctrls *ctrls = &ctx->hevc_dec.ctrls; in set_ref_pic_list()
378 const struct hantro_hevc_dec_ctrls *ctrls = &ctx->hevc_dec.ctrls; in set_ref()
537 hantro_write_addr(vpu, G2_TILE_SIZES_ADDR, ctx->hevc_dec.tile_sizes.dma); in set_buffers()
538 hantro_write_addr(vpu, G2_TILE_FILTER_ADDR, ctx->hevc_dec.tile_filter.dma); in set_buffers()
539 hantro_write_addr(vpu, G2_TILE_SAO_ADDR, ctx->hevc_dec.tile_sao.dma); in set_buffers()
540 hantro_write_addr(vpu, G2_TILE_BSD_ADDR, ctx->hevc_dec.tile_bsd.dma); in set_buffers()
[all …]