diff options
| author | Mattias Andrée <maandree@kth.se> | 2017-01-20 00:34:09 +0100 |
|---|---|---|
| committer | Mattias Andrée <maandree@kth.se> | 2017-01-20 01:13:46 +0100 |
| commit | 99be43e366b5c4d9dbaeaad9d885ff6d7f3aec4d (patch) | |
| tree | cb391a27d2e348fb7a8754e841c110d9ed359758 /src/stream.h | |
| parent | Fix year (diff) | |
| download | blind-99be43e366b5c4d9dbaeaad9d885ff6d7f3aec4d.tar.gz blind-99be43e366b5c4d9dbaeaad9d885ff6d7f3aec4d.tar.bz2 blind-99be43e366b5c4d9dbaeaad9d885ff6d7f3aec4d.tar.xz | |
Fix and improve blind-gauss-blur, and fix new bug in blind-from-image
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'src/stream.h')
| -rw-r--r-- | src/stream.h | 4 |
1 files changed, 4 insertions, 0 deletions
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__) |
