This is done to trigger CSD without 1st encoded frame.
Test: atest VtsHalMediaC2V1_0TargetVideoEncTest
Bug: 133463875
Change-Id: I723eabbf0c942bfdfa5601d568f0c273f4f00647
use stoul instead of stol as the data being converted is unsigned.
Bug: 155138755
Test: VtsHalMediaC2V1_0TargetComponentTest
Change-Id: I5d7079538b5707c68454fa453667744758c9122a
The python test runs each gtest with various command line options.
Such logic should all be part of gtest for them to be parameterized
gtest.
Bug: 154351999
Test: atest VtsHalMediaC2V1_0TargetAudioDecTest \
VtsHalMediaC2V1_0TargetAudioEncTest \
VtsHalMediaC2V1_0TargetComponentTest \
VtsHalMediaC2V1_0TargetMasterTest \
VtsHalMediaC2V1_0TargetVideoDecTest \
VtsHalMediaC2V1_0TargetVideoEncTest
Change-Id: I8fe666305e198db0869f2c91b7f35fa0560abd9d
Bug: 147894326
Test: build
Exempt-From-Owner-Approval: This CL only changes build config, but not
the test logic.
Change-Id: I5f2e6db3ebff48cd53be07c49c24c58c9b116306
Some non-verbose log messages are less useful now that Codec2 has
stabilized.
Test: make cts -j123 && cts-tradefed run cts-dev -m \
CtsMediaTestCases --compatibility:module-arg \
CtsMediaTestCases:include-annotation:\
android.platform.test.annotations.RequiresDevice
Bug: 139684703
Change-Id: I661260bc3028d057e6809f29a781c6a89f1f06f6
Make the media.swcodec always link to the no-binder version of
bufferqueue, even if the device build doesn't use vndk. These
devices don't have a "vendor" target and the same system build
of libstagefright_bufferqueue_helper.so is used on the apex,
which brought in libgui/libEGL*.
bug: 150155192
bug: 139201422
Change-Id: Ib356e65019dba4495f2fc1eb6db6de4ff251bbde
Merged-In: Ib356e65019dba4495f2fc1eb6db6de4ff251bbde
Also split client-side usage of libstagefright_bufferqueue_helper
into a separate lib libstagefright_bufferqueue_helper_client, and
let it link libgui directly, there is no point static link the bq.
Make sure this is only used by system, not vendor.
b/147759770
b/139201422
Change-Id: Ib8b0d27f23e7be41081b58ef586537a80ebedffc
This will allow multiple versions of ComponentStore to work with other
classes.
Test: make cts -j123 && cts-tradefed run cts-dev -m \
CtsMediaTestCases --compatibility:module-arg \
CtsMediaTestCases:include-annotation:\
android.platform.test.annotations.RequiresDevice
Bug: 143179089
Change-Id: I7b32f73e1f8787075b7b345bd229068d52f5b7f7
This CL removes the unnecessary Impl class in ClientBlockHelper and
rename ClientBlockHelper.* to OutputBufferQueue.*.
Test: atest CtsMediaTestCases -- \
--module-arg CtsMediaTestCases:size:small
Bug: 143179089
Change-Id: I1899d8d2dcca24819e442774e8656cc2e34cbd26
This reverts commit 72b55c5e31.
Reason for revert: test was already correct
Bug: 143163373
Test: vts-tradefed run vts --module VtsHalMediaC2V1_0Host
Change-Id: Id3b3fab14386a9660bb75af99a667c3c5a943de4
This CL moves the retrying logic into ForAllStores(). Before the CL,
CreateInterfaceByName() will fail to detect C2_TRANSACTION_FAILED if the
last service that tries to create the component in ForAllStores() does
not have the requested component.
Test: atest CtsMediaTestCases -- \
--module-arg CtsMediaTestCases:size:small
Bug: 141907195
Change-Id: I98ee084ea14204bba15746e89514636254013aa5
- libstagefright_foundation: excluding Parcel related methods when building for vendor.
- libmedia_omx: moving MediaCodecList to libmedia.
Test: build.
Bug: 139201422
Change-Id: Ieb731a8112b1f3bdc6862059671e8a9dd31d88e1
special case the g711 test to know that it is a 1-channel input.
Test case itself can't infer the channel count from the g711 stream
since there is no header/control info within the g711 stream.
Bug: 140773833
Test: vts-tradefed run vts --module VtsHalMediaC2V1_0Host
Change-Id: I9ac1f4d3ee0ccc42ffc8c199fcb88dc5c7122c0e
(cherry picked from commit 72b55c5e31)
special case the g711 test to know that it is a 1-channel input.
Test case itself can't infer the channel count from the g711 stream
since there is no header/control info within the g711 stream.
Bug: 140773833
Test: vts-tradefed run vts --module VtsHalMediaC2V1_0Host
Change-Id: I9ac1f4d3ee0ccc42ffc8c199fcb88dc5c7122c0e
Make the vndk module "libstagefright_bufferpool@2.0" work with existing
Codec2 HALs, and create a new vendor (non-vndk) module
"libstagefright_bufferpool@2.0.1" that new Codec2 HALs can use.
Test: atest CtsMediaTestCases -- \
--module-arg CtsMediaTestCases:size:small
Bug: 138171841
Bug: 140471279
Change-Id: I2886432afef86ef66fbd48ee744e5fd8de2d1e21