OSDN Git Service

android-x86/frameworks-av.git
11 years agoRemove CBLK_FAST from control block flags
Glenn Kasten [Tue, 6 Nov 2012 23:03:34 +0000 (15:03 -0800)]
Remove CBLK_FAST from control block flags

This is part of a series to clean up the control block.

Change-Id: Ic881a3560d9547cb63fcc0cefec87aa3da480e0d

11 years agoam 33cf49b1: (-s ours) am 78b012f5: Reconcile with jb-mr1-factory-release jb-mr1...
The Android Open Source Project [Tue, 6 Nov 2012 20:29:13 +0000 (12:29 -0800)]
am 33cf49b1: (-s ours) am 78b012f5: Reconcile with jb-mr1-factory-release jb-mr1-release - do not merge

* commit '33cf49b168a88a88167c46b01787a57b49cd875f':

11 years agoam 78b012f5: Reconcile with jb-mr1-factory-release jb-mr1-release - do not merge
The Android Open Source Project [Tue, 6 Nov 2012 20:24:38 +0000 (12:24 -0800)]
am 78b012f5: Reconcile with jb-mr1-factory-release jb-mr1-release - do not merge

* commit '78b012f5bc05706d1ce412811ccfaa9385dae0ab':

11 years agoReconcile with jb-mr1-factory-release jb-mr1-release - do not merge
The Android Open Source Project [Tue, 6 Nov 2012 20:16:54 +0000 (12:16 -0800)]
Reconcile with jb-mr1-factory-release jb-mr1-release - do not merge

Change-Id: Idf4c25115d89397ba668fc290344b2e7c1ea1993

11 years agoMerge "Cache mCblk in local variable cblk"
Glenn Kasten [Tue, 6 Nov 2012 19:34:30 +0000 (11:34 -0800)]
Merge "Cache mCblk in local variable cblk"

11 years agoam 3b31d805: am 1c6833af: Ignore SIGPIPE during write() to broken pipe
Glenn Kasten [Tue, 6 Nov 2012 19:08:29 +0000 (11:08 -0800)]
am 3b31d805: am 1c6833af: Ignore SIGPIPE during write() to broken pipe

* commit '3b31d805517c0bde8a0ebed219cbd4b8409c71c2':
  Ignore SIGPIPE during write() to broken pipe

11 years agoam 1c6833af: Ignore SIGPIPE during write() to broken pipe
Glenn Kasten [Tue, 6 Nov 2012 19:06:20 +0000 (11:06 -0800)]
am 1c6833af: Ignore SIGPIPE during write() to broken pipe

* commit '1c6833afd6cfdbc6c696ed0719ceedc37ec0b534':
  Ignore SIGPIPE during write() to broken pipe

11 years agoCache mCblk in local variable cblk
Glenn Kasten [Thu, 1 Nov 2012 21:58:02 +0000 (14:58 -0700)]
Cache mCblk in local variable cblk

Use "iMem" for sp<IMemory>

Change-Id: I2f1fbbc517fbd77cfc92f6c3b1f253c26bae93b0

11 years agoMerge "AudioRecord comments"
Glenn Kasten [Tue, 6 Nov 2012 18:27:58 +0000 (10:27 -0800)]
Merge "AudioRecord comments"

11 years agoIgnore SIGPIPE during write() to broken pipe
Glenn Kasten [Wed, 17 Oct 2012 19:16:50 +0000 (12:16 -0700)]
Ignore SIGPIPE during write() to broken pipe

This happens occasionally when taking a bugreport.

Bug: 6447319
Change-Id: Ia6531a4a3658461f8fd3f7106e7996da7cc5933a

11 years agoMerge duplicate code in TrackBase::TrackBase()
Glenn Kasten [Mon, 5 Nov 2012 21:39:09 +0000 (13:39 -0800)]
Merge duplicate code in TrackBase::TrackBase()

Change-Id: Id8a7db4d94888796a9dcbed4cac99941705cd174

11 years agoMerge "Simplify control block flag names"
Glenn Kasten [Tue, 6 Nov 2012 00:32:24 +0000 (16:32 -0800)]
Merge "Simplify control block flag names"

