- Apr 18, 2022
-
-
Alix authored
Deleted deprecated clang property in Android.bp files using bpmodify. Bug: 208980553 Test: treehugger Change-Id: Ia6fef78af0555dd7346adbb29c4bb14ad31918a8
-
- Mar 08, 2022
-
-
Ray Essick authored
[NB: i don't seem to be able to build this -- keep getting: unknown target 'C2VEACompIntf_test' we'll see if treehugger knows a combination that exercises this. Bug: 201944383 Test: build (trying) Change-Id: Ibaeb2d5cd952f2849764dfa853c3927b95e2cac5
-
- Jan 06, 2022
-
-
Robin Lee authored
It isn't currently possible for multiple soong modules in the same build to define the same output path, even if one overrides another, so given that the contract of codec2 involves loading libraries from some specific paths, these paths must not have modules built into them by default or they can not be overridden by other soc_specific code. Change-Id: I4823f9942d69a29c53ed88c5e39c3b0cb0786973 Test: Build device using v4l2_codec2 from installclean and ensure the output has not changed Bug: 200265668
-
- Nov 16, 2021
-
-
David Stevens authored
Update the E2eTestActivity manifest so that it handles configuration changes itself, and just ignore them. This prevents the activity from being recreated, which destroys the test surface. Bug: 206342802 Test: tast run octopus arc.VideoDecodeAccelPerf.* Change-Id: Ie48cf0650424c9f641c2770b3127f75e6407c01d
-
David Stevens authored
Update the E2eTestActivity manifest so that it handles configuration changes itself, and just ignore them. This prevents the activity from being recreated, which destroys the test surface. Bug: 206342802 Test: tast run octopus arc.VideoDecodeAccelPerf.* Change-Id: Ie48cf0650424c9f641c2770b3127f75e6407c01d (cherry picked from commit 0127892edd2d5f62623e14db20b1a023850e0667)
-
- Oct 28, 2021
-
-
Chih-Yu Huang authored
The E2E test activity plays video playback, so it should keep the screen on. Bug: 195032417 Test: tast.arc.VideoDecodeAccelPerf.* Change-Id: I9898ec3caaaad4e298a4ebe0a4937ceffbe7e67b
-
- Oct 25, 2021
-
-
Yuntao Xu authored
Converted the Make file to a Soong one. Bug: 202170767 Test: compared the two binary files built by Make and Soong Test: TreeHugger Change-Id: I696e8b3a32ad5441619d8d7ea7c3e3059fae9123
-
- May 12, 2021
-
-
David Staessens authored
This CL removes the libv4l2_codec2_accel library now all files have been removed from the library, and updates dependent modules. Bug: 155138142 Test: m -j32 Change-Id: I45629ae702b12aedf9a6be256d955e702da8245d
-
- Apr 20, 2021
-
-
Bob Badour authored
Added SPDX-license-identifier-BSD legacy_unencumbered to: tests/c2_e2e_test/Android.mk Bug: 68860345 Bug: 151177513 Bug: 151953481 Test: m all Exempt-From-Owner-Approval: janitorial work Change-Id: If900ebfbf2f8748b41b3a8a7ce9b106b1b1a0427
-
- Mar 15, 2021
-
-
David Staessens authored
This CL adds support for the VP8 and VP9 codecs to the e2e video encoder tests. Bug: 155138243 Test: tast run DUT arc.VideoEncodeAccel.vp8_1080p_i420 on hatch Change-Id: Ic430bf0d6fd7abc9cb4f7e7cc15e96273569a7cc
-
- Feb 13, 2021
-
-
Bob Badour authored
Added SPDX-license-identifier-BSD to: accel/Android.bp common/Android.bp components/Android.bp plugin_store/Android.bp service/Android.bp store/Android.bp tests/c2_comp_intf/Android.bp Added SPDX-license-identifier-BSD legacy_unencumbered to: Android.bp tests/c2_e2e_test/jni/Android.mk Bug: 68860345 Bug: 151177513 Bug: 151953481 Test: m all Exempt-From-Owner-Approval: janitorial work Change-Id: I4ef032a3849d650e13761a868b45309275d408a2
-
- Jan 12, 2021
-
-
David Stevens authored
Caching the file prevents file system activity from interfering with encoder performance measurements. Bug: 175515099 Test: arc.VideoEncodeAccelPerf.h264_1080p_i420_vm Change-Id: Ia8bc914e5a562e262683c6c372829ed9ae6dc8fc
-
David Stevens authored
This change adds a broadcast receiver that can be used to query whether or not the codec has been fully initialized. This can be used by performance tests to wait for setup to finish. Bug: 175515099 Test: manually verify am broadcast result Change-Id: I7b114b8232cf9a64e021e13ea5de1c9781cbb479
-
David Stevens authored
This change adds an option to use a fake renderer when decoding. The fake renderer allows the decoder to operate with realistic frame timings while avoiding an actual dependency on the display stack. The change also fixes an overflow issue in a log statement. Bug: None Test: manually test new option Change-Id: Id10809c98584d3df390dea068307e32d6afd469b
-
David Staessens authored
This CL adds the new names used for the SW decoders on Android R to the e2e decoder test. The old names are currently still supported as an alias of the new decoder names, but we should switch to using the new names to make the tests future-proof. New SW encoder names: - OMX.google.h264.decoder -> c2.android.avc.decoder - OMX.google.vp8.decoder -> c2.android.vp8.decoder - OMX.google.vp9.decoder -> c2.android.vp9.decoder Bug: None Test: tast run DUT arc.VideoDecodeAccel.h264 on hatch Change-Id: Ie84fcbe4f93943e7bc6be4d2d95163c369c06047
-
David Staessens authored
This CL adds a "--use_sw_encoder" parameter to the e2e encoder test, that makes the test use a SW encoder instead of the default HW encoder. This can be used to verify functioning of the software encoder, and to provide a performance baseline for the HW video encoder tests. Bug: 169626661 Test: tast run DUT arc.VideoEncodeAccel.h264_1080p_i420 on hatch Change-Id: I0289aa5e569bd7229ba18ad57b5f2e0909d60f1c
-
- Sep 19, 2020
-
-
Tom Cherry authored
Also include <log/log.h> instead of <utils/Log.h> Particularly since system/core/include and <utils/Log.h> were deprecated years ago. Bug: 165825252 Test: build Change-Id: I9bb9f96831a3beb8c762de67330cb519c5111cc9
-
- Sep 16, 2020
-
-
David Stevens authored
This change adds a boolean extra flag that can be set to make the test wait until it receives a specific intent to start the decode/encode test. The delay can be used to configure the activity's window before the test itself starts. Bug: 166403789 Test: manually verify the new flag works Change-Id: Ibbae112dbb3c977be2ad3bf8507e60eeeb4fb72d
-
- Aug 26, 2020
-
-
David Stevens authored
This updates the activity's theme so it can play videos fullscreen without any extra ui. Bug: 166403789 Test: manually launch C2E2ETest and make it fullscreen Change-Id: Ida2b50405781cd11a45284ecd93e6630154deba5
-
David Stevens authored
This reduces the verbosity of logs that appear very often during execution of the c2_e2e_test. Bug: 166401871 Test: Run c2_e2e_test and verify there is no logspam Change-Id: Ie21c54f50b52c6062f8e7b6c9bc02ef226d3451d
-
- Aug 17, 2020
-
-
Chih-Yu Huang authored
C2VDAComponent is not used at rvc anymore. This CL removes the code and its test. Besides, this CL also fixes the encoder interface test. Bug: 153929383 Test: m -j32 Test: mmm external/v4l2_codec2 Change-Id: Iaad63700d07ffb93282e4678dc270b07e1b75195
-
- Jul 22, 2020
-
-
David Staessens authored
This CL introduces the first version of the new codec2 V4L2 encoder. The V4L2EncodeComponent currently only supports H264, support for additional formats will introduced later. The encode component is developed and tested on ARC++ and the initial version is not functional yet on ARCVM. The changes required to fully enable the encoder on ARCVM (such as support for DMABufs) will be introduced in follow-up CLs. Currently the component makes heavy use of Chromium helpers as it's based on the Chromium V4L2VideoEncodeAccelerator, but in the future the amount of dependencies will be reduced. The new V4L2 encoder is currently not enabled by default, which requires additional changes in media_codecs_c2.xml. Bug: 143333813 Test: mmm external/v4l2_codec2 Change-Id: I59ba52e8f85aa40c8d23a451fb2842a7a421412a
-
- Jul 13, 2020
-
-
David Staessens authored
ag/11749538 updated the encoder tests to use the new V4L2 video encoder. But a single test apk is built of the rvc-arc-dev branch for both ARC++ and ARCVM, causing all ARC++ video encoder tests to start failing. This CL fixes this by adding the names of both ARC++ and ARCVM video encoders so the tests tries both. Bug: 160755362 Test: mmm external/v4l2_codec2/tests/c2_e2e_test Change-Id: Ib31c711d365e5e33a5a54ae6cd9d852431066310
-
- Jun 26, 2020
-
-
David Stevens authored
Lower sdk version so APK can be installed on P. Test: build & install APK in ARC++ P Bug: 136142167 Change-Id: Ie628c927715eaa7307ba5e175399707f28d37de7
-
- Jun 24, 2020
-
-
David Staessens authored
This CL adapts the C2VEA component interface test to make use of the new C2V4L2EncoderInterface. Bug: 143333813 Test: mmm external/v4l2_codec2 Change-Id: Ib192f01f5a33db952b8c6ba6f10dbe534cb71665
-
David Staessens authored
This CL moves the C2VEAFormatConverter.cpp/h and C2VDACommon.h files to the common helpers package, so they can be reused by the upcoming V4L2EncodeComponent. Additionaly some fo the code in VideoEncodeAcceleratorAdaptor.h has been moved to the common.h file. Some files have been renamed in the process: C2VEAFormatConverter.cpp/h -> FormatConverter.cpp/h C2VDACommon.h -> Common.h Note: The original C2VDACommon.h file has not been removed yet as it's referenced by vendor/google_arc/. It will be deleted after all references have been removed. Bug: 143333813 Test: m -j32 Change-Id: I97044e0916518bee8882604dd68872c3f49cfafb
-
- Jun 16, 2020
-
-
David Stevens authored
Bug: 159097861 Test: compile and check for APK in dist directory Change-Id: Ie2b124c780a4aef79c2094542966f6c8b68975c0
-
Chih-Yu Huang authored
Originally when measuring the drop frame, we decode the video in loop. The test didn't reply the count of total decoded frames. This CL changes to print the drop frame rate instead of the count. Bug: 155944233 Test: Run tast.arc.VideoDecodeAccelPerf.h264_2160p_30fps Change-Id: I62aee92184d6fbb35b5dc737fcf85eaeeba28ac1 (cherry picked from commit 7373fd74f8786288db1586ba9e32ed83cea293cf)
-
Chih-Yu Huang authored
The frames which arrived later than expected time are treated as the dropped frames. The renderer side should drop them immediately. In the E2E test, we should release the output buffer immediately to simulate the real situation. Bug: 155944233 Test: Run tast.arc.VideoDecodeAccelPerf.h264_2160p_30fps Change-Id: Ia3ab69fed58f52e625c303b585fe616d79edabf5 (cherry picked from commit 2a73849fd901eb08ddccebbf1816f400ca6f7b31)
-
Chih-Yu Huang authored
We determine if a output frame is dropped by the arrival time and its timestamp. However, the order of input buffers is different from the display order of output buffers. So the expected arrival time is wrong. Also, the base timestamp is updated after the first output buffer dequeued. Therefore the first frame was always marked dropped. In this CL, we calculate the expected arrival time by the count of received frames, and set the base timestamp before checking the arrival time of the first frame. Bug: 155944233 Test: Run tast.arc.VideoDecodeAccelPerf.h264_2160p_30fps and check the first frame is not marked dropped Change-Id: I1b34688ffa573016dd94d5fb3cc851462a25003d (cherry picked from commit 4b5c13aa7e6a41d62c9f37338b493cd339548b19)
-
- Jun 08, 2020
-
-
David Staessens authored
This CL updates the encoder name used by the e2e encoder tests to the name of the new C2 V4L2 encoder component that is currently under development. Bug: 143333813 Test: mmm external/v4l2_codec2/tests/c2_e2e_test Change-Id: Id5c9118968726f90b04345db2b7263993d0e0f6b
-
- May 28, 2020
-
-
David Staessens authored
This CL moves the interface defined in C2VEAComponent::IntfImpl to a dedicated C2EncoderInterface, so it can be reused by the new C2V4L2EncoderComponent. Bug: 147457498 Test: m -j32 Change-Id: I67409c4c655a572da713d677d99bdc79d6847943
-
David Staessens authored
This CL fixes a build issue in the C2VEAComponent interface tests. Bug: 147457498 Test: mmm external/v4l2_codec2 Change-Id: Ic011911871763d3163e304694ac69132530f4514
-
- Apr 23, 2020
-
-
Chih-Yu Huang authored
Seems the __dso_handle issue is resolved at R branch. Instead, keeping __dso_handle causes compilation error. This CL removes the workaround to fix the compilation. Bug: 146030443 Test: mmm external/v4l2_codec2/tests/c2_e2e_test Change-Id: Id7364c6bced6d4a6f7cc22b9b3f3b8869a859910
-
- Apr 20, 2020
-
-
Chih-Yu Huang authored
This CL changes the E2E test to support the V4L2DecodeComponent and the old C2VDAComponent. Bug: 153403351 Test: Run E2E test and check V4L2DecodeComponent is running Change-Id: Ib4658cfc5b297a3f6ec2de6530b4f31a1531211f
-
- Apr 17, 2020
-
-
David Stevens authored
This change removes some android API version ifdefs left over from the chromeos codebase. These ifdefs are not configured here, so their presence was causing some necessary code to be omitted. Bug: 149174783 Test: run e2e tast tests on a minnie, observe height failures are fixed Change-Id: I666cfd310ae8a53bf5140efae2e3aa065f2d4067 (cherry picked from commit da257b2a288b58220e5226113d661e4f5bc08de0)
-
David Stevens authored
The new files are more or less directly copied from the cros tree. The changes are fixing import paths, hooking up to the jni instead of main, removing some code targeting N, and reformatting. Unlike the decoder tests, the encoder tests do not currently benefit from being in the Android tree. However, porting the tests prevents the need to duplicate the helper code between Android and cros, and it unifies how the two sets of tests are built and run. Test: run encoder tests based on README.md Bug: 144681449 Change-Id: I7600cae82693ff6994770954243ec128acdada36 (cherry picked from commit c63a8aac405092c2928408b721d18607503bca21)
-
David Stevens authored
This also fixes an overflow bug when calculating the presentation timestamp by making input_fragment_index_ a 64-bit int. Test: manually check that playback works Bug: 146030443 Change-Id: Ied31c00fcab11d1af35195c4848fe9557b5bee3a (cherry picked from commit beaff8e102e0f57e35cb11add86f5270f045fbae)
-
- Apr 16, 2020
-
-
David Stevens authored
This bumps c2_e2e_test ndk version to 28, in preparation for using the async media codec APIs. Due to the dependence on the static gtest library, this involves a pretty big hack around __dso_handle. This change also deletes some unnecessary cruft in the mk files. Test: compiles Bug: 146030443 Change-Id: I7b1d94b89101d8ee6376508e803b65efb4bf9775 (cherry picked from commit 81e404720e5083cffa1da53a554cc8e1a6796ccc)
-
David Stevens authored
This change makes numerous improvements to the arc codec-test: - Allow rendering to a surface, to support more accurate performance benchmarking. - Add tests that render to the provided surface (instead of immediately releasing buffers), to support benchmarking fps-limited decoding. - Add test argument to use software decoder instead of hw decoder. - Add test argument that causes video decoder to loop until the test receives a signal to stop, for more reliable performance benchmarking. - Add dropped frame measurement. Test: tests pass as per updated README Bug: 143584325 Bug: 142423642 Bug: 142948390 Change-Id: Ibb8a7bce62354f060b2e5bd7c073762dc4acf8d2 (cherry picked from commit a93839d271a9e163a0d9c901a7442b50fbb1d38c)
-