| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Refactor request threadLoop to three parts: waiting for next
batch of requests, preparing HAL requests and output buffers for
next batch of requests, and submitting the batch of requests to
HAL.
Set the batch size to the size of the request list if it's a video
recording request in a high speed video configuration.
Add a flush lock so that HAL's flush() won't be called while
submitting a batch of requests.
Bug: 23360060
Change-Id: Icd395b1f955a9b336eec6fa5aff6b17741ce08c7
|
|\
| |
| |
| | |
there's video." into mnc-dr-dev
|
| |
| |
| |
| |
| | |
Bug: 23707144
Change-Id: Ie0e2db8dc91a78f82fb935d165aa11abe73697a3
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
first track" into mnc-dev
* commit 'd35955dd6ccdb4aecdf8217f708b9f8015fc9957':
stagefright: MPEG4Extractor: allow 'hdlr' box before first track
|
| |\ \
| | | |
| | | |
| | | | |
into mnc-dev
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Bug: 21725583
Change-Id: I799c1967759c7e49fb50281a1708188450caac77
|
|\ \ \ \
| |/ / /
| | | /
| |_|/
|/| | |
* commit 'fe751bea0d3eedd6e817aebf4e457425b82e7117':
Camera: Fix flashlight deadlock
|
| |/
| |
| |
| |
| |
| |
| |
| | |
Use a dedicated mutex for torch UID map so it won't cause a deadlock
after flashlight app gets killed while the torch is on.
Bug: 23722318
Change-Id: I228377aa0412052d56b6b948361d9abaecbbc686
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The HAL device shutdown will likely need to wait on various events and
queues to drain, and holding the mutex will prevent, for example, error
notifications from being processed. This can lead to deadlocks.
Bug: 23501571
Change-Id: I873ac23ef30545adf533e7839445448573ab5048
|
|\ \ \
| |/ /
|/| /
| |/
| | |
* commit '389e765394a950b9697bba49c1998f2029bd58b4':
Fix for security vulnerability in media server
|
| |\ |
|
| | |
| | |
| | |
| | |
| | | |
bug: 23540426
Change-Id: Ifb12ac3350410a49ba7d81d1bde12822c3008cd5
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
184ad88d: am fba72ab0: am f394f121: Merge "libmedia: clear reply data for IEffect command" into klp-dev
* commit '909318b3c7e5d80c8a79f8a37200e797a287c061':
libmedia: clear reply data for IEffect command
|
| |\ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
fba72ab0: am f394f121: Merge "libmedia: clear reply data for IEffect command" into klp-dev
* commit 'dbf995cecdbfcb74437cf2b6b123b10821371f82':
libmedia: clear reply data for IEffect command
|
| | |\ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
f394f121: Merge "libmedia: clear reply data for IEffect command" into klp-dev
* commit '6b203f06b969ba92181dbf781544b40cc2c41b7c':
libmedia: clear reply data for IEffect command
|
| | | |\ \
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
"libmedia: clear reply data for IEffect command" into klp-dev
* commit '66b24004345ff8a688e8548409b0b7d5a8902232':
libmedia: clear reply data for IEffect command
|
| | | | |\ \
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
reply data for IEffect command" into klp-dev
* commit '0ea9e2761a04c4f592d854dbde2749395735fe56':
libmedia: clear reply data for IEffect command
|
| | | | | |\ \
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
IEffect command" into klp-dev
* commit '184ad88ddd6bbdf01e131e8e5b75bef5be67b29b':
libmedia: clear reply data for IEffect command
|
| | | | | | |\ \
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
command" into klp-dev
* commit 'fba72ab0fcf7298492dcd9e3045913435d30d3a9':
libmedia: clear reply data for IEffect command
|
| | | | | | | |\ \
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
* commit 'f394f12167fddbc755855d06b615509517c99f14':
libmedia: clear reply data for IEffect command
|
| | | | | | | | |\ \ |
|
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
Bug: 23540907
Change-Id: Ib89afc6b273b0eb310bbc5a1bd92b1e3d407c249
|
|\ \ \ \ \ \ \ \ \ \ \
| |/ / / / / / / / / /
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
still in shutdown process." into mnc-dev
* commit '5d76e54d2f3b02b52be035e37681fde0caf15eaa':
NuPlayer: do not create audio decoder if the player is still in shutdown process.
|
| |\ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
shutdown process." into mnc-dev
|
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
process.
Bug: 23350795
Change-Id: I46b02cf31d7d4447806910a9ecd8c3bda05f2f5b
|
|\ \ \ \ \ \ \ \ \ \ \ \
| |/ / / / / / / / / / /
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
b04cfdf5: am d437c777: am 0981df6e: IMediaPlayer.cpp: make sure structures are initialized to 0
* commit '03dee05039103fbc983ddc9f728f1fa974d0a5a5':
IMediaPlayer.cpp: make sure structures are initialized to 0
|
| |\ \ \ \ \ \ \ \ \ \ \
| | | |/ / / / / / / / /
| | |/| | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
d437c777: am 0981df6e: IMediaPlayer.cpp: make sure structures are initialized to 0
* commit '608c349d611e03e0143c23c3f77ddc62b137e354':
IMediaPlayer.cpp: make sure structures are initialized to 0
|
| | |\ \ \ \ \ \ \ \ \ \
| | | | |/ / / / / / / /
| | | |/| | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
0981df6e: IMediaPlayer.cpp: make sure structures are initialized to 0
* commit '4e861bf5d43eae00ae4cb8727c5a408c3728288b':
IMediaPlayer.cpp: make sure structures are initialized to 0
|
| | | |\ \ \ \ \ \ \ \ \
| | | | | |/ / / / / / /
| | | | |/| | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
IMediaPlayer.cpp: make sure structures are initialized to 0
* commit 'e1dc15ecfaa5bbbda28647749bad51e6d18d0c79':
IMediaPlayer.cpp: make sure structures are initialized to 0
|
| | | | |\ \ \ \ \ \ \ \
| | | | | | |/ / / / / /
| | | | | |/| | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
sure structures are initialized to 0
* commit '762c713900bd764570c8fda4e238497200da66d6':
IMediaPlayer.cpp: make sure structures are initialized to 0
|
| | | | | |\ \ \ \ \ \ \
| | | | | | | |/ / / / /
| | | | | | |/| | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
structures are initialized to 0
* commit 'b04cfdf51746dea51d2bb2f56fe9ef789fd30bd9':
IMediaPlayer.cpp: make sure structures are initialized to 0
|
| | | | | | |\ \ \ \ \ \
| | | | | | | | |/ / / /
| | | | | | | |/| | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
initialized to 0
* commit 'd437c77716fcf454d99b8424bb01f37643b970cc':
IMediaPlayer.cpp: make sure structures are initialized to 0
|
| | | | | | | |\ \ \ \ \
| | | | | | | | | |/ / /
| | | | | | | | |/| | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
* commit '0981df6e3db106bfb7a56a2b668c012fcc34dd2c':
IMediaPlayer.cpp: make sure structures are initialized to 0
|
| | | | | | | | | |/ /
| | | | | | | | |/| |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
Credit https://code.google.com/p/android/issues/detail?id=183310
Bug: 23515142
Change-Id: Idbd66fb148bd0ac1dd78f8651d0164f2a41e2427
(cherry picked from commit b73b826cc16291b33649402497efbe0f946413bd)
|
|\ \ \ \ \ \ \ \ \ \ \
| |/ / / / / / / / / /
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
* commit 'd0b5910f78b45ce98511d31ec327ccaafe127f3f':
libmedia: clear reply data for IEffect command
|
| | |_|_|_|_|_|_|/ /
| |/| | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Bug: 23540907
Change-Id: Ib89afc6b273b0eb310bbc5a1bd92b1e3d407c249
|
|\ \ \ \ \ \ \ \ \ \ |
|
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
Gapless mode is not working for offload playback due to mismatch
in flags of current track and next track to be played.
AUDIO_OUTPUT_FLAG_DIRECT is added in AudioTrack flags for current track
which does not match exactly with requested flags for next track.
Because of this mismatch, reuse of the AudioTrack is not allowed.
To fix this, update audio sink flags with requested flags and use
track flags only to setPlaybackRate if AUDIO_OUTPUT_FLAG_DIRECT flag
is not set.
Bug: 23221273
authored-by: Preetam Singh Ranawat <apranawat@codeaurora.org>
Change-Id: I52761ccd854b66a7bc218e83c9b44598771c46f7
|
|\ \ \ \ \ \ \ \ \ \ \
| | |/ / / / / / / / /
| |/| | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
am 35a7b54e: am f9a51893: (-s ours) am 9a2be5d4: Merge "DO NOT MERGE - Fix software video decoder buffer size calculation" into klp-dev
* commit '3a124eb05e7ef3056ebc1abc7390e8371dd52112':
DO NOT MERGE - Fix software video decoder buffer size calculation
|
| |\ \ \ \ \ \ \ \ \ \
| | | |/ / / / / / / /
| | |/| | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
am f9a51893: (-s ours) am 9a2be5d4: Merge "DO NOT MERGE - Fix software video decoder buffer size calculation" into klp-dev
* commit 'f67f894fead9065dcffda03a127cee7d746c9226':
DO NOT MERGE - Fix software video decoder buffer size calculation
|
| | |\ \ \ \ \ \ \ \ \
| | | | |/ / / / / / /
| | | |/| | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
am 9a2be5d4: Merge "DO NOT MERGE - Fix software video decoder buffer size calculation" into klp-dev
* commit 'ff9a97f62344dc318b90c5b62ae3c7d3be5ab90e':
DO NOT MERGE - Fix software video decoder buffer size calculation
|
| | | |\ \ \ \ \ \ \ \
| | | | | |/ / / / / /
| | | | |/| | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
Merge "DO NOT MERGE - Fix software video decoder buffer size calculation" into klp-dev
* commit '92aa0532ab7cfd70011f70bc909249b894a840d0':
DO NOT MERGE - Fix software video decoder buffer size calculation
|
| | | | |\ \ \ \ \ \ \
| | | | | | |/ / / / /
| | | | | |/| | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
MERGE - Fix software video decoder buffer size calculation" into klp-dev
* commit '5e47eb9512890ea443977d3b54125b33f8259f63':
DO NOT MERGE - Fix software video decoder buffer size calculation
|
| | | | | |\ \ \ \ \ \
| | | | | | | |/ / / /
| | | | | | |/| | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
software video decoder buffer size calculation" into klp-dev
* commit '35a7b54e828336121d26060dd7e7adb5f5027d32':
DO NOT MERGE - Fix software video decoder buffer size calculation
|
| | | | | | |\ \ \ \ \
| | | | | | | | |/ / /
| | | | | | | |/| | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
decoder buffer size calculation" into klp-dev
* commit 'f9a51893d739000cd70caf10c83d0e603371f5b1':
DO NOT MERGE - Fix software video decoder buffer size calculation
|
| | | | | | | |\ \ \ \
| | | | | | | | | |/ /
| | | | | | | | |/| |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
calculation" into klp-dev
* commit '9a2be5d49d57b239bf6345f033eab01ba98f3889':
DO NOT MERGE - Fix software video decoder buffer size calculation
|
| | | | | | | | |\ \ \
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
into klp-dev
|
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
Various software video decoders would specify the buffer size as if it were
fully cropped, which then failed a sanity check in SoftwareRenderer.
They now return the full buffer size.
Bug: 21717327
Bug: 21443020
Change-Id: I19fcd091827ebd52a95a5509281a07ccc156e0e5
(cherry picked from commit 3ecc9db40b1fb9c7f807a5892e5c9625aac1fb06)
|
|\ \ \ \ \ \ \ \ \ \ \ \
| |/ / / / / / / / / / /
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
am b504ca53: am 3a7ff4c7: (-s ours) am a5f50e98: DO NOT MERGE - SoftwareRenderer: sanity check buffer size before copying data.
* commit 'e9a3a244bf823fcab5bfa07056bea64f55e412fb':
DO NOT MERGE - SoftwareRenderer: sanity check buffer size before copying data.
|