-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
media/gpu/vea_perf_tests: Fix the issue of wrong encode_time metrics
crrev.com/c/2670241 sets the timestamp of a video frame as if it is produced at a specified frame rate. On the other hand, encode_time metrics in video_encode_accelerator_perf_tests encompasses from a VideoFrame being received to when the bitstream is finalized. The latter is further computed from the UNIX origin time. encode_time becomes quite large value wrongly. This CL fixes the issue by recording the encode frame input time and passing BitstreamProcessor the time with BitstreamBufferRef. Bug: None Test: video_encode_accelerator_tests on trogdor Change-Id: I59b72b3c20dc07ab1138a490772dd20a376cb3c7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3487288 Reviewed-by: Miguel Casas-Sanchez <mcasas@chromium.org> Commit-Queue: Hirokazu Honda <hiroh@chromium.org> Cr-Commit-Position: refs/heads/main@{#988372}
- Loading branch information
Hirokazu Honda
authored and
Chromium LUCI CQ
committed
Apr 4, 2022
1 parent
f2b68e0
commit 869c592
Showing
5 changed files
with
26 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters