| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Initialize variable with "= false", and remove trailing space in comment
Change-Id: I51135c1b6275e910155a0331b741e7d11b03fae2
|
|
|
|
| |
This reverts commit 8dde8ce528504c209904a2479f42c8bd7f7bff15.
|
|
|
|
| |
Change-Id: Ib0903c11ac360682f2023f99532fb4b2e9fba66c
|
|
|
|
| |
Change-Id: I1aeb747654b1372473bb2f44319985682381971f
|
|
|
|
| |
Change-Id: I0d20924c3b3de24d88f7524693dc997231e92023
|
|
|
|
| |
Change-Id: Ia2b932746cd62af68781a6c953f1e3e3a25f8f49
|
|
|
|
| |
Change-Id: Iefbc0c9947ea0d58733f27252211063b35195ab3
|
|
|
|
| |
Change-Id: I0b1be110b0e0a9606d272c4d023f40ff93522725
|
|
|
|
| |
Change-Id: I75b34cc30998bd7d018cf8de68d1cbb8870bb994
|
|
|
|
|
|
|
| |
Fix a typo in a variable name.
Change-Id: I2555f729fc22b9c158ae488c8cefde029fa244cb
Signed-off-by: Andy Hung <hunga@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
This does not affect the existing resamplers.
New resampler accessed through additional quality settings:
DYN_LOW_QUALITY = 5
DYN_MED_QUALITY = 6
DYN_HIGH_QUALITY = 7
Change-Id: Iebbd31871e808a4a6dee3f3abfd7e9dcf77c48e1
Signed-off-by: Andy Hung <hunga@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The coefficient table is now transposed and shows
much better its polyphase nature: we now have a FIR
per line, each line corresponding to a phase.
This doesn't change at all the results produced by
the filter, but allows us to make slightly better
use of the data cache and improves performance a bit
(although not as much as I thought it would).
The main benefit is that it is the first step
before we can make much larger optimizations
(like using NEON).
Change-Id: Iebf7695825dcbd41f25861efcaefbaa3365ecb43
|
|
|
|
|
|
|
|
| |
the impulse response of a low-pass is 2*f*sinc(2*pi*f*k), we were
missing the 2*f scale factor. This explains why we were seeing
clipping and had to manually scale the filter down.
Change-Id: I86d0bb82ecdd99681c8ba5a8112a8257bf6f0186
|
|
|
|
|
|
|
|
|
|
| |
up-sample coefficient were generated with a cut-off frequency of 24KHz
intead of ~20KHz, which caused more aliasing in the audible band.
also increased the attenuation to 1.3 dB on both up and down
sampling coefficient to avoid clipping.
Change-Id: Ie8aeecf1429190541b656810c6716b6aae5ece2e
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- all parameters can be changed on the command-line
- added float output
- added debug option
- added an option to generate a polyphase filter coefficients
- added an attenuation option in dBFS
- added a lot of comments and references
- fixed kaiser window parameter
also the default should generate a filter with 80 dB rejection
(of the 24 KHz aliasing) above 20 KHz and a 15 KHz transition
band around ~20 KHz (for 48 KHz sampling rate).
It's not very good but corresponds to the current code.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
automerger from choking on it.
p4 sync
p4 integrate -r -b android_to_tc3 //...@111620,111620
p4 resolve -a
p4 resolve # resolve a couple merge travesties
PRESUBMIT=passed
BUG=1399648
TBR=edheyl
OCL=111902
Change-Id: I854b01553dd92bbf9c864f5a9bd51a3d665f0ac2
Signed-off-by: Glenn Kasten <gkasten@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
For <http://b/issue?id=960416>.
I've tested this as much as I can, but 1500 open files =
easy to mess things up. Please let me know if there's
a problem rather than rolling back this change.
PRESUBMIT=passed
BUG=960416
TBR=joeo
OCL=46537
Change-Id: I5a404caf0f398a7afa7ae7abaf2f2a1c6ab490eb
Signed-off-by: Glenn Kasten <gkasten@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Part one of the grand renaming.
API_CHANGE: Third parties may need to update their makefiles.
Any variables with "LOCAL" and "TARGET" in their names
should now use "MODULE" instead of "TARGET"; e.g., LOCAL_MODULE,
LOCAL_MODULE_TAGS.
PRESUBMIT=passed
OCL=39840
Change-Id: Ica9a7937d3d9552ab84db46ac6eea8a290e404fe
Signed-off-by: Glenn Kasten <gkasten@google.com>
|
|
|
|
|
|
|
| |
about 10% CPU in the worse case now.
Change-Id: I50ac7e6c6702a427fa36ab6d976c507155057507
Signed-off-by: Glenn Kasten <gkasten@google.com>
|
|
|
|
|
|
|
| |
functional and apparently working. It need more "quality" tests. In the 48->44 KHz, it takes about 25% of the CPU time.
Change-Id: I80eb5185e13ebdb907e0b85c49ba1272c23d60ec
Signed-off-by: Glenn Kasten <gkasten@google.com>
|
|
|
|
|
| |
Change-Id: I6e56b514fe520f30f7487f85c64ea5d2a7c19b40
Signed-off-by: Glenn Kasten <gkasten@google.com>
|
|
sinc audio resampler.
Change-Id: I99be2505139b8e0e7647200e1647509d4f7e6067
Signed-off-by: Glenn Kasten <gkasten@google.com>
|