• 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 #ifndef IXHEAACD_STRUCT_H
21 #define IXHEAACD_STRUCT_H
22 
23 typedef struct {
24   UINT32 audio_object_type;
25   UINT32 samp_frequency_index;
26   UINT32 sampling_frequency;
27   UINT32 channel_configuration;
28   UINT32 ext_audio_object_type;
29   UINT32 ext_samp_frequency_index;
30   UINT32 ext_sampling_frequency;
31   UINT32 sbr_present_flag;
32 
33   UINT32 frame_length;
34   ia_prog_config_struct* str_prog_config;
35   ia_usac_config_struct str_usac_config;
36 
37   WORD32 num_front_channel;
38   WORD32 num_side_channel;
39   WORD32 num_back_channel;
40   WORD32 num_lfe_channel;
41   WORD32 num_ind_cce;
42   UINT32 avg_bit_rate;
43 } ia_audio_specific_config_struct;
44 
45 typedef struct {
46   WORD32 sample_rate_layer;
47   WORD32 bit_rate;
48 
49 } ia_layer_data_struct;
50 
51 typedef struct {
52   UINT32 stream_count;
53   ia_audio_specific_config_struct str_audio_specific_config;
54   ia_layer_data_struct str_layer;
55   WORD32 tracks_in_layer;
56   UWORD32 scal_out_select;
57   WORD32 scal_out_object_type;
58   WORD32 scal_out_num_channels;
59   WORD32 scal_out_sampling_frequency;
60 
61 } ia_frame_data_struct;
62 
63 #endif
64