• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* ------------------------------------------------------------------
2  * Copyright (C) 1998-2009 PacketVideo
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *      http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
13  * express or implied.
14  * See the License for the specific language governing permissions
15  * and limitations under the License.
16  * -------------------------------------------------------------------
17  */
18 /*
19 
20  Pathname: s_ADIF_Header.h
21 
22 ------------------------------------------------------------------------------
23  REVISION HISTORY
24 
25  Who:                       Date:
26  Description:
27 
28 ------------------------------------------------------------------------------
29  INCLUDE DESCRIPTION
30 
31  This include file defines the structure, ADIF_Header
32 
33 ------------------------------------------------------------------------------
34 */
35 
36 /*----------------------------------------------------------------------------
37 ; CONTINUE ONLY IF NOT ALREADY DEFINED
38 ----------------------------------------------------------------------------*/
39 #ifndef S_ADIF_HEADER_H
40 #define S_ADIF_HEADER_H
41 
42 /*----------------------------------------------------------------------------
43 ; INCLUDES
44 ----------------------------------------------------------------------------*/
45 #include "pv_audio_type_defs.h"
46 #include "e_adif_const.h"
47 #include "e_rawbitstreamconst.h"
48 
49 /*----------------------------------------------------------------------------
50 ; MACROS
51 ; Define module specific macros here
52 ----------------------------------------------------------------------------*/
53 
54 /*----------------------------------------------------------------------------
55 ; DEFINES
56 ; Include all pre-processor statements here.
57 ----------------------------------------------------------------------------*/
58 
59 /*----------------------------------------------------------------------------
60 ; EXTERNAL VARIABLES REFERENCES
61 ; Declare variables used in this module but defined elsewhere
62 ----------------------------------------------------------------------------*/
63 
64 /*----------------------------------------------------------------------------
65 ; SIMPLE TYPEDEF'S
66 ----------------------------------------------------------------------------*/
67 
68 /*----------------------------------------------------------------------------
69 ; ENUMERATED TYPEDEF'S
70 ----------------------------------------------------------------------------*/
71 
72 /*----------------------------------------------------------------------------
73 ; STRUCTURES TYPEDEF'S
74 ----------------------------------------------------------------------------*/
75 
76 typedef struct
77 {
78     Char    adif_id[LEN_ADIF_ID+1];
79     Int     copy_id_present;
80     Char    copy_id[LEN_COPYRT_ID+1];
81     Int     original_copy;
82     Int     home;
83     Int     bitstream_type;
84     Int32   bitrate;
85     Int     num_pce;
86     Int     prog_tags[(1<<LEN_TAG)];
87 } ADIF_Header;
88 
89 /*----------------------------------------------------------------------------
90 ; GLOBAL FUNCTION DEFINITIONS
91 ; Function Prototype declaration
92 ----------------------------------------------------------------------------*/
93 
94 /*----------------------------------------------------------------------------
95 ; END
96 ----------------------------------------------------------------------------*/
97 #endif
98 
99