Lines Matching refs:ps_cur_cluster_32

3480     cluster_data_t *ps_cur_cluster_32;  in hme_update_32x32_cluster_attributes()  local
3489 ps_cur_cluster_32 = &ps_blk_32x32->as_cluster_data[0]; in hme_update_32x32_cluster_attributes()
3494 ps_cur_cluster_32->is_valid_cluster = 1; in hme_update_32x32_cluster_attributes()
3496 ps_cur_cluster_32->area_in_pixels = ps_cluster_data->area_in_pixels; in hme_update_32x32_cluster_attributes()
3497 ps_cur_cluster_32->bi_mv_pixel_area += ps_cluster_data->bi_mv_pixel_area; in hme_update_32x32_cluster_attributes()
3498 ps_cur_cluster_32->uni_mv_pixel_area += ps_cluster_data->uni_mv_pixel_area; in hme_update_32x32_cluster_attributes()
3501 ps_cur_cluster_32->as_mv, in hme_update_32x32_cluster_attributes()
3505 ps_cur_cluster_32->num_mvs = ps_cluster_data->num_mvs; in hme_update_32x32_cluster_attributes()
3507 ps_cur_cluster_32->ref_id = ps_cluster_data->ref_id; in hme_update_32x32_cluster_attributes()
3509 ps_cur_cluster_32->max_x = ps_cluster_data->max_x; in hme_update_32x32_cluster_attributes()
3510 ps_cur_cluster_32->max_y = ps_cluster_data->max_y; in hme_update_32x32_cluster_attributes()
3511 ps_cur_cluster_32->min_x = ps_cluster_data->min_x; in hme_update_32x32_cluster_attributes()
3512 ps_cur_cluster_32->min_y = ps_cluster_data->min_y; in hme_update_32x32_cluster_attributes()
3514 ps_cur_cluster_32->s_centroid = ps_cluster_data->s_centroid; in hme_update_32x32_cluster_attributes()
3539 ps_cur_cluster_32 = &ps_blk_32x32->as_cluster_data[i]; in hme_update_32x32_cluster_attributes()
3541 if(ps_cur_cluster_32->ref_id != ps_cluster_data->ref_id) in hme_update_32x32_cluster_attributes()
3553 ps_centroid = &ps_cur_cluster_32->s_centroid; in hme_update_32x32_cluster_attributes()
3575 ps_cur_cluster_32 = &ps_blk_32x32->as_cluster_data[0]; in hme_update_32x32_cluster_attributes()
3578 ? ps_cur_cluster_32[0].max_dist_from_centroid in hme_update_32x32_cluster_attributes()
3579 : ps_cur_cluster_32[min_mvd_cluster_id].max_dist_from_centroid; in hme_update_32x32_cluster_attributes()
3588 ps_cur_cluster_32 = &ps_blk_32x32->as_cluster_data[min_mvd_cluster_id]; in hme_update_32x32_cluster_attributes()
3590 ps_centroid = &ps_cur_cluster_32->s_centroid; in hme_update_32x32_cluster_attributes()
3592 ps_cur_cluster_32->is_valid_cluster = 1; in hme_update_32x32_cluster_attributes()
3594 ps_cur_cluster_32->area_in_pixels += ps_cluster_data->area_in_pixels; in hme_update_32x32_cluster_attributes()
3595 ps_cur_cluster_32->bi_mv_pixel_area += ps_cluster_data->bi_mv_pixel_area; in hme_update_32x32_cluster_attributes()
3596 ps_cur_cluster_32->uni_mv_pixel_area += ps_cluster_data->uni_mv_pixel_area; in hme_update_32x32_cluster_attributes()
3599 &ps_cur_cluster_32->as_mv[ps_cur_cluster_32->num_mvs], in hme_update_32x32_cluster_attributes()
3603 if((mvdx_min > 0) && ((ps_cur_cluster_32->min_x << 8) > mvx_inp_q8)) in hme_update_32x32_cluster_attributes()
3605 ps_cur_cluster_32->min_x = (mvx_inp_q8 + ((1 << 7))) >> 8; in hme_update_32x32_cluster_attributes()
3608 else if((mvdx_min < 0) && ((ps_cur_cluster_32->max_x << 8) < mvx_inp_q8)) in hme_update_32x32_cluster_attributes()
3610 ps_cur_cluster_32->max_x = (mvx_inp_q8 + (1 << 7)) >> 8; in hme_update_32x32_cluster_attributes()
3614 if((mvdy_min > 0) && ((ps_cur_cluster_32->min_y << 8) > mvy_inp_q8)) in hme_update_32x32_cluster_attributes()
3616 ps_cur_cluster_32->min_y = (mvy_inp_q8 + (1 << 7)) >> 8; in hme_update_32x32_cluster_attributes()
3619 else if((mvdy_min < 0) && ((ps_cur_cluster_32->max_y << 8) < mvy_inp_q8)) in hme_update_32x32_cluster_attributes()
3621 ps_cur_cluster_32->max_y = (mvy_inp_q8 + (1 << 7)) >> 8; in hme_update_32x32_cluster_attributes()
3631 mvd_q8 = ps_centroid->i4_pos_x_q8 - (ps_cur_cluster_32->min_x << 8); in hme_update_32x32_cluster_attributes()
3636 ps_cur_cluster_32->max_dist_from_centroid = mvd; in hme_update_32x32_cluster_attributes()
3644 mvd_q8 = (ps_cur_cluster_32->max_x << 8) - ps_centroid->i4_pos_x_q8; in hme_update_32x32_cluster_attributes()
3649 ps_cur_cluster_32->max_dist_from_centroid = mvd; in hme_update_32x32_cluster_attributes()
3657 mvd_q8 = ps_centroid->i4_pos_y_q8 - (ps_cur_cluster_32->min_y << 8); in hme_update_32x32_cluster_attributes()
3662 ps_cur_cluster_32->max_dist_from_centroid = mvd; in hme_update_32x32_cluster_attributes()
3672 mvdy_q8 = ps_centroid->i4_pos_y_q8 - (ps_cur_cluster_32->min_y << 8); in hme_update_32x32_cluster_attributes()
3675 mvdx_q8 = ps_centroid->i4_pos_x_q8 - (ps_cur_cluster_32->min_x << 8); in hme_update_32x32_cluster_attributes()
3682 ps_cur_cluster_32->max_dist_from_centroid = mvd; in hme_update_32x32_cluster_attributes()
3692 mvdy_q8 = ps_centroid->i4_pos_y_q8 - (ps_cur_cluster_32->min_y << 8); in hme_update_32x32_cluster_attributes()
3695 mvdx_q8 = (ps_cur_cluster_32->max_x << 8) - ps_centroid->i4_pos_x_q8; in hme_update_32x32_cluster_attributes()
3702 ps_cur_cluster_32->max_dist_from_centroid = mvd; in hme_update_32x32_cluster_attributes()
3710 mvd_q8 = (ps_cur_cluster_32->max_y << 8) - ps_centroid->i4_pos_y_q8; in hme_update_32x32_cluster_attributes()
3715 ps_cur_cluster_32->max_dist_from_centroid = mvd; in hme_update_32x32_cluster_attributes()
3725 mvdx_q8 = ps_centroid->i4_pos_x_q8 - (ps_cur_cluster_32->min_x << 8); in hme_update_32x32_cluster_attributes()
3728 mvdy_q8 = (ps_cur_cluster_32->max_y << 8) - ps_centroid->i4_pos_y_q8; in hme_update_32x32_cluster_attributes()
3735 ps_cur_cluster_32->max_dist_from_centroid = mvd; in hme_update_32x32_cluster_attributes()
3745 mvdx_q8 = (ps_cur_cluster_32->max_x << 8) - ps_centroid->i4_pos_x_q8; in hme_update_32x32_cluster_attributes()
3748 mvdy_q8 = (ps_cur_cluster_32->max_y << 8) - ps_centroid->i4_pos_y_q8; in hme_update_32x32_cluster_attributes()
3753 if(mvd > ps_cur_cluster_32->max_dist_from_centroid) in hme_update_32x32_cluster_attributes()
3755 ps_cur_cluster_32->max_dist_from_centroid = mvd; in hme_update_32x32_cluster_attributes()
3765 i8_updated_posx = ((LWORD64)ps_centroid->i4_pos_x_q8 * ps_cur_cluster_32->num_mvs) + in hme_update_32x32_cluster_attributes()
3767 i8_updated_posy = ((LWORD64)ps_centroid->i4_pos_y_q8 * ps_cur_cluster_32->num_mvs) + in hme_update_32x32_cluster_attributes()
3770 ps_cur_cluster_32->num_mvs += ps_cluster_data->num_mvs; in hme_update_32x32_cluster_attributes()
3772 ps_centroid->i4_pos_x_q8 = (WORD32)(i8_updated_posx / ps_cur_cluster_32->num_mvs); in hme_update_32x32_cluster_attributes()
3773 ps_centroid->i4_pos_y_q8 = (WORD32)(i8_updated_posy / ps_cur_cluster_32->num_mvs); in hme_update_32x32_cluster_attributes()
3777 ps_cur_cluster_32 = &ps_blk_32x32->as_cluster_data[num_clusters]; in hme_update_32x32_cluster_attributes()
3782 ps_cur_cluster_32->is_valid_cluster = 1; in hme_update_32x32_cluster_attributes()
3784 ps_cur_cluster_32->area_in_pixels = ps_cluster_data->area_in_pixels; in hme_update_32x32_cluster_attributes()
3785 ps_cur_cluster_32->bi_mv_pixel_area += ps_cluster_data->bi_mv_pixel_area; in hme_update_32x32_cluster_attributes()
3786 ps_cur_cluster_32->uni_mv_pixel_area += ps_cluster_data->uni_mv_pixel_area; in hme_update_32x32_cluster_attributes()
3789 ps_cur_cluster_32->as_mv, in hme_update_32x32_cluster_attributes()
3793 ps_cur_cluster_32->num_mvs = ps_cluster_data->num_mvs; in hme_update_32x32_cluster_attributes()
3795 ps_cur_cluster_32->ref_id = ps_cluster_data->ref_id; in hme_update_32x32_cluster_attributes()
3797 ps_cur_cluster_32->max_x = ps_cluster_data->max_x; in hme_update_32x32_cluster_attributes()
3798 ps_cur_cluster_32->max_y = ps_cluster_data->max_y; in hme_update_32x32_cluster_attributes()
3799 ps_cur_cluster_32->min_x = ps_cluster_data->min_x; in hme_update_32x32_cluster_attributes()
3800 ps_cur_cluster_32->min_y = ps_cluster_data->min_y; in hme_update_32x32_cluster_attributes()
3802 ps_cur_cluster_32->s_centroid = ps_cluster_data->s_centroid; in hme_update_32x32_cluster_attributes()