History log of /frameworks/av/media/libeffects/preprocessing/PreProcessing.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
904d632a24db8f94de83e44f7179d1c0af022b03 18-Mar-2017 Eric Laurent <elaurent@google.com> Add support for USB headset device

Add missing rules for USB headset devices in routing, volume and effects
management.

Test: playback and catpure regression tests.
Change-Id: I42cd157f483deba2371a05d332cd11dceb2b2fa3
/frameworks/av/media/libeffects/preprocessing/PreProcessing.cpp
ef225074ea06dc8ac2801b2fb9f4707dcd3f4200 05-Oct-2016 Glenn Kasten <gkasten@google.com> Enable strict warnings and fix unused warnings

Test: builds without warnings
Change-Id: I0701a44cbd9a2adc405a1e253b57df7ee03a90b7
/frameworks/av/media/libeffects/preprocessing/PreProcessing.cpp
e564c201c290c24f94e1478fea3fca2e7422980d 25-Jan-2016 Eric Laurent <elaurent@google.com> Merge "Add multi-mic support for the noise suppression pre-processing effect" am: 511555dd26
am: eb31ad3a23

* commit 'eb31ad3a2318683ea95ededaf36930a2fb186d33':
Add multi-mic support for the noise suppression pre-processing effect
511555dd26e8bcb5a7c9a7b49e0fe4f83a67328f 25-Jan-2016 Eric Laurent <elaurent@google.com> Merge "Add multi-mic support for the noise suppression pre-processing effect"
766bf734984a0d5765980f8bd154d111de08ec19 15-Dec-2015 Alex Luebs <aluebs@google.com> Add multi-mic support for the noise suppression pre-processing effect

Change-Id: I7cf8d5657a25206e0a07e7e343635f7cf23e6f89
/frameworks/av/media/libeffects/preprocessing/PreProcessing.cpp
70d20f98299e5ce8dbdf01ed6123a47fe7bc45b1 20-Jan-2016 Chih-hung Hsieh <chh@google.com> Merge "Update to new WebRTC version" am: 47dabd3825
am: b1f8616332

* commit 'b1f8616332371eebff84485b99545373592fb81e':
Update to new WebRTC version
3f11ef01574219f323a7f9ee4216d610733df50f 16-Jan-2016 Alex Luebs <aluebs@google.com> Update to new WebRTC version

* Update include/ path
* Remove unnecessary casts

Change-Id: Iac2cf15ee4fce32bcd7ad57b3e0f70976cf89880
/frameworks/av/media/libeffects/preprocessing/PreProcessing.cpp
30a5c3d97fc7c93ec878e513f466b2f21b6e0ddd 01-Dec-2015 Chih-hung Hsieh <chh@google.com> Merge "Port PreProcessing to the new WebRTC version" am: f0f6fdd4d1 am: 7ec102b586
am: bcd62e704d

* commit 'bcd62e704de35d0144c5f87b29c84742cb3d6c5d':
Port PreProcessing to the new WebRTC version
9718b7d9cba77c739269462ac57d43cc6ae69134 24-Nov-2015 Alex Luebs <aluebs@google.com> Port PreProcessing to the new WebRTC version

Change-Id: I7dcf4dba83ecbc45725d10045666699a9bc7e4a6
/frameworks/av/media/libeffects/preprocessing/PreProcessing.cpp
7772e4d03632a5ced3d37749a7aa6d5c793713be 23-Oct-2015 Chih-hung Hsieh <chh@google.com> Merge "Change include path and names to compile with new webrtc." am: 2d772fd4af am: 84669feac3
am: f55e722949

* commit 'f55e722949d56f0a0a1b4285f9adb5df3ab05b71':
Change include path and names to compile with new webrtc.
de7fa31668bd90dba80ff2c0c462492fed873c3d 13-Oct-2015 Chih-Hung Hsieh <chh@google.com> Change include path and names to compile with new webrtc.

