/openbmc/linux/drivers/media/v4l2-core/ |
H A D | v4l2-vp9.c | 1214 u8 *p = probs[l][m]; in update_coeff() 1246 probs->skip[i] = update_prob(deltas->skip[i], probs->skip[i]); in update_skip_probs() 1370 p = probs->mv.sign; in update_mv_probs() 1397 p = probs->mv.fr[i]; in update_mv_probs() 1407 p = probs->mv.hp; in update_mv_probs() 1778 probs->single_ref[i][j] = adapt_prob(probs->single_ref[i][j], in v4l2_vp9_adapt_noncoef_probs() 1794 probs->skip[i] = adapt_prob(probs->skip[i], (*counts->skip)[i]); in v4l2_vp9_adapt_noncoef_probs() 1810 probs->mv.sign[i] = adapt_prob(probs->mv.sign[i], (*counts->sign)[i]); in v4l2_vp9_adapt_noncoef_probs() 1817 probs->mv.bits[i][j] = adapt_prob(probs->mv.bits[i][j], in v4l2_vp9_adapt_noncoef_probs() 1829 probs->mv.class0_hp[i] = adapt_prob(probs->mv.class0_hp[i], in v4l2_vp9_adapt_noncoef_probs() [all …]
|
/openbmc/u-boot/lib/lzma/ |
H A D | LzmaDec.c | 30 #define TREE_GET_BIT(probs, i) { GET_BIT((probs + i), i); } argument 37 #define TREE_6_DECODE(probs, i) TREE_DECODE(probs, (1 << 6), i) argument 41 TREE_GET_BIT(probs, i); \ 42 TREE_GET_BIT(probs, i); \ 43 TREE_GET_BIT(probs, i); \ 44 TREE_GET_BIT(probs, i); \ 45 TREE_GET_BIT(probs, i); \ 136 CLzmaProb *probs = p->probs; in LzmaDec_DecodeReal() local 518 CLzmaProb *probs = p->probs; in LzmaDec_TryDummy() local 737 CLzmaProb *probs = p->probs; in LzmaDec_InitStateReal() local [all …]
|
H A D | LzmaDec.h | 49 CLzmaProb *probs; member 67 #define LzmaDec_Construct(p) { (p)->dic = 0; (p)->probs = 0; }
|
/openbmc/linux/drivers/staging/media/rkvdec/ |
H A D | rkvdec-vp9.c | 93 struct rkvdec_vp9_probs probs; member 198 rkprobs = &tbl->probs.intra_only; in init_intra_only_probs() 199 probs = &vp9_ctx->probability_tables; in init_intra_only_probs() 248 rkprobs = &tbl->probs.inter; in init_inter_probs() 249 probs = &vp9_ctx->probability_tables; in init_inter_probs() 292 memcpy(rkprobs->mv.sign, probs->mv.sign, in init_inter_probs() 302 memcpy(rkprobs->mv.fr, probs->mv.fr, in init_inter_probs() 306 memcpy(rkprobs->mv.hp, probs->mv.hp, in init_inter_probs() 322 probs = &vp9_ctx->probability_tables; in init_probs() 887 copy_tx_and_skip(tx_skip, probs); in rkvdec_vp9_done() [all …]
|
/openbmc/linux/drivers/media/platform/verisilicon/ |
H A D | hantro_g2_vp9_dec.c | 641 probs->coef[i][j][k][l][m], \ 682 adaptive = &all_probs->probs; in config_probs() 686 ARRAY_SIZE(probs->inter_mode[i])); in config_probs() 704 memcpy(adaptive->y_mode[i], probs->y_mode[i], in config_probs() 719 sizeof(probs->partition[i])); in config_probs() 736 memcpy(mv->fr, probs->mv.fr, sizeof(mv->fr)); in config_probs() 738 memcpy(mv->hp, probs->mv.hp, sizeof(mv->hp)); in config_probs() 968 copy_tx_and_skip(tx_skip, probs); in hantro_g2_vp9_dec_done() 971 *probs = vp9_ctx->frame_context[fctx_idx]; in hantro_g2_vp9_dec_done() 975 copy_tx_and_skip(probs, tx_skip); in hantro_g2_vp9_dec_done() [all …]
|
H A D | hantro_vp9.h | 64 struct hantro_g2_probs probs; member
|
/openbmc/linux/lib/xz/ |
H A D | xz_dec_lzma2.c | 557 if (rc_bit(rc, &probs[symbol])) in rc_bittree() 568 uint16_t *probs, in rc_bittree_reverse() argument 615 uint16_t *probs; in lzma_literal() local 622 probs = lzma_literal_probs(s); in lzma_literal() 654 uint16_t *probs; in lzma_len() local 658 probs = l->low[pos_state]; in lzma_len() 663 probs = l->mid[pos_state]; in lzma_len() 667 probs = l->high; in lzma_len() 680 uint16_t *probs; in lzma_match() local 801 uint16_t *probs; in lzma_reset() local [all …]
|
/openbmc/linux/include/media/ |
H A D | v4l2-vp9.h | 163 void v4l2_vp9_fw_update_probs(struct v4l2_vp9_frame_context *probs, 193 void v4l2_vp9_adapt_coef_probs(struct v4l2_vp9_frame_context *probs, 214 void v4l2_vp9_adapt_noncoef_probs(struct v4l2_vp9_frame_context *probs,
|
/openbmc/linux/drivers/media/test-drivers/visl/ |
H A D | visl-dec.h | 28 const struct v4l2_ctrl_vp9_compressed_hdr *probs; member
|
H A D | visl-dec.c | 380 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()
|
/openbmc/linux/drivers/media/platform/mediatek/vcodec/decoder/vdec/ |
H A D | vdec_vp9_req_lat_if.c | 38 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()
|