Since ARM neon instructions were only used on armv7-a-neon
architecture variant, the default implementations for these
codecs don't use these advanced SIMD instructions.
Bug: 65568372
Test: lunch aosp_arm64; emulator # on oc-mr1-dev; boot to home screen
Check neon code is included in the following libraries:
- libstagefright_aaeenc.a
- libstagefright_amrwbenc.a
- libstagefright_soft_h264dec.so
Change-Id: Ia7a6097425541cb59fc470eac04e9c935be88325
In order to get bit rate information correctly for offload,
Set Max Bitrate and average bitrate to meta
when MPEG4Extractor is used.
Bug: 66376238
Test: Playback AAC file then check sound.
Change-Id: Ie357c3c94db3ee894333be9659001c46b9ddcef8
In order to get bit rate information correctly for offload,
Set bit rate to meta when OggExtractor is used.
Bug: 66374629
Test: Playback ogg file then check sound.
Change-Id: Idacbd46427fbe3f3d65a81f03034b04702c5f4f7
As a VNDK/VNDK-SP module, Android.bp must have 'vndk' tag as well
as 'vendor_available: true'.
For a VNDK module, the 'vndk' tag has 'enabled: true'.
It will be installed system/lib(64)/vndk as a vendor variant.
For a VNDK-SP module, the 'vndk' tag has
'support_system_process: true' as well as 'enabled: true'.
It will be installed system/lib(64)/vndk-sp as a vendor variant.
Bug: 63866913
Test: build and boot with BOARD_VNDK_VERSION=current
Merged-In: Iee7f2e14fea4635a64c4e5c5bb50f5d7e2691682
Change-Id: Iee7f2e14fea4635a64c4e5c5bb50f5d7e2691682
(cherry picked from commit 439bfbb7d0)
While processing the 'elst' atom, MPEG4Extractor was expecting duration
and sample rate to already be known. This implies an ordering of atoms
that is not required by the spec, and indeed some muxers may emit the
'elst' atom before the atoms that define sample rate and duration.
This change caches the values from the 'elst' atom until a track has
been completely processed, allowing the 'elst' atom to appear first.
Bug: 63390273
Test: decoded test files, ran CTS
Change-Id: I30abca70ead7990eb8a7d19a2e4b31212b9bc311
Note, filed b/62923763 to cleanup xmlparser includes.
Bug: 37343418
Test: builds with BOARD_VNDK_VERSION=current
Test: (sanity) YouTube on a device
Test: (sanity) Camera on a device
Test: (sanity) watch (part of a) movie on a device
Test: (sanity) YouTube on marlin
Test: (sanity) Camera on marlin
Test: (sanity) watch (part of a) movie on marlin
Test: (sanity) YouTube on angler
Test: (sanity) Camera on angler
Test: (sanity) watch (part of a) movie on angler
Change-Id: I461f999122da56cabb9d4d15b182899ced3b0120
Merged-In: I461f999122da56cabb9d4d15b182899ced3b0120
Rather than having a lib called libstagefright_foundation and one
called libstagefright_foundation_vendor, we now just have one library
and the build system keeps track of the vendor APIs that are exposed.
Test: (sanity) boot device, watch (part of) DRM protected movie.
Change-Id: I49f1c557ae8f93092bad5314e0630583cc7dc710
Merged-In: I49f1c557ae8f93092bad5314e0630583cc7dc710
Matroska HEVC support is based on AVC but with
HEVC headers stored in the codec private configuration data.
Test: Play Matroska media file with HEVC codec video.
Bug: 65147780
Change-Id: I5c426123513cf367b87d8fa64630068bbba7cdf1
In order to support servers that have implemented the
dynamic bandwidth adaptation feature are these
fields added to the receiver report:
-Fraction
-Cumulative number of packet loss
The calculation is based on RFC 3550, section A.3.
Test: play RTSP video and check receiver reports with network tool
Bug: 62610498
Change-Id: I2092fb62698e7209c59fade1b17a6460ac236def
Per the spec, the 'dash' brand indicates support for the concatenation
of an Initialization Segment and a single Indexed Media Segment. Since
we support this, add 'dash' as a supported brand to improve compatibility.
Bug: 63390273
Test: played 'dash' brand file
Change-Id: Ifb38337200857f190085bda030434d7f56a817f3
This header only differs in case from DataURISource.h (which actually
is used) in the same directory.
This header became unused in bea455c8e.
The two headers with similar filenames that only differ in case ended
up in the same directory in 5b5ea394d.
Change-Id: I904ea927abd2cc15b80b64f11a82527109c0067d
Changing reinit handling to not notify error in case init fails.
Bug: 37237396
Test: ran poc before/after on nyc-mr2
Change-Id: I694a9d2ccee7622d9c736efac12c9ec8639911f4
The header should be under the media/stagefright subdir.
Test: m -j on aosp_fugu
Test: m -j dist platform-java tests on aosp_fugu
Change-Id: I3def467d90173b052a6aec391ca089c091c665b5
Merged-In: Iabcb5469c4fd936c2d7c1f9a1113c557c8beab88
The four header files were not moved as they don't exist in aosp/master.
Test: m -j
Merged-In: Iabcb5469c4fd936c2d7c1f9a1113c557c8beab88
Change-Id: I578385276204601f78c86fc773ea88a535c9caea
libstagefright_foundation_vendor is a vendor-only variant of the
libstagefright_foundation. Vendor libs and other VNDK libs should link
against this _vendor.so library. This vendor-only variant does not have
dependency to libpowermanager which is not available to vendors.
Headers are moved from the global include dir to module-local include
dir. This is because global include dir (e.g. frameworks/av/include) is
not provided when building with BOARD_VNDK_VERSION=current. Instead the
headers are exported via the module's export_include_dirs directive.
Short summary on the directory movement:
"some" libstagefright headers are moved from libstagefright/include to
libstagefright/include/media/stagefright. This is because the headers
are included as <media/stagefright/HEADER_NAME,h>.
libstagefrigut_foundation headers are moved from
libstagefright/include/foundation to
libstagefright/foundation/include/media/stagefright/foundation. Again
this is because the headers are included as
<media/stagefright/foundation/HEADER_NAME.h>.
Furthermore, in order to prevent sudden breakage, symlinks to the
module-local header directories are added to the global include
directory.
frameworks/av/include/media/stagefright ->
<libstagefright>/include/media/stagefright
frameworks/av/include/media/stagefright/foundation ->
<libstagefright_foundation>/include/media/stagefright/foundation
Bug: 37462569
Test: sailfish builds and boots
Test: BOARD_VNDK_VERSION=current m libstagefright_foundation_vendor is
successful
Merged-Id: Iadfa594e885e0bd39837ccb282993d3ba5b62852
Change-Id: Iadfa594e885e0bd39837ccb282993d3ba5b62852
(cherry picked from commit 093f0b7ab9)