* external/webrtc is upgraded and some header files are
moved from interface to include directories.
* Some external/webrtc data member variables are renamed.

Change-Id: I2d6d4b62dd18f921b0360d524651ebdf7bd2fffc
/frameworks/av/media/libeffects/preprocessing/PreProcessing.cpp
679650f008a6dee59d89238fab17edd208a1878e 21-Aug-2015 Eric Laurent <elaurent@google.com> pre processing: check malloc return

Bug: 20677305.
Change-Id: Icd67f4b476b864dd325ece8e3f758605ba92f8d1
/frameworks/av/media/libeffects/preprocessing/PreProcessing.cpp
0f714a464d2425afe00d6450535e763131b40844 20-Jun-2015 Eric Laurent <elaurent@google.com> audio effects: fix heap overflow

Check consistency of effect command reply sizes before
copying to reply address.

Also add null pointer check on reply size.
Also remove unused parameter warning.

Bug: 21953516.
Change-Id: I4cf00c12eaed696af28f3b7613f7e36f47a160c4
/frameworks/av/media/libeffects/preprocessing/PreProcessing.cpp
e541269be94f3a1072932d51537905b120ef4733 16-May-2014 Andy Hung <hunga@google.com> Use new channel count functions for audio masks

Change-Id: Ia658ab4b6320d19fdb50f123c930918724ff0ef3
Signed-off-by: Andy Hung <hunga@google.com>
/frameworks/av/media/libeffects/preprocessing/PreProcessing.cpp
b302bd5d288be2d3363b80053ca2392560b00b25 18-Feb-2014 Ashok Bhat <ashok.bhat@arm.com> LP64 fixes for media/libeffects

Changes include:

[x] In get parameter series of functions, replaced size_t*
formal parameter type with uint32_t* where actual parameter
passed was uint32_t*.

[x] In set parameter series of functions, changed size_t
formal parameter to uint32_t where actual parameter was
uint32_t.

[x] Changed the definition of LVM_UINT32 from unsigned
long to uint32_t as unsigned long is 64-bit in LP64.

[x] Used other stdint.h types for other LVM_types for
consistency.

[x] Use of uintptr_t for the pNextMember of the INST_ALLOC
structure, rather than LVM_UINT32, for portablility.

[x] Use of uintptr_t where pointers are used in arithmetic.

[x] Replaced the use of 0xFFFFFFFC with ~3 in places where
it was used to clear last two bits.

[x] Removed int casts where cmdSize and *replySize, both
uint32_t, were being compared with sizeof().

Change-Id: Ibec0b4d8e9b855f44b1cd853be6df84d13cf4186
Signed-off-by: Marcus Oakland <marcus.oakland@arm.com>
Signed-off-by: Ashok Bhat <ashok.bhat@arm.com>
/frameworks/av/media/libeffects/preprocessing/PreProcessing.cpp
377b2ec9a2885f9b6405b07ba900a9e3f4349c38 03-Feb-2014 Kévin PETIT <kevin.petit@arm.com> Make frameworks/av 64-bit compatible

Contains the necessary changes to make frameworks/av build and work
on a 64-bit machine.

Signed-off-by: Craig Barber <craig.barber@arm.com>
Signed-off-by: Kévin PETIT <kevin.petit@arm.com>
Signed-off-by: Ashok Bhat <ashok.bhat@arm.com>
Signed-off-by: Marcus Oakland <marcus.oakland@arm.com>

Change-Id: I725feaae50ed8eee25ca2c947cf15aee1f395c43
/frameworks/av/media/libeffects/preprocessing/PreProcessing.cpp
c9d8ea7f8f9a1ca8ecd266695e3cac423790b2f9 20-Oct-2013 synergydev <synergye@codefi.re> libeffects: do not use GNU old-style field designators

Not using a GNU extension improves portability

