mirror of
https://chromium.googlesource.com/libyuv/libyuv
synced 2026-06-15 00:16:08 +08:00
Audit all occurrences of "stride *" in the libyuv source tree. Ensure that these multiplications are performed in the ptrdiff_t type. For functions not declared in a public header (such as static functions), prefer to declare the stride parameters (typically named src_stride and dst_stride) and related stride local variables as ptrdiff_t. If this is not possible, add ptrdiff_t casts to the stride parameters in multiplications. If intptr_t or int64_t casts were used, change them to ptrdiff_t casts. Bug: chromium:516986556 Change-Id: I6cd8a8eb00cbb5380db828bf83e4d89ff95891f3 Reviewed-on: https://chromium-review.googlesource.com/c/libyuv/libyuv/+/7882967 Commit-Queue: Wan-Teh Chang <wtc@google.com> Reviewed-by: Frank Barchard <fbarchard@google.com> |
||
|---|---|---|
| .. | ||
| testdata | ||
| basictypes_test.cc | ||
| color_test.cc | ||
| compare_test.cc | ||
| convert_argb_test.cc | ||
| convert_test.cc | ||
| cpu_test.cc | ||
| cpu_thread_test.cc | ||
| math_test.cc | ||
| planar_test.cc | ||
| rotate_argb_test.cc | ||
| rotate_test.cc | ||
| scale_argb_test.cc | ||
| scale_plane_test.cc | ||
| scale_rgb_test.cc | ||
| scale_test.cc | ||
| scale_uv_test.cc | ||
| unit_test.cc | ||
| unit_test.h | ||
| video_common_test.cc | ||