<feed xmlns='http://www.w3.org/2005/Atom'>
<title>frameworks_av, branch lineage-17.1</title>
<subtitle>Fork of frameworks/av
</subtitle>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/frameworks_av/'/>
<entry>
<title>Camera: Make originalDataSpace be const upon stream creation</title>
<updated>2020-06-06T16:17:47+00:00</updated>
<author>
<name>Shuzhen Wang</name>
<email>shuzhenwang@google.com</email>
</author>
<published>2019-08-22T19:41:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/frameworks_av/commit/?id=50f84dda7fdfc36032e66cb51d27afc5e5823d6c'/>
<id>50f84dda7fdfc36032e66cb51d27afc5e5823d6c</id>
<content type='text'>
The previous logic was wrong(!) where DATASPACE_UNKNOWN shouldn't be
used as an initializtion condition.

Test: CTS and vendor testing
Bug: 139820060
Bug: 151405656
Change-Id: I6b59d40ff796d48fe1804b45c189004f1ecc8c18
Merged-In: I6b59d40ff796d48fe1804b45c189004f1ecc8c18
(cherry picked from 2f5010dfa412c4998ab4047bfd3e20b595def61b)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The previous logic was wrong(!) where DATASPACE_UNKNOWN shouldn't be
used as an initializtion condition.

Test: CTS and vendor testing
Bug: 139820060
Bug: 151405656
Change-Id: I6b59d40ff796d48fe1804b45c189004f1ecc8c18
Merged-In: I6b59d40ff796d48fe1804b45c189004f1ecc8c18
(cherry picked from 2f5010dfa412c4998ab4047bfd3e20b595def61b)
</pre>
</div>
</content>
</entry>
<entry>
<title>avc/hevc: Align 128 everywhere</title>
<updated>2020-06-06T16:17:47+00:00</updated>
<author>
<name>Wonsik Kim</name>
<email>wonsik@google.com</email>
</author>
<published>2020-01-10T17:59:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/frameworks_av/commit/?id=b0bd1c67b2517e74f84644fbe7b3f966ab2db461'/>
<id>b0bd1c67b2517e74f84644fbe7b3f966ab2db461</id>
<content type='text'>
Bug: 142924202
Test: media module tests
Change-Id: Icef9b6b19d11bbf1ce0a2078113bfcc0a9cdc3ad
(cherry picked from commit 48dfc8c137b161cfcf652947621439deed7d9252)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Bug: 142924202
Test: media module tests
Change-Id: Icef9b6b19d11bbf1ce0a2078113bfcc0a9cdc3ad
(cherry picked from commit 48dfc8c137b161cfcf652947621439deed7d9252)
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix android.media.cts.ImageReaderDecoderTest fail on MT6580 project</title>
<updated>2020-06-06T16:17:47+00:00</updated>
<author>
<name>Marcus Huang</name>
<email>marcus.huang@mediatek.com</email>
</author>
<published>2019-10-18T07:51:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/frameworks_av/commit/?id=590ab16562f47db6e2c5b6682f84ecd6a718fbb3'/>
<id>590ab16562f47db6e2c5b6682f84ecd6a718fbb3</id>
<content type='text'>
Root Cause:
Google C2 H264/H265 decoder request 64-aligned stride from graphic block; but ARM GPU would return
with 128-aligned stride when input height ONLY satisfies 2-aligned (e.g. 130).

Solution:
Revise stride alignment from 64 to 128 of C2 H264/H265 decoder

Bug: 142924202
Test: Build C2 Codec
Test:
run cts -m CtsMediaTestCases -t android.media.cts.ImageReaderDecoderTest#testGoogH264Image
run cts -m CtsMediaTestCases -t android.media.cts.ImageReaderDecoderTest#testGoogH264ImageReader
run cts -m CtsMediaTestCases -t android.media.cts.ImageReaderDecoderTest#testGoogH265Image
run cts -m CtsMediaTestCases -t android.media.cts.ImageReaderDecoderTest#testGoogH265ImageReader

