Searched refs:priv_tbl (Results 1 – 7 of 7) sorted by relevance
| /linux/drivers/media/platform/rockchip/rkvdec/ |
| H A D | rkvdec-h264.c | 89 struct rkvdec_aux_buf priv_tbl; member 116 struct rkvdec_h264_priv_tbl *priv_tbl = h264_ctx->priv_tbl.cpu; in assemble_hw_pps() local 128 hw_ps = &priv_tbl->param_set[pps->pic_parameter_set_id]; in assemble_hw_pps() 198 scaling_list_address = h264_ctx->priv_tbl.dma + scaling_distance; in assemble_hw_pps() 256 dma_addr_t priv_start_addr = h264_ctx->priv_tbl.dma; in config_registers() 364 struct rkvdec_h264_priv_tbl *priv_tbl; in rkvdec_h264_start() local 382 priv_tbl = dma_alloc_coherent(rkvdec->dev, sizeof(*priv_tbl), in rkvdec_h264_start() 383 &h264_ctx->priv_tbl.dma, GFP_KERNEL); in rkvdec_h264_start() 384 if (!priv_tbl) { in rkvdec_h264_start() 389 h264_ctx->priv_tbl.size = sizeof(*priv_tbl); in rkvdec_h264_start() [all …]
|
| H A D | rkvdec-vdpu381-h264.c | 81 struct rkvdec_aux_buf priv_tbl; member 94 struct rkvdec_h264_priv_tbl *priv_tbl = h264_ctx->priv_tbl.cpu; in assemble_hw_pps() local 106 hw_ps = &priv_tbl->param_set[pps->pic_parameter_set_id]; in assemble_hw_pps() 177 scaling_list_address = h264_ctx->priv_tbl.dma + scaling_distance; in assemble_hw_pps() 214 dma_addr_t priv_start_addr = h264_ctx->priv_tbl.dma; in config_registers() 372 struct rkvdec_h264_priv_tbl *priv_tbl; in rkvdec_h264_start() local 390 priv_tbl = dma_alloc_coherent(rkvdec->dev, sizeof(*priv_tbl), in rkvdec_h264_start() 391 &h264_ctx->priv_tbl.dma, GFP_KERNEL); in rkvdec_h264_start() 392 if (!priv_tbl) { in rkvdec_h264_start() 397 h264_ctx->priv_tbl.size = sizeof(*priv_tbl); in rkvdec_h264_start() [all …]
|
| H A D | rkvdec-hevc.c | 121 struct rkvdec_aux_buf priv_tbl; member 146 struct rkvdec_hevc_priv_tbl *priv_tbl = hevc_ctx->priv_tbl.cpu; in assemble_hw_pps() local 159 hw_ps = &priv_tbl->param_set[pps->pic_parameter_set_id]; in assemble_hw_pps() 289 scaling_list_address = hevc_ctx->priv_tbl.dma + scaling_distance; in assemble_hw_pps() 319 struct rkvdec_hevc_priv_tbl *priv_tbl = hevc_ctx->priv_tbl.cpu; in assemble_sw_rps() local 355 hw_ps = &priv_tbl->rps[j]; in assemble_sw_rps() 412 dma_addr_t priv_start_addr = hevc_ctx->priv_tbl.dma; in config_registers() 528 struct rkvdec_hevc_priv_tbl *priv_tbl; in rkvdec_hevc_start() local 535 priv_tbl = dma_alloc_coherent(rkvdec->dev, sizeof(*priv_tbl), in rkvdec_hevc_start() 536 &hevc_ctx->priv_tbl.dma, GFP_KERNEL); in rkvdec_hevc_start() [all …]
|
| H A D | rkvdec-vdpu383-h264.c | 128 struct rkvdec_aux_buf priv_tbl; member 202 struct rkvdec_h264_priv_tbl *priv_tbl = h264_ctx->priv_tbl.cpu; in assemble_hw_pps() local 212 hw_ps = &priv_tbl->param_set[pps->pic_parameter_set_id]; in assemble_hw_pps() 316 dma_addr_t priv_start_addr = h264_ctx->priv_tbl.dma; in config_registers() 440 struct rkvdec_h264_priv_tbl *priv_tbl; in rkvdec_h264_start() local 458 priv_tbl = dma_alloc_coherent(rkvdec->dev, sizeof(*priv_tbl), in rkvdec_h264_start() 459 &h264_ctx->priv_tbl.dma, GFP_KERNEL); in rkvdec_h264_start() 460 if (!priv_tbl) { in rkvdec_h264_start() 465 h264_ctx->priv_tbl.size = sizeof(*priv_tbl); in rkvdec_h264_start() 466 h264_ctx->priv_tbl.cpu = priv_tbl; in rkvdec_h264_start() [all …]
|
| H A D | rkvdec-vdpu381-hevc.c | 118 struct rkvdec_aux_buf priv_tbl; member 130 struct rkvdec_hevc_priv_tbl *priv_tbl = hevc_ctx->priv_tbl.cpu; in assemble_hw_pps() local 148 hw_ps = &priv_tbl->param_set[pps->pic_parameter_set_id]; in assemble_hw_pps() 386 dma_addr_t priv_start_addr = hevc_ctx->priv_tbl.dma; in config_registers() 540 struct rkvdec_hevc_priv_tbl *priv_tbl; in rkvdec_hevc_start() local 558 priv_tbl = dma_alloc_coherent(rkvdec->dev, sizeof(*priv_tbl), in rkvdec_hevc_start() 559 &hevc_ctx->priv_tbl.dma, GFP_KERNEL); in rkvdec_hevc_start() 560 if (!priv_tbl) { in rkvdec_hevc_start() 565 hevc_ctx->priv_tbl.size = sizeof(*priv_tbl); in rkvdec_hevc_start() 566 hevc_ctx->priv_tbl.cpu = priv_tbl; in rkvdec_hevc_start() [all …]
|
| H A D | rkvdec-vdpu383-hevc.c | 168 struct rkvdec_aux_buf priv_tbl; member 226 struct rkvdec_hevc_priv_tbl *priv_tbl = h264_ctx->priv_tbl.cpu; in assemble_hw_pps() local 244 hw_ps = &priv_tbl->param_set; in assemble_hw_pps() 407 dma_addr_t priv_start_addr = h265_ctx->priv_tbl.dma; in config_registers() 548 struct rkvdec_hevc_priv_tbl *priv_tbl; in rkvdec_hevc_start() local 566 priv_tbl = dma_alloc_coherent(rkvdec->dev, sizeof(*priv_tbl), in rkvdec_hevc_start() 567 &hevc_ctx->priv_tbl.dma, GFP_KERNEL); in rkvdec_hevc_start() 568 if (!priv_tbl) { 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() [all …]
|
| H A D | rkvdec-vp9.c | 158 struct rkvdec_aux_buf priv_tbl; member 194 struct rkvdec_vp9_priv_tbl *tbl = vp9_ctx->priv_tbl.cpu; in init_intra_only_probs() 244 struct rkvdec_vp9_priv_tbl *tbl = vp9_ctx->priv_tbl.cpu; in init_inter_probs() 316 struct rkvdec_vp9_priv_tbl *tbl = vp9_ctx->priv_tbl.cpu; in init_probs() 633 regs->common.cabactbl_base = vp9_ctx->priv_tbl.dma + in config_registers() 638 regs->vp9.segidlast_base = vp9_ctx->priv_tbl.dma + in config_registers() 642 regs->vp9.segidcur_base = vp9_ctx->priv_tbl.dma + in config_registers() 970 struct rkvdec_vp9_priv_tbl *priv_tbl; in rkvdec_vp9_start() local 981 BUILD_BUG_ON(sizeof(priv_tbl->probs) % 16); /* ensure probs size is 128-bit aligned */ in rkvdec_vp9_start() 982 priv_tbl = dma_alloc_coherent(rkvdec->dev, sizeof(*priv_tbl), in rkvdec_vp9_start() [all …]
|