• 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_refine.h
23 *
24 * \brief
25 *    Prototypes for coarse layer refine functions
26 *
27 * \date
28 *    18/09/2012
29 *
30 * \author
31 *    Ittiam
32 *
33 ******************************************************************************
34 */
35 
36 #ifndef _HME_REFINE_H_
37 #define _HME_REFINE_H_
38 
39 /*****************************************************************************/
40 /* Functions                                                                 */
41 /*****************************************************************************/
42 
43 void hme_refine(
44     me_ctxt_t *ps_ctxt,
45     refine_prms_t *ps_refine_prms,
46     PF_EXT_UPDATE_FXN_T pf_ext_update_fxn,
47     //PF_GET_INTRA_CU_AND_COST pf_get_intra_cu_and_cost,
48     layer_ctxt_t *ps_coarse_layer,
49     multi_thrd_ctxt_t *ps_multi_thrd_ctxt,
50     S32 lyr_job_type,
51     S32 thrd_id,
52     S32 me_frm_id,
53     pre_enc_L0_ipe_encloop_ctxt_t *ps_l0_ipe_input);
54 
55 void hme_refine_no_encode(
56     coarse_me_ctxt_t *ps_ctxt,
57     refine_prms_t *ps_refine_prms,
58     multi_thrd_ctxt_t *ps_multi_thrd_ctxt,
59     S32 lyr_job_type,
60     WORD32 i4_ping_pong,
61     void **ppv_dep_mngr_hme_sync);
62 
63 void hme_refine_frm_init(
64     layer_ctxt_t *ps_curr_layer, refine_prms_t *ps_refine_prms, layer_ctxt_t *ps_coarse_layer);
65 
66 #endif /* #ifndef _HME_REFINE_H_ */
67