We're already locking in yuv mode, use the stride info returned
by mapper instead of trying to align it to arbitrary number.
bug: 139921053
test: ImageReaderDecoderTest
Change-Id: I0e1e875f296f9aade907686440b077dff32e3cdc
NdkMediaCodec checks for wrong item in case of CB_ERROR callback. It
is checking for action instead of actionCode, because of which error
is not getting propagated. This leads to hang in application using
async NdkMediaCodec APIs.
Test: encoderTest --gtest_repeat=20 -P /sdcard/res/
Test: decoderTest --gtest_repeat=20 -P /sdcard/res/
Bug: 141458223
Change-Id: I9da8a361d1925b73f341f36e55f7426888155fc6
Adds support to save
a. Extractor - Bytes extracted per call
b. Muxer - Bytes being muxed per call
c. Decoder - Input bytes decoded per call
d. Encoder - Output bytes encoded per call
Test: builds
Bug: 140051680
Change-Id: I2740a4476ed6c06342fc13f4f1242a689cd4b46a
Shared libcrypto provides FIPS self tests, use it whenever possible.
Bug: 141248879
Test: m checkbuild
Change-Id: I811db67a35b321505e50476313384fe51d8154d2
The libnativeloader-dummy-headers target has been deprecated in favour
of the more appropriately named by otherwise identical
libnativeloader-headers
Test: m checkbuild
Change-Id: I176e0b345dea7d60d27a5fbdbcee34f7f1874088
Exempt-From-Owner-Approval: minor build change, owners unresponsive
Bug: http://b/120788908
This reverts commit f82a6c36da.
Reason for revert: The analyzer no longer issues the false-positive warning.
Change-Id: Ie8d8336285115e3e7c287b2d1831fe9884afaa93
mpeg4 encoder doesn't support a stride that is not equal to align(width, 16)
In such cases copy the input to an intermediate buffer and use that for
encoding
Bug: 136962421
Bug: 139921039
Test: tested few nv12 and i420 encoding
Change-Id: I5a8adfc48aff79f52852be94bb46c10e7f9a0469
Since these were combined into libhidlbase.
Bug: 135686713
Test: build only (libhwbinder/libhidltransport are empty)
Change-Id: I6cc85a91afb603e31b85090917f9f3b59d82a4d1
Move ExtendedAudioBufferProvider.h to libaudioclient. This is
a more appropriate location because EABP extends AudioBufferProvider.
Move SingleStateQueue.h to libnbaio_mono. This is a more appropriate
location because SSQ is a non-blocking queue.
This allows to remove the dependency of libnbaio on libmedia
which is a good thing because libnbaio provides more low-level
abstractions than libmedia.
Also, replace a dependency of libnbaio on libbinder with
a dependency on libaudiohal header library.
Test: make
Change-Id: Ie48b523790cd8230695ec2e4710e50981b616289
isConfigured() in soft vorbis decoder omx plugin was using
mInputBufferCount to detect if the decoder was configured.
But mInputBufferCount was reset to 0 after flush.
This was prone to a race condition, when flush was called immediately
after start(), before codec could signal correct number of channels and
sampling rate.
isConfigured() is now fixed to check decoder state rather than
mInputBufferCount.
Bug: 137736256
Bug: 138213973
Test: atest android.media.cts.DecoderTest#testDecodeWithEOSOnLastBuffer
Merged-In: Ia1e6b88eca45b46fe20f36627f79cd767b73cc1a
Change-Id: Ia1e6b88eca45b46fe20f36627f79cd767b73cc1a
Header files of libnbaio include files from audio_utils
yet the module did not export include path for those. This was
requiring modules depending on libnbaio[_mono] to add those
include paths into their build files.
Test: make
Change-Id: I8982e04db0f3646ce7945fb55529727766f2dfa1
The file name and path of the media profiles can be changed by
media.settings.xml property. So befor test, we should check
media.settings.xml property.
Bug: 138413934
Test: vts-tradefed run vts -m VtsValidateMediaProfiles
Change-Id: Ib7070cca94b9d637b9a1a175d09baf7b78ec0fd9
Found when use google sw decoder,below CTS case will fail:
CtsMediaTestCases android.media.cts.DecodeAccuracyTest 8,12,24,28,40,44.
Checked the failed case,test video height is not 4 bytes align,
eg 426x182,854x362,1920x818.
Some platform GPU may need height 4 bytes align, so the dst_v,dst_u calculation
should consider height alignment.
Here change lock to lockYCbCr to get the actual y,cb,cr.
Change-Id: Ibbccbad3936ab36ee2c25773367b0fbb67d9226e
Signed-off-by: Jessie Hao <juan.hao@nxp.com>
In previous attempt it was mistakenly applied to cc_library_header
instead of the actual library. Do it correctly this time.
The intention of this change is to hide unintentionally
exported symbols from the library.
Bug: http://b/69603741
Test: make
Change-Id: I47967abea0b39aec05e80823c9eb3fe53f9fa591
This change moves almost everything from libaadio.so to
separate libaaudio_internal.so library. This is done to
avoid exporting symbols which apps are not allowed to use
but have them available for platform libraries by exporting
them from libaaudio_internal.so
Bug: http://b/69603741
Test: make
Merged-In: If93118ed2c266faf2964abf21e17b0b13df493d2
Change-Id: If93118ed2c266faf2964abf21e17b0b13df493d2