Update max temporal layer count when client
uses ts-schema for temporal settings. The max
count is set same as the layer count when codec
hasn't started. After codec starts, ts-schema
settings are used to dynamically change the actual
layer count
CRs-Fixed: 2151883
Author: Saurabh Kothawade <skothawa@codeaurora.org>
Bug: 111198040
Change-Id: I3eeeb077064b03bbcebf5643e873729ff092729c
Some mkv files may have hevc configurationVersion as 0
and we need to support them.
Bug:125176285
Test: Play a mkv file whose configurationVersion is 0
Change-Id: I946767c8e790b3d62d8feb2c588ae56b2cabedab
m2ts is based on the MPEG-2 transport stream container.
The standard MPEG2-2 TS 188-byte packet is prefixed with a
4-byte extra header to a total size of 192 bytes.
This patch makes MPEG2TSextractor support both
MPEG-2 transport stream and m2ts.
mts file use the same container as ts file
Bug: 123261411
Test: play m2ts file and check if it's normal
Change-Id: I7798a6bf3fcddf064d6bb6e39cd303bf83c3489e
(cherry picked from commit c1a4646708)
The test APEX is built with aosp_x86_64 where first ABI is 64-bit.
But the test APEX can be installed to 32-bit target like cf_x86_phone.
The lack of 32-bit extractor libraries in the 32-bit target can cause
problem. So, install both ABIs of the extractor libraries to the test
APEX.
Bug: 125914810
Test: choosecombo to aosp_x86_64 and build test_com.android.media
Check that the test APEX has both lib and lib64 directories.
Change-Id: Ib073f61838fea0b823c870c8c71b49a7ecc9346e
When running with asan, the platform namespace didn't have /system/lib,
but /data/asan/system/lib in its search paths. As a result, clang
runtime libraries like libclang-rt.asan-i686-android.so which are still
in /system/lib cound not be found.
Fixing the problem by adding /system/lib to the search paths after the
asan path.
Bug: 131170196
Test: check if mediaswcodec process is running in aosp_cf_x86_pasan
Change-Id: Iffe5d25613999a00ead5eb03c0efca1d6c9ce012
The client must provide a unique Record ID (RIID) when creating
an AudioRecord. This RIID is passed down to AudioInputDescriptor
in AudioPolicyManager which sends configuration updates
via IAudioPolicyServiceClient callback.
By supplying RIID, the Audio Service can coalesce start / stop
events coming from clients (apps) with recording configuration
update events.
For AAudio MMap clients everything is handled at the server
side because they correspond directly to audioserver objects.
Bug: 123312504
Test: android.media.cts.AudioRecordingConfigurationTest
AudioRecordTest#testAudioRecordInfoCallback
MediaRecorderTest#testAudioRecordInfoCallback
manual testing using Oboe and Solo test apps
Change-Id: I3d32241752d9a747736606dc4cb1e068e6b7aa3b
PLL::fit() may have addition or multiplication
overflow problem.
Bug: 129491498
Test: TBD
Change-Id: Id9b4bc0d2e53c1b4c239027c8b087020019a0147
(cherry picked from commit 3ba81e73eb)
In some situations, clients of the vndk might need to be able to query
tags at runtime, based on tag names. For example, when client hals are
de-coupled from the camera HAL.
Bug: 131093919
Test: AImageReaderVendorTest
Test: Modify AImageReaderVendorTest to retrieve vendor tags given their
names, using ACameraMetadata_getTagFromName
Change-Id: I1cdec5b154037185e99d29be2c6890e4fdc4a32a
Signed-off-by: Jayant Chowdhary <jchowdhary@google.com>
This CL aligns the engineconfigurable PFW top file to the convention
adopted within parameter-framework.
Bug: 130284799
Test: make
Change-Id: I146430a1a6618d73273dbfd85b060d9fd04a6f9a
Signed-off-by: François Gaffie <francois.gaffie@renault.com>
This will more accurately track the read or write
position of the DSP.
The client sometimes aggregates multiple hardware bursts
to avoid waking up too often. This can make it look like the DSP has
processed a larger amount of memory than it really has.
With this change, the timing model will advance in sync with the hardware.
Bug: 117834966
Bug: 130911274
Test: see bug for repro steps
Change-Id: Id22f1f313e02f0514665ee5ac144cab4684e3bc1