Change #269828
| Category | ffmpeg |
| Changed by | Jun Zhao <barryjzhao@tencent.com> |
| Changed at | Mon 08 Jun 2026 01:29:33 |
| Repository | https://git.ffmpeg.org/ffmpeg.git |
| Project | ffmpeg |
| Branch | master |
| Revision | 3d71b9ec9373e836405fea947ea3795cfc079edf |
Comments
tests/checkasm: hevc_pred: use pixel helpers for diagnostic output Replace plain memcmp+fail() with checkasm_check_pixel_padded() for DC, planar, and angular prediction tests. Use PIXEL_RECT for output buffers instead of flat arrays. This enables: - Detailed per-pixel difference output when run with 'checkasm -v' - Detection of out-of-bounds writes beyond the NxN block area - Padding violation reporting (writes past block boundary) Previously, a test failure would only report "FAILED" with no information about which pixels were wrong, making assembly debugging difficult. Follows the pattern established in 4d4b301e4a (checkasm: hevc_pel: Use helpers for checking for writes out of bounds). Suggested-by: Martin Storsjö <martin@martin.st> Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
Changed files
- tests/checkasm/hevc_pred.c