Searched refs:priv_tbl (Results 1 – 7 of 7) sorted by relevance
| /linux/drivers/media/platform/rockchip/rkvdec/ |
| H A D | rkvdec-h264.c | 82 struct rkvdec_aux_buf priv_tbl; 95 struct rkvdec_h264_priv_tbl *priv_tbl = h264_ctx->priv_tbl.cpu; in set_ps_field() 107 hw_ps = &priv_tbl->param_set[pps->pic_parameter_set_id]; 177 scaling_list_address = h264_ctx->priv_tbl.dma + scaling_distance; in assemble_hw_pps() 235 dma_addr_t priv_start_addr = h264_ctx->priv_tbl.dma; in set_poc_reg() 343 struct rkvdec_h264_priv_tbl *priv_tbl; in config_registers() 361 priv_tbl = dma_alloc_coherent(rkvdec->dev, sizeof(*priv_tbl), in rkvdec_h264_start() 362 &h264_ctx->priv_tbl in rkvdec_h264_start() 89 struct rkvdec_aux_buf priv_tbl; global() member 116 struct rkvdec_h264_priv_tbl *priv_tbl = h264_ctx->priv_tbl.cpu; assemble_hw_pps() local 364 struct rkvdec_h264_priv_tbl *priv_tbl; rkvdec_h264_start() local [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 | 114 struct rkvdec_aux_buf priv_tbl; 125 struct rkvdec_hevc_priv_tbl *priv_tbl = hevc_ctx->priv_tbl.cpu; 138 hw_ps = &priv_tbl->param_set[pps->pic_parameter_set_id]; in set_ps_field() 268 scaling_list_address = hevc_ctx->priv_tbl.dma + scaling_distance; in assemble_hw_pps() 298 struct rkvdec_hevc_priv_tbl *priv_tbl = hevc_ctx->priv_tbl.cpu; 334 hw_ps = &priv_tbl->rps[j]; in assemble_sw_rps() 391 dma_addr_t priv_start_addr = hevc_ctx->priv_tbl.dma; in assemble_sw_rps() 507 struct rkvdec_hevc_priv_tbl *priv_tbl; in rkvdec_hevc_validate_sps() 121 struct rkvdec_aux_buf priv_tbl; global() member 146 struct rkvdec_hevc_priv_tbl *priv_tbl = hevc_ctx->priv_tbl.cpu; assemble_hw_pps() local 319 struct rkvdec_hevc_priv_tbl *priv_tbl = hevc_ctx->priv_tbl.cpu; assemble_sw_rps() local 528 struct rkvdec_hevc_priv_tbl *priv_tbl; rkvdec_hevc_start() local [all...] |
| H A D | rkvdec-vdpu383-h264.c | 87 struct rkvdec_aux_buf priv_tbl; 100 struct rkvdec_h264_priv_tbl *priv_tbl = h264_ctx->priv_tbl.cpu; 111 hw_ps = &priv_tbl->param_set[pps->pic_parameter_set_id]; 241 dma_addr_t priv_start_addr = h264_ctx->priv_tbl.dma; in assemble_hw_pps() 365 struct rkvdec_h264_priv_tbl *priv_tbl; in config_registers() 383 priv_tbl = dma_alloc_coherent(rkvdec->dev, sizeof(*priv_tbl), in config_registers() 384 &h264_ctx->priv_tbl.dma, GFP_KERNEL); in config_registers() 385 if (!priv_tbl) { in config_registers() 128 struct rkvdec_aux_buf priv_tbl; global() member 202 struct rkvdec_h264_priv_tbl *priv_tbl = h264_ctx->priv_tbl.cpu; assemble_hw_pps() local 440 struct rkvdec_h264_priv_tbl *priv_tbl; rkvdec_h264_start() local [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 | 125 struct rkvdec_aux_buf priv_tbl; 138 struct rkvdec_hevc_priv_tbl *priv_tbl = h264_ctx->priv_tbl.cpu; 156 hw_ps = &priv_tbl->param_set; 349 dma_addr_t priv_start_addr = h265_ctx->priv_tbl.dma; in assemble_hw_pps() 490 struct rkvdec_hevc_priv_tbl *priv_tbl; in config_registers() 508 priv_tbl = dma_alloc_coherent(rkvdec->dev, sizeof(*priv_tbl), in config_registers() 509 &hevc_ctx->priv_tbl.dma, GFP_KERNEL); in config_registers() 510 if (!priv_tbl) { in config_registers() 168 struct rkvdec_aux_buf priv_tbl; global() member 226 struct rkvdec_hevc_priv_tbl *priv_tbl = h264_ctx->priv_tbl.cpu; assemble_hw_pps() local 548 struct rkvdec_hevc_priv_tbl *priv_tbl; rkvdec_hevc_start() local [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 …]
|