-
- Downloads
Improvements to arc codec-test
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)
Showing
- tests/c2_e2e_test/README.md 19 additions, 2 deletionstests/c2_e2e_test/README.md
- tests/c2_e2e_test/jni/common.cpp 1 addition, 1 deletiontests/c2_e2e_test/jni/common.cpp
- tests/c2_e2e_test/jni/e2e_test_jni.cpp 43 additions, 2 deletionstests/c2_e2e_test/jni/e2e_test_jni.cpp
- tests/c2_e2e_test/jni/e2e_test_jni.h 18 additions, 1 deletiontests/c2_e2e_test/jni/e2e_test_jni.h
- tests/c2_e2e_test/jni/mediacodec_decoder.cpp 88 additions, 23 deletionstests/c2_e2e_test/jni/mediacodec_decoder.cpp
- tests/c2_e2e_test/jni/mediacodec_decoder.h 24 additions, 5 deletionstests/c2_e2e_test/jni/mediacodec_decoder.h
- tests/c2_e2e_test/jni/video_decoder_e2e_test.cpp 108 additions, 14 deletionstests/c2_e2e_test/jni/video_decoder_e2e_test.cpp
- tests/c2_e2e_test/res/layout/main_activity.xml 4 additions, 0 deletionstests/c2_e2e_test/res/layout/main_activity.xml
- tests/c2_e2e_test/src/org/chromium/c2/test/E2eTestActivity.java 100 additions, 7 deletions...c2_e2e_test/src/org/chromium/c2/test/E2eTestActivity.java
Loading
Please register or sign in to comment