Change-Id: I6eaff1b858e031b64744bc67d8aee5cc51cfd92d
(cherry picked from commit 28af1154b5f52c1f1a3687ff099ca609218bd78a)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Root Cause:
Google C2 H264/H265 decoder request 64-aligned stride from graphic block; but ARM GPU would return
with 128-aligned stride when input height ONLY satisfies 2-aligned (e.g. 130).

Solution:
Revise stride alignment from 64 to 128 of C2 H264/H265 decoder

Bug: 142924202
Test: Build C2 Codec
Test:
run cts -m CtsMediaTestCases -t android.media.cts.ImageReaderDecoderTest#testGoogH264Image
run cts -m CtsMediaTestCases -t android.media.cts.ImageReaderDecoderTest#testGoogH264ImageReader
run cts -m CtsMediaTestCases -t android.media.cts.ImageReaderDecoderTest#testGoogH265Image
run cts -m CtsMediaTestCases -t android.media.cts.ImageReaderDecoderTest#testGoogH265ImageReader

Change-Id: I6eaff1b858e031b64744bc67d8aee5cc51cfd92d
(cherry picked from commit 28af1154b5f52c1f1a3687ff099ca609218bd78a)
</pre>
</div>
</content>
</entry>
<entry>
<title>mediaswcodec: Set "default" as preferred service</title>
<updated>2020-06-06T16:17:47+00:00</updated>
<author>
<name>Pawin Vongmasa</name>
<email>pawin@google.com</email>
</author>
<published>2019-12-16T12:25:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/frameworks_av/commit/?id=90b9b46cb1ae87b101420efbbaff14d338cb241e'/>
<id>90b9b46cb1ae87b101420efbbaff14d338cb241e</id>
<content type='text'>
Usage mapper will be retrieved from the preferred service if system
properties for mediaswcodec's ION usage are not set.

Test: Define system property "ro.com.android.media.swcodec.ion.heapmask"
and check the log during the startup of mediaswcodec.

Test: Manually log the mapper activity; test if gets invoked from
mediaswcodec and CCodec.

Test: atest CtsMediaTestCases -- \
--module-arg CtsMediaTestCases:size:small

Bug: 144995284
Change-Id: Iebcd89bfa38de3c10b79f878462ba2af347ad332
Merged-In: Iebcd89bfa38de3c10b79f878462ba2af347ad332
(cherry picked from commit 235d6c703672db8923c707eab718233c7d79f4ed)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Usage mapper will be retrieved from the preferred service if system
properties for mediaswcodec's ION usage are not set.

Test: Define system property "ro.com.android.media.swcodec.ion.heapmask"
and check the log during the startup of mediaswcodec.

Test: Manually log the mapper activity; test if gets invoked from
mediaswcodec and CCodec.

Test: atest CtsMediaTestCases -- \
--module-arg CtsMediaTestCases:size:small

Bug: 144995284
Change-Id: Iebcd89bfa38de3c10b79f878462ba2af347ad332
Merged-In: Iebcd89bfa38de3c10b79f878462ba2af347ad332
(cherry picked from commit 235d6c703672db8923c707eab718233c7d79f4ed)
</pre>
</div>
</content>
</entry>
<entry>
<title>Codec2Client: Add function to set preferred store</title>
<updated>2020-06-06T16:17:47+00:00</updated>
<author>
<name>Pawin Vongmasa</name>
<email>pawin@google.com</email>
</author>
<published>2020-03-05T12:36:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/frameworks_av/commit/?id=eb8b20132fdcff88d4a1f2a7db6881eee02e5794'/>
<id>eb8b20132fdcff88d4a1f2a7db6881eee02e5794</id>
<content type='text'>
Test: None

Bug: 142782942
Change-Id: Ic2bc89bb3b44652717ee65d2bfd73b7d4af8d080
Merged-In: Ic2bc89bb3b44652717ee65d2bfd73b7d4af8d080
(cherry picked from commit a87e24eac1287fd36891c76fb19ebcc5e5664390)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Test: None

