Lines Matching refs:ps_data
233 cluster_data_t *ps_data = &ps_cluster_base[i];
235 if(u1_pred_dir == !pu1_refid_to_pred_dir_list[ps_data->ref_id])
237 i4_num_mvs_in_cluster = ps_data->num_mvs;
241 ps_merge_cand[i4_num_cands_added].s_mv.i2_mvx = ps_data->as_mv[j].mvx;
242 ps_merge_cand[i4_num_cands_added].s_mv.i2_mvy = ps_data->as_mv[j].mvy;
243 ps_merge_cand[i4_num_cands_added].i1_ref_idx = ps_data->ref_id;
248 pps_range_prms[ps_data->ref_id],
255 if((ps_merge_cand[k].s_mv.i2_mvx == ps_data->as_mv[j].mvx) &&
256 (ps_merge_cand[k].s_mv.i2_mvy == ps_data->as_mv[j].mvy) &&
257 (ps_merge_cand[k].i1_ref_idx == ps_data->ref_id))
338 part_type_results_t *ps_data = &ps_child_data->ps_best_results[i4_result_id];
345 if(ps_data->as_pu_results->pu.b1_intra_flag)
350 for(j = 0; j <= (ps_data->u1_part_type != PRT_2Nx2N); j++)
356 pu_t *ps_pu = &ps_data->as_pu_results[j].pu;
421 part_type_results_t *ps_data = ps_grandchild_data[j].ps_best_results;
422 pu_t *ps_pu = &ps_data->as_pu_results[0].pu;
424 ASSERT(ps_data->u1_part_type == PRT_2Nx2N);
431 if(ps_data->as_pu_results->pu.b1_intra_flag)
2637 cluster_data_t *ps_data;
2657 ps_data = &ps_32x32->as_cluster_data[0];
2664 ps_data = &ps_64x64->as_cluster_data[0];
2687 for(j = 0; num_clusters_evaluated < num_clusters; j++, ps_data++)
2691 if(!ps_data->is_valid_cluster)
2696 ref_id = ps_data->ref_id;
2700 ai4_uni_area[ref_id] += ps_data->uni_mv_pixel_area;
2701 ai4_bi_area[ref_id] += ps_data->bi_mv_pixel_area;
3308 cluster_data_t *ps_data = &ps_cluster_data[num_clusters];
3310 ps_data->num_mvs = 1;
3311 ps_data->s_centroid.i4_pos_x_q8 = mvx << 8;
3312 ps_data->s_centroid.i4_pos_y_q8 = mvy << 8;
3313 ps_data->ref_id = ref_idx;
3314 ps_data->area_in_pixels = gai4_partition_area[e_part_id];
3315 ps_data->as_mv[0].pixel_count = gai4_partition_area[e_part_id];
3316 ps_data->as_mv[0].mvx = mvx;
3317 ps_data->as_mv[0].mvy = mvy;
3320 ps_data->as_mv[0].is_uni = !is_part_of_bi;
3321 ps_data->as_mv[0].sdi = sdi;
3324 ps_data->bi_mv_pixel_area += ps_data->area_in_pixels;
3328 ps_data->uni_mv_pixel_area += ps_data->area_in_pixels;
3331 ps_data->max_x = mvx;
3332 ps_data->min_x = mvx;
3333 ps_data->max_y = mvy;
3334 ps_data->min_y = mvy;
3336 ps_data->is_valid_cluster = 1;
3346 cluster_data_t *ps_data = &ps_cluster_data[i];
3358 if(ps_data->is_valid_cluster == 0)
3364 if(ref_idx != ps_data->ref_id)
3370 ps_centroid = &ps_data->s_centroid;
3421 cluster_data_t *ps_data = (new_cluster_idx == MAX_NUM_CLUSTERS_16x16)
3425 ps_data->num_mvs = 1;
3426 ps_data->s_centroid.i4_pos_x_q8 = mvx << 8;
3427 ps_data->s_centroid.i4_pos_y_q8 = mvy << 8;
3428 ps_data->ref_id = ref_idx;
3429 ps_data->area_in_pixels = gai4_partition_area[e_part_id];
3430 ps_data->as_mv[0].pixel_count = gai4_partition_area[e_part_id];
3431 ps_data->as_mv[0].mvx = mvx;
3432 ps_data->as_mv[0].mvy = mvy;
3435 ps_data->as_mv[0].is_uni = !is_part_of_bi;
3436 ps_data->as_mv[0].sdi = sdi;
3439 ps_data->bi_mv_pixel_area += ps_data->area_in_pixels;
3443 ps_data->uni_mv_pixel_area += ps_data->area_in_pixels;
3446 ps_data->max_x = mvx;
3447 ps_data->min_x = mvx;
3448 ps_data->max_y = mvy;
3449 ps_data->min_y = mvy;
3451 ps_data->is_valid_cluster = 1;
4588 cluster_data_t *ps_data;
4643 ps_data = &ps_32x32_blk->as_cluster_data[i];
4645 if(!ps_data->is_valid_cluster)
4652 if(ps_data->area_in_pixels < min_area)
4654 min_area = ps_data->area_in_pixels;
4693 cluster_data_t *ps_data;
4762 ps_data = &ps_16x16_blk->as_cluster_data[i];
4764 if(!ps_data->is_valid_cluster)
4771 if(ps_data->area_in_pixels < min_area)
4773 min_area = ps_data->area_in_pixels;
4867 cluster_data_t *ps_data = &ps_blk_32x32->as_cluster_data[i];
4872 for(j = 0; j < ps_data->num_mvs; j++)
4874 mv_data_t *ps_mv = &ps_data->as_mv[j];
4880 COMPUTE_MVD(ps_mv, ps_data, cumulative_mv_distance);
4884 if(cumulative_mv_distance > ((ps_data->max_dist_from_centroid >> 1) * num_high_sdi_mvs))