Change-Id: I4e8a0376c089828ca4fc7f1aaf3914bfd917d4c5
/frameworks/av/media/libeffects/preprocessing/PreProcessing.cpp
480421bb48af5df4f15498845447f3fde20a4069 26-Oct-2012 Glenn Kasten <gkasten@google.com> Turn off executable bit on ordinary files

Change-Id: I0abea25b58fb1d03975bed9cca40f826fcd4c5e4
/frameworks/av/media/libeffects/preprocessing/PreProcessing.cpp
7f16b197c76fbae9399242f055a7ee16dcd0fd6d 26-Oct-2012 Marco Nelissen <marcone@google.com> Only export the symbols that need to be

The effects libraries were exporting many more symbols than needed.
This reduces the exported symbols to just the needed ones (basically
just "AELI"), which happens to also save about 28KB.

Change-Id: I115077e52e8dc845282e6f62a522908d26dd72d6
/frameworks/av/media/libeffects/preprocessing/PreProcessing.cpp
6035cb5a61a7606cc8e4ecddec32b2eb37a9fd56 25-Oct-2012 Marco Nelissen <marcone@google.com> Switch to new fx library API

Change-Id: I6603aef5e3821a8f911e3f33ef8565d04bd1e2e5
/frameworks/av/media/libeffects/preprocessing/PreProcessing.cpp
8895925e38d2521607fd2010f3f3b14ecd15962c 28-Aug-2012 Eric Laurent <elaurent@google.com> audioflinger: changes for new audio devices enums

The ThreadBase class now has a separate member for input
and output devices (mInDevice, mOutDevice).

Only query get_supported_devices() from audio HAL if the function
is exposed and if the audio policy manager did not specify the
audio module to open.

Also fixed bug in AEC preprocessing that would reset
to default output device when an input device was given.

Change-Id: I19d4d06aeb920b068e3ef31e6e6be6345ce5d67a
/frameworks/av/media/libeffects/preprocessing/PreProcessing.cpp
a189a6883ee55cf62da1d7bf5bf5a8ab501938a4 20-Feb-2012 Glenn Kasten <gkasten@google.com> Use struct assignment instead of explicit memcpy

for POD structs effect_descriptor_t and effect_config_t

Change-Id: Ib2fc47f85fb65ed91b0abb1f87217c49b5eb571d
/frameworks/av/media/libeffects/preprocessing/PreProcessing.cpp
3f9c84c0a5af83fceb8669390e2d71b75ec7b550 04-Apr-2012 Eric Laurent <elaurent@google.com> audio pre processing: test code for dual mic

Added functional test code to validate effect API for
multi mic simplementations.

Also fixed warning in AudioFlinger.

Change-Id: I07be4d2e4d17791d3626c804ba3e9f87ff26d05a
/frameworks/av/media/libeffects/preprocessing/PreProcessing.cpp
ab334fd351ae5a0e18903da123d63e565b536874 14-Mar-2012 Glenn Kasten <gkasten@google.com> audio_channel_in/out_mask_from_count

and avoid ambiguous term "channels" where it might be confusing
as to whether it is a channel mask or channel count

Change-Id: I744fa08ccb6001a98c97bd638d2c9d56836c4234
/frameworks/av/media/libeffects/preprocessing/PreProcessing.cpp
76533e94500e5d221ec4a1a5d9c97ea3d75860e4 18-Feb-2012 Eric Laurent <elaurent@google.com> audio preprocessing: fix multiple enable problem

Do not set the effect state back to configured when a configuration
command is received while the effect is enabled. Instead just check that
the new config is the same as current config.

It is normal to receive a config command from the framework while enabled
if a new effect is added on the same session.

Change-Id: I93aa38bf60a3d7cc7729934e87ddd69bf1112cd6
/frameworks/av/media/libeffects/preprocessing/PreProcessing.cpp
1f5ce8b0941c9c6baadd40d151634145f6d5a35c 13-Feb-2012 Eric Laurent <elaurent@google.com> Merge "Fix audio preprocessing library wrapper"
5e92a7861196ddae14638d4b7a63fc4892b7ef59 30-Jan-2012 Glenn Kasten <gkasten@google.com> Effect UUID inputs passed by pointer are const

