Android-x86
Fork
Donation

  • R/O
  • HTTP
  • SSH
  • HTTPS

frameworks-av: List of commits

frameworks/av


RSS
Rev. Time Author
1f26e26 nougat-x86 android-x86-7.1-r1 android-x86-7.1-r2 android-x86-7.1-r3 android-x86-7.1-r4 android-x86-7.1-r5 2018-01-04 17:26:21 Chih-Wei Huang

Android 7.1.2 Release 36 (N2G48H)
-----BEGIN PGP SIGNATURE-----

iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCWicTdQAKCRDorT+BmrEO
eGM/AJ98WTBuJpS3LltA+1lBXasWFK7QLwCeNt+GhB8+JuNbiXdIXub8HKvHBjI=
=XJye
-----END PGP SIGNATURE-----

Merge tag 'android-7.1.2_r36' into nougat-x86

Android 7.1.2 Release 36 (N2G48H)

Conflicts:
media/libeffects/lvm/wrapper/Bundle/EffectBundle.cpp
media/libstagefright/omx/OMXNodeInstance.cpp

6eee445 2017-11-04 04:56:03 android-build-team Robot

Merge cherrypicks of [3166006, 3165952, 3164925, 3164926, 3164927, 3164928, 3167313, 3167314, 3167315, 3167316, 3167317, 3167318, 3167319, 3167320, 3167321, 3167322, 3166318, 3166319, 3166320, 3166321, 3166322, 3166323, 3166324, 3167333, 3167334, 3167373, 3165112, 3166325, 3165229, 3165230] into nyc-mr2-release

Change-Id: I13459e3d398de152ffed93f79acb12c8a59165db

03edcb9 2017-11-04 04:50:40 Eric Laurent

Soundtrigger service: fix cross deadlock with audio policy service

Do not hold Module mutex when calling into audio policy manager to
avoid cross deadlock with audio poicy service mutex: Audio policy manager
can call into sound trigger service with its mutex held in methods like
stopInput().

Regression introduced by fix for b/64340921 commit f759b8c4

Bug: 64340921
Bug: 67310830
Test: repro steps in b/67310830
Merged-In: Ie50b2e7c55fe9828a3fd8de6b31eb4a492791583

Change-Id: Ie50b2e7c55fe9828a3fd8de6b31eb4a492791583
(cherry picked from commit 98647879efd7fd85c57399037a2cf330726b0a09)

2e75c7d 2017-11-04 04:50:30 Lajos Molnar

OMXNodeInstance: use a lock in freeNode

This is to avoid a concurrent use after free if other OMX commands
are being executed before the node is marked as deleted.

Bug: 63666573
Change-Id: I7720dd900bfa252f8675e0c56191adbf52aa957e
(cherry picked from commit 975fa5b8b6fcaffc7ade6ee4de56847b1839797c)

be03007 2017-11-04 04:50:20 Wei Jia

IMediaExtractor: ensure users to check returned value by getTrack.

Test: fix the crash from the stream in the bug.
Bug: 37777357
Bug: 23270724
Change-Id: Ia99907c396a2074a9419db9b8103a9325b290169
(cherry picked from commit 5472aee4d2375432e2dde05ab76dd47fa3bac536)

f078bbc 2017-11-04 04:50:11 Marco Nelissen

Fix issues with extractor dumpsys

Tracks and descriptions were added to their respective lists in
opposite order, so dumpsys could mix up the format and active
state for a given track. Also fix potential NULL pointer dereference.

Bug: 33179012
Bug: 23270724
Change-Id: I700d535da0e72f5641bf9257a34fdb5d5d068b12
(cherry picked from commit 50a6f88bc3cea96152ccf56e85a743be14aa39b0)

a16a044 2017-11-04 04:50:01 Jeff Tinker

Fix information disclosure in mediadrmserver

Test:poc provided in bug
bug:62872384
Change-Id: I3d104a2a64a0cb81e9fd5b04c4def1fbee64da2d
(cherry picked from commit b41a527176b659c5ddfc734838df7607a6af80c9)

2d675c9 2017-11-04 04:49:51 Wonsik Kim

m4v_h263: fix global buffer overflow

Bug: 65025028
Test: run POC
Change-Id: Ifa5cf0e3ced7188ed70849b04b57828518ccb5bf
(cherry picked from commit 26a87d15ef97b35633577f7a97ed39bcaa800585)

1baa0a2 2017-11-04 04:49:41 Andy Hung

AudioPolicyService: Acquire mutex for SoundTriggerSession

Test: Enable always on GSA
Bug: 64340921
Change-Id: I05d8c680be97ba4c92081425596addcc038f7dda
(cherry picked from commit f759b8c4bcce2d3b3d45551be461f04297fa2bd3)

fb82bb2 2017-10-07 03:29:44 android-build-team Robot

