commit | db220d0c4f1a68aa4742d15f44aa2928955dfde3 | [log] [tgz] |
---|---|---|
author | Xiao Huang <xiaohx@google.com> | Mon Mar 13 10:17:16 2023 +0000 |
committer | Xiao Huang <xiaohx@google.com> | Tue Apr 18 13:50:14 2023 +0000 |
tree | 0e6dc88485b2185e81532c33faa0e4139b29ff1f | |
parent | b80a33a8ef927c386d2653593a4425c93320f805 [diff] |
Parallelize Bytebuffer copy in checksum Checksum methods cost too much time, especially when the video is high resolution. Two cases in VideoDecoderValidationTest can take 10 mins and time out. Parallelizing the step of copy ByteBuffer to Byte Array reduces run time by ~60%. Bug: 269700364 Test: atest VideoDecoderValidationTest CodecDecoderTest CodecDecoderValidationTest Change-Id: I7af492e3253ec307b0b74e745dbd70907a8a2ba8