aboutsummaryrefslogtreecommitdiffstats
path: root/tests/checkasm/hevc_pel.c
Commit message (Collapse)AuthorAgeFilesLines
* lavc/hevc*: move to hevc/ subdirAnton Khirnov2024-06-041-1/+1
|
* tests/checkasm/hevc_*: Fix funtion pointer typesAndreas Rheinhardt2024-05-171-14/+14
| | | | | | Forgotten in b3bbbb14d0685c8c1fbcf8455e59c7f444290c7c. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* checkasm: hevc_pel: Use checkasm_check for printing failing outputMartin Storsjö2024-03-141-30/+41
| | | | | | | | This simplifies the code for checking the output, and can print the failing output (including a map of matching/mismatching elements) if checkasm is run with the -v/--verbose option. Signed-off-by: J. Dekker <jdek@itanimul.li>
* checkasm: hevc_pel: Split a couple excessively long linesMartin Storsjö2024-03-141-36/+98
| | | | Signed-off-by: J. Dekker <jdek@itanimul.li>
* checkasm: hevc_pel: Check the full output in hevc_epel/hevc_qpelMartin Storsjö2024-03-141-2/+2
| | | | | | | Previously it only checked half the output in 8 bit per pixel mode, as the output actually is 16 bit elements here. Signed-off-by: J. Dekker <jdek@itanimul.li>
* tests/checkasm/hevc_*: Avoid using declare_func_emms where possibleAndreas Rheinhardt2023-09-041-26/+26
| | | | | | | | | Only the idct_dc and add_residual functions have MMX versions, so one can use the version with the stricter check (that checks that the MMX registers have not been clobbered) for all the other checks. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* checkasm/hevc_pel: Fix stack buffer overreadsAndreas Rheinhardt2021-09-291-11/+19
| | | | | | | | | | | | | This patch increases several stack buffers in order to fix stack-buffer-overflows (e.g. in put_hevc_qpel_uni_hv_9 in line 814 of hevcdsp_template.c) detected with ASAN in the hevc_pel checkasm test. The buffers are increased by the minimal amount necessary in order not to mask potential future bugs. Reviewed-by: Martin Storsjö <martin@martin.st> Reviewed-by: "zhilizhao(赵志立)" <quinkblack@foxmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* checkasm: collapse hevc pel testsJ. Dekker2021-08-241-10/+24
| | | | | | Also add to `make fate-checkasm' target. Signed-off-by: J. Dekker <jdek@itanimul.li>
* checkasm: add hevc_pel testsJosh Dekker2021-01-251-0/+524
Co-authored-by: Niklas Haas <git@haasn.xyz> Signed-off-by: Josh Dekker <josh@itanimul.li>