• 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_coarse.h
23 *
24 * \brief
25 *    Prototypes for coarse layer functions
26 *
27 * \date
28 *    18/09/2012
29 *
30 * \author
31 *    Ittiam
32 *
33 ******************************************************************************
34 */
35 
36 #ifndef _HME_COARSE_H_
37 #define _HME_COARSE_H_
38 
39 /*****************************************************************************/
40 /* Functions                                                                 */
41 /*****************************************************************************/
42 
43 /**
44 ********************************************************************************
45 *  @fn     void hme_coarse_frm_init(me_ctxt_t *ps_ctxt, coarse_prms_t *ps_coarse_prms)
46 *
47 *  @brief  Frame init entry point Coarse ME.
48 *
49 *  @param[in,out]  ps_ctxt: ME Handle
50 *
51 *  @param[in]  ps_coarse_prms : Coarse layer config params
52 *
53 *  @return None
54 ********************************************************************************
55 */
56 void hme_coarse_frm_init(coarse_me_ctxt_t *ps_ctxt, coarse_prms_t *ps_coarse_prms);
57 
58 /**
59 ********************************************************************************
60 *  @fn     void hme_coarse(me_ctxt_t *ps_ctxt, coarse_prms_t *ps_coarse_prms)
61 *
62 *  @brief  Top level entry point for Coarse ME. Runs across blks and searches
63 *          at a 4x4 blk granularity by using 4x8 and 8x4 patterns.
64 *
65 *  @param[in,out]  ps_ctxt: ME Handle
66 *
67 *  @param[in]  ps_coarse_prms : Coarse layer config params
68 *
69 *  @return None
70 ********************************************************************************
71 */
72 
73 void hme_coarsest(
74     coarse_me_ctxt_t *ps_ctxt,
75     coarse_prms_t *ps_coarse_prms,
76     multi_thrd_ctxt_t *ps_multi_thrd_ctxt,
77     WORD32 i4_ping_pong,
78     void **ppv_dep_mngr_hme_sync);
79 
80 #endif /* #ifndef _HME_COARSE_H_ */
81