Wan-Teh Chang 407f21fe29 Harden I21xToI420 against oversize heights
I21xToI420 (reached via I210ToI420 / I212ToI420): fix integer overflows
in ScalePlaneVertical_16To8(). Make the same changes to the related
ScalePlaneVertical() and ScalePlaneVertical_16() functions.

Add a unit test covering the I21x vertical-scale path.

Co-authored-by: Timothy Nikkel <tnikkel@mozilla.com>
Test: libyuv_unittest --gtest_filter=*.I21xToI420NoHeightOverflow
Bug: chromium:531172025
Change-Id: Ieb8baad2576f4ef5ec71d771a6738a0e5cc7d21c
2026-07-27 12:37:24 -07:00
..
libyuv Harden I21xToI420 against oversize heights 2026-07-27 12:37:24 -07:00
libyuv.h NV12 Copy, include scale_uv.h 2020-12-08 18:54:16 +00:00