Merge cherrypicks of [3026768, 3026929, 3026930, 3026931, 3026932, 3026933, 3026934, 3026935, 3026936, 3026937, 3026938, 3026939, 3026734] into nyc-mr2-release

Change-Id: I1b289791280d632459f0d49c8aeedc38dbb7806b

4448ac7 2017-10-07 03:28:26 Santhosh Behara

nuplayer: handle error from MediaCodec in Decoder handleAnOutputBuffer

MediaCodec could send out message of output buffer available right before
it hits an error and clears its buffers.
Test: compiles
Author: Shalaj Jain <shalajj@codeaurora.org>

Bug: 36075131
Change-Id: Ife308f3b8dc0448bcd1112b13cc0805bf7dedd7d
(cherry picked from commit 55f70d17df468db2b6691cbd7285a461e812eee4)
(cherry picked from commit 065e229f0744362c38bf71fc7e472c4d538a8227)

43aa750 2017-10-07 03:28:17 Hangyu Kuang

media: Fix a typo in parsing nclc atom.

Bug: 30974361
bug: 64836941
Change-Id: I12a75ed30d3259d863e744fae3ccff79d8a95f39
(cherry picked from commit 51a0ff56f49faf1a19281f6d786fe18bf84794c6)
(cherry picked from commit 920ae0ea641146cc158eacdc1f7a164843fe97eb)

ddc472b 2017-10-07 03:28:08 Marco Nelissen

Fix memory leaks

Bug: 64424279
Change-Id: I814f81d8e050132be7779310d3f1ab6b19f2e593
(cherry picked from commit 12586d1c216c52efbfd2265d240147b1c31fe543)

f52858d 2017-10-07 03:27:59 Andy Hung

EffectBundle: Check parameter and value size

Test: POC CTS AudioEffectTest
Bug: 64477217
Bug: 64478003
Merged-In: Ia5e6ecb5a356daf5f3fa085d1055748f638795d9
Change-Id: Ia5e6ecb5a356daf5f3fa085d1055748f638795d9
(cherry picked from commit cc072c4adefbc4fa9636f975e4cd57ff0697ca9e)

8239dfe 2017-10-07 03:27:51 Dongwon Kang

Track graphic buffer mode in OMXNodeInstance

Test: CtsMediaTestCases & YT & Play Movies & Cast
Bug: 62948670
Merged-In: Icbd9b767f1aef005819e680f77f4a05041988f34
Change-Id: Icbd9b767f1aef005819e680f77f4a05041988f34
(cherry picked from commit cb8c0cbe5625c709103c1e97581c809e72f5b1da)

4647032 2017-10-07 03:27:39 Dongwon Kang

Block allocateBufferWithBackup in secure native handle mode

Bug: 63522818
Test: CtsMediaTestCases & YT & Play Movies & Cast
Change-Id: I2be2748ecabf49d7842a90676e68978bf0c56b71
(cherry picked from commit 528c7dd7c2387ac634b23973d0c1120d0f3d7ee7)

442e7cb 2017-10-07 03:27:30 Caroline Tice

Fix 'potential memory leak' compiler warning.

This CL fixes the following compiler warning:

frameworks/av/media/libstagefright/SampleTable.cpp:569:9: warning:
Memory allocated by 'new[]' should be deallocated by 'delete[]', not
'delete'.

Bug: 33137046
Test: Compiled with change; no warning generated.

Change-Id: I29abd90e02bf482fa840d1f7206ebbdacf7dfa37
(cherry picked from commit 158c197b668ad684f92829db6a31bee3aec794ba)
(cherry picked from commit 37c428cd521351837fccb6864f509f996820b234)

221aa2a 2017-10-07 03:27:21 Dongwon Kang

Check buffer size in useBuffer in software components

Test: No more crash from oob read/write with running poc.
Bug: 63522430
Change-Id: I232d256eacdfaa9347902fe9b42650999f0d2d85
(cherry picked from commit 4e79910fdb303fd28a37a9401bed1b7fbccb1373)

33b6560 2017-10-07 03:27:11 Lajos Molnar

stagefright: avoid buffer overflow in base64 decoder

Bug: 62673128
Change-Id: Id5f04b772aaca3184879bd5bca453ad9e82c7f94
(cherry picked from commit 5e96386ab7a5391185f6b3ed9ea06f3e23ed253b)

4d82d4e 2017-10-07 03:27:02 Mikhail Naganov

Add EFFECT_CMD_SET_PARAM parameter checking to Downmix and Reverb

Bug: 63662938
Bug: 63526567
Test: Added CTS tests

Change-Id: I8ed398cd62a9f461b0590e37f593daa3d8e4dbc4
(cherry picked from commit 804632afcdda6e80945bf27c384757bda50560cb)

d9b32c1 2017-10-07 03:26:50 Dongwon Kang

Fix memory leak in OggExtractor

