Home
last modified time | relevance | path

Searched refs:hevc_dec (Results 1 – 5 of 5) 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.c14 const struct hantro_hevc_dec_ctrls *ctrls = &ctx->hevc_dec.ctrls; in prepare_tile_info_buffer()
17 u16 *p = (u16 *)((u8 *)ctx->hevc_dec.tile_sizes.cpu); in prepare_tile_info_buffer()
108 const struct hantro_hevc_dec_ctrls *ctrls = &ctx->hevc_dec.ctrls; in compute_header_skip_length()
143 const struct hantro_hevc_dec_ctrls *ctrls = &ctx->hevc_dec.ctrls; in set_params()
288 const struct hantro_hevc_dec_ctrls *ctrls = &ctx->hevc_dec.ctrls; in set_ref_pic_list()
365 const struct hantro_hevc_dec_ctrls *ctrls = &ctx->hevc_dec.ctrls; in set_ref()
523 hantro_write_addr(vpu, G2_TILE_SIZES_ADDR, ctx->hevc_dec.tile_sizes.dma); in set_buffers()
524 hantro_write_addr(vpu, G2_TILE_FILTER_ADDR, ctx->hevc_dec.tile_filter.dma); in set_buffers()
525 hantro_write_addr(vpu, G2_TILE_SAO_ADDR, ctx->hevc_dec.tile_sao.dma); in set_buffers()
526 hantro_write_addr(vpu, G2_TILE_BSD_ADDR, ctx->hevc_dec.tile_bsd.dma); in set_buffers()
[all …]
H A Dhantro_g2.c62 const struct hantro_hevc_dec_ctrls *ctrls = &ctx->hevc_dec.ctrls; in hantro_g2_mv_size()
H A Dhantro.h272 struct hantro_hevc_dec_hw_ctx hevc_dec; member
H A Dhantro_postproc.c219 if (ctx->hevc_dec.use_compression) in hantro_postproc_buffer_size()