commit | ee240279c1a2fb653942907cbecd15781c043ef5 | [log] [tgz] |
---|---|---|
author | Yan,Shaobo <shaobo.yan@intel.com> | Wed Mar 27 02:41:30 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Mar 27 02:41:30 2024 |
tree | a68894585264442b51c63ddd643480af4ae37b01 | |
parent | 7acf6489fdd40e09fad671f6a72fe06cf9fe37a6 [diff] |
CopyEI2T: Handle Copying from Rotated VideoFrame In current implementation, HTMLVE/VideoFrame as CopyEI2T source uses natural_size()/coded_size() as source size to do validation and copy rect calculation. However, this is not correct when video source contains rotation metadata. Rotated 90 or 270 degree switches video frame width and height. WebCodec VideoFrame defines "displayWidth/Height" for this. This CL updated video source size from natural size to display size to handle rotated video frames. Bug: chromium:40863646 Change-Id: I4900dcc2988d284de9252be453cfb9ec61c2b0f9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5377425 Reviewed-by: Kai Ninomiya <kainino@chromium.org> Commit-Queue: Shaobo Yan <shaobo.yan@intel.com> Reviewed-by: Austin Eng <enga@chromium.org> Reviewed-by: Shaobo Yan <shaobo.yan@intel.com> Cr-Commit-Position: refs/heads/main@{#1278714}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure.
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.