Passed error and standard compliance tests with integer and address sanitizers.
Bug: 143791063
Test: POC in bug description
Change-Id: Idbba64cfb397b8af3ccd5770ce115fadd0d9112c
reset ps_dec->i4_prev_max_display_seq if out of int32 range
to avoid overflow
Bug: 143791121
Bug: 143791161
Test: POC in bug description
Change-Id: I3d8df556b003a7c739716bb33262ab3a6ca7b2d9
Update language to comply with Android’s inclusive language guidance
See https://source.android.com/setup/contribute/respectful-code for
reference
Bug: 161896447
Bug: 162245450
Test: build topic
Change-Id: Id7e09811092c8f026e1006d2a1d8355c444081a6
When cropping is enabled, application can request a stride that
is larger than display width but smaller than decode width.
Bug: 160397536
Test: stagefright -sS <clip in bug>
Change-Id: I453b2de0474f3ae4d021084729c33d52fc1090dc
Add checks to validate long term index and
max long term index parsed in MMCO commands.
Bug: 140358770
Bug: 140680655
Bug: 148772548
Bug: 152148135
Bug: 152434373
Bug: 152550528
Test: poc in bug
Change-Id: I9052ce7721491fdd5fb4807ec33e399cee8c70cf
am skip reason: Change-Id Ie57dcb92f1c0aaebd5e701f01ebdc899add7f9ba with SHA-1 243c865c04 is in history
Original change: 1323306
Change-Id: Ic37296cc6e68dd547d8a9887f654b65810f992e1
am skip reason: Change-Id Ie57dcb92f1c0aaebd5e701f01ebdc899add7f9ba with SHA-1 243c865c04 is in history
Original change: 1323306
Change-Id: Ib0ede67235b9134b778d99d3cfd44db4c44bbafa
am skip reason: Change-Id Ib206ae858601b0dca6dccb09e8c53028feef0362 with SHA-1 89a120262a is in history
Change-Id: I8b74933c2fa603d2a5759f16cb99803f631a90a8
Modules contributing mainline modules (APK/APEX) should set
min_sdk_version as well as apex_available.
For now setting min_sdk_version doesn't change build outputs.
But build-time checks will be added soon.
Bug: 152655956
Test: m
Merged-In: Ib206ae858601b0dca6dccb09e8c53028feef0362
Merged-In: I6cfff21dcaf861392f8b69d97195831cdda4c1be
Change-Id: I6cfff21dcaf861392f8b69d97195831cdda4c1be
(cherry picked from commit 669c6bb63c)
The library is installed to the platform via the dependency chain:
android.hardware.media.omx@1.0-service
-> libstagefright_soft_avcdec
-> libavc
and
-> libstagefright_soft_avcenc
-> libavcenc
Bug: 153073816
Test: m
Change-Id: Ib206ae858601b0dca6dccb09e8c53028feef0362
Modules contributing mainline modules (APK/APEX) should set
min_sdk_version as well as apex_available.
For now setting min_sdk_version doesn't change build outputs.
But build-time checks will be added soon.
Bug: 152655956
Test: m
Change-Id: I6cfff21dcaf861392f8b69d97195831cdda4c1be
This reverts commit f76370c671.
Reason: This breaks interlaced clips which are sent one field at a time
C2 plugin for avc decoder is now updated to appropriately handle both
types of interlaced content, i.e. sent as one field per one input buffer
and sent as two fields per one input
Bug: 135146280
Bug: 152087140
Test: poc in bugs
Test: atest android.media.cts.DecoderTest
Change-Id: Ic79d13a4bd93573767c86ed31264e8780da8d9a5