Seek pre-roll parsing was skipped in OpusHeader because of
wrong loop check.
Also, C2 opus decoder plugin was reading from codecDelayBuf instead
of seekPreRollBuf
Test: With a local AMediaCodec api based application to decode
opus encoder's output
Bug: 123426341
Change-Id: I0924f67c4a070a582b578d2ecdcd2fecd10134ad
Added a marker and length field before OpusHead data as well.
This will prevent any potential truncation of OpusHead, when
data inside OpusHead matches one of the markers defined
Added checks to validate sizes parsed.
If the sizes are not as expected, then treat that as an error
OggWriter updated to not write codec config data as frame data
Test: With a local AMediaCodec api based application to decode
opus encoder's output
Test: Test with mediamuxer api based application to mux encoders output
to ogg file
Test: cts-tradefed run cts -m CtsMediaTestCases \
-t android.media.cts.EncoderTest#testOpusEncoders
Bug: 123581317
Bug: 124053011
Change-Id: Ic3c7613ff47855e16be39dc60939e1e715522bc6
Bug: 124020326
according to spec, array_completeness should be 1 for hvc1 atom
Test: cts-tradefed run cts-dev -m \
CtsMediaTestCases --compatibility:module-arg \
CtsMediaTestCases:include-annotation:\
android.platform.test.annotations.RequiresDevice
CRs-Fixed: 2241165
Change-Id: I6183f49fb16b14f28050d2dd54f39c823f4a9d39
- Renamed libaudiopolicyengineconfig to libaudiopolicyengine_config
in order to match names libaudiopolicyengine_{common|interface}.
- Made libaudiopolicyengine_config static to avoid .so overhead.
- Added a cleanspec for it.
- Added libaudiopolicyengine_common which includes source files
previously included directly into engineconfigurable and
enginedefault libraries.
Bug: 121208203
Test: make & flash crosshatch
Change-Id: If3b7b89fcbd5752ddfdeca6c164a88f55bc35811
Support 1-7 channels when writing raw AAC, since that's what the
file format supports.
authored-by: Sachin Mohan Gadag <sgadag@codeaurora.org>
Bug: 123375289
Test: builds
Change-Id: Ibc44fb575ad2897f936ed7f73f99ce481cdadb7d
am: be17007765 -s ours
am skip reason: change_id I5f0e64ee6e2d5eb6b64491356a5bfa50b512a9c9 with SHA1 86cbf71505 is in history
Change-Id: I885b4f577d34617a8eac6ccfadc150eddc8fa924
This is a part of cutting dependency from libmediandk to
libandroid_runtime.
By making a libandroid_runtime to be loaded lazily,
libmediandk won't load libandroid_runtime when it is used as a LL-NDK.
Bug: 124268753
Test: m -j
Change-Id: Ib040856c58d38e11a5f32cd5dd5519910573334b
Merged-In: Ib040856c58d38e11a5f32cd5dd5519910573334b
am: f5106b5a97 -s ours
am skip reason: change_id I5f927fc26829031a8c91a7ba51178a34d737a953 with SHA1 27d84b795f is in history
Change-Id: I51b42b0371ae9235f6ad5350b4a286486a1f40bc
am: 3d7e3cb756 -s ours
am skip reason: change_id If283fefca5cf4e282d1c29876b78037bc9df7625 with SHA1 92f6462fb3 is in history
Change-Id: Id948e7ec3ad3beb258c20e68487b3c297939e2d7
Camera service listeners must be able to receive
information about camera access permission changes.
Bug: 121379978
Test: Camera CTS
Change-Id: I2e13fdd35a267901a3caa0e0ce78ab1cea83e7ab
This is a part of cutting dependency from libmediandk to
libandroid_runtime.
PublicFormat which was defined in android_view_Surface has
been moved to libui.
Bug: 124268753
Test: m -j
Change-Id: I5f0e64ee6e2d5eb6b64491356a5bfa50b512a9c9
Merged-In: I5f0e64ee6e2d5eb6b64491356a5bfa50b512a9c9
This is a part of cutting dependency from libmediandk to
libandroid_runtime.
The following function is exported from libandroid_runtime.
* android_hardware_HardwareBuffer_convertToGrallocUsageBits
This function just delegates to libnativewindow's
AHardwareBuffer_convertToGrallocUsageBits function.
This commit is for libmediandk to call libnativewindow's
function directly in order to cut the dependency to libandroid_runtime.
Bug: 124268753
Test: m -j
Change-Id: I5f927fc26829031a8c91a7ba51178a34d737a953
Merged-In: I5f927fc26829031a8c91a7ba51178a34d737a953
am: db652328c1 -s ours
am skip reason: change_id I5da320780dba7c63ce39679dbf5d40fe9202eb00 with SHA1 c34e45328b is in history
Change-Id: I19b37b38b60e0fddb44efcbfe06dfd81fd10b3d7
am: f53f0c8e6a -s ours
am skip reason: change_id I3c17b304a12c1eccd9f97ee50a0b7cf6e4b9a1da with SHA1 e598545cb8 is in history
Change-Id: Ia01d56f887b1c14048256d0c1b0189d93b59c145