From cd51c3b831de61cecbfa2b3ec0362c44062f53e1 Mon Sep 17 00:00:00 2001 From: Martin Pulec Date: Mon, 28 Nov 2022 11:39:14 +0100 Subject: [PATCH] testcard gray pattern: decrease default step to 1 The previous value 16 was too much fast (one iteration lasted only 16 frames) which was even unsuitable for latency evaluation for higher latency compressions. With the value 1, the latency can be directy read from difference of luma on subsequent lines. --- src/utils/video_pattern_generator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/video_pattern_generator.cpp b/src/utils/video_pattern_generator.cpp index 116c84b0b..1d240a6a8 100644 --- a/src/utils/video_pattern_generator.cpp +++ b/src/utils/video_pattern_generator.cpp @@ -563,7 +563,7 @@ struct gray_video_pattern_generator : public video_pattern_generator { return out; } private: - constexpr static int DEFAULT_STEP = 16; + constexpr static int DEFAULT_STEP = 1; int step = DEFAULT_STEP; int width; int height;