Lines Matching refs:cdfs
4211 struct av1cdfs *cdfs = (struct av1cdfs *)ptr; in rockchip_av1_default_coeff_probs() local
4214 memcpy(cdfs->txb_skip_cdf, av1_default_txb_skip_cdfs[index], in rockchip_av1_default_coeff_probs()
4216 memcpy(cdfs->eob_extra_cdf, av1_default_eob_extra_cdfs[index], in rockchip_av1_default_coeff_probs()
4218 memcpy(cdfs->dc_sign_cdf, av1_default_dc_sign_cdfs[index], in rockchip_av1_default_coeff_probs()
4220 memcpy(cdfs->coeff_br_cdf, av1_default_coeff_lps_multi_cdfs[index], in rockchip_av1_default_coeff_probs()
4222 memcpy(cdfs->coeff_base_cdf, av1_default_coeff_base_multi_cdfs[index], in rockchip_av1_default_coeff_probs()
4224 memcpy(cdfs->coeff_base_eob_cdf, in rockchip_av1_default_coeff_probs()
4227 memcpy(cdfs->eob_flag_cdf16, av1_default_eob_multi16_cdfs[index], in rockchip_av1_default_coeff_probs()
4229 memcpy(cdfs->eob_flag_cdf32, av1_default_eob_multi32_cdfs[index], in rockchip_av1_default_coeff_probs()
4231 memcpy(cdfs->eob_flag_cdf64, av1_default_eob_multi64_cdfs[index], in rockchip_av1_default_coeff_probs()
4233 memcpy(cdfs->eob_flag_cdf128, av1_default_eob_multi128_cdfs[index], in rockchip_av1_default_coeff_probs()
4235 memcpy(cdfs->eob_flag_cdf256, av1_default_eob_multi256_cdfs[index], in rockchip_av1_default_coeff_probs()
4237 memcpy(cdfs->eob_flag_cdf512, av1_default_eob_multi512_cdfs[index], in rockchip_av1_default_coeff_probs()
4239 memcpy(cdfs->eob_flag_cdf1024, av1_default_eob_multi1024_cdfs[index], in rockchip_av1_default_coeff_probs()
4243 void rockchip_av1_set_default_cdfs(struct av1cdfs *cdfs, in rockchip_av1_set_default_cdfs() argument
4246 memcpy(cdfs->partition_cdf, default_partition_cdf, in rockchip_av1_set_default_cdfs()
4247 sizeof(cdfs->partition_cdf)); in rockchip_av1_set_default_cdfs()
4249 memcpy(cdfs->tx_type_intra0_cdf, default_intra_ext_tx0_cdf, in rockchip_av1_set_default_cdfs()
4250 sizeof(cdfs->tx_type_intra0_cdf)); in rockchip_av1_set_default_cdfs()
4251 memcpy(cdfs->tx_type_intra1_cdf, default_intra_ext_tx1_cdf, in rockchip_av1_set_default_cdfs()
4252 sizeof(cdfs->tx_type_intra1_cdf)); in rockchip_av1_set_default_cdfs()
4253 memcpy(cdfs->tx_type_inter_cdf, default_inter_ext_tx_cdf, in rockchip_av1_set_default_cdfs()
4254 sizeof(cdfs->tx_type_inter_cdf)); in rockchip_av1_set_default_cdfs()
4256 memcpy(cdfs->vartx_part_cdf, default_txfm_partition_cdf, in rockchip_av1_set_default_cdfs()
4257 sizeof(cdfs->vartx_part_cdf)); in rockchip_av1_set_default_cdfs()
4258 memcpy(cdfs->mbskip_cdf, default_skip_cdfs, sizeof(cdfs->mbskip_cdf)); in rockchip_av1_set_default_cdfs()
4259 memcpy(cdfs->delta_q_cdf, default_delta_q_cdf, in rockchip_av1_set_default_cdfs()
4260 sizeof(cdfs->delta_q_cdf)); in rockchip_av1_set_default_cdfs()
4261 memcpy(cdfs->delta_lf_multi_cdf, default_delta_lf_multi_cdf, in rockchip_av1_set_default_cdfs()
4262 sizeof(cdfs->delta_lf_multi_cdf)); in rockchip_av1_set_default_cdfs()
4263 memcpy(cdfs->delta_lf_cdf, default_delta_lf_cdf, in rockchip_av1_set_default_cdfs()
4264 sizeof(cdfs->delta_lf_cdf)); in rockchip_av1_set_default_cdfs()
4266 memcpy(cdfs->segment_pred_cdf, default_segment_pred_cdf, in rockchip_av1_set_default_cdfs()
4267 sizeof(cdfs->segment_pred_cdf)); in rockchip_av1_set_default_cdfs()
4269 memcpy(cdfs->spatial_pred_seg_tree_cdf, in rockchip_av1_set_default_cdfs()
4271 sizeof(cdfs->spatial_pred_seg_tree_cdf)); in rockchip_av1_set_default_cdfs()
4273 memcpy(cdfs->skip_mode_cdf, default_skip_mode_cdfs, in rockchip_av1_set_default_cdfs()
4274 sizeof(cdfs->skip_mode_cdf)); in rockchip_av1_set_default_cdfs()
4276 memcpy(cdfs->tx_size_cdf, default_tx_size_cdf, in rockchip_av1_set_default_cdfs()
4277 sizeof(cdfs->tx_size_cdf)); in rockchip_av1_set_default_cdfs()
4279 memcpy(cdfs->kf_ymode_cdf, default_kf_y_mode_cdf, in rockchip_av1_set_default_cdfs()
4280 sizeof(cdfs->kf_ymode_cdf)); in rockchip_av1_set_default_cdfs()
4281 memcpy(cdfs->uv_mode_cdf, default_uv_mode_cdf, in rockchip_av1_set_default_cdfs()
4282 sizeof(cdfs->uv_mode_cdf)); in rockchip_av1_set_default_cdfs()
4283 memcpy(cdfs->if_ymode_cdf, default_if_y_mode_cdf, in rockchip_av1_set_default_cdfs()
4284 sizeof(cdfs->if_ymode_cdf)); in rockchip_av1_set_default_cdfs()
4286 memcpy(cdfs->intra_inter_cdf, default_intra_inter_cdf, in rockchip_av1_set_default_cdfs()
4287 sizeof(cdfs->intra_inter_cdf)); in rockchip_av1_set_default_cdfs()
4289 memcpy(cdfs->comp_ref_cdf, default_comp_ref_cdf, in rockchip_av1_set_default_cdfs()
4290 sizeof(cdfs->comp_ref_cdf)); in rockchip_av1_set_default_cdfs()
4291 memcpy(cdfs->comp_bwdref_cdf, default_comp_bwdref_cdf, in rockchip_av1_set_default_cdfs()
4292 sizeof(cdfs->comp_bwdref_cdf)); in rockchip_av1_set_default_cdfs()
4294 memcpy(cdfs->comp_inter_cdf, default_comp_inter_cdf, in rockchip_av1_set_default_cdfs()
4295 sizeof(cdfs->comp_inter_cdf)); in rockchip_av1_set_default_cdfs()
4297 memcpy(cdfs->single_ref_cdf, default_single_ref_cdf, in rockchip_av1_set_default_cdfs()
4298 sizeof(cdfs->single_ref_cdf)); in rockchip_av1_set_default_cdfs()
4299 memcpy(cdfs->comp_ref_type_cdf, default_comp_ref_type_cdf, in rockchip_av1_set_default_cdfs()
4300 sizeof(cdfs->comp_ref_type_cdf)); in rockchip_av1_set_default_cdfs()
4301 memcpy(cdfs->uni_comp_ref_cdf, default_uni_comp_ref_cdf, in rockchip_av1_set_default_cdfs()
4302 sizeof(cdfs->uni_comp_ref_cdf)); in rockchip_av1_set_default_cdfs()
4304 memcpy(cdfs->newmv_cdf, default_newmv_cdf, sizeof(cdfs->newmv_cdf)); in rockchip_av1_set_default_cdfs()
4305 memcpy(cdfs->zeromv_cdf, default_zeromv_cdf, sizeof(cdfs->zeromv_cdf)); in rockchip_av1_set_default_cdfs()
4306 memcpy(cdfs->refmv_cdf, default_refmv_cdf, sizeof(cdfs->refmv_cdf)); in rockchip_av1_set_default_cdfs()
4307 memcpy(cdfs->drl_cdf, default_drl_cdf, sizeof(cdfs->drl_cdf)); in rockchip_av1_set_default_cdfs()
4309 memcpy(cdfs->interp_filter_cdf, default_switchable_interp_cdf, in rockchip_av1_set_default_cdfs()
4310 sizeof(cdfs->interp_filter_cdf)); in rockchip_av1_set_default_cdfs()
4313 memcpy(cdfs->mv_cdf.joint_cdf, default_joint_cdf, in rockchip_av1_set_default_cdfs()
4314 sizeof(cdfs->mv_cdf.joint_cdf)); in rockchip_av1_set_default_cdfs()
4315 memcpy(cdfs->mv_cdf.sign_cdf, default_sign_cdf, in rockchip_av1_set_default_cdfs()
4316 sizeof(cdfs->mv_cdf.sign_cdf)); in rockchip_av1_set_default_cdfs()
4317 memcpy(cdfs->mv_cdf.clsss_cdf, default_clsss_cdf, in rockchip_av1_set_default_cdfs()
4318 sizeof(cdfs->mv_cdf.clsss_cdf)); in rockchip_av1_set_default_cdfs()
4319 memcpy(cdfs->mv_cdf.clsss0_fp_cdf, default_clsss0_fp_cdf, in rockchip_av1_set_default_cdfs()
4320 sizeof(cdfs->mv_cdf.clsss0_fp_cdf)); in rockchip_av1_set_default_cdfs()
4321 memcpy(cdfs->mv_cdf.fp_cdf, default_fp_cdf, in rockchip_av1_set_default_cdfs()
4322 sizeof(cdfs->mv_cdf.fp_cdf)); in rockchip_av1_set_default_cdfs()
4323 memcpy(cdfs->mv_cdf.class0_hp_cdf, default_class0_hp_cdf, in rockchip_av1_set_default_cdfs()
4324 sizeof(cdfs->mv_cdf.class0_hp_cdf)); in rockchip_av1_set_default_cdfs()
4325 memcpy(cdfs->mv_cdf.hp_cdf, default_hp_cdf, in rockchip_av1_set_default_cdfs()
4326 sizeof(cdfs->mv_cdf.hp_cdf)); in rockchip_av1_set_default_cdfs()
4327 memcpy(cdfs->mv_cdf.class0_cdf, default_class0_cdf, in rockchip_av1_set_default_cdfs()
4328 sizeof(cdfs->mv_cdf.class0_cdf)); in rockchip_av1_set_default_cdfs()
4329 memcpy(cdfs->mv_cdf.bits_cdf, default_bits_cdf, in rockchip_av1_set_default_cdfs()
4330 sizeof(cdfs->mv_cdf.bits_cdf)); in rockchip_av1_set_default_cdfs()
4350 memcpy(cdfs->obmc_cdf, default_obmc_cdf, sizeof(cdfs->obmc_cdf)); in rockchip_av1_set_default_cdfs()
4351 memcpy(cdfs->motion_mode_cdf, default_motion_mode_cdf, in rockchip_av1_set_default_cdfs()
4352 sizeof(cdfs->motion_mode_cdf)); in rockchip_av1_set_default_cdfs()
4354 memcpy(cdfs->inter_compound_mode_cdf, default_inter_compound_mode_cdf, in rockchip_av1_set_default_cdfs()
4355 sizeof(cdfs->inter_compound_mode_cdf)); in rockchip_av1_set_default_cdfs()
4356 memcpy(cdfs->compound_type_cdf, default_compound_type_cdf, in rockchip_av1_set_default_cdfs()
4357 sizeof(cdfs->compound_type_cdf)); in rockchip_av1_set_default_cdfs()
4358 memcpy(cdfs->interintra_cdf, default_interintra_cdf, in rockchip_av1_set_default_cdfs()
4359 sizeof(cdfs->interintra_cdf)); in rockchip_av1_set_default_cdfs()
4360 memcpy(cdfs->interintra_mode_cdf, default_interintra_mode_cdf, in rockchip_av1_set_default_cdfs()
4361 sizeof(cdfs->interintra_mode_cdf)); in rockchip_av1_set_default_cdfs()
4362 memcpy(cdfs->wedge_interintra_cdf, default_wedge_interintra_cdf, in rockchip_av1_set_default_cdfs()
4363 sizeof(cdfs->wedge_interintra_cdf)); in rockchip_av1_set_default_cdfs()
4364 memcpy(cdfs->wedge_idx_cdf, default_wedge_idx_cdf, in rockchip_av1_set_default_cdfs()
4365 sizeof(cdfs->wedge_idx_cdf)); in rockchip_av1_set_default_cdfs()
4367 memcpy(cdfs->palette_y_mode_cdf, default_palette_y_mode_cdf, in rockchip_av1_set_default_cdfs()
4368 sizeof(cdfs->palette_y_mode_cdf)); in rockchip_av1_set_default_cdfs()
4369 memcpy(cdfs->palette_uv_mode_cdf, default_palette_uv_mode_cdf, in rockchip_av1_set_default_cdfs()
4370 sizeof(cdfs->palette_uv_mode_cdf)); in rockchip_av1_set_default_cdfs()
4371 memcpy(cdfs->palette_y_size_cdf, default_palette_y_size_cdf, in rockchip_av1_set_default_cdfs()
4372 sizeof(cdfs->palette_y_size_cdf)); in rockchip_av1_set_default_cdfs()
4373 memcpy(cdfs->palette_uv_size_cdf, default_palette_uv_size_cdf, in rockchip_av1_set_default_cdfs()
4374 sizeof(cdfs->palette_uv_size_cdf)); in rockchip_av1_set_default_cdfs()
4375 memcpy(cdfs->palette_y_color_index_cdf, in rockchip_av1_set_default_cdfs()
4377 sizeof(cdfs->palette_y_color_index_cdf)); in rockchip_av1_set_default_cdfs()
4378 memcpy(cdfs->palette_uv_color_index_cdf, in rockchip_av1_set_default_cdfs()
4380 sizeof(cdfs->palette_uv_color_index_cdf)); in rockchip_av1_set_default_cdfs()
4382 memcpy(cdfs->cfl_sign_cdf, default_cfl_sign_cdf, in rockchip_av1_set_default_cdfs()
4383 sizeof(cdfs->cfl_sign_cdf)); in rockchip_av1_set_default_cdfs()
4384 memcpy(cdfs->cfl_alpha_cdf, default_cfl_alpha_cdf, in rockchip_av1_set_default_cdfs()
4385 sizeof(cdfs->cfl_alpha_cdf)); in rockchip_av1_set_default_cdfs()
4387 memcpy(cdfs->intrabc_cdf, default_intrabc_cdf, in rockchip_av1_set_default_cdfs()
4388 sizeof(cdfs->intrabc_cdf)); in rockchip_av1_set_default_cdfs()
4389 memcpy(cdfs->angle_delta_cdf, default_angle_delta_cdf, in rockchip_av1_set_default_cdfs()
4390 sizeof(cdfs->angle_delta_cdf)); in rockchip_av1_set_default_cdfs()
4391 memcpy(cdfs->filter_intra_mode_cdf, default_filter_intra_mode_cdf, in rockchip_av1_set_default_cdfs()
4392 sizeof(cdfs->filter_intra_mode_cdf)); in rockchip_av1_set_default_cdfs()
4393 memcpy(cdfs->filter_intra_cdf, default_filter_intra_cdfs, in rockchip_av1_set_default_cdfs()
4394 sizeof(cdfs->filter_intra_cdf)); in rockchip_av1_set_default_cdfs()
4395 memcpy(cdfs->comp_group_idx_cdf, default_comp_group_idx_cdfs, in rockchip_av1_set_default_cdfs()
4396 sizeof(cdfs->comp_group_idx_cdf)); in rockchip_av1_set_default_cdfs()
4397 memcpy(cdfs->compound_idx_cdf, default_compound_idx_cdfs, in rockchip_av1_set_default_cdfs()
4398 sizeof(cdfs->compound_idx_cdf)); in rockchip_av1_set_default_cdfs()
4405 av1_dec->cdfs = &av1_dec->cdfs_last[ref_idx]; in rockchip_av1_get_cdfs()
4417 if (&av1_dec->cdfs_last[i] != av1_dec->cdfs) { in rockchip_av1_store_cdfs()
4418 av1_dec->cdfs_last[i] = *av1_dec->cdfs; in rockchip_av1_store_cdfs()