checkasm: hevc: Add a hevc_ prefix to the add_residual functions

Message ID 1492587825-19142-1-git-send-email-martin@martin.st
State Committed
Commit e00db9f78bb475ed5103364f61892f4e75ef89ba
Headers show

Commit Message

Martin Storsjö April 19, 2017, 7:43 a.m.
This makes it easier to group them with the rest when running e.g.
--bench=hevc.
---
 tests/checkasm/hevc_add_res.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Luca Barbato April 19, 2017, 7:52 a.m. | #1
On 19/04/2017 09:43, Martin Storsjö wrote:
> This makes it easier to group them with the rest when running e.g.
> --bench=hevc.
> ---
>  tests/checkasm/hevc_add_res.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tests/checkasm/hevc_add_res.c b/tests/checkasm/hevc_add_res.c
> index 2cd97ea..c9ed86b 100644
> --- a/tests/checkasm/hevc_add_res.c
> +++ b/tests/checkasm/hevc_add_res.c
> @@ -61,7 +61,7 @@ static void check_add_res(HEVCDSPContext h, int bit_depth)
>          memcpy(res1, res0, sizeof(*res0) * size);
>          memcpy(dst1, dst0, size);
>  
> -        if (check_func(h.add_residual[i - 2], "add_res_%dx%d_%d", block_size, block_size, bit_depth)) {
> +        if (check_func(h.add_residual[i - 2], "hevc_add_res_%dx%d_%d", block_size, block_size, bit_depth)) {
>              call_ref(dst0, res0, stride);
>              call_new(dst1, res1, stride);
>              if (memcmp(dst0, dst1, size))
> 

Sure.

Patch

diff --git a/tests/checkasm/hevc_add_res.c b/tests/checkasm/hevc_add_res.c
index 2cd97ea..c9ed86b 100644
--- a/tests/checkasm/hevc_add_res.c
+++ b/tests/checkasm/hevc_add_res.c
@@ -61,7 +61,7 @@  static void check_add_res(HEVCDSPContext h, int bit_depth)
         memcpy(res1, res0, sizeof(*res0) * size);
         memcpy(dst1, dst0, size);
 
-        if (check_func(h.add_residual[i - 2], "add_res_%dx%d_%d", block_size, block_size, bit_depth)) {
+        if (check_func(h.add_residual[i - 2], "hevc_add_res_%dx%d_%d", block_size, block_size, bit_depth)) {
             call_ref(dst0, res0, stride);
             call_new(dst1, res1, stride);
             if (memcmp(dst0, dst1, size))