11 years agoMerge "Remove deprecated AudioTrack APIs"
Glenn Kasten [Mon, 5 Nov 2012 22:58:23 +0000 (14:58 -0800)]
Merge "Remove deprecated AudioTrack APIs"

11 years agoRemove deprecated AudioTrack APIs
Glenn Kasten [Tue, 28 Feb 2012 00:05:09 +0000 (16:05 -0800)]
Remove deprecated AudioTrack APIs

Change-Id: I88be6525f3e33df529c0c3cb701d12a484809477

11 years agoSimplify control block flag names
Glenn Kasten [Mon, 5 Nov 2012 21:38:15 +0000 (13:38 -0800)]
Simplify control block flag names

Use only one symbol per flag

Change-Id: Ia3582e2134abd60c896d11337face65383e79c7c

11 years agoTurn off executable bit on ordinary files
Glenn Kasten [Fri, 26 Oct 2012 21:28:05 +0000 (14:28 -0700)]
Turn off executable bit on ordinary files

Change-Id: I0abea25b58fb1d03975bed9cca40f826fcd4c5e4

11 years agoMerge "new coefficients for the vhq resampler"
Mathias Agopian [Fri, 2 Nov 2012 22:21:25 +0000 (15:21 -0700)]
Merge "new coefficients for the vhq resampler"

11 years agoFix spurious wakeup waiting for new IAudioTrack
Glenn Kasten [Fri, 2 Nov 2012 16:59:51 +0000 (09:59 -0700)]
Fix spurious wakeup waiting for new IAudioTrack

If there was a spurious wakeup while waiting for another thread to create
a new IAudioTrack, we assumed that the track has been created when it
might not have been.

Change-Id: I5f3999b4f7a06a00aabd65a746cc7222fff396ab

11 years agoAudioRecord comments
Glenn Kasten [Thu, 1 Nov 2012 22:41:48 +0000 (15:41 -0700)]
AudioRecord comments

Change-Id: Ibec910608948d778dc655d900255a80384e9b06f

11 years agoMerge "Add NBAIO support for more sample rates"
Glenn Kasten [Fri, 2 Nov 2012 17:51:32 +0000 (10:51 -0700)]
Merge "Add NBAIO support for more sample rates"

11 years agoMerge "AudioTrack comments"
Glenn Kasten [Fri, 2 Nov 2012 17:20:53 +0000 (10:20 -0700)]
Merge "AudioTrack comments"

11 years agoAudioTrack comments
Glenn Kasten [Thu, 1 Nov 2012 22:45:06 +0000 (15:45 -0700)]
AudioTrack comments

Change-Id: I08988f635c5bc6f4c35e9c4188f3d6fa557bc4c2

11 years agoMerge "Remove unused default parameter for copyBuffer()"
James Dong [Fri, 2 Nov 2012 17:15:33 +0000 (10:15 -0700)]
Merge "Remove unused default parameter for copyBuffer()"

11 years agoam 8b6ce0a2: (-s ours) Reconcile with jb-mr1-release - do not merge
The Android Open Source Project [Fri, 2 Nov 2012 14:30:27 +0000 (07:30 -0700)]
am 8b6ce0a2: (-s ours) Reconcile with jb-mr1-release - do not merge

* commit '8b6ce0a269ba67995766980f5b83937302143e64':

11 years agoReconcile with jb-mr1-release - do not merge
The Android Open Source Project [Fri, 2 Nov 2012 14:28:14 +0000 (07:28 -0700)]
Reconcile with jb-mr1-release - do not merge

Change-Id: Icad86b92debd9605c745283aeffc3f459a3549ce

11 years agonew coefficients for the vhq resampler
Mathias Agopian [Fri, 2 Nov 2012 04:03:46 +0000 (21:03 -0700)]
new coefficients for the vhq resampler

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

11 years agomerge in jb-mr1-release history after reset to jb-mr1-dev
The Android Automerger [Fri, 2 Nov 2012 02:05:16 +0000 (19:05 -0700)]
merge in jb-mr1-release history after reset to jb-mr1-dev

11 years agoRemove unused default parameter for copyBuffer()
James Dong [Fri, 2 Nov 2012 01:54:43 +0000 (18:54 -0700)]
Remove unused default parameter for copyBuffer()

