• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /******************************************************************************
2  *
3  * Copyright (C) 2018 The Android Open Source Project
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at:
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  *
17  *****************************************************************************
18  * Originally developed and contributed by Ittiam Systems Pvt. Ltd, Bangalore
19 */
20 /*!
21 ******************************************************************************
22 * \file hme_fullpel.h
23 *
24 * \brief
25 *    contains prototypes for fullpel functions
26 *
27 * \date
28 *    18/09/2012
29 *
30 * \author
31 *    Ittiam
32 *
33 ******************************************************************************
34 */
35 
36 #ifndef _HME_FULLPEL_H_
37 #define _HME_FULLPEL_H_
38 
39 /*****************************************************************************/
40 /* Functions                                                                 */
41 /*****************************************************************************/
42 
43 void hme_fullpel_cand_sifter(
44     hme_search_prms_t *ps_search_prms,
45     layer_ctxt_t *ps_layer_ctxt,
46     wgt_pred_ctxt_t *ps_wt_inp_prms,
47     S32 i4_alpha_stim_multiplier,
48     U08 u1_is_cu_noisy,
49     ihevce_me_optimised_function_list_t *ps_me_optimised_function_list);
50 
51 void hme_fullpel_refine(
52     refine_prms_t *ps_refine_prms,
53     hme_search_prms_t *ps_search_prms,
54     layer_ctxt_t *ps_layer_ctxt,
55     wgt_pred_ctxt_t *ps_wt_inp_prms,
56     U32 *pu4_unique_node_map,
57     U08 u1_num_init_search_cands,
58     U08 u1_8x8_blk_mask,
59     S32 i4_unique_node_map_center_x,
60     S32 i4_unique_node_map_center_y,
61     S08 i1_unique_node_map_ref_idx,
62     ME_QUALITY_PRESETS_T e_quality_preset,
63     ihevce_me_optimised_function_list_t *ps_me_optimised_function_list);
64 
65 S32 hme_remove_duplicate_fpel_search_candidates(
66     search_node_t *ps_unique_search_nodes,
67     search_candt_t *ps_search_candts,
68     U32 *pu4_unique_node_map,
69     S08 *pi1_pred_dir_to_ref_idx,
70     S32 i4_num_srch_cands,
71     S32 i4_num_init_candts,
72     S32 i4_refine_iter_ctr,
73     S32 i4_num_refinement_iterations,
74     S32 i4_num_act_ref_l0,
75     S08 i1_unique_node_map_ref_idx,
76     S32 i4_unique_node_map_center_x,
77     S32 i4_unique_node_map_center_y,
78     U08 u1_is_bidir_enabled,
79     ME_QUALITY_PRESETS_T e_quality_preset);
80 
81 #endif
82