Bug: 142782942
Change-Id: Ic2bc89bb3b44652717ee65d2bfd73b7d4af8d080
Merged-In: Ic2bc89bb3b44652717ee65d2bfd73b7d4af8d080
(cherry picked from commit a87e24eac1287fd36891c76fb19ebcc5e5664390)
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge tag 'android-10.0.0_r37' into staging/lineage-17.1_merge-android-10.0.0_r37</title>
<updated>2020-06-02T02:40:36+00:00</updated>
<author>
<name>Kevin F. Haggerty</name>
<email>haggertk@lineageos.org</email>
</author>
<published>2020-06-02T02:40:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/frameworks_av/commit/?id=472ff18aac21b921e25756ed917ffb70ead1dc0d'/>
<id>472ff18aac21b921e25756ed917ffb70ead1dc0d</id>
<content type='text'>
Android 10.0.0 Release 37 (QQ3A.200605.001)

* tag 'android-10.0.0_r37': (47 commits)
  RESTRICT AUTOMERGE: Camera: fix use after free in sensor timestamp
  keep tx3g{Buffer,Size,Filled} in sync
  Fix race condition in AudioTrack::releaseBuffer()
  Fix race condition in AudioRecord::releaseBuffer()
  rtsp: fix integer overflow caused by malformed packets
  IDrm: fix uninitialized variable in GET_OFFLINE_LICENSE_STATE
  audio policy: fix disordered sequence while changing device
  RESTRICT AUTOMERGE: Camera: fix use after free in sensor timestamp
  RESTRICT AUTOMERGE: Camera: fix use after free in sensor timestamp
  BnCrypto: fix use-before-init in CREATE_PLUGIN
  Camera: Add onCameraOpened/onCameraClosed callbacks
  [DO NOT MERGE] Fix Heap use after free in clearkey getSecureStops
  Check if calling uid is system uid for setAllowedPolicyCapture.
  clearkey default: parsePssh securely
  RESTRICT AUTOMERGE CCodec: make config consistent before/after flush
  Reduce the latecy of encoding 1st frame
  [media][sfplugin] fix -Wdangling-gsl
  [DO NOT MERGE] Fix uninitialized data in IHDCP decrypt
  OpusHeader: Fix integer overflow in GetOpusHeaderBuffers
  MPEG4Extractor: check the default sample info before checking the validity of sample size.
  ...

Change-Id: Ibb33de8b4828ed99095af7d629ffc290c188e10d
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Android 10.0.0 Release 37 (QQ3A.200605.001)

* tag 'android-10.0.0_r37': (47 commits)
  RESTRICT AUTOMERGE: Camera: fix use after free in sensor timestamp
  keep tx3g{Buffer,Size,Filled} in sync
  Fix race condition in AudioTrack::releaseBuffer()
  Fix race condition in AudioRecord::releaseBuffer()
  rtsp: fix integer overflow caused by malformed packets
  IDrm: fix uninitialized variable in GET_OFFLINE_LICENSE_STATE
  audio policy: fix disordered sequence while changing device
  RESTRICT AUTOMERGE: Camera: fix use after free in sensor timestamp
  RESTRICT AUTOMERGE: Camera: fix use after free in sensor timestamp
  BnCrypto: fix use-before-init in CREATE_PLUGIN
  Camera: Add onCameraOpened/onCameraClosed callbacks
  [DO NOT MERGE] Fix Heap use after free in clearkey getSecureStops
  Check if calling uid is system uid for setAllowedPolicyCapture.
  clearkey default: parsePssh securely
  RESTRICT AUTOMERGE CCodec: make config consistent before/after flush
  Reduce the latecy of encoding 1st frame
  [media][sfplugin] fix -Wdangling-gsl
  [DO NOT MERGE] Fix uninitialized data in IHDCP decrypt
  OpusHeader: Fix integer overflow in GetOpusHeaderBuffers
  MPEG4Extractor: check the default sample info before checking the validity of sample size.
  ...

Change-Id: Ibb33de8b4828ed99095af7d629ffc290c188e10d
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge tag 'android-10.0.0_r35' into lineage-17.1-android-10.0.0_r35</title>
<updated>2020-05-05T07:41:07+00:00</updated>
<author>
<name>Luca Stefani</name>
<email>luca.stefani.ge1@gmail.com</email>
</author>
<published>2020-05-05T07:41:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/frameworks_av/commit/?id=27237460f5410f69a6d41984ac16d0f03f1e8dde'/>
<id>27237460f5410f69a6d41984ac16d0f03f1e8dde</id>
<content type='text'>
Android 10.0.0 release 35

