From 79a07696a3f6611ad2ce3121bf8033941aa5c3f0 Mon Sep 17 00:00:00 2001 From: Arun Kumar Dasari Date: Tue, 6 Dec 2016 13:14:00 +0530 Subject: [PATCH] mm-core: Add entry component for G711 and amr Add entry components for g711 encoder, g711 decoder, amrwb encoder amrnb decoder and amrwb decoder for 8909 target. Change-Id: I17af670d8154ca860ffaf37caa23d5b9a55d1532 --- mm-core/src/8909/registry_table.c | 97 +++++++++++++++++++++++ mm-core/src/8909/registry_table_android.c | 97 +++++++++++++++++++++++ 2 files changed, 194 insertions(+) diff --git a/mm-core/src/8909/registry_table.c b/mm-core/src/8909/registry_table.c index b6b0c0f7..c8b6ad94 100644 --- a/mm-core/src/8909/registry_table.c +++ b/mm-core/src/8909/registry_table.c @@ -221,6 +221,103 @@ omx_core_cb_type core[] = { "audio_encoder.amrnb" } + }, + { + "OMX.qcom.audio.encoder.g711mlaw", + NULL, // Create instance function + // Unique instance handle + { + NULL, + NULL, + NULL, + NULL + }, + NULL, // Shared object library handle + "libOmxG711Enc.so", + { + "audio_encoder.g711" + } + }, + { + "OMX.qcom.audio.encoder.g711alaw", + NULL, // Create instance function + // Unique instance handle + { + NULL, + NULL, + NULL, + NULL + }, + NULL, // Shared object library handle + "libOmxG711Enc.so", + { + "audio_encoder.g711" + } + }, + { + "OMX.qcom.audio.encoder.amrwb", + NULL, // Create instance function + // Unique instance handle + { + NULL + }, + NULL, // Shared object library handle + "libOmxAmrEnc.so", + { + "audio_encoder.amrwb" + } + }, + { + "OMX.qcom.audio.decoder.g711mlaw", + NULL, // Create instance function + // Unique instance handle + { + NULL + }, + NULL, // Shared object library handle + "libOmxG711Dec.so", + { + "audio_decoder.g711" + } + }, + { + "OMX.qcom.audio.decoder.g711alaw", + NULL, // Create instance function + // Unique instance handle + { + NULL + }, + NULL, // Shared object library handle + "libOmxG711Dec.so", + { + "audio_decoder.g711" + } + }, + { + "OMX.qcom.audio.decoder.amrwb", + NULL, // Create instance function + // Unique instance handle + { + NULL + }, + NULL, // Shared object library handle + "libOmxAmrDec.so", + { + "audio_decoder.amrwb" + } + }, + { + "OMX.qcom.audio.decoder.amrnb", + NULL, // Create instance function + // Unique instance handle + { + NULL + }, + NULL, // Shared object library handle + "libOmxAmrDec.so", + { + "audio_decoder.amrnb" + } }, { "OMX.qcom.audio.decoder.aac", diff --git a/mm-core/src/8909/registry_table_android.c b/mm-core/src/8909/registry_table_android.c index 94cbead5..608bd2a5 100644 --- a/mm-core/src/8909/registry_table_android.c +++ b/mm-core/src/8909/registry_table_android.c @@ -260,6 +260,103 @@ omx_core_cb_type core[] = { "audio_encoder.amrnb" } + }, + { + "OMX.qcom.audio.encoder.g711mlaw", + NULL, // Create instance function + // Unique instance handle + { + NULL, + NULL, + NULL, + NULL + }, + NULL, // Shared object library handle + "libOmxG711Enc.so", + { + "audio_encoder.g711" + } + }, + { + "OMX.qcom.audio.encoder.g711alaw", + NULL, // Create instance function + // Unique instance handle + { + NULL, + NULL, + NULL, + NULL + }, + NULL, // Shared object library handle + "libOmxG711Enc.so", + { + "audio_encoder.g711" + } + }, + { + "OMX.qcom.audio.encoder.amrwb", + NULL, // Create instance function + // Unique instance handle + { + NULL + }, + NULL, // Shared object library handle + "libOmxAmrEnc.so", + { + "audio_encoder.amrwb" + } + }, + { + "OMX.qcom.audio.decoder.g711mlaw", + NULL, // Create instance function + // Unique instance handle + { + NULL + }, + NULL, // Shared object library handle + "libOmxG711Dec.so", + { + "audio_decoder.g711" + } + }, + { + "OMX.qcom.audio.decoder.g711alaw", + NULL, // Create instance function + // Unique instance handle + { + NULL + }, + NULL, // Shared object library handle + "libOmxG711Dec.so", + { + "audio_decoder.g711" + } + }, + { + "OMX.qcom.audio.decoder.amrwb", + NULL, // Create instance function + // Unique instance handle + { + NULL + }, + NULL, // Shared object library handle + "libOmxAmrDec.so", + { + "audio_decoder.amrwb" + } + }, + { + "OMX.qcom.audio.decoder.amrnb", + NULL, // Create instance function + // Unique instance handle + { + NULL + }, + NULL, // Shared object library handle + "libOmxAmrDec.so", + { + "audio_decoder.amrnb" + } }, { "OMX.qcom.audio.decoder.aac",