[macOS Capture] Move ARGB/YUVS pixel buffer helpers into utils file.
The pixel_buffer_transferer_mac_unittest.mm defines several helper functions for creating ARGB and YUVS buffers from a single color or with a checker pattern, converting between the two formats, and verifying the color or number of tiles of a pixel buffer. Because these are useful for sanity checks involving creating or modifying pixel buffers, we move these to a separate utilities file (only available in testing). To be used by future CLs' unittests. Bug: chromium:1132299 Change-Id: Idd6c3f8918b540240f515e2761695e9b5bc9caa2 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2498564 Commit-Queue: Markus Handell <handellm@google.com> Reviewed-by:Markus Handell <handellm@google.com> Cr-Commit-Position: refs/heads/master@{#820785}
Showing
Please register or sign in to comment