Change-Id: I1f5c338bcb7368e3dd8cd5f804b2e6d9fbe087f8
/frameworks/av/media/libeffects/preprocessing/PreProcessing.cpp
94fef38613962c983c46ab0b97c58f5373412d2d 06-Feb-2012 Eric Laurent <elaurent@google.com> Fix audio preprocessing library wrapper

Fixed bug in EFFECT_CMD_GET_CONFIG command handler in
webRTC audio processing library wrapper.

Change-Id: I1d2cefa00930e549607af8dc2cf27555da8d313f
/frameworks/av/media/libeffects/preprocessing/PreProcessing.cpp
5387696d25bc710f8cd0e6d08079e2aa8d6c1417 31-Jan-2012 Eric Laurent <elaurent@google.com> modifications for new webrtc modules

Adapt include files path in makefile and source to new
directory structure in webrtc library.

Also changed the default AGC parameters to less extreme settings.

Change-Id: Ia6a41c816dc44645f8f867937b722eede88c06ea
/frameworks/av/media/libeffects/preprocessing/PreProcessing.cpp
29357bc2c0dd7c43ad3bd0c8e3efa4e6fd9bfd47 06-Jan-2012 Steve Block <steveblock@google.com> Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGE

See https://android-git.corp.google.com/g/#/c/157220

Bug: 5449033
Change-Id: Ic9c19d30693bd56755f55906127cd6bd7126096c
/frameworks/av/media/libeffects/preprocessing/PreProcessing.cpp
5ff1dd576bb93c45b44088a51544a18fc43ebf58 06-Jan-2012 Steve Block <steveblock@google.com> Rename (IF_)LOGW(_IF) to (IF_)ALOGW(_IF) DO NOT MERGE

See https://android-git.corp.google.com/g/157065

Bug: 5449033
Change-Id: I00a4b904f9449e6f93b7fd35eac28640d7929e69
/frameworks/av/media/libeffects/preprocessing/PreProcessing.cpp
3d5188bd6abe55898f10a0edf3c05aff8aa2ef67 17-Dec-2011 Eric Laurent <elaurent@google.com> audio effects: rename configure command

Renamed audio effect library interface command for audio format
configuration from EFFECT_CMD_CONFIGURE to EFFECT_CMD_SET_CONFIG.
This makes the naming more consistent with other exixsting commands
and allow adding a new command to get the configuration (EFFECT_CMD_GET_CONFIG).
Same change for reverse channel configuration renamed from
EFFECT_CMD_CONFIGURE_REVERSE to EFFECT_CMD_SET_CONFIG_REVERSE.

Implemented EFFECT_CMD_GET_CONFIG in exisitng effect libraries.

Change-Id: Ia7b1c620f13797fe5aceb3b0b4acbacce09fb067
/frameworks/av/media/libeffects/preprocessing/PreProcessing.cpp
3856b090cd04ba5dd4a59a12430ed724d5995909 20-Oct-2011 Steve Block <steveblock@google.com> Rename (IF_)LOGV(_IF) to (IF_)ALOGV(_IF) DO NOT MERGE

See https://android-git.corp.google.com/g/#/c/143865

Bug: 5449033
Change-Id: I0122812ed6ff6f5b59fe4a43ab8bff0577adde0a
/frameworks/av/media/libeffects/preprocessing/PreProcessing.cpp
a9390d4d571817cdb1d659b4b22b04130dc77a48 18-Jun-2011 Eric Laurent <elaurent@google.com> Audio preprocessing wrapper for webrtc.

This wrapper implements the interworking layer between the audio effect
interface defined by the effect framework for audio preprocessing
and the native interface of webrtc audio processing module.

Change-Id: I3f9319730c102599cdf0dda520a53d90b4165114
/frameworks/av/media/libeffects/preprocessing/PreProcessing.cpp