Change-Id: I8002986ccb926165af393ca80cece60dee011204

11 years agoam d37ee8fb: am 96076964: Make video encoders\' bitrate mode (constant, variable...
Andreas Huber [Thu, 1 Nov 2012 23:03:19 +0000 (16:03 -0700)]
am d37ee8fb: am 96076964: Make video encoders\' bitrate mode (constant, variable, ...) configurable

* commit 'd37ee8fb36c972bf8d07868700a2c47358e25eb4':
  Make video encoders' bitrate mode (constant, variable, ...) configurable

11 years agoam 96076964: Make video encoders\' bitrate mode (constant, variable, ...) configurable
Andreas Huber [Thu, 1 Nov 2012 23:02:16 +0000 (16:02 -0700)]
am 96076964: Make video encoders\' bitrate mode (constant, variable, ...) configurable

* commit '96076964863ee6887f0bed9d0f11f424b48ab9b9':
  Make video encoders' bitrate mode (constant, variable, ...) configurable

11 years agoMake video encoders' bitrate mode (constant, variable, ...) configurable
Andreas Huber [Thu, 1 Nov 2012 22:48:44 +0000 (15:48 -0700)]
Make video encoders' bitrate mode (constant, variable, ...) configurable

through the desired output format. Configure the video encoder to use
constant bitrate mode for WFD.

Change-Id: Id7bd619598153c13448a9c5acd69d80f8a01f333
related-to-bug: 7459597

11 years agoLine length 100
Glenn Kasten [Thu, 1 Nov 2012 18:11:38 +0000 (11:11 -0700)]
Line length 100

Change-Id: Ib28fd7b9ce951a6933f006e7f8812ba617625530

11 years agoMerge "Save copy of mic input, disabled by default"
Glenn Kasten [Thu, 1 Nov 2012 18:57:08 +0000 (11:57 -0700)]
Merge "Save copy of mic input, disabled by default"

11 years agoSave copy of mic input, disabled by default
Glenn Kasten [Sun, 30 Sep 2012 19:29:28 +0000 (12:29 -0700)]
Save copy of mic input, disabled by default

Change-Id: I4f5e95a5ddf016530d1b2747a0a5ca0962caabda

11 years agoAdd NBAIO support for more sample rates
Glenn Kasten [Mon, 1 Oct 2012 16:47:30 +0000 (09:47 -0700)]
Add NBAIO support for more sample rates

This will be used for audio capture but it is not scalable,
and we need a better approach in the long term.

Change-Id: I8b12f6b64a3fd8e8a8c425c82574260fe8ffbed6

11 years agoam 8603c8ce: (-s ours) Reconcile with jb-mr1-release - do not merge
The Android Open Source Project [Thu, 1 Nov 2012 14:54:44 +0000 (07:54 -0700)]
am 8603c8ce: (-s ours) Reconcile with jb-mr1-release - do not merge

* commit '8603c8ce359a8c69f83305aff3fe5fa26fe4ca0a':

11 years agoReconcile with jb-mr1-release - do not merge
The Android Open Source Project [Thu, 1 Nov 2012 14:51:57 +0000 (07:51 -0700)]
Reconcile with jb-mr1-release - do not merge

Change-Id: I0fd73e8e0b948c2d01fdb9f4c6e005ee9cd2ac44

11 years agomerge in jb-mr1-release history after reset to jb-mr1-dev
The Android Automerger [Thu, 1 Nov 2012 01:33:54 +0000 (18:33 -0700)]
merge in jb-mr1-release history after reset to jb-mr1-dev

11 years agoam 6776e7fe: am 90a92053: Various tweaks to wfd
Andreas Huber [Wed, 31 Oct 2012 20:20:02 +0000 (13:20 -0700)]
am 6776e7fe: am 90a92053: Various tweaks to wfd

* commit '6776e7fea5aa4ab045ac3f7303e3ba5d9bbce007':
  Various tweaks to wfd

11 years agoam 90a92053: Various tweaks to wfd
Andreas Huber [Wed, 31 Oct 2012 20:18:27 +0000 (13:18 -0700)]
am 90a92053: Various tweaks to wfd

