Home | History | Annotate | Download | only in decoder
      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 #ifndef IXHEAACD_DEFINITIONS_H
     21 #define IXHEAACD_DEFINITIONS_H
     22 
     23 #define LIBNAME "IA_XHEAAC_DEC"
     24 #define LIBVERSION "1.0"
     25 
     26 #define LIB_APIVERSION_MAJOR 1
     27 #define LIB_APIVERSION_MINOR 10
     28 
     29 #define LIB_APIVERSION \
     30   IA_MAKE_VERSION_STR(LIB_APIVERSION_MAJOR, LIB_APIVERSION_MINOR)
     31 
     32 #define IA_ENHAACPLUS_DEC_PERSIST_IDX (0)
     33 #define IA_ENHAACPLUS_DEC_SCRATCH_IDX (1)
     34 #define IA_ENHAACPLUS_DEC_INPUT_IDX (2)
     35 #define IA_ENHAACPLUS_DEC_OUTPUT_IDX (3)
     36 
     37 #define IA_MPS_DEC_PERSIST_IDX (0)
     38 #define IA_MPS_DEC_SCRATCH_IDX (1)
     39 #define IA_MPS_DEC_INPUT_IDX (2)
     40 #define IA_MPS_DEC_MPS_INPUT_IDX (3)
     41 #define IA_MPS_DEC_OUTPUT_IDX (4)
     42 
     43 #define IA_ENHAACPLUS_DEC_INP_BUF_SIZE (6144 / 8)
     44 
     45 #define IA_ENHAACPLUS_DEC_SAMPLES_PER_FRAME (1024)
     46 
     47 #define IA_ENHAACPLUS_DEC_OUT_BUF_SIZE \
     48   (2 * IA_ENHAACPLUS_DEC_SAMPLES_PER_FRAME * sizeof(WORD16))
     49 
     50 #define IA_MPS_DEC_INP_BUF_SIZE (0)
     51 #define IA_MPS_DEC_OUT_BUF_SIZE (0)
     52 
     53 #define IA_ENHAACPLUS_DEC_MAX_CHANNEL (2)
     54 #define IA_ENHAACPLUS_DEC_FRAME_LENGTH (1024)
     55 
     56 #endif /* __DEFINITIONS_H__ */
     57