Home
last modified time | relevance | path

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

/linux/drivers/media/platform/rockchip/rkvdec/
H A Drkvdec-vdpu381-hevc.c127 struct rkvdec_hevc_ctx *hevc_ctx = ctx->priv; in assemble_hw_pps() local
130 struct rkvdec_hevc_priv_tbl *priv_tbl = hevc_ctx->priv_tbl.cpu; in assemble_hw_pps()
360 struct rkvdec_hevc_ctx *hevc_ctx = ctx->priv; in rkvdec_write_regs() local
363 &hevc_ctx->regs.common, in rkvdec_write_regs()
364 sizeof(hevc_ctx->regs.common)); in rkvdec_write_regs()
366 &hevc_ctx->regs.hevc_param, in rkvdec_write_regs()
367 sizeof(hevc_ctx->regs.hevc_param)); in rkvdec_write_regs()
369 &hevc_ctx->regs.common_addr, in rkvdec_write_regs()
370 sizeof(hevc_ctx->regs.common_addr)); in rkvdec_write_regs()
372 &hevc_ctx->regs.hevc_addr, in rkvdec_write_regs()
[all …]
H A Drkvdec-hevc.c143 struct rkvdec_hevc_ctx *hevc_ctx = ctx->priv; in assemble_hw_pps() local
146 struct rkvdec_hevc_priv_tbl *priv_tbl = hevc_ctx->priv_tbl.cpu; in assemble_hw_pps()
289 scaling_list_address = hevc_ctx->priv_tbl.dma + scaling_distance; in assemble_hw_pps()
318 struct rkvdec_hevc_ctx *hevc_ctx = ctx->priv; in assemble_sw_rps() local
319 struct rkvdec_hevc_priv_tbl *priv_tbl = hevc_ctx->priv_tbl.cpu; in assemble_sw_rps()
410 struct rkvdec_hevc_ctx *hevc_ctx = ctx->priv; in config_registers() local
411 struct rkvdec_regs *regs = &hevc_ctx->regs; in config_registers()
412 dma_addr_t priv_start_addr = hevc_ctx->priv_tbl.dma; in config_registers()
529 struct rkvdec_hevc_ctx *hevc_ctx; in rkvdec_hevc_start() local
531 hevc_ctx = kzalloc_obj(*hevc_ctx); in rkvdec_hevc_start()
[all …]
H A Drkvdec-vdpu383-hevc.c549 struct rkvdec_hevc_ctx *hevc_ctx; in rkvdec_hevc_start() local
562 hevc_ctx = kzalloc_obj(*hevc_ctx); in rkvdec_hevc_start()
563 if (!hevc_ctx) in rkvdec_hevc_start()
567 &hevc_ctx->priv_tbl.dma, GFP_KERNEL); in rkvdec_hevc_start()
573 hevc_ctx->priv_tbl.size = sizeof(*priv_tbl); in rkvdec_hevc_start()
574 hevc_ctx->priv_tbl.cpu = priv_tbl; in rkvdec_hevc_start()
578 ctx->priv = hevc_ctx; in rkvdec_hevc_start()
582 kfree(hevc_ctx); in rkvdec_hevc_start()
588 struct rkvdec_hevc_ctx *hevc_ctx = ctx->priv; in rkvdec_hevc_stop() local
591 dma_free_coherent(rkvdec->dev, hevc_ctx->priv_tbl.size, in rkvdec_hevc_stop()
[all …]
/linux/drivers/media/platform/verisilicon/
H A Dhantro_hevc.c178 struct hantro_hevc_dec_hw_ctx *hevc_ctx = &ctx->hevc_dec; in hantro_hevc_dec_prepare_run() local
179 struct hantro_hevc_dec_ctrls *ctrls = &hevc_ctx->ctrls; in hantro_hevc_dec_prepare_run()