From 99be43e366b5c4d9dbaeaad9d885ff6d7f3aec4d Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 20 Jan 2017 00:34:09 +0100 Subject: Fix and improve blind-gauss-blur, and fix new bug in blind-from-image MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/stream.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/stream.h') diff --git a/src/stream.h b/src/stream.h index 5fa3eea..f2d88ed 100644 --- a/src/stream.h +++ b/src/stream.h @@ -16,6 +16,10 @@ fprintf(FP, "%zu %zu %zu %s\n%cuivf",\ (size_t)(FRAMES), (size_t)(WIDTH), (size_t)(HEIGHT), PIXFMT, 0) +#define FPRINTF_HEAD_FMT(FP, FFRAMES, FRAMES, FWIDTH, WIDTH, FHEIGHT, HEIGHT, PIXFMT)\ + fprintf(FP, FFRAMES" "FWIDTH" "FHEIGHT" %s\n%cuivf",\ + FRAMES, WIDTH, HEIGHT, PIXFMT, 0) + #define einit_stream(...) eninit_stream(1, __VA_ARGS__) #define eset_pixel_size(...) enset_pixel_size(1, __VA_ARGS__) #define eread_stream(...) enread_stream(1, __VA_ARGS__) -- cgit v1.2.3-70-g09d2