aboutsummaryrefslogtreecommitdiffstats
path: root/fftools/cmdutils.c
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2025-03-22 00:49:47 +0200
committerMartin Storsjö <martin@martin.st>2025-04-01 18:34:51 +0300
commitb863b81500f374a2829e9dfb3a244c61e3fc1a60 (patch)
treeac2c1a0bdbf7e94cf1e5c22f1b2919c4c7eb02d7 /fftools/cmdutils.c
parent37c664a2533b2c53beda450899c1a06ac37637ec (diff)
downloadffmpeg-b863b81500f374a2829e9dfb3a244c61e3fc1a60.tar.gz
checkasm: Implement helpers for defining and checking padded rects
This backports similar functionality from dav1d, from commits 35d1d011fda4a92bcaf42d30ed137583b27d7f6d and d130da9c315d5a1d3968d278bbee2238ad9051e7. This allows detecting writes out of bounds, on all 4 sides of the intended destination rectangle. The bounds checking also can optionally allow small overwrites (up to a specified alignment), while still checking for larger overwrites past the intended allowed region. Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'fftools/cmdutils.c')
0 files changed, 0 insertions, 0 deletions