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 ****************************************************************************** 23 * \file ihevce_tile_interface.h 24 * 25 * \brief 26 * This file contains functions prototypes, constants, enumerations and 27 * structures related to tile interface 28 * 29 * \date 30 * 03 july 2012 31 * 32 * \author 33 * Ittiam 34 * 35 * 36 * List of Functions 37 * 38 * 39 ****************************************************************************** 40 */ 41 42 #ifndef _IHEVCE_TILE_INTERFACE_H_ 43 #define _IHEVCE_TILE_INTERFACE_H_ 44 45 /****************************************************************************/ 46 /* Function Prototypes */ 47 /****************************************************************************/ 48 void ihevce_update_tile_params( 49 ihevce_static_cfg_params_t *ps_static_cfg_prms, 50 ihevce_tile_params_t *ps_tile_params, 51 WORD32 i4_resolution_id); 52 53 WORD32 ihevce_tiles_get_num_mem_recs(void); 54 55 WORD32 ihevce_tiles_get_mem_recs( 56 iv_mem_rec_t *ps_memtab, 57 ihevce_static_cfg_params_t *ps_static_cfg_params, 58 frm_ctb_ctxt_t *ps_frm_ctb_prms, 59 WORD32 i4_resolution_id, 60 WORD32 i4_mem_space); 61 62 void *ihevce_tiles_mem_init( 63 iv_mem_rec_t *ps_memtab, 64 ihevce_static_cfg_params_t *ps_static_cfg_prms, 65 enc_ctxt_t *ps_enc_ctxt, 66 WORD32 i4_resolution_id); 67 68 void update_last_coded_cu_qp( 69 WORD8 *pi1_ctb_row_qp, 70 WORD8 i1_entropy_coding_sync_enabled_flag, 71 frm_ctb_ctxt_t *ps_frm_ctb_prms, 72 WORD8 i1_frame_qp, 73 WORD32 vert_ctr, 74 WORD32 ctb_ctr, 75 WORD8 *pi1_last_cu_qp); 76 77 #endif //_IHEVCE_TILE_INTERFACE_H_ 78