* commit '90a92053219ae50ddf4bb54e3d54db2d309e2b8d':
  Various tweaks to wfd

11 years agoMerge "StateQueue comments"
Glenn Kasten [Wed, 31 Oct 2012 18:27:23 +0000 (11:27 -0700)]
Merge "StateQueue comments"

11 years agoam f0e55de3: (-s ours) Reconcile with jb-mr1-release - do not merge
The Android Open Source Project [Wed, 31 Oct 2012 16:22:41 +0000 (09:22 -0700)]
am f0e55de3: (-s ours) Reconcile with jb-mr1-release - do not merge

* commit 'f0e55de3b1b099c413d430d8f9d46361454c85d2':

11 years agoVarious tweaks to wfd
Andreas Huber [Tue, 30 Oct 2012 22:53:03 +0000 (15:53 -0700)]
Various tweaks to wfd

related-to-bug: 7426218

Squashed commit of the following:

commit 1553f1a1c66af998674168f7f7a3be23fcb0c794
Author: Andreas Huber <andih@google.com>
Date:   Tue Oct 30 15:51:27 2012 -0700

    Add LPCM, AVC and AVC HRD descriptors as necessary.

    Change-Id: Ibc836fced0fe37e8a25574c2295e886765b9ea6f

commit 4e74db61d2d31ebe239acbdec8f110f88016a4ea
Author: Andreas Huber <andih@google.com>
Date:   Tue Oct 30 15:50:52 2012 -0700

    added copyright headers to Sender.{cpp,h}

    Change-Id: If615ccb8767e32bd83ed1f0f669acc39a72489f6

commit 7144bf8ae68c5cdb8faa6e219547aabbd750f04e
Author: Andreas Huber <andih@google.com>
Date:   Tue Oct 30 15:50:25 2012 -0700

    Reenable suspension of the RepeaterSource

    Change-Id: I765338fcde89c65e4b69be45a5949eba6bcdcf6f

commit 812164bcfa0699821d7d8eefcc0dff96b2e2cd08
Author: Andreas Huber <andih@google.com>
Date:   Tue Oct 30 14:03:50 2012 -0700

    Add 2 stuffing bytes to the PES headers for audio tracks.

    Change-Id: I8b9c634f6a565ab7fa7ecdb610f7d8557e0b139b

commit a084a741a63015d47c92d99fcd8b980fe615dc7d
Author: Andreas Huber <andih@google.com>
Date:   Tue Oct 30 13:19:38 2012 -0700

    Fix PCM audio packetization in WFD.

    Change-Id: I99a435f9fe6b4397f24d6c22afae5ae2505ffc14

commit c5cb9369585f701f34bce41534940d5f9b59248f
Author: Andreas Huber <andih@google.com>
Date:   Tue Oct 30 13:19:12 2012 -0700

    Support extraction of PCM audio from transport streams.

    Change-Id: I28a0516756ebcb5587325b6588df013ac871ffb9

commit b0a0512300ae037d6b39c2d04952d34b5fc12b2d
Author: Andreas Huber <andih@google.com>
Date:   Tue Oct 30 08:54:13 2012 -0700

    disable suspend of the RepeaterSource

    Change-Id: Ibf42a98185b0567f817ae582a82e6580f95d3d40

commit 4330e8b7668dc92a6d882b5622c0697cf292d04c
Author: Andreas Huber <andih@google.com>
Date:   Mon Oct 29 14:11:25 2012 -0700

    Better handling of datagrams in ANetworkSession

    reduce unnecessary copy overhead.

    Change-Id: I2ed8c767274ba07764f03e8d4913041168e5755f

commit a44e73c322ba3f2c336f7cc4e1d63d3a74faa75d
Author: Andreas Huber <andih@google.com>
Date:   Mon Oct 29 11:14:47 2012 -0700

    Network traffic is now handled on a separate thread.

    Audio and video are queued to ensure proper A/V interleaving.
    Scheduled packet sends according to capture timestamps to reduce
    send-jitter.

    Change-Id: Ibd6357c1e663086cf87bec0a98f8e54dfdfaa0e5
    related-to-bug: 7426218

Change-Id: Ia440129d656c35814abf18df06da50b73d5bb554

