1 /*--------------------------------------------------------------------------
2 Copyright (c) 2009, Code Aurora Forum. All rights reserved.
4 Redistribution and use in source and binary forms, with or without
5 modification, are permitted provided that the following conditions are met:
6 * Redistributions of source code must retain the above copyright
7 notice, this list of conditions and the following disclaimer.
8 * Redistributions in binary form must reproduce the above copyright
9 notice, this list of conditions and the following disclaimer in the
10 documentation and/or other materials provided with the distribution.
11 * Neither the name of Code Aurora nor
12 the names of its contributors may be used to endorse or promote
13 products derived from this software without specific prior written
16 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
17 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18 IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19 NON-INFRINGEMENT ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
20 CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
21 EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
22 PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
23 OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
24 WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
25 OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
26 ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 --------------------------------------------------------------------------*/
28 /*============================================================================
29 O p e n M A X w r a p p e r s
32 This module contains the registry table for the QCOM's OpenMAX core.
34 *//*========================================================================*/
36 #include "qc_omx_core.h"
38 omx_core_cb_type core[] =
41 "OMX.qcom.video.decoder.avc",
42 NULL, // Create instance function
43 // Unique instance handle
50 NULL, // Shared object library handle
54 "libmm-vdec-omxh264.so.1",
61 "OMX.qcom.video.decoder.mpeg4",
62 NULL, // Create instance function
63 // Unique instance handle
70 NULL, // Shared object library handle
74 "libmm-vdec-omxmp4.so.1",
81 "OMX.qcom.video.decoder.vc1",
82 NULL, // Create instance function
83 // Unique instance handle
90 NULL, // Shared object library handle
94 "libmm-vdec-omxwmv.so.1",
101 "OMX.qcom.video.decoder.h263",
102 NULL, // Create instance function
103 // Unique instance handle
110 NULL, // Shared object library handle
114 "libmm-vdec-omxmp4.so.1",
121 "OMX.qcom.video.encoder.mpeg4",
122 NULL, // Create instance function
123 // Unique instance handle
130 NULL, // Shared object library handle
134 "libmm-venc-omx.so.1",
137 "video_encoder.mpeg4"
141 "OMX.qcom.video.encoder.h263",
142 NULL, // Create instance function
143 // Unique instance handle
150 NULL, // Shared object library handle
154 "libmm-venc-omx.so.1",
157 "video_encoder.h263",
161 "OMX.qcom.video.encoder.avc",
162 NULL, // Create instance function
163 // Unique instance handle
170 NULL, // Shared object library handle
174 "libmm-venc-omx.so.1",
181 "OMX.qcom.audio.decoder.mp3",
182 NULL, // Create instance function
183 // Unique instance handle
190 NULL, // Shared object library handle
194 "libmm-adec-omxmp3.so.1",
201 "OMX.qcom.audio.decoder.aac",
202 NULL, // Create instance function
203 // Unique instance handle
210 NULL, // Shared object library handle
214 "libmm-adec-omxaac.so.1",
221 "OMX.qcom.audio.decoder.tunneled.mp3",
222 NULL, // Create instance function
223 // Unique instance handle
230 NULL, // Shared object library handle
234 "libmm-adec-omxmp3.so.1",
241 "OMX.qcom.audio.decoder.tunneled.aac",
242 NULL, // Create instance function
243 // Unique instance handle
250 NULL, // Shared object library handle
254 "libmm-adec-omxaac.so.1",
261 "OMX.qcom.audio.decoder.amrnb",
262 NULL, // Create instance function
263 // Unique instance handle
270 NULL, // Shared object library handle
274 "libmm-adec-omxamr.so.1",
277 "audio_decoder.amrnb"
281 "OMX.qcom.audio.decoder.tunneled.amrnb",
282 NULL, // Create instance function
283 // Unique instance handle
290 NULL, // Shared object library handle
294 "libmm-adec-omxamr.so.1",
297 "audio_decoder.amrnb"
301 "OMX.qcom.audio.encoder.tunneled.aac",
302 NULL, // Create instance function
303 // Unique instance handle
310 NULL, // Shared object library handle
314 "libmm-aenc-omxaac.so.1",
321 "OMX.qcom.audio.decoder.Qcelp13",
322 NULL, // Create instance function
323 // Unique instance handle
330 NULL, // Shared object library handle
334 "libmm-adec-omxQcelp13.so.1",
337 "audio_decoder.Qcelp13"
341 "OMX.qcom.audio.decoder.tunneled.Qcelp13",
342 NULL, // Create instance function
343 // Unique instance handle
350 NULL, // Shared object library handle
354 "libmm-adec-omxQcelp13.so.1",
357 "audio_decoder.Qcelp13"
361 "OMX.qcom.audio.decoder.evrc",
362 NULL, // Create instance function
363 // Unique instance handle
370 NULL, // Shared object library handle
374 "libmm-adec-omxevrc.so.1",
381 "OMX.qcom.audio.decoder.tunneled.evrc",
382 NULL, // Create instance function
383 // Unique instance handle
390 NULL, // Shared object library handle
394 "libmm-adec-omxevrc.so.1",
401 "OMX.qcom.audio.encoder.tunneled.amr",
402 NULL, // Create instance function
403 // Unique instance handle
410 NULL, // Shared object library handle
414 "libmm-aenc-omxamr.so.1",
421 "OMX.qcom.audio.decoder.wma",
422 NULL, // Create instance function
423 // Unique instance handle
430 NULL, // Shared object library handle
434 "libmm-adec-omxwma.so.1",
441 "OMX.qcom.audio.decoder.tunneled.wma",
442 NULL, // Create instance function
443 // Unique instance handle
450 NULL, // Shared object library handle
454 "libmm-adec-omxwma.so.1",
461 "OMX.qcom.audio.decoder.wma10Pro",
462 NULL, // Create instance function
463 // Unique instance handle
470 NULL, // Shared object library handle
474 "libmm-adec-omxwma.so.1",
481 "OMX.qcom.audio.decoder.tunneled.wma10Pro",
482 NULL, // Create instance function
483 // Unique instance handle
490 NULL, // Shared object library handle
494 "libmm-adec-omxwma.so.1",
501 "OMX.qcom.audio.decoder.amrwb",
502 NULL, // Create instance function
503 // Unique instance handle
510 NULL, // Shared object library handle
514 "libmm-adec-omxamrwb.so.1",
517 "audio_decoder.amrwb"
521 "OMX.qcom.audio.decoder.tunneled.amrwb",
522 NULL, // Create instance function
523 // Unique instance handle
530 NULL, // Shared object library handle
534 "libmm-adec-omxamrwb.so.1",
537 "audio_decoder.amrwb"
541 "OMX.qcom.audio.decoder.amrwbp",
542 NULL, // Create instance function
543 // Unique instance handle
550 NULL, // Shared object library handle
554 "libmm-adec-omxamrwb.so.1",
557 "audio_decoder.amrwbp"
561 "OMX.qcom.audio.decoder.tunneled.amrwbp",
562 NULL, // Create instance function
563 // Unique instance handle
570 NULL, // Shared object library handle
574 "libmm-adec-omxamrwb.so.1",
577 "audio_decoder.amrwbp"
581 "OMX.qcom.audio.encoder.tunneled.qcelp13",
582 NULL, // Create instance function
583 // Unique instance handle
590 NULL, // Shared object library handle
592 "libOmxQcelp13Enc.so",
594 "libmm-aenc-omxqcelp13.so.1",
597 "audio_encoder.qcelp13"
601 "OMX.qcom.audio.encoder.tunneled.evrc",
602 NULL, // Create instance function
603 // Unique instance handle
610 NULL, // Shared object library handle
614 "libmm-aenc-omxevrc.so.1",
621 "OMX.qcom.audio.decoder.adpcm",
622 NULL, // Create instance function
623 // Unique instance handle
630 NULL, // Shared object library handle
634 "libmm-adec-omxadpcm.so.1",
637 "audio_decoder.adpcm"
641 "OMX.qcom.audio.decoder.tunneled.adpcm",
642 NULL, // Create instance function
643 // Unique instance handle
650 NULL, // Shared object library handle
654 "libmm-adec-omxadpcm.so.1",
657 "audio_decoder.adpcm"
662 const unsigned int SIZE_OF_CORE = sizeof(core) / sizeof(omx_core_cb_type);