Home
last modified time | relevance | path

Searched refs:vp9_ctx (Results 1 – 3 of 3) sorted by relevance

/linux-6.6.21/drivers/staging/media/rkvdec/
Drkvdec-vp9.c192 struct rkvdec_vp9_ctx *vp9_ctx = ctx->priv; in init_intra_only_probs() local
193 struct rkvdec_vp9_priv_tbl *tbl = vp9_ctx->priv_tbl.cpu; in init_intra_only_probs()
199 probs = &vp9_ctx->probability_tables; in init_intra_only_probs()
242 struct rkvdec_vp9_ctx *vp9_ctx = ctx->priv; in init_inter_probs() local
243 struct rkvdec_vp9_priv_tbl *tbl = vp9_ctx->priv_tbl.cpu; in init_inter_probs()
249 probs = &vp9_ctx->probability_tables; in init_inter_probs()
314 struct rkvdec_vp9_ctx *vp9_ctx = ctx->priv; in init_probs() local
315 struct rkvdec_vp9_priv_tbl *tbl = vp9_ctx->priv_tbl.cpu; in init_probs()
322 probs = &vp9_ctx->probability_tables; in init_probs()
450 struct rkvdec_vp9_ctx *vp9_ctx = ctx->priv; in config_seg_registers() local
[all …]
/linux-6.6.21/drivers/media/platform/verisilicon/
Dhantro_vp9.c107 for (m = 0; m < ARRAY_SIZE(vp9_ctx->cnts.coeff[i][0][0][0]); ++m) { \
108 vp9_ctx->cnts.coeff[i][j][k][l][m] = \
110 vp9_ctx->cnts.eob[i][j][k][l][m][0] = \
112 vp9_ctx->cnts.eob[i][j][k][l][m][1] = \
119 struct hantro_vp9_dec_hw_ctx *vp9_ctx = &ctx->vp9_dec; in init_v4l2_vp9_count_tbl() local
120 struct symbol_counts *cnts = vp9_ctx->misc.cpu + vp9_ctx->ctx_counters_offset; in init_v4l2_vp9_count_tbl()
123 vp9_ctx->cnts.partition = &cnts->partition_counts; in init_v4l2_vp9_count_tbl()
124 vp9_ctx->cnts.skip = &cnts->mbskip_count; in init_v4l2_vp9_count_tbl()
125 vp9_ctx->cnts.intra_inter = &cnts->intra_inter_count; in init_v4l2_vp9_count_tbl()
126 vp9_ctx->cnts.tx32p = &cnts->tx32x32_count; in init_v4l2_vp9_count_tbl()
[all …]
Dhantro_g2_vp9_dec.c32 struct hantro_vp9_dec_hw_ctx *vp9_ctx = &ctx->vp9_dec; in start_prepare_run() local
48 vp9_ctx->cur.tx_mode = prob_updates->tx_mode; in start_prepare_run()
68 fctx_idx = v4l2_vp9_reset_frame_ctx(*dec_params, vp9_ctx->frame_context); in start_prepare_run()
69 vp9_ctx->cur.frame_context_idx = fctx_idx; in start_prepare_run()
72 vp9_ctx->probability_tables = vp9_ctx->frame_context[fctx_idx]; in start_prepare_run()
88 v4l2_vp9_fw_update_probs(&vp9_ctx->probability_tables, prob_updates, *dec_params); in start_prepare_run()
135 static void update_ctx_cur_info(struct hantro_vp9_dec_hw_ctx *vp9_ctx, in update_ctx_cur_info() argument
139 vp9_ctx->cur.valid = true; in update_ctx_cur_info()
140 vp9_ctx->cur.reference_mode = dec_params->reference_mode; in update_ctx_cur_info()
141 vp9_ctx->cur.interpolation_filter = dec_params->interpolation_filter; in update_ctx_cur_info()
[all …]