11 years agoReconcile with jb-mr1-release - do not merge
The Android Open Source Project [Wed, 31 Oct 2012 16:16:33 +0000 (09:16 -0700)]
Reconcile with jb-mr1-release - do not merge

Change-Id: I7cd153e8ccfb7d572a5796ca353ec9777de789d6

11 years agoRemove obsolete libmedia_native
Glenn Kasten [Tue, 30 Oct 2012 17:55:15 +0000 (10:55 -0700)]
Remove obsolete libmedia_native

Bug: 6654403
Change-Id: Ic979a7890e2f4ef3f5409af14372eb52196e6dea

11 years agoMerge "Remove obsolete references to libmedia_native"
Glenn Kasten [Tue, 30 Oct 2012 23:19:56 +0000 (16:19 -0700)]
Merge "Remove obsolete references to libmedia_native"

11 years agoMerge changes Ide218785,I86d0bb82
Mathias Agopian [Tue, 30 Oct 2012 21:54:32 +0000 (14:54 -0700)]
Merge changes Ide218785,I86d0bb82

* changes:
  fix SINC resampler on non ARM architectures
  fix another issue with generating FIR coefficients

11 years agofix SINC resampler on non ARM architectures
Mathias Agopian [Tue, 30 Oct 2012 20:51:44 +0000 (13:51 -0700)]
fix SINC resampler on non ARM architectures

make sure the C version of the code generates the same
output than the ARM assemply version.

Change-Id: Ide218785c35d02598b2d7278e646b1b178148698

11 years agofix another issue with generating FIR coefficients
Mathias Agopian [Tue, 30 Oct 2012 19:49:07 +0000 (12:49 -0700)]
fix another issue with generating FIR coefficients

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

11 years agoRemove obsolete references to libmedia_native
Glenn Kasten [Tue, 30 Oct 2012 17:51:39 +0000 (10:51 -0700)]
Remove obsolete references to libmedia_native

Bug: 6654403
Change-Id: I3993d62987cf0dd85db10bf002a5cce53d4f01bd

11 years agoMerge "Document AudioMixer hard-coded limits"
Glenn Kasten [Tue, 30 Oct 2012 17:36:00 +0000 (10:36 -0700)]
Merge "Document AudioMixer hard-coded limits"

11 years agoMerge "Use ALOGVV instead of commented ALOGV"
Glenn Kasten [Tue, 30 Oct 2012 17:34:28 +0000 (10:34 -0700)]
Merge "Use ALOGVV instead of commented ALOGV"

11 years agoMerge "Fix typo"
Glenn Kasten [Tue, 30 Oct 2012 17:33:13 +0000 (10:33 -0700)]
Merge "Fix typo"

11 years agoMerge "Clean up constructor and derivation whitespace"
Glenn Kasten [Tue, 30 Oct 2012 17:32:47 +0000 (10:32 -0700)]
Merge "Clean up constructor and derivation whitespace"

11 years agoMerge "Mark volume fields private"
Glenn Kasten [Tue, 30 Oct 2012 17:30:59 +0000 (10:30 -0700)]
Merge "Mark volume fields private"

11 years agoMerge "fir a typo that caused up-sampling coefficiens to be wrong"
Mathias Agopian [Tue, 30 Oct 2012 02:11:57 +0000 (19:11 -0700)]
Merge "fir a typo that caused up-sampling coefficiens to be wrong"

11 years agoMerge "test-resample: clip instead of overflowing"
Mathias Agopian [Tue, 30 Oct 2012 02:01:57 +0000 (19:01 -0700)]
Merge "test-resample: clip instead of overflowing"

11 years agofir a typo that caused up-sampling coefficiens to be wrong
Mathias Agopian [Tue, 30 Oct 2012 00:13:20 +0000 (17:13 -0700)]
fir a typo that caused up-sampling coefficiens to be wrong

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

11 years agotest-resample: clip instead of overflowing
Mathias Agopian [Tue, 30 Oct 2012 00:13:16 +0000 (17:13 -0700)]
test-resample: clip instead of overflowing

Change-Id: I550e5a59e51c11e1095ca338222b094f92b96878

