The support inclues:
- Physical camera specific stream support,
- Physical camera result metadata, and
Test: Newly added NDK CTS test pass
Test: Newly added VNDK test pass
Bug: 120566141
Bug: 115532726
Change-Id: I939b81522ca6c518c0e54ded5d3615f9973a6a65
As haptic playback via audio require sample rate is the same as the HAL
one, sample rate should not be changed after AudioTrack is created.
Bug: 121271890
Test: Manually
Change-Id: I1549017b3ca8523735190f62f8c9a4fb8b95e000
* changes:
C2AllocatorGralloc: support locking RGBA_1010102 as YUVA_1010102
C2SoftVpxDec: Add support for Profile 2
C2SoftVorbisDec: Ignore error from vorbis_dsp_synthesis
C2SoftAVCEnc: Enable CABAC for main profile encoding
This CL creates a new class named MediaParceledListSlice that
replaces ParceledListSlice. MediaParceledListSlice is mostly copied
from ParcelImplListSlice.java with a few adjustments:
1) not specifying type of parcelable (to work for both
MediaSession.QueueItem & MediaBrowser.Mediaitem)
2) Setting parameter to null for calling Parcel#readParcelable.
Parcel retrieves the class loader inside readParcelableCreator.
Bug: 119750807
Test: mmm . (under frameworks/av/packages/MediaComponents)
Change-Id: If234308724ba132140089835e66b3948aacc4e57
Corrected the headphone side filter coefficients for 96kHz and 192kHz sampling
rates for the Concert Surround / Stereo Widening (CS) module.
Test: local native test lvmtest
Bug: 120942559
Change-Id: I213ff07aa54f4e0e4271c7ae619ede3881cee409
Hidl oneway call works as synchronous call when it is called from same
process. Avoid lock while calling hidl oneway interfaces.
Bug: 121047202
Change-Id: I20c29640414edd70e414af749c0b3f96efda8ca3
Some third party code is triggering the mismatch allocation check
resulting in the service being terminated. Given that those mismatches
have fairly low security implications and that said code cannot be
immediately fixed, disable the check for now.
Test: media post submit test suite
Bug: 121178348
Change-Id: If9601d719969e590b80ab50c016903fb459c0cdf
Error from vorbis_dsp_synthesis() is to be ignored.
After seek in some cases, vorbis_dsp_synthesis() returns
OV_ENOTAUDIO when input is not an audio packet.
This results in seek failing for vorbis files.
OMX plugin for Vorbis decoder ignores the errors returned from this
function. C2 plugin is updated to do the same.
Bug: 110759274
Test: cts-tradefed run commandAndExit cts-dev -m CtsMediaTestCases \
-t android.media.cts.DecoderTest
Change-Id: Ic98d0555121c7f741c468c69f1acdb75036d8c3d
Bug: 113677531
Test: Modified screenrecord application to force main profile and verified the
generated bitstream manually
Change-Id: Icab0c7fa1c60bb7ae8fbdef45a170cf2d3c6d541
Mpeg2ts extractor has a depedency on libbinder for
IMemory, but it doesn't actually use IMemory other
than using it to construct the hidl memory.
Make mediaextractor use hidl memory allocated by
hidl allocator, instead of constructing hidl memory
from IMemory.
bug: 112766913
bug: 111407253
test: CTS MediaDrmClearkeyTest#testClearKeyPlaybackMpeg2ts
Change-Id: I39e131718ea41f9cb23177c28213ddf7b7741338
Bundle#setDefusable no longer needs to be called since we are
removing the instance of unbundling MediaMetadata in
MediaSessionRecord.
Bug: 119789387
Test: mmm . (under frameworks/av/packages/MediaComponents)
Change-Id: If3cc95c06feaf61c187b4254a2cd7a601319210f
Use namespace import in ConversionHelperHidl.cpp.
Test: try moving types between audio/types.hal and common/types.hal.
Change-Id: I7ffab98d0e3b8bbc82ab94b8d99b7d05e224e1e4
It will make the track data disordered when adjusting channels non
destructive if the track is a static track.
Bug: 121047798
Test: Manually
Change-Id: Ibd9bc012ac9d36e0f19f6f6796753f9355cd3c97
Using 'exit' from an RPC threadpool thread is not safe, as 'exit'
runs atexit handlers that destroy global objects. This can interfere
with code still running on other threads.
'_exit' does not run atexit handlers, just terminates the process.
Bug: 116665972
Test: kill android.hardware.audio@2.0-service, check logcat
Change-Id: I5391a659e359e0ca5bba580f1c51dea5df3ea562
* changes:
audiopolicy: common: add several helper function on DeviceDesc
audiopolicy: update type convertion library
audiopolicy: apm: connectAudioSource: use Sw brigding according to hal support
audiopolicy: Fix sofware bridge creation for AudioHAL supporting routing APIs
Add hdr10+ parameter passing to OMX. Metadata is sent to
OMX component via setConfig(). Available output metadata is
notified via onEvent(), and then retrieved via getConfig().
Hdr10+ metadata pass through is added to soft VP9 for testing.
bug: 118507186
test: Locally built DecoderTest in cts that sends
setParameters with input frames when decoding VP9.
Verify the metadata is received on expected output.
Change-Id: I9bb87581a3036f9ae3cc881cbfe1a3c99c8f78b3
This will prevent log spam when AAUDIO_CALLBACK_RESULT_STOP
is returned from an audio callback.
Bug: 120845500
Test: test_return_stop.cpp
Change-Id: Icfe1541d6fa7b045285ac3dfbb75dfed5424d49b
-Add another DeviceVector constructor to simplify usage
-report tagname as port name
-migrate API from apm
-search/filter helpers
Test: Audio smoke tests.
Test: CTS tests for AudioRecord, AudioTrack and AudioEffect
Change-Id: Ie37a2d9db2e8a15a37743e7129159fa77a4c6b51
Signed-off-by: François Gaffie <francois.gaffie@renault.com>