/frameworks/av/include/media/ |
H A D | IAudioFlinger.h | 159 virtual status_t openOutput(audio_module_handle_t module, 172 virtual status_t openInput(audio_module_handle_t module,
|
/frameworks/av/include/soundtrigger/ |
H A D | ISoundTriggerHwService.h | 41 sp<ISoundTrigger>& module) = 0;
|
H A D | SoundTrigger.h | 41 static sp<SoundTrigger> attach(const sound_trigger_module_handle_t module, 69 SoundTrigger(sound_trigger_module_handle_t module,
|
/frameworks/av/media/libeffects/downmix/ |
H A D | EffectDownmix.c | 188 downmix_module_t *module; local 228 module = malloc(sizeof(downmix_module_t)); 230 module->itfe = &gDownmixInterface; 232 module->context.state = DOWNMIX_STATE_UNINITIALIZED; 234 ret = Downmix_Init(module); 237 free(module); 241 *pHandle = (effect_handle_t) module; 243 ALOGV("DownmixLib_Create() %p , size %zu", module, sizeof(downmix_module_t)); 554 * pDwmModule pointer to downmix effect module 578 ALOGV("Downmix_Init module [all...] |
/frameworks/av/media/libeffects/testlibs/ |
H A D | EffectReverb.c | 103 reverb_module_t *module; local 126 module = malloc(sizeof(reverb_module_t)); 128 module->itfe = &gReverbInterface; 130 module->context.mState = REVERB_STATE_UNINITIALIZED; 138 ret = Reverb_Init(module, aux, preset); 141 free(module); 145 *pHandle = (effect_handle_t) module; 147 module->context.mState = REVERB_STATE_INITIALIZED; 149 ALOGV("EffectLibCreateEffect %p ,size %d", module, sizeof(reverb_module_t)); 442 * pRvbModule - pointer to reverb effect module [all...] |
/frameworks/av/media/libmedia/ |
H A D | IAudioFlinger.cpp | 452 virtual status_t openOutput(audio_module_handle_t module, argument 465 data.writeInt32(module); 526 virtual status_t openInput(audio_module_handle_t module, argument 539 data.writeInt32(module); 1132 audio_module_handle_t module = (audio_module_handle_t)data.readInt32(); local 1142 status_t status = openOutput(module, &output, &config, 1178 audio_module_handle_t module = (audio_module_handle_t)data.readInt32(); local 1189 status_t status = openInput(module, &input, &config,
|
/frameworks/av/media/libstagefright/codecs/mp3dec/src/ |
H A D | pvmp3_dec_defs.h | 54 ; Define module specific macros here 56 #define module(x, POW2) ((x)&(POW2-1)) macro 98 ; Declare variables used in this module but defined elsewhere
|
H A D | pvmp3_framedecoder.cpp | 123 ; Define module specific macros here 140 ; Variable declaration - defined here and used outside this module 145 ; Declare functions defined elsewhere and referenced in this module 150 ; Declare variables used in this module but defined elsewhere 562 pMainData->pBuffer[module(pMainData->offset++, BUFSIZE)] = (uint8)val; 607 pVars->mainDataStream.offset = module(pVars->mainDataStream.offset, BUFSIZE); 614 fillDataBuf(&pVars->mainDataStream, *(pVars->inputStream.pBuffer + module(offset++ , BUFSIZE))); 615 fillDataBuf(&pVars->mainDataStream, *(pVars->inputStream.pBuffer + module(offset++ , BUFSIZE))); 619 fillDataBuf(&pVars->mainDataStream, *(pVars->inputStream.pBuffer + module(offset , BUFSIZE)));
|
H A D | pvmp3_getbits.cpp | 74 ; Define module specific macros here 92 ; Variable declaration - defined here and used outside this module 97 ; Declare functions defined elsewhere and referenced in this module 102 ; Declare variables used in this module but defined elsewhere 129 Elem = *(ptBitStream->pBuffer + module(offset , BUFSIZE)); 130 Elem1 = *(ptBitStream->pBuffer + module(offset + 1, BUFSIZE)); 131 Elem2 = *(ptBitStream->pBuffer + module(offset + 2, BUFSIZE)); 132 Elem3 = *(ptBitStream->pBuffer + module(offset + 3, BUFSIZE)); 141 bitIndex = module(ptBitStream->usedBits, INBUF_BIT_WIDTH); 170 Elem = *(ptBitStream->pBuffer + module(offse [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p2/src/ |
H A D | omxVCM4P2_PredictReconCoefIntra_s.s | 27 ; * Contains module for DC/AC coefficient prediction
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p2/src/ |
H A D | omxVCM4P2_PredictReconCoefIntra_s.s | 27 ; * Contains module for DC/AC coefficient prediction
|
/frameworks/av/services/audioflinger/ |
H A D | AudioFlinger.cpp | 147 ALOGE_IF(rc, "%s couldn't load audio hw module %s.%s (%s)", __func__, 289 audio_module_handle_t module, 292 // if module is 0, the request comes from an old policy manager and we should load 294 if (module == 0) { 299 // then try to find a module supporting the requested device. 308 // check a match for the requested module handle 309 AudioHwDevice *audioHwDevice = mAudioHwDevs.valueFor(module); 1617 ALOGW("loadHwModule() module %s already loaded", name); 1626 ALOGE("loadHwModule() error %d loading module %s", rc, name); 1634 ALOGE("loadHwModule() init check error %d for module 288 findSuitableHwDev_l( audio_module_handle_t module, audio_devices_t devices) argument 1814 openOutput_l(audio_module_handle_t module, audio_io_handle_t *output, audio_config_t *config, audio_devices_t devices, const String8& address, audio_output_flags_t flags) argument 1891 openOutput(audio_module_handle_t module, audio_io_handle_t *output, audio_config_t *config, audio_devices_t *devices, const String8& address, uint32_t *latencyMs, audio_output_flags_t flags) argument 2065 openInput(audio_module_handle_t module, audio_io_handle_t *input, audio_config_t *config, audio_devices_t *devices, const String8& address, audio_source_t source, audio_input_flags_t flags) argument 2089 openInput_l(audio_module_handle_t module, audio_io_handle_t *input, audio_config_t *config, audio_devices_t devices, const String8& address, audio_source_t source, audio_input_flags_t flags) argument [all...] |
H A D | AudioFlinger.h | 166 virtual status_t openOutput(audio_module_handle_t module, 183 virtual status_t openInput(audio_module_handle_t module, 339 AudioHwDevice* findSuitableHwDev_l(audio_module_handle_t module, 529 sp<RecordThread> openInput_l(audio_module_handle_t module, 536 sp<PlaybackThread> openOutput_l(audio_module_handle_t module,
|
H A D | PatchPanel.cpp | 159 // limit number of sources to 1 for now or 2 sources for special cross hw module case. 191 ALOGW("createAudioPatch() bad src hw module %d", srcModule); 215 // - source HW module != destination HW module OR 327 ALOGW("createAudioPatch() bad src hw module %d", srcModule); 340 // limit to connections between sinks and sources on same HW module 565 ALOGW("releaseAudioPatch() bad src hw module %d", srcModule); 600 ALOGW("releaseAudioPatch() bad src hw module %d", srcModule); 642 audio_module_handle_t module; local 644 module [all...] |
/frameworks/av/services/audiopolicy/ |
H A D | AudioPolicyInterface.h | 38 // The main roles of this module are: 244 // Audio HW module functions 247 // loads a HW module. 258 virtual status_t openOutput(audio_module_handle_t module, 281 virtual status_t openInput(audio_module_handle_t module,
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
H A D | AudioPolicyConfig.h | 110 sp<HwModule> module; local 115 module = new HwModule("primary"); 119 outProfile->attach(module); 124 module->mOutputProfiles.add(outProfile); 128 inProfile->attach(module); 132 module->mInputProfiles.add(inProfile); 134 mHwModules.add(module);
|
H A D | AudioPort.h | 66 virtual void attach(const sp<HwModule>& module); 143 sp<HwModule> mModule; // audio HW module exposing this I/O stream
|
H A D | ConfigParsingUtils.h | 47 static status_t loadHwModuleProfile(cnode *root, sp<HwModule> &module, audio_port_role_t role); 54 static void loadModuleGlobalConfig(cnode *root, const sp<HwModule> &module, 56 static status_t loadHwModule(cnode *root, sp<HwModule> &module, AudioPolicyConfig &config);
|
H A D | DeviceDescriptor.h | 49 virtual void attach(const sp<HwModule>& module);
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
H A D | AudioPort.cpp | 34 void AudioPort::attach(const sp<HwModule>& module) argument 36 mModule = module; 64 return "invalid module";
|
H A D | ConfigParsingUtils.cpp | 150 status_t ConfigParsingUtils::loadHwModuleProfile(cnode *root, sp<HwModule> &module, argument 178 loadDevicesFromTag(node->value, devices, module->getDeclaredDevices()); 215 return module->addProfile(profile); 221 status_t ConfigParsingUtils::loadHwModule(cnode *root, sp<HwModule> &module, argument 237 module->setDeclaredDevices(devices); 244 status_t tmpStatus = loadHwModuleProfile(node, module, AUDIO_PORT_ROLE_SOURCE); 256 status_t tmpStatus = loadHwModuleProfile(node, module, AUDIO_PORT_ROLE_SINK); 263 loadModuleGlobalConfig(root, module, config); 278 ALOGV("loadHwModules() loading module %s", node->name); 279 sp<HwModule> module local 320 loadModuleGlobalConfig(cnode *root, const sp<HwModule> &module, AudioPolicyConfig &config) argument [all...] |
H A D | DeviceDescriptor.cpp | 43 void DeviceDescriptor::attach(const sp<HwModule>& module) argument 45 AudioPort::attach(module);
|
H A D | HwModule.cpp | 255 sp <HwModule> module; local 263 return module; 269 sp <HwModule> module; local 290 return module;
|
H A D | Serializer.cpp | 407 const char *const ModuleTraits::tag = "module"; 413 status_t ModuleTraits::deserialize(xmlDocPtr doc, const xmlNode *root, PtrElement &module, argument 433 module = new Element(name.c_str(), version); 438 module->setProfiles(mixPorts); 442 module->setDeclaredDevices(devicePorts); 445 deserializeCollection<RouteTraits>(doc, root, routes, module.get()); 446 module->setRoutes(routes); 460 module->getDeclaredDevices().getDeviceFromTagName(String8((const char*)attachedDevice)); 474 module->getDeclaredDevices().getDeviceFromTagName(String8((const char*)defaultOutputDevice));
|
/frameworks/av/services/audiopolicy/managerdefault/ |
H A D | AudioPolicyManager.cpp | 100 sp<HwModule> module = mHwModules.getModuleForDevice(device); local 101 if (module == 0) { 102 ALOGD("setDeviceConnectionState() could not find HW module for device %08x", 107 mAvailableOutputDevices[index]->attach(module); 220 sp<HwModule> module = mHwModules.getModuleForDevice(device); local 221 if (module == NULL) { 222 ALOGW("setDeviceConnectionState(): could not find HW module for device %08x", 232 mAvailableInputDevices[index]->attach(module); 343 // If the RX device is on the primary HW module, then use legacy routing method for voice calls 348 // If the TX device is also on the primary HW module, setOutputDevic [all...] |