
This reverts commit f886e1d28b
.
Reason for revert: Messes up colors for screencapture on X11 in linux
Original change's description:
> DesktopCaptureDevice: convert to I420 before scaling and use kFilterBox
>
> kFilterBillinear produces unreadable text if scaling factor is 1/3, 1/5,
> etc. libyuv doesn't support kFilterBox for ARGB, hence the conversion to
> I420.
>
> Since the frame will be converted to I420 anyway further down in the
> pipeline, it's fine to convert before scaling.
>
> Bug: b:356091953
> Change-Id: Ib23a7174c60a32665912b2ae8c08a137dc178374
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6226684
> Commit-Queue: Ilya Nikolaevskiy <ilnik@chromium.org>
> Reviewed-by: Alexander Cooper <alcooper@chromium.org>
> Cr-Commit-Position: refs/heads/main@{#1416676}
Bug: b:356091953
Fixed: 407052010
Change-Id: Id9b53b7f57c8079f7fae640f08d33c101e25460f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6408714
Commit-Queue: Ilya Nikolaevskiy <ilnik@chromium.org>
Reviewed-by: Olga Sharonova <olka@chromium.org>
Cr-Commit-Position: refs/branch-heads/7049@{#1505}
Cr-Branched-From: 2dab7846d0951a552bdc4f350dad497f986e6fed-refs/heads/main@{#1427262}
Chromium
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.