11 years agoam dd4e72b4: am 2295ce2c: Increase bitrate now that other issues have been resolved.
Dave Burke [Tue, 30 Oct 2012 00:13:15 +0000 (17:13 -0700)]
am dd4e72b4: am 2295ce2c: Increase bitrate now that other issues have been resolved.

* commit 'dd4e72b44ddb7a1591bd2f81c46d20bb0939e9eb':
  Increase bitrate now that other issues have been resolved.

11 years agoam dd974cc4: am e815552c: Disable silence suppression (causes issues with dongles).
Dave Burke [Tue, 30 Oct 2012 00:13:14 +0000 (17:13 -0700)]
am dd974cc4: am e815552c: Disable silence suppression (causes issues with dongles).

* commit 'dd974cc4f335b30731c452885bff3c396ed54724':
  Disable silence suppression (causes issues with dongles).

11 years agoam 2295ce2c: Increase bitrate now that other issues have been resolved.
Dave Burke [Mon, 29 Oct 2012 21:21:57 +0000 (14:21 -0700)]
am 2295ce2c: Increase bitrate now that other issues have been resolved.

* commit '2295ce2c6fcf07ffaa134440691a8cea5fe35b43':
  Increase bitrate now that other issues have been resolved.

11 years agoam e815552c: Disable silence suppression (causes issues with dongles).
Dave Burke [Mon, 29 Oct 2012 21:21:56 +0000 (14:21 -0700)]
am e815552c: Disable silence suppression (causes issues with dongles).

* commit 'e815552c9cb17be79cb3b7eb6fbdfa9ad81c861b':
  Disable silence suppression (causes issues with dongles).

11 years agomerge in jb-mr1-release history after reset to jb-mr1-dev
The Android Automerger [Mon, 29 Oct 2012 18:19:49 +0000 (11:19 -0700)]
merge in jb-mr1-release history after reset to jb-mr1-dev

11 years agoIncrease bitrate now that other issues have been resolved.
Dave Burke [Sat, 27 Oct 2012 06:49:43 +0000 (23:49 -0700)]
Increase bitrate now that other issues have been resolved.

Bug: 7426218
Change-Id: I67dfa1e4b85f326f355ad0ec5b6c699e87b45564

11 years agomerge in jb-mr1-release history after reset to jb-mr1-dev
The Android Automerger [Sat, 27 Oct 2012 01:17:33 +0000 (18:17 -0700)]
merge in jb-mr1-release history after reset to jb-mr1-dev

11 years agoDisable silence suppression (causes issues with dongles).
Dave Burke [Fri, 26 Oct 2012 23:24:43 +0000 (16:24 -0700)]
Disable silence suppression (causes issues with dongles).

Bug: 7426218
Change-Id: Ie1517a8017bae1f9a9b6c224cd3170dfcc5fb941

11 years agoUse ALOGVV instead of commented ALOGV
Glenn Kasten [Thu, 18 Oct 2012 22:51:03 +0000 (15:51 -0700)]
Use ALOGVV instead of commented ALOGV

Change-Id: I17bdb5274877760c7edaa31416020d349082e593

11 years agoFix typo
Glenn Kasten [Mon, 24 Sep 2012 18:27:56 +0000 (11:27 -0700)]
Fix typo

Change-Id: I8cc2969eb329a830ee866622a8633adcb4e967cc

11 years agoStateQueue comments
Glenn Kasten [Fri, 26 Oct 2012 23:10:30 +0000 (16:10 -0700)]
StateQueue comments

Change-Id: Id8c76d1e2ab5201e7ab3875f1dbcc0a126e611a4

11 years agoMerge "a test app for the resamplers"
Mathias Agopian [Fri, 26 Oct 2012 23:04:41 +0000 (16:04 -0700)]
Merge "a test app for the resamplers"

11 years agoMerge "reenable the cubic resampler"
Mathias Agopian [Fri, 26 Oct 2012 23:04:26 +0000 (16:04 -0700)]
Merge "reenable the cubic resampler"

11 years agoMerge "improve SINC resampler coefficients"
Mathias Agopian [Fri, 26 Oct 2012 23:04:11 +0000 (16:04 -0700)]
Merge "improve SINC resampler coefficients"

