Lines Matching refs:ps_root
176 tu_tree_node_t *ps_root,
309 ps_node = ps_root + u1_start_index_for_parent + u2_parent_offset;
310 ps_childNodeTL = ps_root + u1_start_index_for_child + u2_child_offset + POS_TL;
311 ps_childNodeTR = ps_root + u1_start_index_for_child + u2_child_offset + POS_TR;
312 ps_childNodeBL = ps_root + u1_start_index_for_child + u2_child_offset + POS_BL;
313 ps_childNodeBR = ps_root + u1_start_index_for_child + u2_child_offset + POS_BR;
393 ps_root,
405 ps_root,
417 ps_root,
429 ps_root,
463 tu_tree_node_t *ps_root,
475 ps_root,
515 ihevce_tu_node_parent_finder(tu_tree_node_t *ps_root, tu_tree_node_t *ps_leaf)
519 GETRANGE(u1_depth_of_leaf, ps_root->s_luma_data.u1_size / ps_leaf->s_luma_data.u1_size);
528 return ps_root;
533 (ps_leaf->s_luma_data.u1_posx >= ps_root->ps_child_node_tl->s_luma_data.u1_size) +
534 (ps_leaf->s_luma_data.u1_posy >= ps_root->ps_child_node_tl->s_luma_data.u1_size) * 2;
536 ASSERT(NULL != ps_root->ps_child_node_tl);
537 ps_root->ps_child_node_tr);
538 ASSERT(NULL != ps_root->ps_child_node_bl);
539 ASSERT(NULL != ps_root->ps_child_node_br);
545 return ihevce_tu_node_parent_finder(ps_root->ps_child_node_tl, ps_leaf);
549 return ihevce_tu_node_parent_finder(ps_root->ps_child_node_tr, ps_leaf);
553 return ihevce_tu_node_parent_finder(ps_root->ps_child_node_bl, ps_leaf);
557 return ihevce_tu_node_parent_finder(ps_root->ps_child_node_br, ps_leaf);
579 * Input : 1. ps_root: Pointer to root of the tree containing TU info
588 tu_tree_node_t *ps_root,
615 if((ps_root->s_luma_data.u1_size >> u1_cur_depth) == u1_tu_size)
627 tu_tree_node_t *ps_parent = ihevce_tu_node_parent_finder(ps_root, ps_leaf);
685 tu_tree_node_t *ps_parent = ihevce_tu_node_parent_finder(ps_root, ps_leaf);
2546 * Input : 1. ps_root: Pointer to root of the tree containing TU info.
2555 tu_tree_node_t *ps_root,
2571 ASSERT(ps_root != NULL);
2572 ASSERT(ps_root->s_luma_data.u1_size == u1_tu_size);
2576 ASSERT(ps_root->u1_is_valid_node);
2580 ASSERT(!ps_root->u1_is_valid_node);
2585 ASSERT(ps_root->ps_child_node_tl != NULL);
2586 ASSERT(ps_root->ps_child_node_tr != NULL);
2587 ASSERT(ps_root->ps_child_node_bl != NULL);
2588 ASSERT(ps_root->ps_child_node_br != NULL);
2589 ASSERT(ps_root->ps_child_node_tl->s_luma_data.u1_size == (u1_tu_size / 2));
2590 ASSERT(ps_root->ps_child_node_tr->s_luma_data.u1_size == (u1_tu_size / 2));
2591 ASSERT(ps_root->ps_child_node_bl->s_luma_data.u1_size == (u1_tu_size / 2));
2592 ASSERT(ps_root->ps_child_node_br->s_luma_data.u1_size == (u1_tu_size / 2));
2593 ASSERT(ps_root->ps_child_node_tl->u1_is_valid_node);
2594 ASSERT(ps_root->ps_child_node_tr->u1_is_valid_node);
2595 ASSERT(ps_root->ps_child_node_bl->u1_is_valid_node);
2596 ASSERT(ps_root->ps_child_node_br->u1_is_valid_node);
2600 ASSERT(ps_root->ps_child_node_tl == NULL);
2601 ASSERT(ps_root->ps_child_node_tr == NULL);
2602 ASSERT(ps_root->ps_child_node_bl == NULL);
2603 ASSERT(ps_root->ps_child_node_br == NULL);
2610 ps_root->s_luma_data.u1_posx,
2611 ps_root->s_luma_data.u1_posy);
2620 ps_root->u1_is_valid_node = 0;
2623 ps_root->ps_child_node_tl,
2626 ps_root->ps_child_node_tl->s_luma_data.u1_size,
2632 ps_root->ps_child_node_tr,
2635 ps_root->ps_child_node_tr->s_luma_data.u1_size,
2641 ps_root->ps_child_node_bl,
2644 ps_root->ps_child_node_bl->s_luma_data.u1_size,
2650 ps_root->ps_child_node_br,
2653 ps_root->ps_child_node_br->s_luma_data.u1_size,
2660 ps_root->ps_child_node_tl = NULL;
2661 ps_root->ps_child_node_tr = NULL;
2662 ps_root->ps_child_node_bl = NULL;
2663 ps_root->ps_child_node_br = NULL;