Lines Matching refs:ps_cur_cluster

3003     cluster_data_t *ps_cur_cluster = &ps_cluster_data[idx_of_updated_cluster];  in hme_try_cluster_merge()  local
3004 centroid_t *ps_cur_centroid = &ps_cur_cluster->s_centroid; in hme_try_cluster_merge()
3015 max_dist_from_centroid = ps_cur_cluster->max_dist_from_centroid; in hme_try_cluster_merge()
3026 if((ps_cluster_data->ref_id != ps_cur_cluster->ref_id) || (i == idx_of_updated_cluster)) in hme_try_cluster_merge()
3052 LWORD64 i8_mv_x_sum_self = (LWORD64)cur_pos_x_q8 * ps_cur_cluster->num_mvs; in hme_try_cluster_merge()
3053 LWORD64 i8_mv_y_sum_self = (LWORD64)cur_pos_y_q8 * ps_cur_cluster->num_mvs; in hme_try_cluster_merge()
3062 &ps_cur_cluster->as_mv[ps_cur_cluster->num_mvs], in hme_try_cluster_merge()
3066 ps_cur_cluster->num_mvs += ps_cluster_data->num_mvs; in hme_try_cluster_merge()
3067 ps_cur_cluster->area_in_pixels += ps_cluster_data->area_in_pixels; in hme_try_cluster_merge()
3068 ps_cur_cluster->bi_mv_pixel_area += ps_cluster_data->bi_mv_pixel_area; in hme_try_cluster_merge()
3069 ps_cur_cluster->uni_mv_pixel_area += ps_cluster_data->uni_mv_pixel_area; in hme_try_cluster_merge()
3073 ps_cur_centroid->i4_pos_x_q8 = (WORD32)(i8_mv_x_sum_self / ps_cur_cluster->num_mvs); in hme_try_cluster_merge()
3074 ps_cur_centroid->i4_pos_y_q8 = (WORD32)(i8_mv_y_sum_self / ps_cur_cluster->num_mvs); in hme_try_cluster_merge()
3076 minmax_x_update_id = (ps_cur_cluster->min_x < ps_cluster_data->min_x) in hme_try_cluster_merge()
3077 ? ((ps_cur_cluster->max_x > ps_cluster_data->max_x) ? 0 : 2) in hme_try_cluster_merge()
3079 minmax_y_update_id = (ps_cur_cluster->min_y < ps_cluster_data->min_y) in hme_try_cluster_merge()
3080 ? ((ps_cur_cluster->max_y > ps_cluster_data->max_y) ? 0 : 2) in hme_try_cluster_merge()
3090 ps_cur_cluster->min_x = ps_cluster_data->min_x; in hme_try_cluster_merge()
3092 mvd_q8 = ps_centroid->i4_pos_x_q8 - (ps_cur_cluster->min_x << 8); in hme_try_cluster_merge()
3105 ps_cur_cluster->max_x = ps_cluster_data->max_x; in hme_try_cluster_merge()
3107 mvd_q8 = (ps_cur_cluster->max_x << 8) - ps_centroid->i4_pos_x_q8; in hme_try_cluster_merge()
3120 ps_cur_cluster->min_y = ps_cluster_data->min_y; in hme_try_cluster_merge()
3122 mvd_q8 = ps_centroid->i4_pos_y_q8 - (ps_cur_cluster->min_y << 8); in hme_try_cluster_merge()
3137 mvdy_q8 = ps_centroid->i4_pos_y_q8 - (ps_cur_cluster->min_y << 8); in hme_try_cluster_merge()
3140 mvdx_q8 = ps_centroid->i4_pos_x_q8 - (ps_cur_cluster->min_x << 8); in hme_try_cluster_merge()
3145 ps_cur_cluster->min_x = ps_cluster_data->min_x; in hme_try_cluster_merge()
3146 ps_cur_cluster->min_y = ps_cluster_data->min_y; in hme_try_cluster_merge()
3160 mvdy_q8 = ps_centroid->i4_pos_y_q8 - (ps_cur_cluster->min_y << 8); in hme_try_cluster_merge()
3163 mvdx_q8 = (ps_cur_cluster->max_x << 8) - ps_centroid->i4_pos_x_q8; in hme_try_cluster_merge()
3168 ps_cur_cluster->max_x = ps_cluster_data->max_x; in hme_try_cluster_merge()
3169 ps_cur_cluster->min_y = ps_cluster_data->min_y; in hme_try_cluster_merge()
3181 ps_cur_cluster->max_y = ps_cluster_data->max_y; in hme_try_cluster_merge()
3183 mvd_q8 = (ps_cur_cluster->max_y << 8) - ps_centroid->i4_pos_y_q8; in hme_try_cluster_merge()
3198 mvdx_q8 = ps_centroid->i4_pos_x_q8 - (ps_cur_cluster->min_x << 8); in hme_try_cluster_merge()
3201 mvdy_q8 = (ps_cur_cluster->max_y << 8) - ps_centroid->i4_pos_y_q8; in hme_try_cluster_merge()
3206 ps_cur_cluster->min_x = ps_cluster_data->min_x; in hme_try_cluster_merge()
3207 ps_cur_cluster->max_y = ps_cluster_data->max_y; in hme_try_cluster_merge()
3221 mvdx_q8 = (ps_cur_cluster->max_x << 8) - ps_centroid->i4_pos_x_q8; in hme_try_cluster_merge()
3224 mvdy_q8 = (ps_cur_cluster->max_y << 8) - ps_centroid->i4_pos_y_q8; in hme_try_cluster_merge()
3229 ps_cur_cluster->max_x = ps_cluster_data->max_x; in hme_try_cluster_merge()
3230 ps_cur_cluster->max_y = ps_cluster_data->max_y; in hme_try_cluster_merge()
4178 cluster_data_t *ps_cur_cluster; in hme_update_32x32_clusters() local
4197 ps_cur_cluster = &ps_blk_16x16_cur->as_cluster_data[j]; in hme_update_32x32_clusters()
4199 if(!ps_cur_cluster->is_valid_cluster) in hme_update_32x32_clusters()
4204 hme_update_32x32_cluster_attributes(ps_blk_32x32, ps_cur_cluster); in hme_update_32x32_clusters()
4233 cluster_data_t *ps_cur_cluster; in hme_update_64x64_clusters() local
4251 ps_cur_cluster = &ps_blk_32x32_cur->as_cluster_data[j]; in hme_update_64x64_clusters()
4253 if(!ps_cur_cluster->is_valid_cluster) in hme_update_64x64_clusters()
4258 hme_update_64x64_cluster_attributes(ps_blk_64x64, ps_cur_cluster); in hme_update_64x64_clusters()
4285 cluster_data_t *ps_cur_cluster; in hme_try_merge_clusters_blksize_gt_16() local
4310 ps_cur_cluster = &ps_cluster_data[i]; in hme_try_merge_clusters_blksize_gt_16()
4312 if((ref_id != ps_cur_cluster->ref_id)) in hme_try_merge_clusters_blksize_gt_16()
4318 if((!ps_cur_cluster->is_valid_cluster)) in hme_try_merge_clusters_blksize_gt_16()
4325 ps_cur_centroid = &ps_cur_cluster->s_centroid; in hme_try_merge_clusters_blksize_gt_16()
4345 ps_cur_cluster->is_valid_cluster = 0; in hme_try_merge_clusters_blksize_gt_16()
4347 ps_cluster_data->area_in_pixels += ps_cur_cluster->area_in_pixels; in hme_try_merge_clusters_blksize_gt_16()
4348 ps_cluster_data->bi_mv_pixel_area += ps_cur_cluster->bi_mv_pixel_area; in hme_try_merge_clusters_blksize_gt_16()
4349 ps_cluster_data->uni_mv_pixel_area += ps_cur_cluster->uni_mv_pixel_area; in hme_try_merge_clusters_blksize_gt_16()
4353 ps_cur_cluster->as_mv, in hme_try_merge_clusters_blksize_gt_16()
4354 sizeof(mv_data_t) * ps_cur_cluster->num_mvs); in hme_try_merge_clusters_blksize_gt_16()
4519 ((LWORD64)cur_posx_q8 * ps_cur_cluster->num_mvs); in hme_try_merge_clusters_blksize_gt_16()
4521 ((LWORD64)cur_posy_q8 * ps_cur_cluster->num_mvs); in hme_try_merge_clusters_blksize_gt_16()
4523 ps_cluster_data->num_mvs += ps_cur_cluster->num_mvs; in hme_try_merge_clusters_blksize_gt_16()