summaryrefslogtreecommitdiffstats
path: root/services/audioflinger/AudioResamplerDyn.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add and enable floating point option for audio resamplerAndy Hung2014-04-091-127/+123
| | | | | | | Can be tested with test-resample. Change-Id: I8339846d7c647444b6025d33cfa145d5d3658121 Signed-off-by: Andy Hung <hunga@google.com>
* Add floating point to audio resample processingAndy Hung2014-04-091-0/+1
| | | | | | | | | Add template type parameters for input, output data type. Minor change in non-NEON mono channel handling. Minor fixup on comments. Change-Id: I7dc9972d130913718b62f32c02d31f99c06682f2 Signed-off-by: Andy Hung <hunga@google.com>
* Merge "Fix 1:1 dynamic resampler rate setting"Andy Hung2014-02-251-0/+4
|\
| * Fix 1:1 dynamic resampler rate settingAndy Hung2014-02-191-0/+4
| | | | | | | | | | Change-Id: Id69e98ebaaca8dd8c976eb823f1cc1024b0eddf5 Signed-off-by: Andy Hung <hunga@google.com>
* | Fix resampler to allow output of single frameAndy Hung2014-02-191-1/+1
|/ | | | | | Bug: 13073201 Change-Id: If7818a3389a191a37277bbd8e96a59ef8ce68509 Signed-off-by: Andy Hung <hunga@google.com>
* Proper adjustment of filterlength for downsamplingAndy Hung2014-02-111-6/+14
| | | | | | Bug: 12963040 Change-Id: I772b8efd3f7eae6d075994b210dd0168f5365f4d Signed-off-by: Andy Hung <hunga@google.com>
* Fix dynamic resampling for non-NEON devicesAndy Hung2014-02-031-6/+2
| | | | | | | | | | The stride by 16 code template automatically falls back to stride by 2 (as the NEON code template override does not occur). As such the stride by 2 (in the switch) was removed as it was unnecessary. Removing the if() causes the fall back to happen properly for non-NEON compilation. Change-Id: Ia7aec6ae1d88eb54377e56e2fb57f2ae5b74cf1b Signed-off-by: Andy Hung <hunga@google.com>
* Improve dynamic audio resampler filter generationAndy Hung2014-01-081-17/+38
| | | | | | | | | | | | | | Improve dynamic audio resampler filter generation speed by 2x. The resulting filters should be the same (excepting roundoff). Also added check for upsampling sample rate changes to share previously generated filters. Modify the profiling to improve output format and sampling result reliability. Change-Id: I9aa6b914fd552a63f79dd4a95945df2f8275772a Signed-off-by: Andy Hung <hunga@google.com>
* Audio resampler update to add S16 filtersAndy Hung2013-12-271-0/+530
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>