mirror of
https://chromium.googlesource.com/libyuv/libyuv
synced 2026-10-29 02:17:13 +08:00
ScalePlane's same-width vertical fast path used the endpoint-oriented FixedDiv1 step for all upsampling. That stepping is appropriate for bilinear interpolation, but not for point sampling, where source rows should cover equally sized destination cells. Use the same centered FixedDiv stepping as the generic point sampler. Allow the point path to select the final source row while passing a zero interpolation stride so row kernels cannot form a pointer beyond it. Add 8-bit and 16-bit point regression coverage and verify that bilinear upsampling remains unchanged. Bug: 537818862 Change-Id: I7bee21b85913b31c146ecf7fe9f5f08608a8a17d Reviewed-on: https://chromium-review.googlesource.com/c/libyuv/libyuv/+/8264449 Reviewed-by: Wan-Teh Chang <wtc@google.com> Commit-Queue: Wan-Teh Chang <wtc@google.com> Reviewed-by: Frank Barchard <fbarchard@google.com>
9 lines
212 B
Plaintext
9 lines
212 B
Plaintext
# Names should be added to this file like so:
|
|
# Name or Organization <email address>
|
|
|
|
Google Inc.
|
|
|
|
Ho Cheung <uioptt24@gmail.com>
|
|
Ivan Pavlotskiy <ivan.pavlotskiy@lgepartner.com>
|
|
Sida Zhu <zhusida@bytedance.com>
|