11 years agoDocument AudioMixer hard-coded limits
Glenn Kasten [Thu, 8 Mar 2012 20:33:37 +0000 (12:33 -0800)]
Document AudioMixer hard-coded limits

Change-Id: I83ea8bed375f251260945db788bdb5f280dba12d

11 years agoClean up constructor and derivation whitespace
Glenn Kasten [Tue, 10 Jul 2012 18:44:31 +0000 (11:44 -0700)]
Clean up constructor and derivation whitespace

Change-Id: I47d688a9c10c4c3c868accc34102fb402ebcac62

11 years agoMark volume fields private
Glenn Kasten [Tue, 6 Mar 2012 19:34:22 +0000 (11:34 -0800)]
Mark volume fields private

Change-Id: I8ffca0460195263d159aa13015c246122d8556a2

11 years agoMerge "Camera2: Compile with warnings, fix warnings"
Igor Murashkin [Fri, 26 Oct 2012 22:26:03 +0000 (15:26 -0700)]
Merge "Camera2: Compile with warnings, fix warnings"

11 years agoCamera2: Compile with warnings, fix warnings
Igor Murashkin [Fri, 12 Oct 2012 23:56:11 +0000 (16:56 -0700)]
Camera2: Compile with warnings, fix warnings

Change-Id: I557350abb32b0480f5da7dcecadfbe9edbe53361

11 years agoa test app for the resamplers
Mathias Agopian [Sun, 21 Oct 2012 08:01:38 +0000 (01:01 -0700)]
a test app for the resamplers

Change-Id: I66852d90d384f1d9e77b51ad1a1ebdbaf61d0607

11 years agoreenable the cubic resampler
Mathias Agopian [Fri, 26 Oct 2012 21:11:01 +0000 (14:11 -0700)]
reenable the cubic resampler

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

11 years agoimprove SINC resampler coefficients
Mathias Agopian [Fri, 26 Oct 2012 20:48:42 +0000 (13:48 -0700)]
improve SINC resampler coefficients

- 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

11 years agoMerge "improve fir tool: cleanup, better default, bug fixes"
Mathias Agopian [Fri, 26 Oct 2012 21:58:24 +0000 (14:58 -0700)]
Merge "improve fir tool: cleanup, better default, bug fixes"

11 years agoimprove fir tool: cleanup, better default, bug fixes
Pixelflinger [Fri, 26 Oct 2012 02:43:49 +0000 (19:43 -0700)]
improve fir tool: cleanup, better default, bug fixes

- 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.

11 years agoOnly export the symbols that need to be
Marco Nelissen [Thu, 25 Oct 2012 23:05:57 +0000 (16:05 -0700)]
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

11 years agomerge in jb-mr1-release history after reset to jb-mr1-dev
The Android Automerger [Thu, 25 Oct 2012 20:42:11 +0000 (13:42 -0700)]
merge in jb-mr1-release history after reset to jb-mr1-dev

11 years agoSwitch to new fx library API
Marco Nelissen [Thu, 25 Oct 2012 18:02:50 +0000 (11:02 -0700)]
Switch to new fx library API

Change-Id: I6603aef5e3821a8f911e3f33ef8565d04bd1e2e5

11 years agoam 203836b7: am b8d6efba: Camera2: Don\'t hold locks while waiting to sync.
Eino-Ville Talvala [Thu, 25 Oct 2012 02:53:14 +0000 (19:53 -0700)]
am 203836b7: am b8d6efba: Camera2: Don\'t hold locks while waiting to sync.

* commit '203836b7584ccb7787202578259d27d70a8a3ede':
  Camera2: Don't hold locks while waiting to sync.

11 years agoam b8d6efba: Camera2: Don\'t hold locks while waiting to sync.
Eino-Ville Talvala [Thu, 25 Oct 2012 02:50:19 +0000 (19:50 -0700)]
am b8d6efba: Camera2: Don\'t hold locks while waiting to sync.

* commit 'b8d6efba8b87e6eeb049651cb67f9827198e658e':
  Camera2: Don't hold locks while waiting to sync.