* tag 'android-10.0.0_r35':
  BnCrypto: fix use-before-init in CREATE_PLUGIN
  Camera: Fix possible ExifUtils heap corruption

Change-Id: I755c73f855236289f323dd66b005c36babeb15d0
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Android 10.0.0 release 35

* tag 'android-10.0.0_r35':
  BnCrypto: fix use-before-init in CREATE_PLUGIN
  Camera: Fix possible ExifUtils heap corruption

Change-Id: I755c73f855236289f323dd66b005c36babeb15d0
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge tag 'android-10.0.0_r33' into lineage-17.1-android-10.0.0_r33</title>
<updated>2020-04-09T19:54:42+00:00</updated>
<author>
<name>Luca Stefani</name>
<email>luca.stefani.ge1@gmail.com</email>
</author>
<published>2020-04-09T19:54:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/frameworks_av/commit/?id=3b04f2bcc867ef7f621e76f056e76acf0273271b'/>
<id>3b04f2bcc867ef7f621e76f056e76acf0273271b</id>
<content type='text'>
Android 10.0.0 Release 33 (QQ2A.200405.005)

* tag 'android-10.0.0_r33':
  Revert "audiopolicy: align input and output devices for engine"
  [DO NOT MERGE] Fix heap buffer overflow in clearkey CryptoPlugin::decrypt
  [DO NOT MERGE] Fix heap buffer overflow for releaseSecureStops.

Change-Id: I6d5446fed03dc4c8a109acb40805e796ba3da00e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Android 10.0.0 Release 33 (QQ2A.200405.005)

* tag 'android-10.0.0_r33':
  Revert "audiopolicy: align input and output devices for engine"
  [DO NOT MERGE] Fix heap buffer overflow in clearkey CryptoPlugin::decrypt
  [DO NOT MERGE] Fix heap buffer overflow for releaseSecureStops.

Change-Id: I6d5446fed03dc4c8a109acb40805e796ba3da00e
</pre>
</div>
</content>
</entry>
<entry>
<title>Snap for 6373393 from 8e7be728199c9123744860ce80921fb605501c61 to qt-qpr3-release</title>
<updated>2020-04-07T23:14:50+00:00</updated>
<author>
<name>android-build-team Robot</name>
<email>android-build-team-robot@google.com</email>
</author>
<published>2020-04-07T23:14:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/frameworks_av/commit/?id=bc7c5411d6fdd81ad8705db48cfa69b1bc3ff4e0'/>
<id>bc7c5411d6fdd81ad8705db48cfa69b1bc3ff4e0</id>
<content type='text'>
Change-Id: I139a49e004d31c1b3d23a957687a600b2aade901
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I139a49e004d31c1b3d23a957687a600b2aade901
</pre>
</div>
</content>
</entry>
<entry>
<title>[automerger skipped] RESTRICT AUTOMERGE: Camera: fix use after free in sensor timestamp am: 1859a38c4d -s ours am: 2c97e3371f -s ours</title>
<updated>2020-04-06T21:32:51+00:00</updated>
<author>
<name>Yin-Chia Yeh</name>
<email>yinchiayeh@google.com</email>
</author>
<published>2020-04-06T21:32:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/frameworks_av/commit/?id=8e7be728199c9123744860ce80921fb605501c61'/>
<id>8e7be728199c9123744860ce80921fb605501c61</id>
<content type='text'>
am skip reason: Change-Id I5b10b680e0cce96ca49e1772770adb4835545472 with SHA-1 00c275670b is in history

Change-Id: If66c429c5a7a919a0487f49f99a3eb67c04f2461
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
am skip reason: Change-Id I5b10b680e0cce96ca49e1772770adb4835545472 with SHA-1 00c275670b is in history

Change-Id: If66c429c5a7a919a0487f49f99a3eb67c04f2461
</pre>
</div>
</content>
</entry>
</feed>
