• Home
  • Raw
  • Download

Lines Matching refs:ps_search_node

464     search_node_t *ps_search_node;  in hme_map_mvs_to_grid()  local
497 ps_search_node = in hme_map_mvs_to_grid()
500 i2_mv_x = ps_search_node->s_mv.i2_mvx; in hme_map_mvs_to_grid()
501 i2_mv_y = ps_search_node->s_mv.i2_mvy; in hme_map_mvs_to_grid()
502 i1_ref_idx = ps_search_node->i1_ref_idx; in hme_map_mvs_to_grid()
712 search_node_t *ps_search_node; in hme_pick_back_search_node() local
739 ps_search_node = ps_search_results->aps_part_results[id][i4_part_idx]; in hme_pick_back_search_node()
743 S08 i1_ref_test = ps_search_node[i].i1_ref_idx; in hme_pick_back_search_node()
753 return (ps_search_node + i); in hme_pick_back_search_node()
761 if((ps_search_node->i1_ref_idx != i1_ref_idx_fwd) || in hme_pick_back_search_node()
762 (ps_search_node->s_mv.i2_mvx != i2_mv_x) || (ps_search_node->s_mv.i2_mvy != i2_mv_y)) in hme_pick_back_search_node()
764 return (ps_search_node); in hme_pick_back_search_node()
766 ps_search_node++; in hme_pick_back_search_node()
1021 search_node_t *ps_search_node; in hme_reset_search_results() local
1040 ps_search_node = ps_search_results->aps_part_results[i1_ref_idx][i]; in hme_reset_search_results()
1044 ps_search_node[j].s_mv.i2_mvx = 0; in hme_reset_search_results()
1045 ps_search_node[j].s_mv.i2_mvy = 0; in hme_reset_search_results()
1046 ps_search_node[j].i4_tot_cost = MAX_32BIT_VAL; in hme_reset_search_results()
1047 ps_search_node[j].i4_sad = MAX_32BIT_VAL; in hme_reset_search_results()
1048 ps_search_node[j].i4_sdi = 0; in hme_reset_search_results()
1049 ps_search_node[j].i1_ref_idx = -1; in hme_reset_search_results()
1050 ps_search_node[j].u1_subpel_done = 0; in hme_reset_search_results()
1051 ps_search_node[j].u1_is_avail = 1; in hme_reset_search_results()
1052 ps_search_node[j].i4_mv_cost = 0; in hme_reset_search_results()
1075 S32 hme_clamp_grid_by_mvrange(search_node_t *ps_search_node, S32 i4_step, range_prms_t *ps_mvrange) in hme_clamp_grid_by_mvrange() argument
1078 if(ps_search_node->s_mv.i2_mvx + i4_step >= ps_mvrange->i2_max_x) in hme_clamp_grid_by_mvrange()
1082 if(ps_search_node->s_mv.i2_mvx - i4_step < ps_mvrange->i2_min_x) in hme_clamp_grid_by_mvrange()
1086 if(ps_search_node->s_mv.i2_mvy + i4_step >= ps_mvrange->i2_max_y) in hme_clamp_grid_by_mvrange()
1090 if(ps_search_node->s_mv.i2_mvy - i4_step < ps_mvrange->i2_min_y) in hme_clamp_grid_by_mvrange()
1409 search_node_t *ps_search_node; in hme_get_spatial_candt() local
1450 ps_search_node = ps_top_neighbours; in hme_get_spatial_candt()
1451 COPY_MV_TO_SEARCH_NODE(ps_search_node, ps_mv, pi1_ref_idx, i1_ref_idx, shift); in hme_get_spatial_candt()
1454 ps_search_node++; in hme_get_spatial_candt()
1457 COPY_MV_TO_SEARCH_NODE(ps_search_node, ps_mv, pi1_ref_idx, i1_ref_idx, shift); in hme_get_spatial_candt()
1462 ps_search_node++; in hme_get_spatial_candt()
1465 COPY_MV_TO_SEARCH_NODE(ps_search_node, ps_mv, pi1_ref_idx, i1_ref_idx, shift); in hme_get_spatial_candt()
1469 ps_search_node++; in hme_get_spatial_candt()
1470 ps_search_node->s_mv.i2_mvx = 0; in hme_get_spatial_candt()
1471 ps_search_node->s_mv.i2_mvy = 0; in hme_get_spatial_candt()
1472 ps_search_node->i1_ref_idx = i1_ref_idx; in hme_get_spatial_candt()
1473 ps_search_node->u1_is_avail = 0; in hme_get_spatial_candt()
1474 ps_search_node->u1_subpel_done = 0; in hme_get_spatial_candt()
1478 ps_search_node++; in hme_get_spatial_candt()
1481 ps_search_node->s_mv.i2_mvx = 0; in hme_get_spatial_candt()
1482 ps_search_node->s_mv.i2_mvy = 0; in hme_get_spatial_candt()
1483 ps_search_node->i1_ref_idx = i1_ref_idx; in hme_get_spatial_candt()
1484 ps_search_node->u1_is_avail = 0; in hme_get_spatial_candt()
1485 ps_search_node->u1_subpel_done = 0; in hme_get_spatial_candt()
1491 COPY_MV_TO_SEARCH_NODE(ps_search_node, ps_mv, pi1_ref_idx, i1_ref_idx, shift); in hme_get_spatial_candt()
1495 ps_search_node = ps_left_neighbours; in hme_get_spatial_candt()
1498 COPY_MV_TO_SEARCH_NODE(ps_search_node, ps_mv, pi1_ref_idx, i1_ref_idx, shift); in hme_get_spatial_candt()
1503 ps_search_node++; in hme_get_spatial_candt()
1506 COPY_MV_TO_SEARCH_NODE(ps_search_node, ps_mv, pi1_ref_idx, i1_ref_idx, shift); in hme_get_spatial_candt()
1510 ps_search_node++; in hme_get_spatial_candt()
1511 ps_search_node->s_mv.i2_mvx = 0; in hme_get_spatial_candt()
1512 ps_search_node->s_mv.i2_mvy = 0; in hme_get_spatial_candt()
1513 ps_search_node->i1_ref_idx = i1_ref_idx; in hme_get_spatial_candt()
1514 ps_search_node->u1_is_avail = 0; in hme_get_spatial_candt()
1515 ps_search_node->u1_subpel_done = 0; in hme_get_spatial_candt()
1519 ps_search_node++; in hme_get_spatial_candt()
1522 ps_search_node->s_mv.i2_mvx = 0; in hme_get_spatial_candt()
1523 ps_search_node->s_mv.i2_mvy = 0; in hme_get_spatial_candt()
1524 ps_search_node->i1_ref_idx = i1_ref_idx; in hme_get_spatial_candt()
1525 ps_search_node->u1_is_avail = 0; in hme_get_spatial_candt()
1531 COPY_MV_TO_SEARCH_NODE(ps_search_node, ps_mv, pi1_ref_idx, i1_ref_idx, shift); in hme_get_spatial_candt()
1550 search_node_t *ps_search_node; in hme_get_spatial_candt_in_l1_me() local
1603 ps_search_node = ps_top_neighbours; in hme_get_spatial_candt_in_l1_me()
1611 ps_search_node, in hme_get_spatial_candt_in_l1_me()
1619 ps_search_node->u1_is_avail = 0; in hme_get_spatial_candt_in_l1_me()
1620 ps_search_node->s_mv.i2_mvx = 0; in hme_get_spatial_candt_in_l1_me()
1621 ps_search_node->s_mv.i2_mvy = 0; in hme_get_spatial_candt_in_l1_me()
1622 ps_search_node->i1_ref_idx = i1_ref_idx; in hme_get_spatial_candt_in_l1_me()
1629 ps_search_node++; in hme_get_spatial_candt_in_l1_me()
1639 ps_search_node, in hme_get_spatial_candt_in_l1_me()
1647 ps_search_node->u1_is_avail = 0; in hme_get_spatial_candt_in_l1_me()
1648 ps_search_node->s_mv.i2_mvx = 0; in hme_get_spatial_candt_in_l1_me()
1649 ps_search_node->s_mv.i2_mvy = 0; in hme_get_spatial_candt_in_l1_me()
1650 ps_search_node->i1_ref_idx = i1_ref_idx; in hme_get_spatial_candt_in_l1_me()
1657 ps_search_node++; in hme_get_spatial_candt_in_l1_me()
1667 ps_search_node, in hme_get_spatial_candt_in_l1_me()
1675 ps_search_node->u1_is_avail = 0; in hme_get_spatial_candt_in_l1_me()
1676 ps_search_node->s_mv.i2_mvx = 0; in hme_get_spatial_candt_in_l1_me()
1677 ps_search_node->s_mv.i2_mvy = 0; in hme_get_spatial_candt_in_l1_me()
1678 ps_search_node->i1_ref_idx = i1_ref_idx; in hme_get_spatial_candt_in_l1_me()
1683 ps_search_node++; in hme_get_spatial_candt_in_l1_me()
1684 ps_search_node->u1_is_avail = 0; in hme_get_spatial_candt_in_l1_me()
1685 ps_search_node->s_mv.i2_mvx = 0; in hme_get_spatial_candt_in_l1_me()
1686 ps_search_node->s_mv.i2_mvy = 0; in hme_get_spatial_candt_in_l1_me()
1687 ps_search_node->i1_ref_idx = i1_ref_idx; in hme_get_spatial_candt_in_l1_me()
1691 ps_search_node++; in hme_get_spatial_candt_in_l1_me()
1694 ps_search_node->s_mv.i2_mvx = 0; in hme_get_spatial_candt_in_l1_me()
1695 ps_search_node->s_mv.i2_mvy = 0; in hme_get_spatial_candt_in_l1_me()
1696 ps_search_node->i1_ref_idx = i1_ref_idx; in hme_get_spatial_candt_in_l1_me()
1697 ps_search_node->u1_is_avail = 0; in hme_get_spatial_candt_in_l1_me()
1698 ps_search_node->u1_subpel_done = 0; in hme_get_spatial_candt_in_l1_me()
1712 ps_search_node, in hme_get_spatial_candt_in_l1_me()
1720 ps_search_node->u1_is_avail = 0; in hme_get_spatial_candt_in_l1_me()
1721 ps_search_node->s_mv.i2_mvx = 0; in hme_get_spatial_candt_in_l1_me()
1722 ps_search_node->s_mv.i2_mvy = 0; in hme_get_spatial_candt_in_l1_me()
1723 ps_search_node->i1_ref_idx = i1_ref_idx; in hme_get_spatial_candt_in_l1_me()
1730 ps_search_node = ps_left_neighbours; in hme_get_spatial_candt_in_l1_me()
1740 ps_search_node, in hme_get_spatial_candt_in_l1_me()
1748 ps_search_node->u1_is_avail = 0; in hme_get_spatial_candt_in_l1_me()
1749 ps_search_node->s_mv.i2_mvx = 0; in hme_get_spatial_candt_in_l1_me()
1750 ps_search_node->s_mv.i2_mvy = 0; in hme_get_spatial_candt_in_l1_me()
1751 ps_search_node->i1_ref_idx = i1_ref_idx; in hme_get_spatial_candt_in_l1_me()
1759 ps_search_node++; in hme_get_spatial_candt_in_l1_me()
1769 ps_search_node, in hme_get_spatial_candt_in_l1_me()
1777 ps_search_node->u1_is_avail = 0; in hme_get_spatial_candt_in_l1_me()
1778 ps_search_node->s_mv.i2_mvx = 0; in hme_get_spatial_candt_in_l1_me()
1779 ps_search_node->s_mv.i2_mvy = 0; in hme_get_spatial_candt_in_l1_me()
1780 ps_search_node->i1_ref_idx = i1_ref_idx; in hme_get_spatial_candt_in_l1_me()
1785 ps_search_node++; in hme_get_spatial_candt_in_l1_me()
1786 ps_search_node->u1_is_avail = 0; in hme_get_spatial_candt_in_l1_me()
1787 ps_search_node->s_mv.i2_mvx = 0; in hme_get_spatial_candt_in_l1_me()
1788 ps_search_node->s_mv.i2_mvy = 0; in hme_get_spatial_candt_in_l1_me()
1789 ps_search_node->i1_ref_idx = i1_ref_idx; in hme_get_spatial_candt_in_l1_me()
1793 ps_search_node++; in hme_get_spatial_candt_in_l1_me()
1796 ps_search_node->s_mv.i2_mvx = 0; in hme_get_spatial_candt_in_l1_me()
1797 ps_search_node->s_mv.i2_mvy = 0; in hme_get_spatial_candt_in_l1_me()
1798 ps_search_node->i1_ref_idx = i1_ref_idx; in hme_get_spatial_candt_in_l1_me()
1799 ps_search_node->u1_is_avail = 0; in hme_get_spatial_candt_in_l1_me()
1813 ps_search_node, in hme_get_spatial_candt_in_l1_me()
1821 ps_search_node->u1_is_avail = 0; in hme_get_spatial_candt_in_l1_me()
1822 ps_search_node->s_mv.i2_mvx = 0; in hme_get_spatial_candt_in_l1_me()
1823 ps_search_node->s_mv.i2_mvy = 0; in hme_get_spatial_candt_in_l1_me()
1824 ps_search_node->i1_ref_idx = i1_ref_idx; in hme_get_spatial_candt_in_l1_me()
1957 search_node_t *ps_search_node; in hme_init_mv_grid() local
1968 ps_search_node = &ps_mv_grid->as_node[ps_mv_grid->i4_start_offset]; in hme_init_mv_grid()
1973 ps_search_node[j].u1_is_avail = 1; in hme_init_mv_grid()
1976 ps_search_node += ps_mv_grid->i4_stride; in hme_init_mv_grid()
3045 search_node_t *ps_search_node; in hme_populate_pus() local
3113 ps_search_node = in hme_populate_pus()
3117 if(ps_search_node->u1_subpel_done) in hme_populate_pus()
3119 i4_ref_id = ps_search_node->i1_ref_idx; in hme_populate_pus()
3136 ps_curr_pu->pu.mv.s_l0_mv = ps_search_node->s_mv; in hme_populate_pus()
3157 ps_curr_pu->pu.mv.s_l1_mv = ps_search_node->s_mv; in hme_populate_pus()
3167 ps_curr_pu->i4_mv_cost = ps_search_node->i4_mv_cost; in hme_populate_pus()
3168 ps_curr_pu->i4_sdi = ps_search_node->i4_sdi; in hme_populate_pus()
3173 ((ps_search_node->i4_sad * in hme_populate_pus()
3174 ps_ctxt->s_wt_pred.a_wpred_wt[ps_search_node->i1_ref_idx] + in hme_populate_pus()
3177 ps_search_node->i4_mv_cost; in hme_populate_pus()
3197 ps_search_node++; in hme_populate_pus()
3246 search_node_t *ps_search_node; in hme_populate_pus_8x8_cu() local
3310 ps_search_node = in hme_populate_pus_8x8_cu()
3316 if((ps_search_node->u1_is_avail) || (ps_search_node->u1_subpel_done)) in hme_populate_pus_8x8_cu()
3318 i4_ref_id = ps_search_node->i1_ref_idx; in hme_populate_pus_8x8_cu()
3333 ps_curr_pu->pu.mv.s_l0_mv = ps_search_node->s_mv; in hme_populate_pus_8x8_cu()
3350 ps_curr_pu->pu.mv.s_l1_mv = ps_search_node->s_mv; in hme_populate_pus_8x8_cu()
3356 ps_curr_pu->i4_mv_cost = ps_search_node->i4_mv_cost; in hme_populate_pus_8x8_cu()
3357 ps_curr_pu->i4_sdi = ps_search_node->i4_sdi; in hme_populate_pus_8x8_cu()
3362 ((ps_search_node->i4_sad * in hme_populate_pus_8x8_cu()
3363 ps_ctxt->s_wt_pred.a_wpred_wt[ps_search_node->i1_ref_idx] + in hme_populate_pus_8x8_cu()
3366 ps_search_node->i4_mv_cost; in hme_populate_pus_8x8_cu()
3375 ps_search_node++; in hme_populate_pus_8x8_cu()
3764 search_node_t *ps_search_node, hme_mv_t *ps_mv, S08 i1_ref_idx, S08 i1_mv_magnitude_shift) in hme_search_node_populator() argument
3766 ps_search_node->ps_mv->i2_mvx = SHL_NEG((WORD16)ps_mv->i2_mv_x, i1_mv_magnitude_shift); in hme_search_node_populator()
3767 ps_search_node->ps_mv->i2_mvy = SHL_NEG((WORD16)ps_mv->i2_mv_y, i1_mv_magnitude_shift); in hme_search_node_populator()
3768 ps_search_node->i1_ref_idx = i1_ref_idx; in hme_search_node_populator()
3769 ps_search_node->u1_is_avail = 1; in hme_search_node_populator()
3770 ps_search_node->u1_subpel_done = 0; in hme_search_node_populator()
3888 ps_search_cands[i].ps_search_node, in hme_populate_search_candidates()
4001 ps_search_cands[i].ps_search_node, ps_mv, pi1_ref_idx[0], i1_mv_magnitude_shift); in hme_populate_search_candidates()
4041 hme_search_node_populator(ps_search_cands[i].ps_search_node, ps_mv, pi1_ref_idx[0], 1); in hme_populate_search_candidates()
4052 ASSERT(ps_search_cands[i].ps_search_node->i1_ref_idx >= 0); in hme_populate_search_candidates()
4055 ? (ps_ctxt->pi4_ref_id_lc_to_l0_map[ps_search_cands[i].ps_search_node->i1_ref_idx] < in hme_populate_search_candidates()
4057 : (ps_ctxt->pi4_ref_id_lc_to_l1_map[ps_search_cands[i].ps_search_node->i1_ref_idx] < in hme_populate_search_candidates()
4077 search_node_t *ps_search_node; in hme_mv_clipper() local
4079 ps_search_node = ps_search_prms_blk->ps_search_candts[candt].ps_search_node; in hme_mv_clipper()
4080 ps_range_prms = ps_search_prms_blk->aps_mv_range[ps_search_node->i1_ref_idx]; in hme_mv_clipper()
4085 ps_search_node->ps_mv->i2_mvx, in hme_mv_clipper()
4086 ps_search_node->ps_mv->i2_mvy, in hme_mv_clipper()