11 years agoCamera2: Don't hold locks while waiting to sync.
Eino-Ville Talvala [Thu, 25 Oct 2012 00:30:30 +0000 (17:30 -0700)]
Camera2: Don't hold locks while waiting to sync.

Bug: 7409877
Change-Id: Ia3a0bc4f0ab4e19fca868ba04a870cf8e8ee7adb

11 years agoMake ThrottledSource more usable
Marco Nelissen [Wed, 24 Oct 2012 20:43:32 +0000 (13:43 -0700)]
Make ThrottledSource more usable

Add reconnectAtOffset(), DrmInitialization() and getDrmInfo().
Also rearrange the code a bit so all the methods that just call through
to the wrapped DataSource are in the header.

Change-Id: If25b674df317b0f6da5d36241c694e32abb0a01c

11 years agomerge in jb-mr1-release history after reset to jb-mr1-dev
The Android Automerger [Tue, 23 Oct 2012 23:46:59 +0000 (16:46 -0700)]
merge in jb-mr1-release history after reset to jb-mr1-dev

11 years agoam e3e639b1: am ac1a450a: Merge "Don\'t attempt to seek audio and video separately...
Andreas Huber [Tue, 23 Oct 2012 22:14:23 +0000 (15:14 -0700)]
am e3e639b1: am ac1a450a: Merge "Don\'t attempt to seek audio and video separately." into jb-mr1-dev

* commit 'e3e639b1714d35628f9b75276839ad55d8afc74c':
  Don't attempt to seek audio and video separately.

11 years agoam ac1a450a: Merge "Don\'t attempt to seek audio and video separately." into jb-mr1-dev
Andreas Huber [Tue, 23 Oct 2012 22:11:29 +0000 (15:11 -0700)]
am ac1a450a: Merge "Don\'t attempt to seek audio and video separately." into jb-mr1-dev

* commit 'ac1a450a76c2f42f66c876200cb724d1e93ef4c7':
  Don't attempt to seek audio and video separately.

11 years agoMerge "Don't attempt to seek audio and video separately." into jb-mr1-dev
Andreas Huber [Tue, 23 Oct 2012 22:06:11 +0000 (15:06 -0700)]
Merge "Don't attempt to seek audio and video separately." into jb-mr1-dev

11 years agomerge in jb-mr1-release history after reset to jb-mr1-dev
The Android Automerger [Tue, 23 Oct 2012 21:37:12 +0000 (14:37 -0700)]
merge in jb-mr1-release history after reset to jb-mr1-dev

11 years agoDon't attempt to seek audio and video separately.
Andreas Huber [Tue, 23 Oct 2012 20:25:05 +0000 (13:25 -0700)]
Don't attempt to seek audio and video separately.

The widevine extractor doesn't deal too well with that...

Change-Id: Iadfeede4fe0c086af788c5639782854e4fbb98ff
related-to-bug: 7262386

11 years agoam 9e83f44c: am 6ccc3c34: Merge "Camera2: Increase mode update timeout." into jb...
Eino-Ville Talvala [Tue, 23 Oct 2012 17:38:09 +0000 (10:38 -0700)]
am 9e83f44c: am 6ccc3c34: Merge "Camera2: Increase mode update timeout." into jb-mr1-dev

* commit '9e83f44c0b310a72a080c006ebc3c07bdccc7027':
  Camera2: Increase mode update timeout.

11 years agoam 6ccc3c34: Merge "Camera2: Increase mode update timeout." into jb-mr1-dev
Eino-Ville Talvala [Tue, 23 Oct 2012 17:36:05 +0000 (10:36 -0700)]
am 6ccc3c34: Merge "Camera2: Increase mode update timeout." into jb-mr1-dev

* commit '6ccc3c343e2751ebfe9fa77215bf84e1a97e38fc':
  Camera2: Increase mode update timeout.

11 years agoMerge "Camera2: Increase mode update timeout." into jb-mr1-dev
Eino-Ville Talvala [Tue, 23 Oct 2012 17:31:25 +0000 (10:31 -0700)]
Merge "Camera2: Increase mode update timeout." into jb-mr1-dev

11 years agoCamera2: Increase mode update timeout.
Eino-Ville Talvala [Tue, 23 Oct 2012 16:09:01 +0000 (09:09 -0700)]
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