| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
This prepares for adding a new field TrackBase::mFrameCount
with a different meaning.
Change-Id: I6bbe2c59f2a882be57caeec2e2e06f439a0e9e83
|
|
|
|
|
|
| |
This is part of a series to clean up the control block.
Change-Id: Ifab1c42ac0f8be704e571b292713cd2250d12a3f
|
|\ |
|
| |
| |
| |
| |
| |
| | |
This is part of a series to clean up the control block.
Change-Id: Ie474557db7cb360f2d9a0f11600a68f5a3d46f07
|
| |
| |
| |
| |
| |
| |
| | |
this currently gives us a 60% to 80% boost depending
on the quality level selected.
Change-Id: I7db385007e811ed7bffe5fd3403b44e300894f5b
|
|/
|
|
| |
Change-Id: Ia12ee4fb59e90221761bec85e6450db29197591f
|
|
|
|
|
|
| |
This is part of a series to clean up the control block.
Change-Id: I0265fece3247356b585d4d48fbda6f37aea8a851
|
|\ |
|
| |
| |
| |
| |
| |
| | |
This is part of a series to clean up the control block.
Change-Id: Ic881a3560d9547cb63fcc0cefec87aa3da480e0d
|
|\ \
| |/
|/|
| |
| |
| |
| | |
* changes:
improve resample test
change how we store the FIR coefficients
improve SINC resampler performance
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- handle stereo input
- input file can now be ommited, in this case
a linear chirp will be used automatically
- better usage information
Change-Id: I5d62a6c26a9054a1c1a517a065b4df5a2cdcda22
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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 improvement is about 60% by just tweaking a few
things to help the compiler generate better code.
It turns out that inlining too much stuff manually was hurting us.
Change-Id: I8068f0f75051f95ac600e50ce552572dd1e8c304
|
| |
| |
| |
| | |
Change-Id: Id8a7db4d94888796a9dcbed4cac99941705cd174
|
|/
|
|
|
|
| |
Use only one symbol per flag
Change-Id: Ia3582e2134abd60c896d11337face65383e79c7c
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
previous coefficients were provided by a 3rd party and didn't have a
way to re-generate them. we're now using the 'fir' utility.
the performance of the filter is virtually identical, except for
the down-sampling case which seems slightly better now:
It looks like both the previous and new coefficients are generating
some sort of clipping for full-scale signals in the down-sampling case
(although the new ones seem better), the reason for that is
unknown (see bug: 7453062)
Also updated the HQ coefficients for the down-samplers, previous ones
were a little bit too conservative -- the new ones push the cut-off
frequency up by about 1 KHz.
Change-Id: I54a827b5c707c7cc41268ed01283758dce1d7647
|
| |
| |
| |
| | |
Change-Id: Ib28fd7b9ce951a6933f006e7f8812ba617625530
|
|/
|
|
| |
Change-Id: I4f5e95a5ddf016530d1b2747a0a5ca0962caabda
|
|\ |
|
| |
| |
| |
| | |
Change-Id: Id8c76d1e2ab5201e7ab3875f1dbcc0a126e611a4
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | | |
Bug: 6654403
Change-Id: I3993d62987cf0dd85db10bf002a5cce53d4f01bd
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | | |
* changes:
fix SINC resampler on non ARM architectures
fix another issue with generating FIR coefficients
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
make sure the C version of the code generates the same
output than the ARM assemply version.
Change-Id: Ide218785c35d02598b2d7278e646b1b178148698
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
|\ \ \ \
| |_|/ /
|/| | | |
|
| | |/
| |/|
| | |
| | | |
Change-Id: I83ea8bed375f251260945db788bdb5f280dba12d
|
|\ \ \ |
|
| |/ /
| | |
| | |
| | | |
Change-Id: I17bdb5274877760c7edaa31416020d349082e593
|
|\ \ \ |
|
| |/ /
| | |
| | |
| | | |
Change-Id: I47d688a9c10c4c3c868accc34102fb402ebcac62
|
|\ \ \
| |_|/
|/| | |
|
| |/
| |
| |
| | |
Change-Id: I8ffca0460195263d159aa13015c246122d8556a2
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| | |
Change-Id: I550e5a59e51c11e1095ca338222b094f92b96878
|
|\ \ |
|
| | |
| | |
| | |
| | | |
Change-Id: I66852d90d384f1d9e77b51ad1a1ebdbaf61d0607
|
|\ \ \
| |/ / |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
cubic resampler was disabled because it hadn't been qualified,
however after I did some tests, it does improve significantly
the sound quality over the order-1 resampler, even if it is
still quite bad.
also HIGH_QUALITY resampler was partially disabled, it's now
fully enabled. It's a big improvement over the cubic resampler
in terms of aliasing noise (it's not as good in the pass-band).
Change-Id: I70e3658c255896588642697be9eb594ff4ec0f8b
|
|\ \ \
| |/ / |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- we increase the interpolation precision from 4 to 7 bits
this doesn't increase CPU power required, it only increases the
size of the filter table but significantly reduces the noise
introduced by the quantization of the impulse response.
- the parameters of the filter are set such that aliasing is
rejected at 80 dB below 20 KHz. Because we don't use a lot of
coefficient (to save compute power), there are quite a bit of
attenuation in the pass-band: starting at 9KHz for the
down-sampler (48 to 44.1), and starting at 13 KHz for the
up-sampler (44.1 to 48) -- the transition band is about 15 KHz.
Change-Id: I855548d2aab8a0fb0d2a2da3a364b6842d7d3838
|
|/
|
|
| |
Change-Id: I557350abb32b0480f5da7dcecadfbe9edbe53361
|
|\
| |
| |
| |
| | |
* commit '203836b7584ccb7787202578259d27d70a8a3ede':
Camera2: Don't hold locks while waiting to sync.
|
| |
| |
| |
| |
| | |
Bug: 7409877
Change-Id: Ia3a0bc4f0ab4e19fca868ba04a870cf8e8ee7adb
|
|\ \
| |/
| |
| |
| |
| |
| | |
into jb-mr1-dev
* commit '9e83f44c0b310a72a080c006ebc3c07bdccc7027':
Camera2: Increase mode update timeout.
|
| |\ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
During camera startup, it might take a few hundred milliseconds before
requests start to be dequeued by the HAL. Increase the timeout for
synchronizing mode changes and triggers so that triggers near startup
don't time out.
Bug: 6970465
Change-Id: I9dc35378e8018ec18ae31be874fcb094f8a9a0e9
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* commit '3aaa4e30f7663673f3453d3f4671b1119f1802fd':
Increase allowed number of VHQ resamplers to 3
|
| | |
| | |
| | |
| | |
| | | |
Bug: 7378660
Change-Id: I69e33ca2eb4bb9bd38e2c63df62cd1130d68baf6
|