diff options
author | Boyuan Yang <byang@debian.org> | 2022-07-14 15:56:57 -0400 |
---|---|---|
committer | Boyuan Yang <byang@debian.org> | 2022-07-14 15:56:57 -0400 |
commit | d4dbf19f6b0181ee78034bfe4caf189d1c016998 (patch) | |
tree | 47d5d28d2ab770a10e6c48788725c51dffeb84a9 /tests/block_utils.cc | |
parent | 320ef65362608ee1148c299d8d5d7618af34e470 (diff) | |
download | libgav1-d4dbf19f6b0181ee78034bfe4caf189d1c016998.tar.gz libgav1-d4dbf19f6b0181ee78034bfe4caf189d1c016998.tar.bz2 libgav1-d4dbf19f6b0181ee78034bfe4caf189d1c016998.zip |
New upstream version 0.18.0
Diffstat (limited to 'tests/block_utils.cc')
-rw-r--r-- | tests/block_utils.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/block_utils.cc b/tests/block_utils.cc index 07337c4..a68ae64 100644 --- a/tests/block_utils.cc +++ b/tests/block_utils.cc @@ -55,7 +55,6 @@ void PrintBlockDiff(const Pixel* block1, const Pixel* block2, int width, block2 += stride2; } } -#undef LIBGAV1_DEBUG_FORMAT_CODE } // namespace @@ -68,15 +67,16 @@ void PrintBlock(const Pixel* block, int width, int height, int stride, printf("[%2d] ", y); for (int x = 0; x < print_width; ++x) { if (x >= width) { - printf("[%*d] ", field_width, block[x]); + printf("[%*" LIBGAV1_DEBUG_FORMAT_CODE "] ", field_width, block[x]); } else { - printf("%*d ", field_width, block[x]); + printf("%*" LIBGAV1_DEBUG_FORMAT_CODE " ", field_width, block[x]); } } printf("\n"); block += stride; } } +#undef LIBGAV1_DEBUG_FORMAT_CODE template void PrintBlock(const uint8_t* block, int width, int height, int stride, bool print_padding /*= false*/); |