• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1root {
2    module = "master";
3    codec_config_hdi_1_0 {
4        match_attr = "media_codec_capabilities";
5        use_openmax = false;
6        // capsMask: 0x01, Adaptive playback; 0x02, Secure playback; 0x04, Tunnel playback.
7        // allocateMask: 0x01, Input buffer allocated within the Codec module;
8        // allocateMask: 0x02, Input buffer allocated by an external user;
9        // allocateMask: 0x04, Output buffer allocated within the Codec module;
10        // allocateMask: 0x08, Output buffer allocated by an external user.
11
12        VideoHwEncoders {
13            /* node name explaination -- HDF_video_hw_enc_avc_rk:
14            **
15            **    HDF____________video__________________hw____________________enc____________avc_______rk
16            **     |               |                    |                      |              |        |
17            ** HDF or OMX    video or audio    hardware or software    encoder or decoder    mime    vendor
18            */
19            HDF_video_hw_enc_avc_rk {
20                mime = 1;
21                type = 1;
22                name = "codec.avc.hardware.encoder";
23                supportProfiles = [1, 32768, 2, 32768, 8, 32768];
24                isSoftwareCodec = false;
25                processModeMask = [];
26                capsMask = [0x01];
27                allocateMask = [0x010, 0x020];
28                minInputBufferNum = 4;
29                maxInputBufferNum = 20;
30                minOutputBufferNum = 4;
31                maxOutputBufferNum = 20;
32                minBitRate = 1;
33                maxBitRate = 40000000;
34                inputBufferSize = 20000000;
35                outputBufferSize = 20000000;
36                minWidth = 176;
37                minHeight = 144;
38                maxWidth = 1920;
39                maxHeight = 1088;
40                widthAlignment = 16;
41                heightAlignment = 8;
42                supportPixelFmts = [28, 24, 30, 22, 7, 3, 14, 13, 20, 26, 27, 12];
43            }
44        }
45        VideoHwDecoders {
46            HDF_video_hw_dec_avc_rk {
47                mime = 1;
48                type = 0;
49                name = "codec.avc.hardware.decoder";
50                supportProfiles = [1, 32768, 2, 32768, 8, 32768];
51                isSoftwareCodec = false;
52                processModeMask = [];
53                capsMask = [0x01];
54                allocateMask = [0x010, 0x020];
55                minInputBufferNum = 4;
56                maxInputBufferNum = 20;
57                minOutputBufferNum = 4;
58                maxOutputBufferNum = 20;
59                minBitRate = 1;
60                maxBitRate = 10000000;
61                inputBufferSize = 20000000;
62                outputBufferSize = 20000000;
63                minWidth = 176;
64                minHeight = 144;
65                maxWidth = 4096;
66                maxHeight = 2160;
67                widthAlignment = 8;
68                heightAlignment = 8;
69                supportPixelFmts = [24];
70            }
71            HDF_video_hw_dec_mpeg2_rk {
72                mime = 65531;
73                type = 0;
74                name = "HDF_video_hw_dec_mpeg2_rk";
75                supportProfiles = [0, 3, 1, 3];
76                isSoftwareCodec = false;
77                processModeMask = [];
78                capsMask = [0x01];
79                allocateMask = [0x010, 0x020];
80                minInputBufferNum = 4;
81                maxInputBufferNum = 20;
82                minOutputBufferNum = 4;
83                maxOutputBufferNum = 20;
84                minBitRate = 1;
85                maxBitRate = 10000000;
86                inputBufferSize = 20000000;
87                outputBufferSize = 20000000;
88                minWidth = 176;
89                minHeight = 144;
90                maxWidth = 1920;
91                maxHeight = 1088;
92                widthAlignment = 8;
93                heightAlignment = 8;
94                supportPixelFmts = [24];
95            }
96            HDF_video_hw_dec_v8p_rk {
97                mime = 65532;
98                type = 0;
99                name = "HDF_video_hw_dec_v8p_rk";
100                supportProfiles = [];
101                isSoftwareCodec = false;
102                processModeMask = [];
103                capsMask = [0x01];
104                allocateMask = [0x010, 0x020];
105                minInputBufferNum = 4;
106                maxInputBufferNum = 20;
107                minOutputBufferNum = 4;
108                maxOutputBufferNum = 20;
109                minBitRate = 1;
110                maxBitRate = 10000000;
111                inputBufferSize = 20000000;
112                outputBufferSize = 20000000;
113                minWidth = 176;
114                minHeight = 144;
115                maxWidth = 1920;
116                maxHeight = 1088;
117                widthAlignment = 8;
118                heightAlignment = 8;
119                supportPixelFmts = [24];
120            }
121            HDF_video_hw_dec_h263_rk {
122                mime = 65533;
123                type = 0;
124                name = "HDF_video_hw_dec_h263_rk";
125                supportProfiles = [1, 1, 1, 2, 1, 4, 1, 16, 8, 1, 8, 2, 8, 4, 8, 16];
126                isSoftwareCodec = false;
127                processModeMask = [];
128                capsMask = [0x01];
129                allocateMask = [0x010, 0x020];
130                minInputBufferNum = 4;
131                maxInputBufferNum = 20;
132                minOutputBufferNum = 4;
133                maxOutputBufferNum = 20;
134                minBitRate = 1;
135                maxBitRate = 10000000;
136                inputBufferSize = 20000000;
137                outputBufferSize = 20000000;
138                minWidth = 176;
139                minHeight = 144;
140                maxWidth = 1920;
141                maxHeight = 1088;
142                widthAlignment = 8;
143                heightAlignment = 8;
144                supportPixelFmts = [24];
145            }
146            HDF_video_hw_dec_m4v_rk {
147                mime = 65534;
148                type = 0;
149                name = "HDF_video_hw_dec_m4v_rk";
150                supportProfiles = [1, 1, 1, 2, 1, 4, 1, 8, 1, 16];
151                isSoftwareCodec = false;
152                processModeMask = [];
153                capsMask = [0x01];
154                allocateMask = [0x010, 0x020];
155                minInputBufferNum = 4;
156                maxInputBufferNum = 20;
157                minOutputBufferNum = 4;
158                maxOutputBufferNum = 20;
159                minBitRate = 1;
160                maxBitRate = 10000000;
161                inputBufferSize = 20000000;
162                outputBufferSize = 20000000;
163                minWidth = 176;
164                minHeight = 144;
165                maxWidth = 1920;
166                maxHeight = 1088;
167                widthAlignment = 8;
168                heightAlignment = 8;
169                supportPixelFmts = [24];
170            }
171            HDF_video_hw_dec_flv_rk {
172                mime = 65535;
173                type = 0;
174                name = "HDF_video_hw_dec_flv_rk";
175                supportProfiles = [];
176                isSoftwareCodec = false;
177                processModeMask = [];
178                capsMask = [0x01];
179                allocateMask = [0x010, 0x020];
180                minInputBufferNum = 4;
181                maxInputBufferNum = 20;
182                minOutputBufferNum = 4;
183                maxOutputBufferNum = 20;
184                minBitRate = 1;
185                maxBitRate = 10000000;
186                inputBufferSize = 20000000;
187                outputBufferSize = 20000000;
188                minWidth = 176;
189                minHeight = 144;
190                maxWidth = 1920;
191                maxHeight = 1088;
192                widthAlignment = 8;
193                heightAlignment = 8;
194                supportPixelFmts = [24];
195            }
196            HDF_video_hw_dec_mjpeg_rk {
197                mime = 0;
198                type = 0;
199                name = "HDF_video_hw_dec_mjpeg_rk";
200                supportProfiles = [];
201                isSoftwareCodec = false;
202                processModeMask = [];
203                capsMask = [0x01];
204                allocateMask = [0x010, 0x020];
205                minInputBufferNum = 4;
206                maxInputBufferNum = 20;
207                minOutputBufferNum = 4;
208                maxOutputBufferNum = 20;
209                minBitRate = 1;
210                maxBitRate = 10000000;
211                inputBufferSize = 20000000;
212                outputBufferSize = 20000000;
213                minWidth = 176;
214                minHeight = 144;
215                maxWidth = 1920;
216                maxHeight = 1088;
217                widthAlignment = 8;
218                heightAlignment = 8;
219                supportPixelFmts = [24];
220            }
221            HDF_video_hw_dec_hevc_rk {
222                mime = 2;
223                type = 0;
224                name = "codec.hevc.hardware.decoder";
225                supportProfiles = [1, 1, 1, 4, 1, 16, 1, 64, 1, 256, 1, 1024, 1, 4096, 1, 16384, 1, 65536, 2, 65536];
226                isSoftwareCodec = false;
227                processModeMask = [];
228                capsMask = [0x01];
229                allocateMask = [0x010, 0x020];
230                minInputBufferNum = 4;
231                maxInputBufferNum = 20;
232                minOutputBufferNum = 4;
233                maxOutputBufferNum = 20;
234                minBitRate = 1;
235                maxBitRate = 160000000;
236                inputBufferSize = 20000000;
237                outputBufferSize = 20000000;
238                minWidth = 176;
239                minHeight = 144;
240                maxWidth = 1920;
241                maxHeight = 1088;
242                widthAlignment = 2;
243                heightAlignment = 2;
244                supportPixelFmts = [24];
245            }
246        }
247        VideoSwEncoders {
248        }
249        VideoSwDecoders {
250        }
251        AudioHwEncoders {
252        }
253        AudioHwDecoders {
254        }
255        AudioSwEncoders {
256        }
257        AudioSwDecoders {
258        }
259    }
260}
261