Test: added a temporal log and run poc
Bug: 63581671
Change-Id: I436a08e54d5e831f9fbdb33c26d15397ce1fbeba
(cherry picked from commit 63079e7c8e12cda4eb124fbe565213d30b9ea34c)

0cf3009 2017-10-07 03:26:40 Marco Nelissen

Skip track if verification fails

Bug: 62187433
Test: ran poc, CTS
Change-Id: Ib9b0b6de88d046d8149e9ea5073d6c40ffec7b0c
(cherry picked from commit ef8c7830d838d877e6b37b75b47294b064c79397)

681b2f4 2017-08-15 16:11:28 Chih-Wei Huang

nuplayer: skip bad SAR values

Historically there are two definitions of SAR:

1. Storage Aspect Ratio
2. Sample Aspect Ratio

The first one is used in MPEG2 terminology, while the second is used
in MPEG4-AVC terminology.

The MPEG2 terminology actually means the real frame dimension (w:h),
while the MPEG4-AVC terminology means the shape of individual pixels.
It's called PAR (Pixel Aspect Ratio) in MPEG2 terminology.

Android apparently uses the second definition as comments in the code.
However, some video files include SAR tags in MPEG2 terminology sense.
For example,

08-14 18:13:45.212 2841 4769 I NuPlayer: int32_t width = 856
08-14 18:13:45.212 2841 4769 I NuPlayer: int32_t height = 480
08-14 18:13:45.212 2841 4769 I NuPlayer: int32_t sar-width = 852
08-14 18:13:45.212 2841 4769 I NuPlayer: int32_t sar-height = 480

That makes Android calculate the DAR (Display Aspect Ratio)
incorrectly, where DAR = FAR (Frame Aspect Ratio) x SAR.
As a result the video is stretched strangely.

To workaround it, skip the SAR tags if they look like the
Storage Aspect Ratio.

8e160fe 2017-08-11 14:29:57 Chih-Wei Huang

Android 7.1.2 Release 33 (NZH54D)
-----BEGIN PGP SIGNATURE-----

iEYEABECAAYFAll7mP4ACgkQ6K0/gZqxDnj6XACbBodT+uTVq3SdhFFdiOzN7NRm
d7sAn0rsQUXBg66nDvleD1x3szNXVNbl
=34Jb
-----END PGP SIGNATURE-----

Merge tag 'android-7.1.2_r33' into nougat-x86

Android 7.1.2 Release 33 (NZH54D)

87cdfa7 2017-08-05 04:11:42 android-build-team Robot

Merge cherrypicks of [2665012] into nyc-mr2-release

Change-Id: I0fdc1d3d5b195984d1acd81c145280e62afba1a7

8be63d2 2017-08-05 04:11:30 Wei Jia

MPEG4Source: fix fragmented read.

Test: passed CTS test DecoderTest#testDecodeFragmented
Bug: 64314728
Bug: 36571704
Change-Id: I71ad6aaae473b03483f8405899d3178148597bba
(cherry picked from commit ba9af7792dfed6e9b1b216aab91a97e713eec891)
(cherry picked from commit 6b401a337674f2f22b7589534700a33187899869)

4550475 2017-07-27 09:30:08 android-build-team Robot

Merge cherrypicks of [2607234, 2607235, 2606313, 2607236, 2607238, 2607239, 2606314, 2606315, 2607240, 2606316, 2606317, 2607241, 2607242, 2607243, 2607244, 2607370, 2607371, 2607245, 2607246, 2607247, 2607248, 2607249, 2607372, 2607390, 2607391, 2607392, 2607393, 2607373, 2607394, 2607397, 2607398, 2607375, 2607401, 2607376, 2607402, 2607377, 2607403, 2607404, 2607378, 2607405, 2607379, 2607380, 2607381, 2607406, 2607382, 2607407, 2607408, 2607409] into nyc-mr2-release

Change-Id: Ia8d5a4b96d2a9e2ec6bc6bd3b02b1d21c069c41e

bac185c 2017-07-27 09:24:28 Chong Zhang

stagefright: fix crash due to bad timestamp index

bug: 62872863
Change-Id: I7f8ae62173d8b4bef0d6c35166427871408ad9dd
(cherry picked from commit 069c97e06521035e81ead2eeff8960613fed9254)

d9ca11f 2017-07-27 09:24:18 Chong Zhang

stagefright: check aac_frame_length to prevent infinite loop

bug: 62673179
Change-Id: I5da44822ad2ff59d396d1df42f34cd0a5620e134
(cherry picked from commit 6e2bcf40e4083be3a0fbb13d03293a78301e66ef)

b6f0a6e 2017-07-27 09:24:06 Wei Jia

MediaPlayerService: fix access of mPlayer in client

Test: poc doesn't crash
Bug: 38234812
Change-Id: I6f9be046ff66d2d5bed27bd712287e4ead550830
(cherry picked from commit 502c2f405355c3253990ac4edae345ac1907f916)

Show on old repository browser