[FFmpeg-devel] [PATCH 1/4] checkasm/sw_scale: add assertion for hscale assumption

Michael Niedermayer michael at niedermayer.cc
Thu Dec 19 05:42:10 EET 2024


On Mon, Dec 16, 2024 at 12:48:17PM +0100, Niklas Haas wrote:
> From: Niklas Haas <git at haasn.dev>
> 
> This code only checks hcScale. In practice this is not an issue because
> the function pointers should always be identical to hyScale for the same
> filter size.
> 
> Add an assertion just to make sure this assumption never regresses.
> 
> Signed-off-by: Niklas Haas <git at haasn.dev>
> Sponsored-by: Sovereign Tech Fund
> ---
>  tests/checkasm/sw_scale.c | 1 +
>  1 file changed, 1 insertion(+)

should be ok

thx

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

There will always be a question for which you do not know the correct answer.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20241219/bedc937b/attachment.sig>


More information about the ffmpeg-devel mailing list