Searched refs:cluster1 (Results 1 – 2 of 2) sorted by relevance
/external/ceres-solver/internal/ceres/ |
D | visibility_based_preconditioner.cc | 484 int cluster1 = cluster_membership_[block1]; in IsBlockPairInPreconditioner() local 486 if (cluster1 > cluster2) { in IsBlockPairInPreconditioner() 487 std::swap(cluster1, cluster2); in IsBlockPairInPreconditioner() 489 return (cluster_pairs_.count(make_pair(cluster1, cluster2)) > 0); in IsBlockPairInPreconditioner() 512 const int cluster1 = *it1; in ForestToClusterPairs() local 513 cluster_pairs->insert(make_pair(cluster1, cluster1)); in ForestToClusterPairs() 514 const HashSet<int>& neighbors = forest.Neighbors(cluster1); in ForestToClusterPairs() 519 if (cluster1 < cluster2) { in ForestToClusterPairs() 520 cluster_pairs->insert(make_pair(cluster1, cluster2)); in ForestToClusterPairs()
|
/external/chromium_org/media/formats/webm/ |
D | webm_cluster_parser_unittest.cc | 791 scoped_ptr<Cluster> cluster1(CreateCluster(0, kBlockInfo1, block_count1)); in TEST_F() local 798 int result = parser_->Parse(cluster1->data(), cluster1->size() - 1); in TEST_F() 800 EXPECT_LT(result, cluster1->size()); in TEST_F() 808 result = parser_->Parse(cluster1->data(), cluster1->size()); in TEST_F() 809 EXPECT_EQ(cluster1->size(), result); in TEST_F() 845 scoped_ptr<Cluster> cluster1(CreateCluster(0, kBlockInfo1, block_count1)); in TEST_F() local 852 int result = parser_->Parse(cluster1->data(), cluster1->size() - 1); in TEST_F() 854 EXPECT_LT(result, cluster1->size()); in TEST_F() 862 result = parser_->Parse(cluster1->data(), cluster1->size()); in TEST_F() 863 EXPECT_EQ(cluster1->size(), result); in TEST_F()
|