forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
media/gpu/vaapiVEA: Copy video frame to surface before VaapiVED::Enco…
…de() VaapiWrapper::UploadVideoFrameSurface() writes the VideoFrame content to VASurface. It is executed VaapiVideoEncoderDelegate::Encode() if VideoFrame is shared memory based one. If VideoFrame is GpuMemoryBuffer based one, the video frame is imported to VASurface before calling VaapiVED::Encode(). This CL moves the place of performing UploadVideoFrameSurface() to VaapiVEA. This can have the consistency the input surface content is ready before VaapiVED::Encode(). It also enables removing a few variables in VaapiVED class. Bug: b:229358029 Test: video_encode_accelerator_tests Change-Id: Ic69163d19b86795f29946558ccd5e27207e5718d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3590336 Reviewed-by: Miguel Casas-Sanchez <mcasas@chromium.org> Commit-Queue: Hirokazu Honda <hiroh@chromium.org> Cr-Commit-Position: refs/heads/main@{#998250}
- Loading branch information
Hirokazu Honda
authored and
Chromium LUCI CQ
committed
May 2, 2022
1 parent
72eb984
commit fd2e688
Showing
10 changed files
with
48 additions
and
102 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
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