Home
last modified time | relevance | path

Searched refs:hevc_dec (Results 1 – 1 of 1) 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 …]