Lines Matching refs:num_mvs
237 i4_num_mvs_in_cluster = ps_data->num_mvs; in hme_add_clustered_mvs_as_merge_cands()
2926 S32 num_mvs = ps_cluster_data->num_mvs; in hme_update_cluster_attributes() local
2928 ps_cluster_data->as_mv[num_mvs].pixel_count = gai4_partition_area[e_part_id]; in hme_update_cluster_attributes()
2929 ps_cluster_data->as_mv[num_mvs].mvx = mvx; in hme_update_cluster_attributes()
2930 ps_cluster_data->as_mv[num_mvs].mvy = mvy; in hme_update_cluster_attributes()
2933 ps_cluster_data->as_mv[num_mvs].is_uni = !is_part_of_bi; in hme_update_cluster_attributes()
2934 ps_cluster_data->as_mv[num_mvs].sdi = sdi; in hme_update_cluster_attributes()
2940 i8_mvx_sum_q8 = (LWORD64)centroid_posx_q8 * ps_cluster_data->num_mvs + (mvx << 8); in hme_update_cluster_attributes()
2941 i8_mvy_sum_q8 = (LWORD64)centroid_posy_q8 * ps_cluster_data->num_mvs + (mvy << 8); in hme_update_cluster_attributes()
2943 ps_cluster_data->num_mvs++; in hme_update_cluster_attributes()
2946 (WORD32)((i8_mvx_sum_q8) / ps_cluster_data->num_mvs); in hme_update_cluster_attributes()
2948 (WORD32)((i8_mvy_sum_q8) / ps_cluster_data->num_mvs); in hme_update_cluster_attributes()
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()
3054 LWORD64 i8_mv_x_sum_cousin = (LWORD64)other_pos_x_q8 * ps_cluster_data->num_mvs; in hme_try_cluster_merge()
3055 LWORD64 i8_mv_y_sum_cousin = (LWORD64)other_pos_y_q8 * ps_cluster_data->num_mvs; in hme_try_cluster_merge()
3062 &ps_cur_cluster->as_mv[ps_cur_cluster->num_mvs], in hme_try_cluster_merge()
3064 sizeof(mv_data_t) * ps_cluster_data->num_mvs); in hme_try_cluster_merge()
3066 ps_cur_cluster->num_mvs += ps_cluster_data->num_mvs; 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()
3310 ps_data->num_mvs = 1; in hme_find_and_update_clusters()
3425 ps_data->num_mvs = 1; in hme_find_and_update_clusters()
3503 sizeof(mv_data_t) * ps_cluster_data->num_mvs); in hme_update_32x32_cluster_attributes()
3505 ps_cur_cluster_32->num_mvs = ps_cluster_data->num_mvs; 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()
3601 sizeof(mv_data_t) * ps_cluster_data->num_mvs); 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()
3766 ((LWORD64)mvx_inp_q8 * ps_cluster_data->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()
3768 ((LWORD64)mvy_inp_q8 * ps_cluster_data->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()
3791 sizeof(mv_data_t) * ps_cluster_data->num_mvs); in hme_update_32x32_cluster_attributes()
3793 ps_cur_cluster_32->num_mvs = ps_cluster_data->num_mvs; in hme_update_32x32_cluster_attributes()
3851 sizeof(mv_data_t) * ps_cluster_data->num_mvs); in hme_update_64x64_cluster_attributes()
3853 ps_cur_cluster_64->num_mvs = ps_cluster_data->num_mvs; 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()
3950 sizeof(mv_data_t) * ps_cluster_data->num_mvs); 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()
4115 ((LWORD64)mvx_inp_q8 * ps_cluster_data->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()
4117 ((LWORD64)mvy_inp_q8 * ps_cluster_data->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()
4140 sizeof(mv_data_t) * ps_cluster_data->num_mvs); in hme_update_64x64_cluster_attributes()
4142 ps_cur_cluster_64->num_mvs = ps_cluster_data->num_mvs; in hme_update_64x64_cluster_attributes()
4352 &ps_cluster_data->as_mv[ps_cluster_data->num_mvs], 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()
4518 i8_updated_posx = ((LWORD64)ps_centroid->i4_pos_x_q8 * ps_cluster_data->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()
4520 i8_updated_posy = ((LWORD64)ps_centroid->i4_pos_y_q8 * ps_cluster_data->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()
4525 ps_centroid->i4_pos_x_q8 = (WORD32)(i8_updated_posx / ps_cluster_data->num_mvs); in hme_try_merge_clusters_blksize_gt_16()
4526 ps_centroid->i4_pos_y_q8 = (WORD32)(i8_updated_posy / ps_cluster_data->num_mvs); in hme_try_merge_clusters_blksize_gt_16()
4872 for(j = 0; j < ps_data->num_mvs; j++) in hme_sdi_based_cluster_spread_eligibility()
5523 S32 num_mvs = ((ai4_pred_mode[j] > 1) + 1); in hme_analyse_mv_clustering() local
5546 for(k = 0; k < num_mvs; k++) in hme_analyse_mv_clustering()