Home
last modified time | relevance | path

Searched refs:probs (Results 1 – 7 of 7) sorted by relevance

/drivers/media/v4l2-core/
Dv4l2-vp9.c1184 static void update_tx_probs(struct v4l2_vp9_frame_context *probs, in update_tx_probs() argument
1189 for (i = 0; i < ARRAY_SIZE(probs->tx8); i++) { in update_tx_probs()
1190 u8 *p8x8 = probs->tx8[i]; in update_tx_probs()
1191 u8 *p16x16 = probs->tx16[i]; in update_tx_probs()
1192 u8 *p32x32 = probs->tx32[i]; in update_tx_probs()
1208 static void update_coeff(const u8 deltas[6][6][3], u8 probs[6][6][3]) in update_coeff()
1214 u8 *p = probs[l][m]; in update_coeff()
1223 static void update_coef_probs(struct v4l2_vp9_frame_context *probs, in update_coef_probs() argument
1229 for (i = 0; i < ARRAY_SIZE(probs->coef); i++) { in update_coef_probs()
1230 for (j = 0; j < ARRAY_SIZE(probs->coef[0]); j++) in update_coef_probs()
[all …]
/drivers/staging/media/rkvdec/
Drkvdec-vp9.c93 struct rkvdec_vp9_probs probs; member
195 const struct v4l2_vp9_frame_context *probs; in init_intra_only_probs() local
198 rkprobs = &tbl->probs.intra_only; in init_intra_only_probs()
199 probs = &vp9_ctx->probability_tables; in init_intra_only_probs()
205 for (i = 0; i < ARRAY_SIZE(probs->coef); i++) { in init_intra_only_probs()
206 for (j = 0; j < ARRAY_SIZE(probs->coef[0]); j++) in init_intra_only_probs()
207 write_coeff_plane(probs->coef[i][j][0], in init_intra_only_probs()
245 const struct v4l2_vp9_frame_context *probs; in init_inter_probs() local
248 rkprobs = &tbl->probs.inter; in init_inter_probs()
249 probs = &vp9_ctx->probability_tables; in init_inter_probs()
[all …]
/drivers/media/platform/verisilicon/
Dhantro_g2_vp9_dec.c641 probs->coef[i][j][k][l][m], \
642 sizeof(probs->coef[i][j][k][l][m])); \
656 const struct v4l2_vp9_frame_context *probs = &vp9_ctx->probability_tables; in config_probs() local
682 adaptive = &all_probs->probs; in config_probs()
685 memcpy(adaptive->inter_mode[i], probs->inter_mode[i], in config_probs()
686 ARRAY_SIZE(probs->inter_mode[i])); in config_probs()
691 memcpy(adaptive->is_inter, probs->is_inter, sizeof(adaptive->is_inter)); in config_probs()
694 memcpy(adaptive->uv_mode[i], probs->uv_mode[i], in config_probs()
696 adaptive->uv_mode_tail[i][0] = probs->uv_mode[i][8]; in config_probs()
699 memcpy(adaptive->tx8, probs->tx8, sizeof(adaptive->tx8)); in config_probs()
[all …]
Dhantro_vp9.h64 struct hantro_g2_probs probs; member
/drivers/media/test-drivers/visl/
Dvisl-dec.c380 trace_v4l2_ctrl_vp9_compressed_hdr(run->vp9.probs); in visl_trace_ctrls()
381 trace_v4l2_ctrl_vp9_compressed_coeff(run->vp9.probs); in visl_trace_ctrls()
382 trace_v4l2_vp9_mv_probs(&run->vp9.probs->mv); in visl_trace_ctrls()
455 run.vp9.probs = visl_find_control_data(ctx, V4L2_CID_STATELESS_VP9_COMPRESSED_HDR); in visl_device_run()
Dvisl-dec.h28 const struct v4l2_ctrl_vp9_compressed_hdr *probs; member
/drivers/media/platform/mediatek/vcodec/decoder/vdec/
Dvdec_vp9_req_lat_if.c38 u8 probs[6][3]; member
1318 frame_ctx->coef_probs[i][j][k][l].probs[m], in vdec_vp9_slice_map_to_coef()
1332 memcpy(frame_ctx->coef_probs[i][j][k][l].probs[m], in vdec_vp9_slice_map_from_coef()