Lines Matching refs:num_clusters
519 i4_num_clusters = ps_cluster_info->ps_32x32_blk[u1_blk_id].num_clusters; in hme_add_cands_for_merge_eval()
524 i4_num_clusters = ps_cluster_info->ps_64x64_blk->num_clusters; in hme_add_cands_for_merge_eval()
2508 ps_cluster_blk_16x16->num_clusters = 0; in hme_init_clusters_16x16()
2548 ps_cluster_blk_32x32->num_clusters = 0; in hme_init_clusters_32x32()
2590 ps_cluster_blk_64x64->num_clusters = 0; in hme_init_clusters_64x64()
2647 S32 num_clusters; in hme_sort_and_assign_top_ref_ids_areawise() local
2656 num_clusters = ps_32x32->num_clusters; in hme_sort_and_assign_top_ref_ids_areawise()
2663 num_clusters = ps_64x64->num_clusters; in hme_sort_and_assign_top_ref_ids_areawise()
2668 if((num_clusters > MAX_NUM_CLUSTERS_IN_VALID_32x32_BLK)) in hme_sort_and_assign_top_ref_ids_areawise()
2673 if(num_clusters == 0) in hme_sort_and_assign_top_ref_ids_areawise()
2687 for(j = 0; num_clusters_evaluated < num_clusters; j++, ps_data++) in hme_sort_and_assign_top_ref_ids_areawise()
2849 if(ps_32x32->num_clusters > MAX_NUM_CLUSTERS_IN_ONE_REF_IDX) in hme_boot_out_outlier()
2858 if(ps_64x64->num_clusters > MAX_NUM_CLUSTERS_IN_ONE_REF_IDX) in hme_boot_out_outlier()
2998 S32 num_clusters, num_clusters_evaluated; in hme_try_cluster_merge() local
3017 num_clusters = *pu1_num_clusters; in hme_try_cluster_merge()
3020 for(i = 0; num_clusters_evaluated < num_clusters; i++, ps_cluster_data++) in hme_try_cluster_merge()
3298 S32 num_clusters = *pu1_num_clusters; in hme_find_and_update_clusters() local
3306 if(num_clusters == 0) in hme_find_and_update_clusters()
3308 cluster_data_t *ps_data = &ps_cluster_data[num_clusters]; in hme_find_and_update_clusters()
3344 for(i = 0; num_clusters_evaluated < num_clusters; i++) in hme_find_and_update_clusters()
3422 ? &ps_cluster_data[num_clusters] in hme_find_and_update_clusters()
3453 num_clusters++; in hme_find_and_update_clusters()
3454 *pu1_num_clusters = num_clusters; in hme_find_and_update_clusters()
3485 S32 num_clusters = ps_blk_32x32->num_clusters; in hme_update_32x32_cluster_attributes() local
3487 if(0 == num_clusters) in hme_update_32x32_cluster_attributes()
3491 ps_blk_32x32->num_clusters++; in hme_update_32x32_cluster_attributes()
3537 for(i = 0; num_clusters_evaluated < num_clusters; i++) in hme_update_32x32_cluster_attributes()
3775 else if(num_clusters < MAX_NUM_CLUSTERS_32x32) 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()
3779 ps_blk_32x32->num_clusters++; in hme_update_32x32_cluster_attributes()
3833 S32 num_clusters = ps_blk_64x64->num_clusters; in hme_update_64x64_cluster_attributes() local
3835 if(0 == num_clusters) in hme_update_64x64_cluster_attributes()
3839 ps_blk_64x64->num_clusters++; in hme_update_64x64_cluster_attributes()
3885 for(i = 0; num_clusters_evaluated < num_clusters; i++) in hme_update_64x64_cluster_attributes()
4124 else if(num_clusters < MAX_NUM_CLUSTERS_64x64) 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()
4128 ps_blk_64x64->num_clusters++; in hme_update_64x64_cluster_attributes()
4189 num_clusters_cur_16x16_blk = ps_blk_16x16_cur->num_clusters; in hme_update_32x32_clusters()
4244 num_clusters_cur_32x32_blk = ps_blk_32x32_cur->num_clusters; in hme_update_64x64_clusters()
4282 S32 hme_try_merge_clusters_blksize_gt_16(cluster_data_t *ps_cluster_data, S32 num_clusters) in hme_try_merge_clusters_blksize_gt_16() argument
4300 if(1 >= num_clusters) in hme_try_merge_clusters_blksize_gt_16()
4305 for(i = 1; num_clusters_evaluated < num_clusters; i++) in hme_try_merge_clusters_blksize_gt_16()
4528 if(MAX_NUM_CLUSTERS_IN_VALID_64x64_BLK >= num_clusters) in hme_try_merge_clusters_blksize_gt_16()
4530 num_clusters--; in hme_try_merge_clusters_blksize_gt_16()
4546 for(i = 1; i < (num_clusters + ret_value); i++) in hme_try_merge_clusters_blksize_gt_16()
4553 if(i == (num_clusters + ret_value)) in hme_try_merge_clusters_blksize_gt_16()
4563 return (hme_try_merge_clusters_blksize_gt_16(&ps_cluster_data[i], num_clusters - 1)) + in hme_try_merge_clusters_blksize_gt_16()
4593 S32 num_clusters = ps_32x32_blk->num_clusters; in hme_determine_validity_32x32() local
4594 S32 num_clusters_parent = ps_64x64_blk->num_clusters; in hme_determine_validity_32x32()
4608 if(num_clusters > MAX_NUM_CLUSTERS_IN_VALID_32x32_BLK) in hme_determine_validity_32x32()
4628 if(num_clusters < MAX_NUM_CLUSTERS_IN_VALID_32x32_BLK) in hme_determine_validity_32x32()
4641 for(i = 0; num_clusters_evaluated < num_clusters; i++) in hme_determine_validity_32x32()
4699 S32 num_clusters = ps_16x16_blk->num_clusters; in hme_determine_validity_16x16() local
4700 S32 num_clusters_parent = ps_32x32_blk->num_clusters; in hme_determine_validity_16x16()
4701 S32 num_clusters_grandparent = ps_64x64_blk->num_clusters; in hme_determine_validity_16x16()
4726 if(num_clusters <= MAX_NUM_CLUSTERS_IN_VALID_16x16_BLK) in hme_determine_validity_16x16()
4742 if(num_clusters < MAX_NUM_CLUSTERS_IN_VALID_16x16_BLK) in hme_determine_validity_16x16()
4747 else if(num_clusters > MAX_NUM_CLUSTERS_IN_VALID_16x16_BLK) in hme_determine_validity_16x16()
4760 for(i = 0; num_clusters_evaluated < num_clusters; i++) in hme_determine_validity_16x16()
4863 S32 num_clusters = ps_blk_32x32->num_clusters; in hme_sdi_based_cluster_spread_eligibility() local
4865 for(i = 0; i < num_clusters; i++) in hme_sdi_based_cluster_spread_eligibility()
4947 S32 num_clusters; in hme_populate_cu_tree() local
4973 inter_eval_enable = !!ps_blk_64x64->num_clusters; in hme_populate_cu_tree()
4995 num_clusters = ps_blk_64x64->num_clusters; in hme_populate_cu_tree()
4999 : (num_clusters <= MAX_NUM_CLUSTERS_IN_VALID_64x64_BLK); in hme_populate_cu_tree()
5043 inter_eval_enable = !!ps_blk_32x32->num_clusters; in hme_populate_cu_tree()
5065 num_clusters = ps_blk_32x32->num_clusters; in hme_populate_cu_tree()
5076 (num_clusters <= MAX_NUM_CLUSTERS_IN_VALID_32x32_BLK) && in hme_populate_cu_tree()
5110 num_clusters = ps_blk_16x16->num_clusters; in hme_populate_cu_tree()
5470 S32 num_clusters; in hme_analyse_mv_clustering() local
5562 num_clusters = ps_blk_16x16->num_clusters; in hme_analyse_mv_clustering()
5566 &(ps_blk_16x16->num_clusters), in hme_analyse_mv_clustering()
5574 num_clusters_updated = (ps_blk_16x16->num_clusters); in hme_analyse_mv_clustering()
5577 (num_clusters_updated - num_clusters); in hme_analyse_mv_clustering()
5610 if((ps_blk_32x32->num_clusters >= MAX_NUM_CLUSTERS_IN_VALID_32x32_BLK)) in hme_analyse_mv_clustering()
5613 ps_blk_32x32->as_cluster_data, (ps_blk_32x32->num_clusters)); in hme_analyse_mv_clustering()
5617 ps_blk_32x32->num_clusters -= num_clusters_merged; in hme_analyse_mv_clustering()
5710 if((ps_blk_64x64->num_clusters >= MAX_NUM_CLUSTERS_IN_VALID_64x64_BLK)) in hme_analyse_mv_clustering()
5713 ps_blk_64x64->as_cluster_data, (ps_blk_64x64->num_clusters)); in hme_analyse_mv_clustering()
5717 ps_blk_64x64->num_clusters -= num_clusters_merged; in hme_analyse_mv_clustering()