• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (C) 2014 Amlogic Corporation.
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 express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 #ifndef _STREAM_FORMAT_H_
18 #define _STREAM_FORMAT_H_
19 
20 #include "amports/vformat.h"
21 #include "amports/aformat.h"
22 
23 typedef enum {
24     NONE = 0,
25     ID3V1,
26     ID3V2,
27     APEV1,
28     APEV2,
29     WMATAG,
30     MPEG4TAG,
31 } audio_tag_type;
32 
33 typedef enum {
34     UNKNOWN_FILE    = 0,
35     AVI_FILE        = 1,
36     MPEG_FILE       = 2,
37     WAV_FILE        = 3,
38     MP3_FILE        = 4,
39     AAC_FILE        = 5,
40     AC3_FILE        = 6,
41     RM_FILE         = 7,
42     DTS_FILE        = 8,
43     MKV_FILE        = 9,
44     MOV_FILE        = 10,
45     MP4_FILE        = 11,
46     FLAC_FILE       = 12,
47     H264_FILE       = 13,
48     M2V_FILE        = 14,
49     FLV_FILE        = 15,
50     P2P_FILE        = 16,
51     ASF_FILE        = 17,
52     STREAM_FILE     = 18,
53     APE_FILE        = 19,
54     AMR_FILE        = 20,
55     AVS_FILE        = 21,
56     PMP_FILE        = 22,
57     OGM_FILE        = 23,
58     HEVC_FILE       = 24,
59     DRA_FILE	    = 25,
60     IVF_FILE        = 26,
61     AIFF_FILE        = 27,
62     FILE_MAX,
63 } pfile_type;
64 
65 #endif
66