Lines Matching refs:ps_cur_cluster_64

3828     cluster_data_t *ps_cur_cluster_64;  in hme_update_64x64_cluster_attributes()  local
3837 ps_cur_cluster_64 = &ps_blk_64x64->as_cluster_data[0]; in hme_update_64x64_cluster_attributes()
3842 ps_cur_cluster_64->is_valid_cluster = 1; in hme_update_64x64_cluster_attributes()
3844 ps_cur_cluster_64->area_in_pixels = ps_cluster_data->area_in_pixels; in hme_update_64x64_cluster_attributes()
3845 ps_cur_cluster_64->bi_mv_pixel_area += ps_cluster_data->bi_mv_pixel_area; in hme_update_64x64_cluster_attributes()
3846 ps_cur_cluster_64->uni_mv_pixel_area += ps_cluster_data->uni_mv_pixel_area; in hme_update_64x64_cluster_attributes()
3849 ps_cur_cluster_64->as_mv, in hme_update_64x64_cluster_attributes()
3853 ps_cur_cluster_64->num_mvs = ps_cluster_data->num_mvs; in hme_update_64x64_cluster_attributes()
3855 ps_cur_cluster_64->ref_id = ps_cluster_data->ref_id; in hme_update_64x64_cluster_attributes()
3857 ps_cur_cluster_64->max_x = ps_cluster_data->max_x; in hme_update_64x64_cluster_attributes()
3858 ps_cur_cluster_64->max_y = ps_cluster_data->max_y; in hme_update_64x64_cluster_attributes()
3859 ps_cur_cluster_64->min_x = ps_cluster_data->min_x; in hme_update_64x64_cluster_attributes()
3860 ps_cur_cluster_64->min_y = ps_cluster_data->min_y; in hme_update_64x64_cluster_attributes()
3862 ps_cur_cluster_64->s_centroid = ps_cluster_data->s_centroid; in hme_update_64x64_cluster_attributes()
3887 ps_cur_cluster_64 = &ps_blk_64x64->as_cluster_data[i]; in hme_update_64x64_cluster_attributes()
3889 if(ps_cur_cluster_64->ref_id != ps_cluster_data->ref_id) in hme_update_64x64_cluster_attributes()
3895 if(!ps_cur_cluster_64->is_valid_cluster) in hme_update_64x64_cluster_attributes()
3902 ps_centroid = &ps_cur_cluster_64->s_centroid; in hme_update_64x64_cluster_attributes()
3924 ps_cur_cluster_64 = ps_blk_64x64->as_cluster_data; in hme_update_64x64_cluster_attributes()
3927 ? ps_cur_cluster_64[0].max_dist_from_centroid in hme_update_64x64_cluster_attributes()
3928 : ps_cur_cluster_64[min_mvd_cluster_id].max_dist_from_centroid; in hme_update_64x64_cluster_attributes()
3937 ps_cur_cluster_64 = &ps_blk_64x64->as_cluster_data[min_mvd_cluster_id]; in hme_update_64x64_cluster_attributes()
3939 ps_centroid = &ps_cur_cluster_64->s_centroid; in hme_update_64x64_cluster_attributes()
3941 ps_cur_cluster_64->is_valid_cluster = 1; in hme_update_64x64_cluster_attributes()
3943 ps_cur_cluster_64->area_in_pixels += ps_cluster_data->area_in_pixels; in hme_update_64x64_cluster_attributes()
3944 ps_cur_cluster_64->bi_mv_pixel_area += ps_cluster_data->bi_mv_pixel_area; in hme_update_64x64_cluster_attributes()
3945 ps_cur_cluster_64->uni_mv_pixel_area += ps_cluster_data->uni_mv_pixel_area; in hme_update_64x64_cluster_attributes()
3948 &ps_cur_cluster_64->as_mv[ps_cur_cluster_64->num_mvs], in hme_update_64x64_cluster_attributes()
3952 if((mvdx_min > 0) && ((ps_cur_cluster_64->min_x << 8) > mvx_inp_q8)) in hme_update_64x64_cluster_attributes()
3954 ps_cur_cluster_64->min_x = (mvx_inp_q8 + (1 << 7)) >> 8; in hme_update_64x64_cluster_attributes()
3957 else if((mvdx_min < 0) && ((ps_cur_cluster_64->max_x << 8) < mvx_inp_q8)) in hme_update_64x64_cluster_attributes()
3959 ps_cur_cluster_64->max_x = (mvx_inp_q8 + (1 << 7)) >> 8; in hme_update_64x64_cluster_attributes()
3963 if((mvdy_min > 0) && ((ps_cur_cluster_64->min_y << 8) > mvy_inp_q8)) in hme_update_64x64_cluster_attributes()
3965 ps_cur_cluster_64->min_y = (mvy_inp_q8 + (1 << 7)) >> 8; in hme_update_64x64_cluster_attributes()
3968 else if((mvdy_min < 0) && ((ps_cur_cluster_64->max_y << 8) < mvy_inp_q8)) in hme_update_64x64_cluster_attributes()
3970 ps_cur_cluster_64->max_y = (mvy_inp_q8 + (1 << 7)) >> 8; in hme_update_64x64_cluster_attributes()
3980 mvd_q8 = ps_centroid->i4_pos_x_q8 - (ps_cur_cluster_64->min_x << 8); in hme_update_64x64_cluster_attributes()
3985 ps_cur_cluster_64->max_dist_from_centroid = mvd; in hme_update_64x64_cluster_attributes()
3993 mvd_q8 = (ps_cur_cluster_64->max_x << 8) - ps_centroid->i4_pos_x_q8; in hme_update_64x64_cluster_attributes()
3998 ps_cur_cluster_64->max_dist_from_centroid = mvd; in hme_update_64x64_cluster_attributes()
4006 mvd_q8 = ps_centroid->i4_pos_y_q8 - (ps_cur_cluster_64->min_y << 8); in hme_update_64x64_cluster_attributes()
4011 ps_cur_cluster_64->max_dist_from_centroid = mvd; in hme_update_64x64_cluster_attributes()
4021 mvdy_q8 = ps_centroid->i4_pos_y_q8 - (ps_cur_cluster_64->min_y << 8); in hme_update_64x64_cluster_attributes()
4024 mvdx_q8 = ps_centroid->i4_pos_x_q8 - (ps_cur_cluster_64->min_x << 8); in hme_update_64x64_cluster_attributes()
4031 ps_cur_cluster_64->max_dist_from_centroid = mvd; in hme_update_64x64_cluster_attributes()
4041 mvdy_q8 = ps_centroid->i4_pos_y_q8 - (ps_cur_cluster_64->min_y << 8); in hme_update_64x64_cluster_attributes()
4044 mvdx_q8 = (ps_cur_cluster_64->max_x << 8) - ps_centroid->i4_pos_x_q8; in hme_update_64x64_cluster_attributes()
4051 ps_cur_cluster_64->max_dist_from_centroid = mvd; in hme_update_64x64_cluster_attributes()
4059 mvd_q8 = (ps_cur_cluster_64->max_y << 8) - ps_centroid->i4_pos_y_q8; in hme_update_64x64_cluster_attributes()
4064 ps_cur_cluster_64->max_dist_from_centroid = mvd; in hme_update_64x64_cluster_attributes()
4074 mvdx_q8 = ps_centroid->i4_pos_x_q8 - (ps_cur_cluster_64->min_x << 8); in hme_update_64x64_cluster_attributes()
4077 mvdy_q8 = (ps_cur_cluster_64->max_y << 8) - ps_centroid->i4_pos_y_q8; in hme_update_64x64_cluster_attributes()
4084 ps_cur_cluster_64->max_dist_from_centroid = mvd; in hme_update_64x64_cluster_attributes()
4094 mvdx_q8 = (ps_cur_cluster_64->max_x << 8) - ps_centroid->i4_pos_x_q8; in hme_update_64x64_cluster_attributes()
4097 mvdy_q8 = (ps_cur_cluster_64->max_y << 8) - ps_centroid->i4_pos_y_q8; in hme_update_64x64_cluster_attributes()
4102 if(mvd > ps_cur_cluster_64->max_dist_from_centroid) in hme_update_64x64_cluster_attributes()
4104 ps_cur_cluster_64->max_dist_from_centroid = mvd; in hme_update_64x64_cluster_attributes()
4114 i8_updated_posx = ((LWORD64)ps_centroid->i4_pos_x_q8 * ps_cur_cluster_64->num_mvs) + in hme_update_64x64_cluster_attributes()
4116 i8_updated_posy = ((LWORD64)ps_centroid->i4_pos_y_q8 * ps_cur_cluster_64->num_mvs) + in hme_update_64x64_cluster_attributes()
4119 ps_cur_cluster_64->num_mvs += ps_cluster_data->num_mvs; in hme_update_64x64_cluster_attributes()
4121 ps_centroid->i4_pos_x_q8 = (WORD32)(i8_updated_posx / ps_cur_cluster_64->num_mvs); in hme_update_64x64_cluster_attributes()
4122 ps_centroid->i4_pos_y_q8 = (WORD32)(i8_updated_posy / ps_cur_cluster_64->num_mvs); in hme_update_64x64_cluster_attributes()
4126 ps_cur_cluster_64 = &ps_blk_64x64->as_cluster_data[num_clusters]; in hme_update_64x64_cluster_attributes()
4131 ps_cur_cluster_64->is_valid_cluster = 1; in hme_update_64x64_cluster_attributes()
4133 ps_cur_cluster_64->area_in_pixels = ps_cluster_data->area_in_pixels; in hme_update_64x64_cluster_attributes()
4134 ps_cur_cluster_64->bi_mv_pixel_area += ps_cluster_data->bi_mv_pixel_area; in hme_update_64x64_cluster_attributes()
4135 ps_cur_cluster_64->uni_mv_pixel_area += ps_cluster_data->uni_mv_pixel_area; in hme_update_64x64_cluster_attributes()
4138 &ps_cur_cluster_64->as_mv[0], in hme_update_64x64_cluster_attributes()
4142 ps_cur_cluster_64->num_mvs = ps_cluster_data->num_mvs; in hme_update_64x64_cluster_attributes()
4144 ps_cur_cluster_64->ref_id = ps_cluster_data->ref_id; in hme_update_64x64_cluster_attributes()
4146 ps_cur_cluster_64->max_x = ps_cluster_data->max_x; in hme_update_64x64_cluster_attributes()
4147 ps_cur_cluster_64->max_y = ps_cluster_data->max_y; in hme_update_64x64_cluster_attributes()
4148 ps_cur_cluster_64->min_x = ps_cluster_data->min_x; in hme_update_64x64_cluster_attributes()
4149 ps_cur_cluster_64->min_y = ps_cluster_data->min_y; in hme_update_64x64_cluster_attributes()
4151 ps_cur_cluster_64->s_centroid = ps_cluster_data->s_centroid; in hme_update_64x64_cluster_attributes()