Skip to content
Browse files

gps: no dependency is required

  • Loading branch information...
1 parent 5ad94e0 commit 93f1bde8530fa3fe3bec34fe2e324f08257d2550 @hongsup hongsup committed
Showing with 12 additions and 1 deletion.
  1. +12 −1 src/backend_gps/gm_gps_bb_merge_intra_loop.cc
View
13 src/backend_gps/gm_gps_bb_merge_intra_loop.cc
@@ -214,6 +214,7 @@ class gps_find_intra_merge_candidate_t : public gps_apply_bb
gm_rwinfo_sets* rwi = NULL;
if (is_okay) {
+
// check dependency between p1 and s_n
rwi = new gm_rwinfo_sets();
gm_gps_get_rwinfo_from_bb(p1, rwi);
@@ -225,10 +226,19 @@ class gps_find_intra_merge_candidate_t : public gps_apply_bb
if (is_okay && (s0 != NULL)) {
- // check dependency between s2 and s0
+ /*
+ printf("hello2\n");
+ s0->print();
+ p1->print();
+ s1->print();
+ p2->print();
+ s2->print();
+
+ // check dependency between sn and s0
gm_rwinfo_sets* rwi_0 = new gm_rwinfo_sets(); // s_0
gm_gps_get_rwinfo_from_bb(s0, rwi_0);
if (gm_has_dependency(rwi_0, rwi_n)) is_okay = false;
+ if (is_okay) printf("hello3\n");
// check dependency between p2 and s0
gm_rwinfo_sets* rwi_pn = new gm_rwinfo_sets(); // s_0
@@ -237,6 +247,7 @@ class gps_find_intra_merge_candidate_t : public gps_apply_bb
delete rwi_0;
delete rwi_pn;
+ */
}
delete rwi_n;

0 comments on commit 93f1bde

Please sign in to comment.
Something went wrong with that request. Please try again.